diff --git a/dist/gd-sprest-bs.js b/dist/gd-sprest-bs.js index 01c4a8505a3..9a62d1418cf 100644 --- a/dist/gd-sprest-bs.js +++ b/dist/gd-sprest-bs.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DateTimeControlType = exports.DateTime = void 0;\n\n__webpack_require__(/*! flatpickr/dist/flatpickr.min.js */ \"./node_modules/.pnpm/flatpickr@4.6.6/node_modules/flatpickr/dist/flatpickr.min.js\");\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n/**\r\n * Date/Time\r\n */\n\n\nexports.DateTime = function (props) {\n // Create the date/time element\n var elDateTime = document.createElement(\"div\");\n elDateTime.className = \"date-time\"; // Create the textbox\n\n var textbox = gd_bs_1.Components.InputGroup({\n el: elDateTime,\n label: props.label\n }); // See if we are disabling the textbox\n\n if (props.disabled) {\n // Disable the input element\n textbox.el.querySelector(\"input\").disabled = true;\n } // Get the options and default the values\n\n\n var options = props.options || {};\n options.enableTime = props.showTime;\n options.defaultDate = props.value ? new Date(props.value) : null;\n options.dateFormat = options.dateFormat || \"m-d-Y\" + (props.showTime ? \" H:i K\" : \"\"); // Apply the plugin\n\n var datetime = flatpickr(textbox.el.querySelector(\"input\"), options); // Create the element\n\n var el = document.createElement(\"div\");\n el.appendChild(elDateTime); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Create the object\n\n\n var obj = {\n el: elDateTime,\n flatpickrObj: datetime,\n getDate: function getDate() {\n return datetime.selectedDates[0];\n },\n getValue: function getValue() {\n return textbox.getValue();\n },\n setValue: function setValue(dt, dtFormat) {\n // Default the format\n dtFormat = dtFormat || (props.options ? props.options.dateFormat : null); // Set the date/time\n\n datetime.setDate(dt, true, dtFormat);\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(obj) : null; // Return the object\n\n return obj;\n}; // Customize the form control\n\n\nexports.DateTimeControlType = 100;\ngd_bs_1.Components.FormControlTypes[\"DateTime\"] = exports.DateTimeControlType;\ngd_bs_1.Components.CustomControls.registerType(exports.DateTimeControlType, function (props) {\n var dt = null; // Set the created method\n\n var onRendered = props.onControlRendered;\n\n props.onControlRendered = function (ctrl) {\n // Render a date/time\n dt = exports.DateTime({\n className: props.className,\n disabled: props.isReadonly,\n el: ctrl.el,\n options: props.options,\n showTime: props.showTime,\n value: props.value\n }); // See if the label exists\n\n var elLabel = ctrl[\"_elLabel\"];\n\n if (elLabel) {\n // Set the id and aria properties\n elLabel ? elLabel.id = (props.id || props.name) + \"_label\" : null;\n dt.el.querySelector(\"input\").setAttribute(\"aria-labelledby\", elLabel.id);\n } // Set the control\n\n\n ctrl.setControl(dt); // Call the custom render event\n\n onRendered ? onRendered(ctrl) : null;\n };\n\n var onValidate = props.onValidate;\n\n props.onValidate = function (ctrl, result) {\n // See if the field is required\n if (ctrl.required) {\n // Get the date field elements\n var elDateElements = dt.el.querySelectorAll(\".form-control\");\n\n for (var i = 0; i < elDateElements.length; i++) {\n // Get the visible input element\n var elDateElement = elDateElements[i];\n\n if (elDateElement.type != \"hidden\") {\n // See if the value exists\n if (result.value) {\n // Update the classes\n elDateElement.classList.remove(\"is-invalid\");\n elDateElement.classList.add(\"is-valid\");\n } else {\n // Update the classes\n elDateElement.classList.remove(\"is-valid\");\n elDateElement.classList.add(\"is-invalid\");\n }\n }\n }\n } // Call the onvalidate event\n\n\n var returnVal = onValidate ? onValidate(ctrl, result) : null; // Return the result\n\n return returnVal || result;\n }; // Register a people picker\n\n\n props.onGetValue = function () {\n // Return the value\n return dt.getDate();\n };\n});\n\n//# sourceURL=webpack:///./build/components/datetime.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DateTimeControlType = exports.DateTime = void 0;\n\n__webpack_require__(/*! flatpickr/dist/flatpickr.min.js */ \"./node_modules/.pnpm/flatpickr@4.6.6/node_modules/flatpickr/dist/flatpickr.min.js\");\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n/**\r\n * Date/Time\r\n */\n\n\nexports.DateTime = function (props) {\n // Create the date/time element\n var elDateTime = document.createElement(\"div\");\n elDateTime.className = \"date-time\"; // Create the textbox\n\n var textbox = gd_bs_1.Components.InputGroup({\n el: elDateTime,\n label: props.label\n }); // See if we are disabling the textbox\n\n if (props.disabled) {\n // Disable the input element\n textbox.el.querySelector(\"input\").disabled = true;\n } // Get the options and default the values\n\n\n var options = props.options || {};\n options.enableTime = props.showTime;\n options.defaultDate = props.value ? new Date(props.value) : null;\n options.dateFormat = options.dateFormat || \"m-d-Y\" + (props.showTime ? \" H:i K\" : \"\"); // Apply the plugin\n\n var datetime = flatpickr(textbox.el.querySelector(\"input\"), options); // Create the element\n\n var el = document.createElement(\"div\");\n el.appendChild(elDateTime); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Create the object\n\n\n var obj = {\n el: elDateTime,\n flatpickrObj: datetime,\n getDate: function getDate() {\n return datetime.selectedDates[0];\n },\n getValue: function getValue() {\n return textbox.getValue();\n },\n setValue: function setValue(dt, dtFormat) {\n // Default the format\n dtFormat = dtFormat || (props.options ? props.options.dateFormat : null); // Set the date/time\n\n datetime.setDate(dt, true, dtFormat);\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(obj) : null; // Return the object\n\n return obj;\n}; // Customize the form control\n\n\nexports.DateTimeControlType = 100;\ngd_bs_1.Components.FormControlTypes[\"DateTime\"] = exports.DateTimeControlType;\ngd_bs_1.Components.CustomControls.registerType(exports.DateTimeControlType, function (props) {\n var dt = null; // Set the created method\n\n var onRendered = props.onControlRendered;\n\n props.onControlRendered = function (ctrl) {\n // Render a date/time\n dt = exports.DateTime({\n className: props.className,\n disabled: props.isReadonly,\n el: ctrl.el,\n options: props.options,\n showTime: props.showTime,\n value: props.value\n }); // See if the label exists\n\n var elLabel = ctrl[\"_elLabel\"];\n\n if (elLabel) {\n // Set the id and aria properties\n elLabel ? elLabel.id = (props.id || props.name) + \"_label\" : null;\n dt.el.querySelector(\"input\").setAttribute(\"aria-labelledby\", elLabel.id);\n } // Set the control\n\n\n ctrl.setControl(dt); // Call the custom render event\n\n onRendered ? onRendered(ctrl) : null;\n };\n\n var onValidate = props.onValidate;\n\n props.onValidate = function (ctrl, result) {\n // See if the field is required\n if (ctrl.required) {\n // Get the date field elements\n var elDateElements = dt.el.querySelectorAll(\".form-control\");\n\n for (var i = 0; i < elDateElements.length; i++) {\n // Get the visible input element\n var elDateElement = elDateElements[i];\n\n if (elDateElement.type != \"hidden\") {\n // See if the value exists\n if (result.value) {\n // Update the classes\n elDateElement.classList.remove(\"is-invalid\");\n elDateElement.classList.add(\"is-valid\");\n } else {\n // Update the classes\n elDateElement.classList.remove(\"is-valid\");\n elDateElement.classList.add(\"is-invalid\");\n }\n }\n }\n } // Call the onvalidate event\n\n\n var returnVal = onValidate ? onValidate(ctrl, result) : null; // Return the result\n\n return returnVal || result;\n }; // Register a people picker\n\n\n props.onGetValue = function () {\n // Return the value\n return dt.getDate();\n };\n});\n\n//# sourceURL=webpack:///./build/components/datetime.js?"); /***/ }), @@ -106,7 +106,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Field = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\");\n/**\r\n * Field\r\n */\n\n\nexports.Field = function (props) {\n var control;\n var lookupFieldInfo = null;\n var mmsFieldInfo = null; // Method to get the choice options\n\n var getChoiceItems = function getChoiceItems(isCheckbox, field, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the choices\n\n for (var i = 0; i < field.Choices.results.length; i++) {\n var choice = field.Choices.results[i];\n var isSelected = false; // Determine if this choice is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n // See if this choice is selected\n if (choice == selectedValues[j]) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // See if this is a checkbox\n\n\n if (isCheckbox) {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice\n });\n } else {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice,\n text: choice,\n value: choice\n });\n }\n } // See if this is a dropdown and no selected values exists, and this is a required field\n\n\n if (!isCheckbox && items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to generate the lookup dropdown items\n\n\n var getLookupItems = function getLookupItems(field, lookupItems, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the lookup items\n\n for (var i = 0; i < lookupItems.length; i++) {\n var item = lookupItems[i];\n var isSelected = false; // Determine if this lookup is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n var id = selectedValues[j] ? selectedValues[j].Id : null; // See if this choice is selected\n\n if (item.Id == id) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // Add the item\n\n\n items.push({\n isSelected: isSelected,\n text: item[field.LookupField],\n value: item.Id.toString()\n });\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to get the mms dropdown items\n\n\n var getMMSItems = function getMMSItems(term, selectedValues) {\n if (selectedValues === void 0) {\n selectedValues = [];\n }\n\n var items = []; // See if information exists\n\n if (term.info) {\n var isSelected = false; // Parse the selected values\n\n for (var i = 0; i < selectedValues.length; i++) {\n // See if this item is selected\n if (selectedValues[i] == term.info.id) {\n isSelected = true;\n break;\n }\n } // Add the heading\n\n\n items.push({\n isHeader: true,\n isSelected: isSelected,\n text: term.info.name,\n value: term.info.id\n });\n } // Parse the terms\n\n\n for (var termName in term) {\n var child = term[termName]; // Skip the info and parent properties\n\n if (termName == \"info\" || termName == \"parent\") {\n continue;\n } // Get the child items\n\n\n var childItems = getMMSItems(child, selectedValues); // Add the item\n\n items = items.concat(childItems);\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && isRequired) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Set the properties based on the field link\n\n\n var fieldLink = props.listInfo.fieldLinks ? props.listInfo.fieldLinks[props.field.InternalName] : null;\n var isReadonly = fieldLink && typeof fieldLink.ReadOnly === \"boolean\" ? fieldLink.ReadOnly : props.field.ReadOnlyField;\n var isRequired = fieldLink && typeof fieldLink.Required === \"boolean\" ? fieldLink.Required : props.field.Required; // See if this is an internal field\n\n if (props.field.CanBeDeleted == false) {\n // Override the property based on the field property\n isReadonly = isReadonly || props.field.ReadOnlyField;\n } // Set the default properties for the control\n\n\n var controlProps = {\n description: props.field.Description,\n errorMessage: props.errorMessage,\n id: props.field.InternalName,\n isReadonly: isReadonly,\n label: (isRequired ? \"* \" : \"\") + props.field.Title,\n name: props.field.InternalName,\n onControlRendering: function onControlRendering(control) {\n // Execute the event\n return props.onControlRendering ? props.onControlRendering(control, props.field) : null;\n },\n onControlRendered: function onControlRendered(formControl) {\n // Save the control\n control = formControl; // Execute the event\n\n return props.onControlRendered ? props.onControlRendered(control, props.field) : null;\n },\n required: isRequired,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: props.value\n }; // Define a base validation method\n\n var baseValidation = null; // See if this is a new form, a default value exists and no value has been defined\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New && props.field.DefaultValue && props.value == null) {\n // Set the default value\n controlProps.value = props.field.DefaultValue;\n } // Set the type\n\n\n var onControlRendered = null;\n var onControlRendering = null;\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Checkbox; // Create the item\n\n controlProps.items = [{\n label: controlProps.label\n }]; // Clear the label\n\n controlProps.label = \"\";\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n var displayRadioButtons = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // See if we are displaying radio buttons\n\n if (displayRadioButtons) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Switch;\n } else {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown;\n } // Get the items\n\n\n var items = getChoiceItems(displayRadioButtons, props.field, props.value); // See if this is not a required field\n\n if (!isRequired) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items;\n break;\n // Currency Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextField; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Call the event\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n // Set the time flag\n var showTime = props.field.DisplayFormat == gd_sprest_1.SPTypes.DateFormat.DateTime;\n controlProps.showTime = showTime; // Set the type\n\n controlProps.type = datetime_1.DateTimeControlType;\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // Default the lookup field props will determine the default type\n controlProps.type = props.field.AllowMultipleValues ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // See if this field is readonly and a value exists\n\n if (isReadonly) {\n // Update the value\n controlProps.type = gd_bs_1.Components.FormControlTypes.Readonly; // Ensure a value exists\n\n if (props.value) {\n // Set the rendered event\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n };\n }\n } else {\n // Set the rendering event\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Display a loading message\n\n controlProps.loadingMessage = \"Loading the Lookup Data\"; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Load the field information\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n lookupFieldInfo = fieldInfo; // Set the lookup filter\n\n lookupFieldInfo.lookupFilter = props.lookupFilter; // Update the multi property\n\n controlProps.multi = lookupFieldInfo.multi; // Get the drop down information\n\n gd_sprest_1.Helper.ListFormField.loadLookupData(lookupFieldInfo, 500).then( // Success\n function (items) {\n // Get the dropdown items\n var ddlItems = getLookupItems(props.field, items, props.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !lookupFieldInfo.multi) {\n // Add a blank entry\n ddlItems = [{\n text: \"\",\n value: null\n }].concat(ddlItems);\n } // Set the items\n\n\n controlProps.items = ddlItems; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the lookup field values for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the field information for field '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n controlProps.el.innerHTML = \"\";\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: \"Error loading the lookup field information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n });\n };\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var isChoice = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // Set the type\n\n controlProps.type = isChoice ? gd_bs_1.Components.FormControlTypes.MultiSwitch : gd_bs_1.Components.FormControlTypes.MultiDropdown; // Update the value\n\n controlProps.value = (props.value ? props.value.results : null) || props.value; // Set the items\n\n controlProps.items = getChoiceItems(isChoice, props.field, props.value);\n break;\n // Note\n\n case gd_sprest_1.SPTypes.FieldType.Note:\n // Set the properties\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextArea;\n controlProps.rows = props.field.NumberOfLines;\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField_1 = props.field;\n var numberProps = controlProps; // Set the default value\n\n numberProps.value = numberProps.value == null ? numberField_1.DefaultValue : numberProps.value; // See if this is a percentage\n\n if (numberField_1.ShowAsPercentage) {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range; // Default the max\n\n numberProps.max = numberField_1.MaximumValue == 1 || numberField_1.MaximumValue == Number.MAX_VALUE ? 100 : numberField_1.MaximumValue; // Set the min value\n\n numberProps.min = numberField_1.MinimumValue == -1.7976931348623157e+308 ? 0 : numberField_1.MinimumValue; // Set the value\n\n numberProps.value = numberProps.value == null || numberProps.value == Number.MIN_VALUE ? 0 : numberProps.value;\n numberProps.value = numberProps.value * (numberProps.max == 100 && numberProps.value < 1 ? 100 : 1);\n } // Else, see if the min/max values are defined\n else if (typeof numberField_1.MaximumValue == \"number\" && numberField_1.MaximumValue != Number.MAX_VALUE && typeof numberField_1.MinimumValue == \"number\" && numberField_1.MinimumValue != Number.MIN_VALUE) {\n // Update the properties to display a range\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range;\n numberProps.max = numberField_1.MaximumValue;\n numberProps.min = numberField_1.MinimumValue;\n numberProps.value = typeof numberProps.value == \"number\" ? numberProps.value : numberProps.min; // Set validation\n\n if (numberField_1.MinimumValue || numberField_1.MaximumValue) {\n // Add validation\n baseValidation = function baseValidation(control, result) {\n // Ensure the value is a number\n if (/^[0-9]*$/.test(result.value) == false) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be a number.\";\n return result;\n } // Validate the min value\n\n\n if (numberField_1.MinimumValue && result.value < numberField_1.MinimumValue) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be greater than or equal to \" + numberField_1.MinimumValue;\n return result;\n } // Validate the max value\n\n\n if (numberField_1.MaximumValue && result.value > numberField_1.MaximumValue) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be less than or equal to \" + numberField_1.MaximumValue;\n return result;\n } // Valid\n\n\n result.isValid = true; // Return the result\n\n return result;\n };\n }\n } else {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.TextField;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n var desc_1 = null;\n var url_1 = null;\n var value_1 = props.value; // See if a value exists\n\n if (props.value) {\n // Update the value\n controlProps.value = props.value.Url;\n } // Set the render event\n\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Clear the element\n\n control.el.innerHTML = \"\"; // Render the description\n\n desc_1 = gd_bs_1.Components.FormControl({\n className: \"mb-1\",\n el: control.el,\n placeholder: \"Description\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Description : null\n }); // Render the url\n\n url_1 = gd_bs_1.Components.FormControl({\n el: control.el,\n placeholder: \"Url\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Url : null\n }); // Set the get value event\n\n control.props.onGetValue = function (controlProps) {\n // Return the value\n return {\n Description: desc_1.getValue(),\n Url: url_1.getValue()\n };\n }; // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n }; // Set the validate event\n\n\n baseValidation = function baseValidation(control, result) {\n var descValid,\n urlValid = false; // Get the form control elements\n\n var elFormControl = control.el.querySelectorAll(\".form-control\");\n var elDesc = elFormControl[0];\n var elUrl = elFormControl[1]; // See if the description exists\n\n if (elDesc) {\n // Clear the classes\n elDesc.classList.remove(\"is-invalid\");\n elDesc.classList.remove(\"is-valid\"); // Set the flag\n\n descValid = control.required ? desc_1.getValue() ? true : false : true; // Set the class\n\n elDesc.classList.add(descValid ? \"is-valid\" : \"is-invalid\");\n } // See if the url exists\n\n\n if (elUrl) {\n // Clear the classes\n elUrl.classList.remove(\"is-invalid\");\n elUrl.classList.remove(\"is-valid\"); // Set the flag\n\n urlValid = control.required ? url_1.getValue() ? true : false : true; // Set the class\n\n elUrl.classList.add(urlValid ? \"is-valid\" : \"is-invalid\");\n } // Set the validation falg\n\n\n result.isValid = descValid && urlValid; // Return the result\n\n return result;\n };\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Set the type\n controlProps.type = isReadonly ? gd_bs_1.Components.FormControlTypes.Readonly : peoplePicker_1.PeoplePickerControlType; // Set the flag to allow multiple selections\n\n controlProps.multi = props.field.AllowMultipleValues; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // See if this field is readonly and a value exists\n\n if (props.value && isReadonly) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n } // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n } // See if this is a taxonomy field\n\n\n if (/^TaxonomyFieldType/.test(props.field.TypeAsString)) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown; // Set a render event\n\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Display a loading message\n controlProps.loadingMessage = \"Loading the MMS Data\"; // Load the field information\n\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n mmsFieldInfo = fieldInfo; // Set the type\n\n controlProps.type = mmsFieldInfo.multi ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // Load the value field\n\n gd_sprest_1.Helper.ListFormField.loadMMSValueField(mmsFieldInfo).then( // Success\n function (valueField) {\n // Set the value field\n mmsFieldInfo.valueField = valueField; // See if this is a new form\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n var fieldValue = []; // Get the default values\n\n var values = (props.field.DefaultValue || \"\").split(\";#\");\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i].split(\"|\");\n\n if (value.length == 2) {\n // Add the term id\n fieldValue.push(value[1]);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } else {\n var fieldValue = props.value; // Get the field value\n\n var values = fieldValue && fieldValue.results ? fieldValue.results : [fieldValue]; // Clear the field values\n\n fieldValue = []; // Parse the values\n\n for (var i = 0; i < values.length; i++) {\n // Ensure the value exists\n if (values[i] && values[i].TermGuid) {\n // Add the value\n fieldValue.push(values[i].TermGuid);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } // Load the terms\n\n\n gd_sprest_1.Helper.ListFormField.loadMMSData(mmsFieldInfo).then( // Success\n function (terms) {\n // Get the items\n var items = getMMSItems(gd_sprest_1.Helper.Taxonomy.toObject(terms), controlProps.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !mmsFieldInfo.multi) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms terms for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms value field for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n }, function (msg) {\n // Display an error message\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: msg,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(msg) : null;\n });\n });\n };\n } // Create the field\n\n\n var field = {\n control: control,\n controlProps: controlProps,\n getValue: function getValue() {\n var fieldValue = {\n name: props.field.InternalName,\n value: control ? control.getValue() : null\n }; // Update the field name/value, based on the type\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Update the value\n fieldValue.value = fieldValue.value ? true : false;\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.Dropdown) {\n // See if there is a value\n var ddlValue = fieldValue.value;\n\n if (ddlValue) {\n // Update the field value\n fieldValue.value = ddlValue.value || ddlValue.text;\n }\n } else {\n // See if there is a value\n var cbValue = fieldValue.value;\n\n if (cbValue) {\n // Update the field value\n fieldValue.value = cbValue.label;\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value || null;\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value ? fieldValue.value.toISOString() : null;\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (lookupFieldInfo.multi) {\n var values_1 = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values_1.length; j++) {\n // Add the value\n fieldValue.value.results.push(values_1[j].value || values_1[j].text);\n }\n } else {\n // Update the field value\n fieldValue.value = fieldValue.value ? fieldValue.value.value || fieldValue.value.text : null; // Ensure a value exists, otherwise null\n\n fieldValue.value = fieldValue.value || null;\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var values = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values.length; j++) {\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.MultiDropdown) {\n // See if there is a value\n var ddlValue = values[j]; // Add the values\n\n fieldValue.value.results.push(ddlValue.value || ddlValue.text);\n } else {\n // See if there is a value\n var cbValue = values[j]; // Add the values\n\n fieldValue.value.results.push(cbValue.label);\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField = props.field; // Ensure a field value exists\n\n if (fieldValue.value) {\n // See if this is a percentage\n if (numberField.ShowAsPercentage) {\n // Update the value\n fieldValue.value = fieldValue.value / 100;\n }\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n // See if the field value exists\n if (fieldValue.value && fieldValue.value.Url) {\n // Set the url, and validate the format\n var url = fieldValue.value.Url;\n\n if (url && /^http/.test(url.toLowerCase()) == false) {\n // Update the url, otherwise the request will fail\n url = \"https://\" + url;\n } // Add the metadata\n\n\n fieldValue.value = {\n __metadata: {\n type: \"Types.SP.FieldUrlValue\"\n },\n Description: fieldValue.value.Description || \"\",\n Url: url\n };\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (props.field.AllowMultipleValues) {\n var values_2 = fieldValue.value || []; // Default the value\n\n fieldValue.value = {\n results: []\n }; // Parse the options\n\n for (var j = 0; j < values_2.length; j++) {\n var userValue = values_2[j]; // Add the field value\n\n userValue.Id ? fieldValue.value.results.push(userValue.Id) : null;\n }\n } else {\n var userValue = fieldValue.value ? fieldValue.value[0] : null; // Set the field value\n\n fieldValue.value = userValue && userValue.Id ? userValue.Id : null;\n }\n\n break;\n // MMS\n\n default:\n // See if this is a MMS field\n if (mmsFieldInfo) {\n // See if this is a multi field\n if (mmsFieldInfo.multi) {\n // Update the field name to the value field\n fieldValue.name = mmsFieldInfo ? mmsFieldInfo.valueField.InternalName : fieldValue.name + \"_0\"; // Parse the field values\n\n var fieldValues = fieldValue.value || [];\n fieldValue.value = [];\n\n for (var j = 0; j < fieldValues.length; j++) {\n var termInfo = fieldValues[j]; // Add the field value\n\n fieldValue.value.push(-1 + \";#\" + termInfo.text + \"|\" + termInfo.value);\n } // Set the field value\n\n\n fieldValue.value = fieldValue.value.join(\";#\");\n } else {\n // Update the value\n fieldValue.value = fieldValue.value && fieldValue.value.value ? {\n __metadata: {\n type: \"Types.SP.Taxonomy.TaxonomyFieldValue\"\n },\n Label: fieldValue.value.text,\n TermGuid: fieldValue.value.value,\n WssId: -1\n } : null;\n }\n }\n\n break;\n } // Return the field value\n\n\n return fieldValue;\n },\n isValid: function isValid() {\n // See if there is base validation\n if (baseValidation) {\n // Validate the field\n var baseResult = baseValidation(controlProps, {\n isValid: false,\n value: control.getValue()\n }); // Validate the current control\n\n var result = controlProps.onValidate ? controlProps.onValidate(controlProps, baseResult) : baseResult; // Return the flag\n\n if (typeof result === \"boolean\") {\n // Update the validation\n baseResult.isValid = result;\n control.updateValidation(control.el, baseResult); // Return the result\n\n return result;\n } // Update the validation\n\n\n control.updateValidation(control.el, result); // Return the flag\n\n return result.isValid;\n } // Validate the control\n\n\n return control ? control.isValid : false;\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(field) : null; // Return the field\n\n return field;\n};\n\n//# sourceURL=webpack:///./build/components/field.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Field = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\");\n/**\r\n * Field\r\n */\n\n\nexports.Field = function (props) {\n var control;\n var lookupFieldInfo = null;\n var mmsFieldInfo = null; // Method to get the choice options\n\n var getChoiceItems = function getChoiceItems(isCheckbox, field, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the choices\n\n for (var i = 0; i < field.Choices.results.length; i++) {\n var choice = field.Choices.results[i];\n var isSelected = false; // Determine if this choice is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n // See if this choice is selected\n if (choice == selectedValues[j]) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // See if this is a checkbox\n\n\n if (isCheckbox) {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice\n });\n } else {\n // Add the item\n items.push({\n isSelected: isSelected,\n label: choice,\n text: choice,\n value: choice\n });\n }\n } // See if this is a dropdown and no selected values exists, and this is a required field\n\n\n if (!isCheckbox && items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to generate the lookup dropdown items\n\n\n var getLookupItems = function getLookupItems(field, lookupItems, selectedValues) {\n var items = []; // Update the selected values\n\n selectedValues = selectedValues && selectedValues.results ? selectedValues.results : [selectedValues]; // Parse the lookup items\n\n for (var i = 0; i < lookupItems.length; i++) {\n var item = lookupItems[i];\n var isSelected = false; // Determine if this lookup is selected\n\n for (var j = 0; j < selectedValues.length; j++) {\n var id = selectedValues[j] ? selectedValues[j].Id : null; // See if this choice is selected\n\n if (item.Id == id) {\n // Set the flag and break from the loop\n isSelected = true;\n break;\n }\n } // Add the item\n\n\n items.push({\n isSelected: isSelected,\n text: item[field.LookupField],\n value: item.Id.toString()\n });\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && field.Required) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Method to get the mms dropdown items\n\n\n var getMMSItems = function getMMSItems(term, selectedValues) {\n if (selectedValues === void 0) {\n selectedValues = [];\n }\n\n var items = []; // See if information exists\n\n if (term.info) {\n var isSelected = false; // Parse the selected values\n\n for (var i = 0; i < selectedValues.length; i++) {\n // See if this item is selected\n if (selectedValues[i] == term.info.id) {\n isSelected = true;\n break;\n }\n } // Add the heading\n\n\n items.push({\n isHeader: true,\n isSelected: isSelected,\n text: term.info.name,\n value: term.info.id\n });\n } // Parse the terms\n\n\n for (var termName in term) {\n var child = term[termName]; // Skip the info and parent properties\n\n if (termName == \"info\" || termName == \"parent\") {\n continue;\n } // Get the child items\n\n\n var childItems = getMMSItems(child, selectedValues); // Add the item\n\n items = items.concat(childItems);\n } // See if no selected values exists, and this is a required field\n\n\n if (items.length > 0 && selectedValues.length == 0 && isRequired) {\n // Select the first item\n items[0].isSelected = true;\n } // Return the items\n\n\n return items;\n }; // Set the properties based on the field link\n\n\n var fieldLink = props.listInfo.fieldLinks ? props.listInfo.fieldLinks[props.field.InternalName] : null;\n var isReadonly = fieldLink && typeof fieldLink.ReadOnly === \"boolean\" ? fieldLink.ReadOnly : props.field.ReadOnlyField;\n var isRequired = fieldLink && typeof fieldLink.Required === \"boolean\" ? fieldLink.Required : props.field.Required; // See if this is an internal field\n\n if (props.field.CanBeDeleted == false) {\n // Override the property based on the field property\n isReadonly = isReadonly || props.field.ReadOnlyField;\n } // Set the default properties for the control\n\n\n var controlProps = {\n description: props.field.Description,\n errorMessage: props.errorMessage,\n id: props.field.InternalName,\n isReadonly: isReadonly,\n label: (isRequired ? \"* \" : \"\") + props.field.Title,\n name: props.field.InternalName,\n onControlRendering: function onControlRendering(control) {\n // Execute the event\n return props.onControlRendering ? props.onControlRendering(control, props.field) : null;\n },\n onControlRendered: function onControlRendered(formControl) {\n // Save the control\n control = formControl; // Execute the event\n\n return props.onControlRendered ? props.onControlRendered(control, props.field) : null;\n },\n required: isRequired,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: props.value\n }; // Define a base validation method\n\n var baseValidation = null; // See if this is a new form, a default value exists and no value has been defined\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New && props.field.DefaultValue && props.value == null) {\n // Set the default value\n controlProps.value = props.field.DefaultValue;\n } // Set the type\n\n\n var onControlRendered = null;\n var onControlRendering = null;\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Checkbox; // Create the item\n\n controlProps.items = [{\n label: controlProps.label\n }]; // Clear the label\n\n controlProps.label = \"\";\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n var displayRadioButtons = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // See if we are displaying radio buttons\n\n if (displayRadioButtons) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Switch;\n } else {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown;\n } // Get the items\n\n\n var items = getChoiceItems(displayRadioButtons, props.field, props.value); // See if this is not a required field\n\n if (!isRequired) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items;\n break;\n // Currency Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextField; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Call the event\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n // Set the time flag\n var showTime = props.field.DisplayFormat == gd_sprest_1.SPTypes.DateFormat.DateTime;\n controlProps.showTime = showTime; // Set the type\n\n controlProps.type = datetime_1.DateTimeControlType;\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // Default the lookup field props will determine the default type\n controlProps.type = props.field.AllowMultipleValues ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // See if this field is readonly and a value exists\n\n if (isReadonly) {\n // Update the value\n controlProps.type = gd_bs_1.Components.FormControlTypes.Readonly; // Ensure a value exists\n\n if (props.value) {\n // Set the rendered event\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n };\n }\n } else {\n // Set the rendering event\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Display a loading message\n\n controlProps.loadingMessage = \"Loading the Lookup Data\"; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Load the field information\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n lookupFieldInfo = fieldInfo; // Set the lookup filter\n\n lookupFieldInfo.lookupFilter = props.lookupFilter; // Update the multi property\n\n controlProps.multi = lookupFieldInfo.multi; // Get the drop down information\n\n gd_sprest_1.Helper.ListFormField.loadLookupData(lookupFieldInfo, 500).then( // Success\n function (items) {\n // Get the dropdown items\n var ddlItems = getLookupItems(props.field, items, props.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !lookupFieldInfo.multi) {\n // Add a blank entry\n ddlItems = [{\n text: \"\",\n value: null\n }].concat(ddlItems);\n } // Set the items\n\n\n controlProps.items = ddlItems; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the lookup field values for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the field information for field '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n controlProps.el.innerHTML = \"\";\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: \"Error loading the lookup field information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n });\n };\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var isChoice = props.field.SchemaXml.indexOf('Format=\"RadioButtons\"') > 0 ? true : false; // Set the type\n\n controlProps.type = isChoice ? gd_bs_1.Components.FormControlTypes.MultiSwitch : gd_bs_1.Components.FormControlTypes.MultiDropdown; // Update the value\n\n controlProps.value = (props.value ? props.value.results : null) || props.value; // Set the items\n\n controlProps.items = getChoiceItems(isChoice, props.field, props.value);\n break;\n // Note\n\n case gd_sprest_1.SPTypes.FieldType.Note:\n // Set the properties\n controlProps.type = gd_bs_1.Components.FormControlTypes.TextArea;\n controlProps.rows = props.field.NumberOfLines;\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField_1 = props.field;\n var numberProps = controlProps; // Set the default value\n\n numberProps.value = numberProps.value == null ? numberField_1.DefaultValue : numberProps.value; // See if this is a percentage\n\n if (numberField_1.ShowAsPercentage) {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range; // Default the max\n\n numberProps.max = numberField_1.MaximumValue == 1 || numberField_1.MaximumValue == Number.MAX_VALUE ? 100 : numberField_1.MaximumValue; // Set the min value\n\n numberProps.min = numberField_1.MinimumValue == -1.7976931348623157e+308 ? 0 : numberField_1.MinimumValue; // Set the value\n\n numberProps.value = numberProps.value == null || numberProps.value == Number.MIN_VALUE ? 0 : numberProps.value;\n numberProps.value = numberProps.value * (numberProps.max == 100 && numberProps.value < 1 ? 100 : 1);\n } // Else, see if the min/max values are defined\n else if (typeof numberField_1.MaximumValue == \"number\" && numberField_1.MaximumValue != Number.MAX_VALUE && typeof numberField_1.MinimumValue == \"number\" && numberField_1.MinimumValue != Number.MIN_VALUE) {\n // Update the properties to display a range\n numberProps.type = gd_bs_1.Components.FormControlTypes.Range;\n numberProps.max = numberField_1.MaximumValue;\n numberProps.min = numberField_1.MinimumValue;\n numberProps.value = typeof numberProps.value == \"number\" ? numberProps.value : numberProps.min; // Set validation\n\n if (numberField_1.MinimumValue || numberField_1.MaximumValue) {\n // Add validation\n baseValidation = function baseValidation(control, result) {\n // Ensure the value is a number\n if (/^[0-9]*$/.test(result.value) == false) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be a number.\";\n return result;\n } // Validate the min value\n\n\n if (numberField_1.MinimumValue && result.value < numberField_1.MinimumValue) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be greater than or equal to \" + numberField_1.MinimumValue;\n return result;\n } // Validate the max value\n\n\n if (numberField_1.MaximumValue && result.value > numberField_1.MaximumValue) {\n // Update the validation and return it\n result.isValid = false;\n result.invalidMessage = \"The value must be less than or equal to \" + numberField_1.MaximumValue;\n return result;\n } // Valid\n\n\n result.isValid = true; // Return the result\n\n return result;\n };\n }\n } else {\n // Set the type\n numberProps.type = gd_bs_1.Components.FormControlTypes.TextField;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n var desc_1 = null;\n var url_1 = null;\n var value_1 = props.value; // See if a value exists\n\n if (props.value) {\n // Update the value\n controlProps.value = props.value.Url;\n } // Set the render event\n\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // Clear the element\n\n control.el.innerHTML = \"\"; // Render the description\n\n desc_1 = gd_bs_1.Components.FormControl({\n className: \"mb-1\",\n el: control.el,\n placeholder: \"Description\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Description : null\n }); // Render the url\n\n url_1 = gd_bs_1.Components.FormControl({\n el: control.el,\n placeholder: \"Url\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: value_1 ? value_1.Url : null\n }); // Set the get value event\n\n control.props.onGetValue = function (controlProps) {\n // Return the value\n return {\n Description: desc_1.getValue(),\n Url: url_1.getValue()\n };\n }; // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n }; // Set the validate event\n\n\n baseValidation = function baseValidation(control, result) {\n var descValid,\n urlValid = false; // Get the form control elements\n\n var elFormControl = control.el.querySelectorAll(\".form-control\");\n var elDesc = elFormControl[0];\n var elUrl = elFormControl[1]; // See if the description exists\n\n if (elDesc) {\n // Clear the classes\n elDesc.classList.remove(\"is-invalid\");\n elDesc.classList.remove(\"is-valid\"); // Set the flag\n\n descValid = control.required ? desc_1.getValue() ? true : false : true; // Set the class\n\n elDesc.classList.add(descValid ? \"is-valid\" : \"is-invalid\");\n } // See if the url exists\n\n\n if (elUrl) {\n // Clear the classes\n elUrl.classList.remove(\"is-invalid\");\n elUrl.classList.remove(\"is-valid\"); // Set the flag\n\n urlValid = control.required ? url_1.getValue() ? true : false : true; // Set the class\n\n elUrl.classList.add(urlValid ? \"is-valid\" : \"is-invalid\");\n } // Set the validation falg\n\n\n result.isValid = descValid && urlValid; // Return the result\n\n return result;\n };\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Set the type\n controlProps.type = isReadonly ? gd_bs_1.Components.FormControlTypes.Readonly : peoplePicker_1.PeoplePickerControlType; // Set the flag to allow multiple selections\n\n controlProps.multi = props.field.AllowMultipleValues; // Set the rendered event\n\n onControlRendered = controlProps.onControlRendered;\n\n controlProps.onControlRendered = function (formControl) {\n // Save the control\n control = formControl; // See if this field is readonly and a value exists\n\n if (props.value && isReadonly) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = props.listInfo.fieldValuesAsHtml[props.field.InternalName];\n } // Call the event\n\n\n onControlRendered ? onControlRendered(formControl) : null;\n };\n\n break;\n } // See if this is a taxonomy field\n\n\n if (/^TaxonomyFieldType/.test(props.field.TypeAsString)) {\n // Set the type\n controlProps.type = gd_bs_1.Components.FormControlTypes.Dropdown; // Set a render event\n\n onControlRendering = controlProps.onControlRendering;\n\n controlProps.onControlRendering = function (newProps) {\n // Update the control properties\n controlProps = newProps; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Display a loading message\n controlProps.loadingMessage = \"Loading the MMS Data\"; // Load the field information\n\n gd_sprest_1.Helper.ListFormField.create({\n field: props.field,\n listName: props.listInfo.list.Title,\n name: props.field.InternalName,\n webUrl: props.listInfo.webUrl\n }).then( // Success\n function (fieldInfo) {\n // Save the field information\n mmsFieldInfo = fieldInfo; // Set the type\n\n controlProps.type = mmsFieldInfo.multi ? gd_bs_1.Components.FormControlTypes.MultiDropdown : gd_bs_1.Components.FormControlTypes.Dropdown; // Load the value field\n\n gd_sprest_1.Helper.ListFormField.loadMMSValueField(mmsFieldInfo).then( // Success\n function (valueField) {\n // Set the value field\n mmsFieldInfo.valueField = valueField; // See if this is a new form\n\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n var fieldValue = []; // Get the default values\n\n var values = (props.field.DefaultValue || \"\").split(\";#\");\n\n for (var i = 0; i < values.length; i++) {\n var value = values[i].split(\"|\");\n\n if (value.length == 2) {\n // Add the term id\n fieldValue.push(value[1]);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } else {\n var fieldValue = props.value; // Get the field value\n\n var values = fieldValue && fieldValue.results ? fieldValue.results : [fieldValue]; // Clear the field values\n\n fieldValue = []; // Parse the values\n\n for (var i = 0; i < values.length; i++) {\n // Ensure the value exists\n if (values[i] && values[i].TermGuid) {\n // Add the value\n fieldValue.push(values[i].TermGuid);\n }\n } // Update the field value\n\n\n controlProps.value = fieldValue;\n } // Load the terms\n\n\n gd_sprest_1.Helper.ListFormField.loadMMSData(mmsFieldInfo).then( // Success\n function (terms) {\n // Get the items\n var items = getMMSItems(gd_sprest_1.Helper.Taxonomy.toObject(terms), controlProps.value); // See if this is not a required field and not a multi-select\n\n if (!isRequired && !mmsFieldInfo.multi) {\n // Add a blank entry\n items = [{\n text: \"\",\n value: null\n }].concat(items);\n } // Set the items\n\n\n controlProps.items = items; // Clear the element\n\n controlProps.el ? controlProps.el.innerHTML = \"\" : null; // Call the event\n\n var returnVal = onControlRendering ? onControlRendering(controlProps) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (props) {\n // Resolve the promise\n resolve(props || controlProps);\n });\n } else {\n // Resolve the promise\n resolve(controlProps);\n }\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms terms for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null;\n });\n }, // Error\n function (msg) {\n // Set the error message\n var errorMessage = \"Error loading the mms value field for '\" + props.field.InternalName + \"'.\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: errorMessage,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(errorMessage) : null; // Reject the request\n\n reject(msg);\n });\n }, function (msg) {\n // Display an error message\n gd_bs_1.Components.Alert({\n el: controlProps.el,\n content: msg,\n type: gd_bs_1.Components.AlertTypes.Danger\n }); // Call the error event\n\n props.onError ? props.onError(msg) : null;\n });\n });\n };\n } // Create the field\n\n\n var field = {\n control: control,\n controlProps: controlProps,\n getValue: function getValue() {\n var fieldValue = {\n name: props.field.InternalName,\n value: control ? control.getValue() : null\n }; // Update the field name/value, based on the type\n\n switch (props.field.FieldTypeKind) {\n // Boolean\n case gd_sprest_1.SPTypes.FieldType.Boolean:\n // Update the value\n fieldValue.value = fieldValue.value ? true : false;\n break;\n // Choice\n\n case gd_sprest_1.SPTypes.FieldType.Choice:\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.Dropdown) {\n // See if there is a value\n var ddlValue = fieldValue.value;\n\n if (ddlValue) {\n // Update the field value\n fieldValue.value = ddlValue.value || ddlValue.text;\n }\n } else {\n // See if there is a value\n var cbValue = fieldValue.value;\n\n if (cbValue) {\n // Update the field value\n fieldValue.value = cbValue.label;\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Currency:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value || null;\n break;\n // Date/Time\n\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n // Ensure a value exists, otherwise null\n fieldValue.value = fieldValue.value ? fieldValue.value.toISOString() : null;\n break;\n // Lookup\n\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (lookupFieldInfo.multi) {\n var values_1 = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values_1.length; j++) {\n // Add the value\n fieldValue.value.results.push(values_1[j].value || values_1[j].text);\n }\n } else {\n // Update the field value\n fieldValue.value = fieldValue.value ? fieldValue.value.value || fieldValue.value.text : null; // Ensure a value exists, otherwise null\n\n fieldValue.value = fieldValue.value || null;\n }\n\n break;\n // Multi-Choice\n\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n var values = fieldValue.value || [];\n fieldValue.value = {\n results: []\n }; // Parse the values\n\n for (var j = 0; j < values.length; j++) {\n // See if this is a dropdown\n if (controlProps.type == gd_bs_1.Components.FormControlTypes.MultiDropdown) {\n // See if there is a value\n var ddlValue = values[j]; // Add the values\n\n fieldValue.value.results.push(ddlValue.value || ddlValue.text);\n } else {\n // See if there is a value\n var cbValue = values[j]; // Add the values\n\n fieldValue.value.results.push(cbValue.label);\n }\n }\n\n break;\n // Number Field\n\n case gd_sprest_1.SPTypes.FieldType.Number:\n var numberField = props.field; // Ensure a field value exists\n\n if (fieldValue.value) {\n // See if this is a percentage\n if (numberField.ShowAsPercentage) {\n // Update the value\n fieldValue.value = fieldValue.value / 100;\n }\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // URL\n\n case gd_sprest_1.SPTypes.FieldType.URL:\n // See if the field value exists\n if (fieldValue.value && fieldValue.value.Url) {\n // Set the url, and validate the format\n var url = fieldValue.value.Url;\n\n if (url && /^http/.test(url.toLowerCase()) == false) {\n // Update the url, otherwise the request will fail\n url = \"https://\" + url;\n } // Add the metadata\n\n\n fieldValue.value = {\n __metadata: {\n type: \"Types.SP.FieldUrlValue\"\n },\n Description: fieldValue.value.Description || \"\",\n Url: url\n };\n } else {\n // Ensure the value is null\n fieldValue.value = null;\n }\n\n break;\n // User\n\n case gd_sprest_1.SPTypes.FieldType.User:\n // Append 'Id' to the field name\n fieldValue.name += fieldValue.name.lastIndexOf(\"Id\") == fieldValue.name.length - 2 ? \"\" : \"Id\"; // See if this is a multi-value field\n\n if (props.field.AllowMultipleValues) {\n var values_2 = fieldValue.value || []; // Default the value\n\n fieldValue.value = {\n results: []\n }; // Parse the options\n\n for (var j = 0; j < values_2.length; j++) {\n var userValue = values_2[j]; // Add the field value\n\n userValue.Id ? fieldValue.value.results.push(userValue.Id) : null;\n }\n } else {\n var userValue = fieldValue.value ? fieldValue.value[0] : null; // Set the field value\n\n fieldValue.value = userValue && userValue.Id ? userValue.Id : null;\n }\n\n break;\n // MMS\n\n default:\n // See if this is a MMS field\n if (mmsFieldInfo) {\n // See if this is a multi field\n if (mmsFieldInfo.multi) {\n // Update the field name to the value field\n fieldValue.name = mmsFieldInfo ? mmsFieldInfo.valueField.InternalName : fieldValue.name + \"_0\"; // Parse the field values\n\n var fieldValues = fieldValue.value || [];\n fieldValue.value = [];\n\n for (var j = 0; j < fieldValues.length; j++) {\n var termInfo = fieldValues[j]; // Add the field value\n\n fieldValue.value.push(-1 + \";#\" + termInfo.text + \"|\" + termInfo.value);\n } // Set the field value\n\n\n fieldValue.value = fieldValue.value.join(\";#\");\n } else {\n // Update the value\n fieldValue.value = fieldValue.value && fieldValue.value.value ? {\n __metadata: {\n type: \"Types.SP.Taxonomy.TaxonomyFieldValue\"\n },\n Label: fieldValue.value.text,\n TermGuid: fieldValue.value.value,\n WssId: -1\n } : null;\n }\n }\n\n break;\n } // Return the field value\n\n\n return fieldValue;\n },\n isValid: function isValid() {\n // See if there is base validation\n if (baseValidation) {\n // Validate the field\n var baseResult = baseValidation(controlProps, {\n isValid: false,\n value: control.getValue()\n }); // Validate the current control\n\n var result = controlProps.onValidate ? controlProps.onValidate(controlProps, baseResult) : baseResult; // Return the flag\n\n if (typeof result === \"boolean\") {\n // Update the validation\n baseResult.isValid = result;\n control.updateValidation(control.el, baseResult); // Return the result\n\n return result;\n } // Update the validation\n\n\n control.updateValidation(control.el, result); // Return the flag\n\n return result.isValid;\n } // Validate the control\n\n\n return control ? control.isValid : false;\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(field) : null; // Return the field\n\n return field;\n};\n\n//# sourceURL=webpack:///./build/components/field.js?"); /***/ }), @@ -118,7 +118,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n\nvar listFormDialog_1 = __webpack_require__(/*! ./listFormDialog */ \"./build/components/listFormDialog.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\"); // Extend the components\n\n\ngd_bs_1.Components[\"DateTime\"] = datetime_1.DateTime;\ngd_bs_1.Components[\"Field\"] = field_1.Field;\ngd_bs_1.Components[\"ListForm\"] = listForm_1.ListForm;\ngd_bs_1.Components[\"ListFormDialog\"] = listFormDialog_1.ListFormDialog;\ngd_bs_1.Components[\"PeoplePicker\"] = peoplePicker_1.PeoplePicker; // Export the components\n\nexports[\"default\"] = gd_bs_1.Components;\n\n//# sourceURL=webpack:///./build/components/index.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n\nvar listFormDialog_1 = __webpack_require__(/*! ./listFormDialog */ \"./build/components/listFormDialog.js\");\n\nvar peoplePicker_1 = __webpack_require__(/*! ./peoplePicker */ \"./build/components/peoplePicker.js\"); // Extend the components\n\n\ngd_bs_1.Components[\"DateTime\"] = datetime_1.DateTime;\ngd_bs_1.Components[\"Field\"] = field_1.Field;\ngd_bs_1.Components[\"ListForm\"] = listForm_1.ListForm;\ngd_bs_1.Components[\"ListFormDialog\"] = listFormDialog_1.ListFormDialog;\ngd_bs_1.Components[\"PeoplePicker\"] = peoplePicker_1.PeoplePicker; // Export the components\n\nexports[\"default\"] = gd_bs_1.Components;\n\n//# sourceURL=webpack:///./build/components/index.js?"); /***/ }), @@ -130,7 +130,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ListForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\"); // Extend the list form\n\n\nexports.ListForm = gd_sprest_1.Helper.ListForm; // Method to get the fields to render\n\nvar getFieldsToRender = function getFieldsToRender(props) {\n var fieldNames = []; // See if the \"include\" fields property is defined\n\n if (props.includeFields) {\n // Set the field names\n fieldNames = props.includeFields;\n } else {\n // Parse the fields\n for (var fieldName in props.info.fields) {\n // See if the \"exclude\" property is set\n if (props.excludeFields) {\n var renderFl = true; // Parse the fields\n\n for (var i = 0; i < props.excludeFields.length; i++) {\n // See if we are excluding this field\n if (props.excludeFields[i] == fieldName) {\n // Set the flag\n renderFl = false;\n break;\n }\n } // Skip this field, if we are not rendering it\n\n\n if (!renderFl) {\n continue;\n }\n } // Add the field name\n\n\n fieldNames.push(fieldName);\n }\n } // Return the field names\n\n\n return fieldNames;\n}; // Method to render a display form for an item\n\n\nexports.ListForm.renderDisplayForm = function (props) {\n var form = null; // Render a loading message\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n });\n var hasUserField = false;\n var mapper = {};\n var rows = []; // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n id: \"ListFormAttachments\",\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n var items = []; // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the item\n\n items.push({\n buttons: [{\n className: \"mr-1\",\n href: attachment.ServerRelativeUrl,\n isSmall: true,\n text: attachment.FileName\n }]\n });\n } // Render a toolbar\n\n\n gd_bs_1.Components.Toolbar({\n el: control.el,\n items: items\n });\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName];\n var value = props.info.fieldValuesAsText[fieldName] || \"\";\n var html = props.info.fieldValuesAsHtml[fieldName] || props.info.fieldValuesAsHtml[fieldName.replace(/\\_/g, \"_x005f_\")] || \"\"; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if we are hiding the field\n\n\n if (field.SchemaXml.indexOf('ShowInDisplayForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a note field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note) {\n // Update the html\n html = html.replace(/\\r?\\n/g, '
');\n } // Else, see if this is a user field\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Set the flag\n hasUserField = true;\n } // Else, see if this is a choice field\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Choice || field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.MultiChoice) {\n // Update the html\n html = value;\n } // Set the control\n\n\n mapper[fieldName] = {\n data: html,\n description: field.Description,\n isReadonly: true,\n label: field.Title,\n name: field.InternalName,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: html\n }; // Update the type, based on the field\n\n switch (field.FieldTypeKind) {\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n mapper[fieldName].type = datetime_1.DateTimeControlType;\n break;\n\n case gd_sprest_1.SPTypes.FieldType.Note:\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.TextArea;\n break;\n } // Detect html\n\n\n if (/<*>/g.test(html)) {\n // Update the control to be read-only\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.Readonly; // Set the rendered event\n\n mapper[fieldName].onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = control.props.data;\n };\n } // Add the row\n\n\n rows.push({\n columns: [{\n control: mapper[fieldName]\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl ? mapper[refControl.name] : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n form = gd_bs_1.Components.Form({\n el: props.el,\n className: props.className,\n groupClassName: props.groupClassName,\n rowClassName: props.rowClassName,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n return props.onControlRendering ? props.onControlRendering(control, props.info.fields[control.name]) : null;\n },\n rows: props.template || rows\n }); // See if we are displaying a user field\n\n if (hasUserField) {\n // Enable the persona\n window[\"ProcessImn\"]();\n } // Execute the assign to event\n\n\n props.assignTo ? props.assignTo(form) : null; // Return the form informaiton\n\n return {\n get el() {\n return form ? form.el : null;\n }\n\n };\n}; // Render the edit form\n\n\nexports.ListForm.renderEditForm = function (props) {\n var mapper = {};\n var rows = [];\n var value = {};\n var attachments = {\n \"delete\": [],\n \"new\": []\n }; // Method to add a refresh alert\n\n var addRefreshLink = function addRefreshLink() {\n // Ensure the link doesn't already exist\n if (props.el.querySelector(\".refresh-btn\")) {\n return;\n } // Create the refresh button\n\n\n var alert = gd_bs_1.Components.ButtonGroup({\n className: \"refresh-btn\",\n buttonType: gd_bs_1.Components.ButtonTypes.Danger,\n buttons: [{\n text: \"Refresh Form\",\n onClick: function onClick() {\n // Clear the element and reload the form\n props.el.innerHTML = \"\"; // Render the form\n\n exports.ListForm.renderEditForm(props);\n }\n }, {\n text: \"Refresh Page\",\n onClick: function onClick() {\n // Refresh the page\n document.location.href = document.location.href;\n }\n }]\n }); // Add the element at the top\n\n props.el.insertBefore(alert.el, props.el.children[0]);\n }; // Method to remove the attachments\n\n\n var removeAttachments = function removeAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"delete\"].length == 0) {\n resolve();\n return;\n } // Get the web\n\n\n props.info.list.ParentWeb().execute(function (web) {\n // Parse the attachments\n gd_sprest_1.Helper.Executor(attachments[\"delete\"], function (attachment) {\n // Get the attachment file\n web.getFileByServerRelativeUrl(attachment.ServerRelativeUrl)[\"delete\"]().execute(); // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n // See if this is the target attachment\n if (props.info.attachments[i].ServerRelativeUrl == attachment.ServerRelativeUrl) {\n // Remove this item\n props.info.attachments.splice(i, 1);\n break;\n }\n }\n }).then(function () {\n // Wait for the files to be deleted\n web.done(function () {\n // Clear the attachments\n attachments[\"delete\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n });\n }; // Method to save the attachments\n\n\n var saveAttachments = function saveAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"new\"].length == 0) {\n resolve();\n return;\n } // Parse the attachments\n\n\n gd_sprest_1.Helper.Executor(attachments[\"new\"], function (attachment) {\n // Get the item's attachments\n props.info.list.Items(info.item.Id).AttachmentFiles() // Add the file\n .add(attachment.name, attachment.data) // Execute the request\n .execute(function (attachment) {\n // Ensure attachments exist\n info.attachments = info.attachments || []; // Append the attachment\n\n info.attachments.push(attachment);\n });\n }).then(function () {\n // Wait for the files to upload\n props.info.list.done(function () {\n // Clear the attachments\n attachments[\"new\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n }; // Render a loading message\n\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n }); // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n id: \"ListFormAttachments\",\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n // Render a toolbar\n var toolbar = gd_bs_1.Components.Toolbar({\n el: control.el,\n items: [{\n buttons: [{\n className: \"upload-btn mr-1\",\n isSmall: true,\n text: \"Upload\",\n type: gd_bs_1.Components.ButtonTypes.Secondary,\n onClick: function onClick(btn, ev) {\n var elUpload = ev.currentTarget; // Display an upload dialog\n\n gd_sprest_1.Helper.ListForm.showFileDialog().then(function (fileInfo) {\n // Get the buttons and remove any duplicates\n var buttons = elUpload.parentElement.querySelectorAll(\".btn\");\n\n for (var i = 0; i < buttons.length; i++) {\n var button = buttons[i]; // See if this is the associated button\n\n if (button.innerText.replace(/X$/, '') == fileInfo.name) {\n // Get the badge\n var badge = button.querySelector(\".badge\");\n\n if (badge) {\n // Remove the button\n badge.click();\n }\n\n break;\n }\n } // Save the file information\n\n\n attachments[\"new\"].push(fileInfo); // Append the attachment\n\n elUpload.parentElement.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: fileInfo.name\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: fileInfo,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var fileName = btn.data.name; // Parse the array\n\n for (var i = 0; i < attachments[\"new\"].length; i++) {\n // See if this is the target attachment\n if (attachments[\"new\"][i].name == fileName) {\n // Remove this attachment\n attachments[\"new\"].splice(i, 1);\n break;\n }\n } // Get the files\n\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i = 0; i < files.length; i++) {\n var file = files[i]; // See if this is the target button\n\n if (file.innerText == fileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n });\n }\n }]\n }]\n }); // Get the button group\n\n var btnGroup = toolbar.el.querySelector(\".btn-group\");\n\n if (btnGroup) {\n // Parse the attachments\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the attachment\n\n btnGroup.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: attachment.FileName\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: attachment,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var attachment = btn.data; // Add this file for deletion\n\n attachments[\"delete\"].push(attachment); // Get the files\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i_1 = 0; i_1 < files.length; i_1++) {\n var file = files[i_1]; // See if this is the target button\n\n if (file.innerText == attachment.FileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n }\n }\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName]; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if the item exists\n\n\n value[fieldName] = null;\n\n if (props.info.item) {\n // Set the value\n value[fieldName] = props.info.item[fieldName]; // See if this is a lookup or user field\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Lookup || field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Update the value\n value[fieldName] = value[fieldName + \"Id\"] || (value[fieldName] ? value[fieldName].Id : null) || value[fieldName];\n }\n } // Determine the control mode\n\n\n var controlMode = props.controlMode || (props.info.item ? gd_sprest_1.SPTypes.ControlMode.Edit : gd_sprest_1.SPTypes.ControlMode.New); // See if this is an edit form and we are hiding this field\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.Edit && field.SchemaXml.indexOf('ShowInEditForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a new form and we are hiding this field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.New && field.SchemaXml.indexOf('ShowInNewForm=\"FALSE\"') > 0) {\n continue;\n } // See if thi sis a new form and this is an associated lookup field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.New && field.IsDependentLookup) {\n continue;\n } // See if this is a display form and we are hiding this field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.Display && field.SchemaXml.indexOf('ShowInDisplayForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a read-only field\n\n\n if (field.ReadOnlyField) {\n // Do not render in the new form\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n continue;\n }\n } // Do not render a hidden taxonomy field\n\n\n if (field.Hidden && field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note && /_0$/.test(field.Title)) {\n continue;\n } // See if this is an invalid field type\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Invalid) {\n // Ensure it's not a taxonomy field\n if (!/^TaxonomyFieldType/.test(field.TypeAsString)) {\n continue;\n }\n } // Else, see if this is a calculated column\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Calculated) {\n // Do not render in the new/edit forms\n if (props.controlMode != gd_sprest_1.SPTypes.ControlMode.Display) {\n continue;\n }\n } // See if this is a lookup field\n\n\n var lookupFilter = null;\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Lookup) {\n // Call the filter event\n lookupFilter = props.onFilterLookupField ? props.onFilterLookupField(field) : null;\n } // Create the control\n\n\n var fieldControl = field_1.Field({\n controlMode: props.controlMode,\n field: field,\n listInfo: props.info,\n lookupFilter: lookupFilter,\n value: value[fieldName],\n onControlRendered: function onControlRendered(control, field) {\n // Update the mapper\n mapper[field.InternalName].control = control;\n },\n onValidate: props.onValidate,\n onError: function onError(msg) {\n // Add the refresh link\n addRefreshLink(); // Call the event\n\n props.onError ? props.onError(msg) : null;\n }\n }); // Update the mapper\n\n mapper[fieldName] = fieldControl; // Add the row\n\n rows.push({\n columns: [{\n control: fieldControl.controlProps\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl && mapper[refControl.name] ? mapper[refControl.name].controlProps : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n var form = gd_bs_1.Components.Form({\n el: props.el,\n className: props.className,\n groupClassName: props.groupClassName,\n rowClassName: props.rowClassName,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n var updateReadOnly = function updateReadOnly(control) {\n // See if this control is readonly\n if (control.isReadonly) {\n var html_1 = props.info.fieldValuesAsHtml && props.info.fieldValuesAsHtml[field.InternalName] || \"\"; // Update the control properties\n\n control.type = gd_bs_1.Components.FormControlTypes.Readonly; // Detect html\n\n if (/<*>/g.test(html_1)) {\n // Update the control properties\n control.data = html_1;\n } // Set the rendered event\n\n\n control.onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = html_1 || control.props.value;\n }; // See if this is a user field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User && window[\"ProcessImn\"]) {\n // Enable the persona\n window[\"ProcessImn\"]();\n }\n }\n }; // Execute the rendering event\n\n\n var field = props.info.fields[control.name];\n var returnVal = props.onControlRendering ? props.onControlRendering(control, field) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the event to complete\n returnVal.then(function (ctrlProps) {\n // Update the properties\n updateReadOnly(ctrlProps || control);\n });\n } else {\n // Update the properties\n updateReadOnly(control);\n }\n },\n rows: props.template || rows,\n value: value\n }); // Method to get the values\n\n var getValues = function getValues() {\n var values = {}; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Get the form field and skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Get the field value\n\n\n var fieldValue = formField.getValue(); // Set the item value\n\n values[fieldValue.name] = fieldValue.value;\n } // Return the form values\n\n\n return values;\n }; // Create the form object\n\n\n var formObj = {\n appendControls: function appendControls(controls) {\n form.appendControls(controls);\n },\n appendRows: function appendRows(rows) {\n form.appendRows(rows);\n },\n el: form.el,\n getControl: function getControl(fieldName) {\n return mapper[fieldName] ? mapper[fieldName].control : null;\n },\n getValues: getValues,\n isValid: function isValid() {\n var isValid = true; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Validate the form field and update the status flag\n\n\n var controlIsValid = formField.isValid();\n isValid = isValid && controlIsValid;\n } // Return the flag\n\n\n return isValid;\n },\n save: function save() {\n var onSaving = function onSaving(values) {\n return new Promise(function (resolve) {\n // See if a save event exists\n var returnVal = props.onSaving ? props.onSaving(values) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (newValues) {\n // Resolve the promise\n resolve(newValues || values);\n });\n } else {\n // Resolve the promise\n resolve(values);\n }\n });\n }; // Return a promise\n\n\n return new Promise(function (resolve, reject) {\n // Call the saving event\n onSaving(getValues()).then(function (values) {\n // Update the item\n exports.ListForm.saveItem(props.info, values).then(function (info) {\n // Remove the attachments\n removeAttachments(info).then(function () {\n // Save the attachments\n saveAttachments(info).then(function () {\n // Update the info\n props.info = info; // Resolve the promise\n\n resolve(props.info.item);\n });\n });\n }, reject);\n });\n });\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(formObj) : null; // Return the form\n\n return formObj;\n};\n\n//# sourceURL=webpack:///./build/components/listForm.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ListForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar datetime_1 = __webpack_require__(/*! ./datetime */ \"./build/components/datetime.js\");\n\nvar field_1 = __webpack_require__(/*! ./field */ \"./build/components/field.js\"); // Extend the list form\n\n\nexports.ListForm = gd_sprest_1.Helper.ListForm; // Method to get the fields to render\n\nvar getFieldsToRender = function getFieldsToRender(props) {\n var fieldNames = []; // See if the \"include\" fields property is defined\n\n if (props.includeFields) {\n // Set the field names\n fieldNames = props.includeFields;\n } else {\n // Parse the fields\n for (var fieldName in props.info.fields) {\n // See if the \"exclude\" property is set\n if (props.excludeFields) {\n var renderFl = true; // Parse the fields\n\n for (var i = 0; i < props.excludeFields.length; i++) {\n // See if we are excluding this field\n if (props.excludeFields[i] == fieldName) {\n // Set the flag\n renderFl = false;\n break;\n }\n } // Skip this field, if we are not rendering it\n\n\n if (!renderFl) {\n continue;\n }\n } // Add the field name\n\n\n fieldNames.push(fieldName);\n }\n } // Return the field names\n\n\n return fieldNames;\n}; // Method to render a display form for an item\n\n\nexports.ListForm.renderDisplayForm = function (props) {\n var form = null; // Render a loading message\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n });\n var hasUserField = false;\n var mapper = {};\n var rows = []; // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n id: \"ListFormAttachments\",\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n var items = []; // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the item\n\n items.push({\n buttons: [{\n className: \"mr-1\",\n href: attachment.ServerRelativeUrl,\n isSmall: true,\n text: attachment.FileName\n }]\n });\n } // Render a toolbar\n\n\n gd_bs_1.Components.Toolbar({\n el: control.el,\n items: items\n });\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName];\n var value = props.info.fieldValuesAsText[fieldName] || \"\";\n var html = props.info.fieldValuesAsHtml[fieldName] || props.info.fieldValuesAsHtml[fieldName.replace(/\\_/g, \"_x005f_\")] || \"\"; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if we are hiding the field\n\n\n if (field.SchemaXml.indexOf('ShowInDisplayForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a note field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note) {\n // Update the html\n html = html.replace(/\\r?\\n/g, '
');\n } // Else, see if this is a user field\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Set the flag\n hasUserField = true;\n } // Else, see if this is a choice field\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Choice || field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.MultiChoice) {\n // Update the html\n html = value;\n } // Set the control\n\n\n mapper[fieldName] = {\n data: html,\n description: field.Description,\n isReadonly: true,\n label: field.Title,\n name: field.InternalName,\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: html\n }; // Update the type, based on the field\n\n switch (field.FieldTypeKind) {\n case gd_sprest_1.SPTypes.FieldType.DateTime:\n mapper[fieldName].type = datetime_1.DateTimeControlType;\n break;\n\n case gd_sprest_1.SPTypes.FieldType.Note:\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.TextArea;\n break;\n } // Detect html\n\n\n if (/<*>/g.test(html)) {\n // Update the control to be read-only\n mapper[fieldName].type = gd_bs_1.Components.FormControlTypes.Readonly; // Set the rendered event\n\n mapper[fieldName].onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = control.props.data;\n };\n } // Add the row\n\n\n rows.push({\n columns: [{\n control: mapper[fieldName]\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl ? mapper[refControl.name] : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n form = gd_bs_1.Components.Form({\n el: props.el,\n className: props.className,\n groupClassName: props.groupClassName,\n rowClassName: props.rowClassName,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n return props.onControlRendering ? props.onControlRendering(control, props.info.fields[control.name]) : null;\n },\n rows: props.template || rows\n }); // See if we are displaying a user field\n\n if (hasUserField) {\n // Enable the persona\n window[\"ProcessImn\"]();\n } // Execute the assign to event\n\n\n props.assignTo ? props.assignTo(form) : null; // Return the form informaiton\n\n return {\n get el() {\n return form ? form.el : null;\n }\n\n };\n}; // Render the edit form\n\n\nexports.ListForm.renderEditForm = function (props) {\n var mapper = {};\n var rows = [];\n var value = {};\n var attachments = {\n \"delete\": [],\n \"new\": []\n }; // Method to add a refresh alert\n\n var addRefreshLink = function addRefreshLink() {\n // Ensure the link doesn't already exist\n if (props.el.querySelector(\".refresh-btn\")) {\n return;\n } // Create the refresh button\n\n\n var alert = gd_bs_1.Components.ButtonGroup({\n className: \"refresh-btn\",\n buttonType: gd_bs_1.Components.ButtonTypes.Danger,\n buttons: [{\n text: \"Refresh Form\",\n onClick: function onClick() {\n // Clear the element and reload the form\n props.el.innerHTML = \"\"; // Render the form\n\n exports.ListForm.renderEditForm(props);\n }\n }, {\n text: \"Refresh Page\",\n onClick: function onClick() {\n // Refresh the page\n document.location.href = document.location.href;\n }\n }]\n }); // Add the element at the top\n\n props.el.insertBefore(alert.el, props.el.children[0]);\n }; // Method to remove the attachments\n\n\n var removeAttachments = function removeAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"delete\"].length == 0) {\n resolve();\n return;\n } // Get the web\n\n\n props.info.list.ParentWeb().execute(function (web) {\n // Parse the attachments\n gd_sprest_1.Helper.Executor(attachments[\"delete\"], function (attachment) {\n // Get the attachment file\n web.getFileByServerRelativeUrl(attachment.ServerRelativeUrl)[\"delete\"]().execute(); // Parse the attachments\n\n for (var i = 0; i < props.info.attachments.length; i++) {\n // See if this is the target attachment\n if (props.info.attachments[i].ServerRelativeUrl == attachment.ServerRelativeUrl) {\n // Remove this item\n props.info.attachments.splice(i, 1);\n break;\n }\n }\n }).then(function () {\n // Wait for the files to be deleted\n web.done(function () {\n // Clear the attachments\n attachments[\"delete\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n });\n }; // Method to save the attachments\n\n\n var saveAttachments = function saveAttachments(info) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure attachments exists\n if (attachments[\"new\"].length == 0) {\n resolve();\n return;\n } // Parse the attachments\n\n\n gd_sprest_1.Helper.Executor(attachments[\"new\"], function (attachment) {\n // Get the item's attachments\n props.info.list.Items(info.item.Id).AttachmentFiles() // Add the file\n .add(attachment.name, attachment.data) // Execute the request\n .execute(function (attachment) {\n // Ensure attachments exist\n info.attachments = info.attachments || []; // Append the attachment\n\n info.attachments.push(attachment);\n });\n }).then(function () {\n // Wait for the files to upload\n props.info.list.done(function () {\n // Clear the attachments\n attachments[\"new\"] = []; // Resolve the promise\n\n resolve();\n });\n });\n });\n }; // Render a loading message\n\n\n var progress = gd_bs_1.Components.Progress({\n el: props.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form\",\n size: 100\n }); // See if we are rendering attachments\n\n if (props.info.attachments) {\n // Render the attachments\n rows.push({\n columns: [{\n control: {\n id: \"ListFormAttachments\",\n label: \"Attachments\",\n name: \"Attachments\",\n onControlRendered: function onControlRendered(control) {\n // Render a toolbar\n var toolbar = gd_bs_1.Components.Toolbar({\n el: control.el,\n items: [{\n buttons: [{\n className: \"upload-btn mr-1\",\n isSmall: true,\n text: \"Upload\",\n type: gd_bs_1.Components.ButtonTypes.Secondary,\n onClick: function onClick(btn, ev) {\n var elUpload = ev.currentTarget; // Display an upload dialog\n\n gd_sprest_1.Helper.ListForm.showFileDialog().then(function (fileInfo) {\n // Get the buttons and remove any duplicates\n var buttons = elUpload.parentElement.querySelectorAll(\".btn\");\n\n for (var i = 0; i < buttons.length; i++) {\n var button = buttons[i]; // See if this is the associated button\n\n if (button.innerText.replace(/X$/, '') == fileInfo.name) {\n // Get the badge\n var badge = button.querySelector(\".badge\");\n\n if (badge) {\n // Remove the button\n badge.click();\n }\n\n break;\n }\n } // Save the file information\n\n\n attachments[\"new\"].push(fileInfo); // Append the attachment\n\n elUpload.parentElement.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: fileInfo.name\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: fileInfo,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var fileName = btn.data.name; // Parse the array\n\n for (var i = 0; i < attachments[\"new\"].length; i++) {\n // See if this is the target attachment\n if (attachments[\"new\"][i].name == fileName) {\n // Remove this attachment\n attachments[\"new\"].splice(i, 1);\n break;\n }\n } // Get the files\n\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i = 0; i < files.length; i++) {\n var file = files[i]; // See if this is the target button\n\n if (file.innerText == fileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n });\n }\n }]\n }]\n }); // Get the button group\n\n var btnGroup = toolbar.el.querySelector(\".btn-group\");\n\n if (btnGroup) {\n // Parse the attachments\n for (var i = 0; i < props.info.attachments.length; i++) {\n var attachment = props.info.attachments[i]; // Add the attachment\n\n btnGroup.appendChild(gd_bs_1.Components.Popover({\n isDismissible: true,\n type: gd_bs_1.Components.PopoverTypes.Bottom,\n btnProps: {\n className: \"mr-1\",\n isSmall: true,\n text: attachment.FileName\n },\n options: {\n html: true,\n content: gd_bs_1.Components.Button({\n data: attachment,\n isSmall: true,\n text: \"Remove\",\n type: gd_bs_1.Components.ButtonTypes.Danger,\n onClick: function onClick(btn, ev) {\n var attachment = btn.data; // Add this file for deletion\n\n attachments[\"delete\"].push(attachment); // Get the files\n\n var files = btnGroup.querySelectorAll(\".btn[data-toggle='popover']\");\n\n for (var i_1 = 0; i_1 < files.length; i_1++) {\n var file = files[i_1]; // See if this is the target button\n\n if (file.innerText == attachment.FileName) {\n // Remove this popover\n file.parentElement.removeChild(file);\n break;\n }\n }\n }\n }).el\n }\n }).el);\n }\n }\n }\n }\n }]\n });\n } // Parse the fields to render\n\n\n var fieldNames = getFieldsToRender(props);\n\n for (var i = 0; i < fieldNames.length; i++) {\n var fieldName = fieldNames[i];\n var field = props.info.fields[fieldName]; // Ensure the field exists\n\n if (field == null) {\n // Log\n console.error(\"[List Form] Field '\" + fieldName + \"' does not exist. Check the list or query.\");\n continue;\n } // See if the item exists\n\n\n value[fieldName] = null;\n\n if (props.info.item) {\n // Set the value\n value[fieldName] = props.info.item[fieldName]; // See if this is a lookup or user field\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Lookup || field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User) {\n // Update the value\n value[fieldName] = value[fieldName + \"Id\"] || (value[fieldName] ? value[fieldName].Id : null) || value[fieldName];\n }\n } // Determine the control mode\n\n\n var controlMode = props.controlMode || (props.info.item ? gd_sprest_1.SPTypes.ControlMode.Edit : gd_sprest_1.SPTypes.ControlMode.New); // See if this is an edit form and we are hiding this field\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.Edit && field.SchemaXml.indexOf('ShowInEditForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a new form and we are hiding this field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.New && field.SchemaXml.indexOf('ShowInNewForm=\"FALSE\"') > 0) {\n continue;\n } // See if thi sis a new form and this is an associated lookup field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.New && field.IsDependentLookup) {\n continue;\n } // See if this is a display form and we are hiding this field\n\n\n if (controlMode == gd_sprest_1.SPTypes.ControlMode.Display && field.SchemaXml.indexOf('ShowInDisplayForm=\"FALSE\"') > 0) {\n continue;\n } // See if this is a read-only field\n\n\n if (field.ReadOnlyField) {\n // Do not render in the new form\n if (props.controlMode == gd_sprest_1.SPTypes.ControlMode.New) {\n continue;\n }\n } // Do not render a hidden taxonomy field\n\n\n if (field.Hidden && field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Note && /_0$/.test(field.Title)) {\n continue;\n } // See if this is an invalid field type\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Invalid) {\n // Ensure it's not a taxonomy field\n if (!/^TaxonomyFieldType/.test(field.TypeAsString)) {\n continue;\n }\n } // Else, see if this is a calculated column\n else if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Calculated) {\n // Do not render in the new/edit forms\n if (props.controlMode != gd_sprest_1.SPTypes.ControlMode.Display) {\n continue;\n }\n } // See if this is a lookup field\n\n\n var lookupFilter = null;\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.Lookup) {\n // Call the filter event\n lookupFilter = props.onFilterLookupField ? props.onFilterLookupField(field) : null;\n } // Create the control\n\n\n var fieldControl = field_1.Field({\n controlMode: props.controlMode,\n field: field,\n listInfo: props.info,\n lookupFilter: lookupFilter,\n value: value[fieldName],\n onControlRendered: function onControlRendered(control, field) {\n // Update the mapper\n mapper[field.InternalName].control = control;\n },\n onValidate: props.onValidate,\n onError: function onError(msg) {\n // Add the refresh link\n addRefreshLink(); // Call the event\n\n props.onError ? props.onError(msg) : null;\n }\n }); // Update the mapper\n\n mapper[fieldName] = fieldControl; // Add the row\n\n rows.push({\n columns: [{\n control: fieldControl.controlProps\n }]\n });\n } // See if there is a template\n\n\n if (props.template) {\n var updateControl = function updateControl(refControl) {\n // Get the control from the mapper\n var control = refControl && mapper[refControl.name] ? mapper[refControl.name].controlProps : null; // Ensure the controls exists\n\n if (control && refControl) {\n // Parse the control keys\n for (var key in control) {\n // Skip if a value is already defined\n if (refControl[key]) {\n continue;\n } // Update the property\n\n\n refControl[key] = control[key];\n }\n }\n }; // Parse the template\n\n\n for (var i = 0; i < props.template.length; i++) {\n var row = props.template[i]; // Parse the columns if there are columns\n\n var columns = row.columns || [];\n\n for (var j = 0; j < columns.length; j++) {\n var column = columns[j]; // Update the control\n\n updateControl(column.control);\n }\n }\n } // Remove the progress bar\n\n\n progress.el.parentElement ? progress.el.parentElement.removeChild(progress.el) : null; // Render the form\n\n var form = gd_bs_1.Components.Form({\n el: props.el,\n className: props.className,\n groupClassName: props.groupClassName,\n rowClassName: props.rowClassName,\n onControlRendered: function onControlRendered(control) {\n return props.onControlRendered ? props.onControlRendered(control, props.info.fields[control.props.name]) : null;\n },\n onControlRendering: function onControlRendering(control) {\n var updateReadOnly = function updateReadOnly(control) {\n // See if this control is readonly\n if (control.isReadonly) {\n var html_1 = props.info.fieldValuesAsHtml && props.info.fieldValuesAsHtml[field.InternalName] || \"\"; // Update the control properties\n\n control.type = gd_bs_1.Components.FormControlTypes.Readonly; // Detect html\n\n if (/<*>/g.test(html_1)) {\n // Update the control properties\n control.data = html_1;\n } // Set the rendered event\n\n\n control.onControlRendered = function (control) {\n // Set the class name\n control.el.classList.add(\"form-control\");\n control.el.style.backgroundColor = \"#e9ecef\"; // Override the html rendered\n\n control.el.innerHTML = html_1 || control.props.value;\n }; // See if this is a user field\n\n\n if (field.FieldTypeKind == gd_sprest_1.SPTypes.FieldType.User && window[\"ProcessImn\"]) {\n // Enable the persona\n window[\"ProcessImn\"]();\n }\n }\n }; // Execute the rendering event\n\n\n var field = props.info.fields[control.name];\n var returnVal = props.onControlRendering ? props.onControlRendering(control, field) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the event to complete\n returnVal.then(function (ctrlProps) {\n // Update the properties\n updateReadOnly(ctrlProps || control);\n });\n } else {\n // Update the properties\n updateReadOnly(control);\n }\n },\n rows: props.template || rows,\n value: value\n }); // Method to get the values\n\n var getValues = function getValues() {\n var values = {}; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Get the form field and skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Get the field value\n\n\n var fieldValue = formField.getValue(); // Set the item value\n\n values[fieldValue.name] = fieldValue.value;\n } // Return the form values\n\n\n return values;\n }; // Create the form object\n\n\n var formObj = {\n appendControls: function appendControls(controls) {\n form.appendControls(controls);\n },\n appendRows: function appendRows(rows) {\n form.appendRows(rows);\n },\n el: form.el,\n getControl: function getControl(fieldName) {\n return mapper[fieldName] ? mapper[fieldName].control : null;\n },\n getValues: getValues,\n isValid: function isValid() {\n var isValid = true; // Parse the fields\n\n for (var fieldName in props.info.fields) {\n // Skip readonly fields\n var formField = mapper[fieldName];\n\n if (formField == null || formField.controlProps.isReadonly) {\n continue;\n } // Validate the form field and update the status flag\n\n\n var controlIsValid = formField.isValid();\n isValid = isValid && controlIsValid;\n } // Return the flag\n\n\n return isValid;\n },\n save: function save() {\n var onSaving = function onSaving(values) {\n return new Promise(function (resolve) {\n // See if a save event exists\n var returnVal = props.onSaving ? props.onSaving(values) : null;\n\n if (returnVal && returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (newValues) {\n // Resolve the promise\n resolve(newValues || values);\n });\n } else {\n // Resolve the promise\n resolve(values);\n }\n });\n }; // Return a promise\n\n\n return new Promise(function (resolve, reject) {\n // Call the saving event\n onSaving(getValues()).then(function (values) {\n // Update the item\n exports.ListForm.saveItem(props.info, values).then(function (info) {\n // Remove the attachments\n removeAttachments(info).then(function () {\n // Save the attachments\n saveAttachments(info).then(function () {\n // Update the info\n props.info = info; // Resolve the promise\n\n resolve(props.info.item);\n });\n });\n }, reject);\n });\n });\n }\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(formObj) : null; // Return the form\n\n return formObj;\n};\n\n//# sourceURL=webpack:///./build/components/listForm.js?"); /***/ }), @@ -142,7 +142,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ListFormDialog = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n/**\r\n * List Form Dialog\r\n */\n\n\nexports.ListFormDialog = function (props) {\n var form = null;\n var modalProps = props.modalProps || {}; // Method to save the form\n\n var saveForm = function saveForm() {\n // Hide the form\n form.el.classList.add(\"d-none\"); // Hide the footer\n\n elFooter.classList.add(\"d-none\"); // Add a progress\n\n var progress = gd_bs_1.Components.Progress({\n el: form.el.parentElement,\n isAnimated: true,\n isStriped: true,\n size: 100\n }).el; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Ensure the form is valid\n if (!form.isValid()) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Reject the promise\n\n reject(\"Form is invalid\"); // Return\n\n return;\n } // Save the form\n\n\n form.save().then(function (item) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Call the save event\n\n props.onSaved ? props.onSaved(item) : null; // Resolve the promise\n\n resolve(item);\n }, reject);\n });\n }; // Update the properties\n\n\n modalProps.el = modalProps.el || props.el;\n modalProps.title = modalProps.title || props.listName;\n modalProps.body = gd_bs_1.Components.Progress({\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form...\",\n size: 100\n }).el.outerHTML; // Set the on render event\n\n modalProps.onRenderBody = function (el) {\n // Create an instance of the list form\n listForm_1.ListForm.create({\n excludeFields: props.excludeFields,\n fields: props.fields,\n item: props.item,\n itemId: props.itemId,\n listName: props.listName,\n loadAttachments: props.loadAttachments,\n query: props.query,\n webUrl: props.webUrl\n }).then( // Success\n function (info) {\n // Clear the modal body\n el.innerHTML = \"\"; // Ensure the item exists, otherwise default to the new form\n\n var controlMode = props.item || props.itemId > 0 ? props.controlMode : gd_sprest_1.SPTypes.ControlMode.New; // Check the control mode\n\n switch (controlMode) {\n // Edit Form\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Render the list form\n form = listForm_1.ListForm.renderEditForm({\n controlMode: props.controlMode,\n el: el,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n onSaving: props.onSaving,\n info: info,\n template: props.template\n });\n break;\n // Default - Display Form\n\n default:\n // Render the list form\n listForm_1.ListForm.renderDisplayForm({\n el: el,\n info: info,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n template: props.template\n });\n break;\n } // Display the actions\n\n\n elFooter.classList.remove(\"d-none\");\n }, // Error\n function () {\n // Log the error\n console.error(\"Error loading the list form information.\"); // Clear the modal\n\n el.innerHTML = \"\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: el,\n content: \"Error loading the list form information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n });\n });\n }; // Set the render footer event\n\n\n modalProps.onRenderFooter = function (el) {\n // Parse the actions\n var actions = props.actions || null;\n\n if (actions == null) {\n // Default the actions based on the control mode\n switch (props.controlMode) {\n // Edit\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Update\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // New\n\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Save\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // Default - Display\n\n default:\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }]\n };\n break;\n }\n } // Set the element\n\n\n actions.el = el; // Render the toolbar\n\n gd_bs_1.Components.Toolbar(actions);\n }; // Create the dialog\n\n\n var dialog = gd_bs_1.Components.Modal(modalProps); // Hide the actions\n\n var elFooter = dialog.el.querySelector(\".modal-footer\");\n elFooter.classList.add(\"d-none\"); // Add the class name\n\n dialog.el.classList.add(\"listformdialog\"); // Set the save method\n\n form == null ? null : dialog.saveForm = saveForm; // See if we are displaying it by default\n\n if (props.visible) {\n // Display the dialog\n dialog.show();\n } // Execute the assign to event\n\n\n props.assignTo ? props.assignTo(dialog) : null; // Return the dialog\n\n return dialog;\n};\n\n//# sourceURL=webpack:///./build/components/listFormDialog.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ListFormDialog = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n\nvar listForm_1 = __webpack_require__(/*! ./listForm */ \"./build/components/listForm.js\");\n/**\r\n * List Form Dialog\r\n */\n\n\nexports.ListFormDialog = function (props) {\n var form = null;\n var modalProps = props.modalProps || {}; // Method to save the form\n\n var saveForm = function saveForm() {\n // Hide the form\n form.el.classList.add(\"d-none\"); // Hide the footer\n\n elFooter.classList.add(\"d-none\"); // Add a progress\n\n var progress = gd_bs_1.Components.Progress({\n el: form.el.parentElement,\n isAnimated: true,\n isStriped: true,\n size: 100\n }).el; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Ensure the form is valid\n if (!form.isValid()) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Reject the promise\n\n reject(\"Form is invalid\"); // Return\n\n return;\n } // Save the form\n\n\n form.save().then(function (item) {\n // Remove the progress\n form.el.parentElement.removeChild(progress); // Show the form\n\n form.el.classList.remove(\"d-none\"); // Show the footer\n\n elFooter.classList.remove(\"d-none\"); // Call the save event\n\n props.onSaved ? props.onSaved(item) : null; // Resolve the promise\n\n resolve(item);\n }, reject);\n });\n }; // Update the properties\n\n\n modalProps.el = modalProps.el || props.el;\n modalProps.title = modalProps.title || props.listName;\n modalProps.body = gd_bs_1.Components.Progress({\n isAnimated: true,\n isStriped: true,\n label: \"Loading the Form...\",\n size: 100\n }).el.outerHTML; // Set the on render event\n\n modalProps.onRenderBody = function (el) {\n // Create an instance of the list form\n listForm_1.ListForm.create({\n excludeFields: props.excludeFields,\n fields: props.fields,\n item: props.item,\n itemId: props.itemId,\n listName: props.listName,\n loadAttachments: props.loadAttachments,\n query: props.query,\n webUrl: props.webUrl\n }).then( // Success\n function (info) {\n // Clear the modal body\n el.innerHTML = \"\"; // Ensure the item exists, otherwise default to the new form\n\n var controlMode = props.item || props.itemId > 0 ? props.controlMode : gd_sprest_1.SPTypes.ControlMode.New; // Check the control mode\n\n switch (controlMode) {\n // Edit Form\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Render the list form\n form = listForm_1.ListForm.renderEditForm({\n controlMode: props.controlMode,\n el: el,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n onSaving: props.onSaving,\n info: info,\n template: props.template\n });\n break;\n // Default - Display Form\n\n default:\n // Render the list form\n listForm_1.ListForm.renderDisplayForm({\n el: el,\n info: info,\n onControlRendered: props.onControlRendered,\n onControlRendering: props.onControlRendering,\n template: props.template\n });\n break;\n } // Display the actions\n\n\n elFooter.classList.remove(\"d-none\");\n }, // Error\n function () {\n // Log the error\n console.error(\"Error loading the list form information.\"); // Clear the modal\n\n el.innerHTML = \"\"; // Display an error message\n\n gd_bs_1.Components.Alert({\n el: el,\n content: \"Error loading the list form information.\",\n type: gd_bs_1.Components.AlertTypes.Danger\n });\n });\n }; // Set the render footer event\n\n\n modalProps.onRenderFooter = function (el) {\n // Parse the actions\n var actions = props.actions || null;\n\n if (actions == null) {\n // Default the actions based on the control mode\n switch (props.controlMode) {\n // Edit\n case gd_sprest_1.SPTypes.ControlMode.Edit:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Update\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // New\n\n case gd_sprest_1.SPTypes.ControlMode.New:\n // Set the actions\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }, {\n buttons: [{\n text: \"Save\",\n onClick: saveForm\n }]\n }]\n };\n break;\n // Default - Display\n\n default:\n actions = {\n spacing: 3,\n items: [{\n buttons: [{\n text: \"Close\",\n onClick: function onClick() {\n dialog.hide();\n }\n }]\n }]\n };\n break;\n }\n } // Set the element\n\n\n actions.el = el; // Render the toolbar\n\n gd_bs_1.Components.Toolbar(actions);\n }; // Create the dialog\n\n\n var dialog = gd_bs_1.Components.Modal(modalProps); // Hide the actions\n\n var elFooter = dialog.el.querySelector(\".modal-footer\");\n elFooter.classList.add(\"d-none\"); // Add the class name\n\n dialog.el.classList.add(\"listformdialog\"); // Set the save method\n\n form == null ? null : dialog.saveForm = saveForm; // See if we are displaying it by default\n\n if (props.visible) {\n // Display the dialog\n dialog.show();\n } // Execute the assign to event\n\n\n props.assignTo ? props.assignTo(dialog) : null; // Return the dialog\n\n return dialog;\n};\n\n//# sourceURL=webpack:///./build/components/listFormDialog.js?"); /***/ }), @@ -154,7 +154,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PeoplePickerControlType = exports.PeoplePicker = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * People Picker\r\n */\n\n\nexports.PeoplePicker = function (props) {\n var _filterText = null;\n var _users = []; // Method to add a user\n\n var addUser = function addUser(userInfo) {\n var user = typeof userInfo === \"string\" ? JSON.parse(userInfo) : userInfo; // Adds the button\n\n var addButton = function addButton(userInfo) {\n // See if the picker is read only\n if (props.readOnly) {\n // Render a button\n gd_bs_1.Components.Button({\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title\n });\n } else {\n // Render a button\n var btn_1 = gd_bs_1.Components.Button({\n data: userInfo,\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title,\n badge: {\n className: \"ml-2\",\n content: \"×\",\n isPill: true,\n type: gd_bs_1.Components.BadgeTypes.Light,\n onClick: function onClick() {\n // Remove the button\n elSelectedUsers.removeChild(btn_1.el);\n }\n }\n }); // Set the data attribute\n\n btn_1.el.setAttribute(\"data-user\", JSON.stringify(userInfo.stringify()));\n }\n }; // See if we are allowing multiple users\n\n\n var allowMultple = typeof props.multi == \"boolean\" ? props.multi : false;\n\n if (!allowMultple) {\n // Remove existing users\n while (elSelectedUsers.firstChild) {\n elSelectedUsers.removeChild(elSelectedUsers.firstChild);\n }\n } // Ensure this is a user object\n\n\n if (user.EntityData) {\n // Ensure the group or user id is set\n if (user.EntityData.SPGroupID) {\n // Find the user by id\n gd_sprest_1.Web().SiteGroups(parseInt(user.EntityData.SPGroupID)).execute(function (group) {\n // Add the button\n addButton(group);\n });\n } else if (user.EntityData.SPUserID) {\n // Find the user by id\n gd_sprest_1.Web().getUserById(parseInt(user.EntityData.SPUserID)).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n } else {\n // Find the user\n gd_sprest_1.Web().ensureUser(user.Key).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n }, addButton);\n }\n } else {\n // Find the user by id\n gd_sprest_1.Web().getUserById(user).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n }\n }; // Method to search for the users\n\n\n var searchUsers = function searchUsers(el, searchText, searchAll) {\n if (searchAll === void 0) {\n searchAll = true;\n } // Ensure 3 characters exist\n\n\n if (_filterText.length > 2) {\n // Search for the user\n gd_sprest_1.PeoplePicker().clientPeoplePickerSearchUser({\n MaximumEntitySuggestions: props.maxResults || 25,\n PrincipalSource: searchAll ? gd_sprest_1.SPTypes.PrincipalSources.All : gd_sprest_1.SPTypes.PrincipalSources.UserInfoList,\n PrincipalType: props.allowGroups ? gd_sprest_1.SPTypes.PrincipalTypes.All : gd_sprest_1.SPTypes.PrincipalTypes.User,\n QueryString: _filterText\n }).execute(function (search) {\n // Ensure the search text matches\n if (_filterText != searchText) {\n return;\n } // Clear the users results\n\n\n _users = []; // Set the menu header\n\n el.innerHTML = '
Search Results for \"' + searchText + '\"
';\n el.innerHTML += '
'; // See if no users were found\n\n if (search.ClientPeoplePickerSearchUser.length == 0) {\n // Add a message\n el.innerHTML += '
No results were found...
';\n return;\n } // Parse the users\n\n\n for (var i = 0; i < search.ClientPeoplePickerSearchUser.length; i++) {\n var exists = false;\n var user = search.ClientPeoplePickerSearchUser[i]; // Save the user\n\n _users.push(user); // Parse the selected users\n\n\n for (var j = 0; j < elSelectedUsers.children.length; j++) {\n var userInfo = JSON.parse(elSelectedUsers.children[j].getAttribute(\"data-user\")); // See if this user is already selected\n\n if (exists = user.Key == userInfo.Key) {\n break;\n }\n } // Ensure the user isn't already selected\n\n\n if (exists) {\n continue;\n } // Create the item\n\n\n var elItem = document.createElement(\"a\");\n elItem.className = \"dropdown-item\";\n elItem.href = \"#\";\n elItem.innerHTML = user.DisplayText;\n elItem.setAttribute(\"data-user\", JSON.stringify(user));\n el.appendChild(elItem); // Set the click event\n\n elItem.addEventListener(\"click\", function (ev) {\n var userInfo = ev.currentTarget.getAttribute(\"data-user\"); // Add the user\n\n addUser(userInfo); // Hide the menu\n\n elMenu.classList.remove(\"show\"); // Clear the search text\n\n elTextbox.querySelector(\"input\").value = \"\";\n });\n }\n });\n }\n }; // Method to set the value\n\n\n var setValue = function setValue(selectedUsers) {\n if (selectedUsers === void 0) {\n selectedUsers = [];\n } // Clear the selected users\n\n\n elSelectedUsers.innerHTML = \"\"; // Parse the selected users\n\n for (var i = 0; i < selectedUsers.length; i++) {\n // Add the user\n addUser(selectedUsers[i]);\n }\n }; // Create the people picker\n\n\n var elPeoplePicker = document.createElement(\"div\");\n elPeoplePicker.className = \"people-picker\"; // Create the menu\n\n var elMenu = document.createElement(\"div\");\n elMenu.className = \"dropdown-menu\";\n elMenu.style.position = \"relative\"; // Add the selected users\n\n var elSelectedUsers = document.createElement(\"div\");\n elSelectedUsers.style.position = \"relative\";\n elPeoplePicker.appendChild(elSelectedUsers); // Create the textbox\n\n var elTextbox = gd_bs_1.Components.InputGroup({\n placeholder: props.placeholder == null ? \"Search\" : props.placeholder,\n onChange: function onChange(searchText) {\n // See if a value exists\n if (searchText) {\n // Set the filter text\n _filterText = searchText; // Set the header\n\n elMenu.innerHTML = ['
', _filterText.length > 2 ? 'Searching for \"' + _filterText + '\"' : 'Search requires 3+ characters', '
'].join('\\n'); // Show the dropdown\n\n if (!elMenu.classList.contains(\"show\")) {\n elMenu.classList.add(\"show\");\n } // Wait 500ms before searching\n\n\n setTimeout(function () {\n // Ensure the filters match\n if (searchText == _filterText) {\n // Search for the users\n searchUsers(elMenu, searchText, props.searchLocal ? false : true);\n }\n }, 500);\n } else {\n // Hide the dropdown\n if (elMenu.classList.contains(\"show\")) {\n elMenu.classList.remove(\"show\");\n }\n }\n }\n }).el;\n props.readOnly ? elTextbox.classList.add(\"d-none\") : null;\n elPeoplePicker.appendChild(elTextbox); // Add the dropdown menu\n\n elPeoplePicker.appendChild(elMenu); // Set the value and ensure it's a \n\n var value = props.value || [];\n\n if (_typeof(props.value) != \"object\") {\n // Set the default selected users\n setValue([value]);\n } else {\n // See if this is a user object\n var userValue = value;\n\n if (userValue.EntityData) {\n // Set the value\n value = userValue.EntityData.SPGroupID || userValue.EntityData.SPUserID; // Set the default selected users\n\n setValue([value]);\n } // Else, see if the results exist\n else if (value.results) {\n var userIds = []; // Parse the results\n\n for (var i = 0; i < value.results.length; i++) {\n // Add the user id\n userIds.push(value.results[i].Id);\n } // Set the default selected users\n\n\n setValue(userIds);\n } else {\n // Set the default selected users\n setValue(value);\n }\n } // Create the element\n\n\n var el = document.createElement(\"div\");\n el.appendChild(elPeoplePicker); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Create the object\n\n\n var obj = {\n el: elPeoplePicker,\n getValue: function getValue() {\n var selectedUsers = []; // Parse the selected users\n\n for (var i = 0; i < elSelectedUsers.children.length; i++) {\n var userInfo = JSON.parse(elSelectedUsers.children[i].getAttribute(\"data-user\"));\n var user = gd_sprest_1.Helper.parse(userInfo); // Add this user\n\n selectedUsers.push(user);\n } // Return the value\n\n\n return selectedUsers;\n },\n setValue: setValue\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(obj) : null; // Return the people picker object\n\n return obj;\n}; // Customize the form control\n\n\nexports.PeoplePickerControlType = 101;\ngd_bs_1.Components.FormControlTypes[\"PeoplePicker\"] = exports.PeoplePickerControlType;\ngd_bs_1.Components.CustomControls.registerType(exports.PeoplePickerControlType, function (props) {\n var picker = null; // Set the created method\n\n var onRendered = props.onControlRendered;\n\n props.onControlRendered = function (ctrl) {\n // Render a people picker\n picker = exports.PeoplePicker({\n allowGroups: props.allowGroups,\n className: props.className,\n el: ctrl.el,\n label: props.label,\n maxResults: props.maxResults,\n multi: props.multi,\n placeholder: props.placeholder,\n readOnly: props.isReadonly,\n searchLocal: props.searchLocal,\n value: props.value\n }); // See if the label exists\n\n var elLabel = ctrl[\"_elLabel\"];\n\n if (elLabel) {\n // Set the id and aria properties\n elLabel ? elLabel.id = (props.id || props.name) + \"_label\" : null;\n picker.el.querySelector(\"input\").setAttribute(\"aria-labelledby\", elLabel.id);\n } // Set the control\n\n\n ctrl.setControl(picker); // Call the custom render event\n\n onRendered ? onRendered(ctrl) : null;\n }; // Register a people picker\n\n\n props.onGetValue = function () {\n // Return the value\n return picker.getValue();\n };\n});\n\n//# sourceURL=webpack:///./build/components/peoplePicker.js?"); +eval("\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PeoplePickerControlType = exports.PeoplePicker = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * People Picker\r\n */\n\n\nexports.PeoplePicker = function (props) {\n var _filterText = null;\n var _users = []; // Method to add a user\n\n var addUser = function addUser(userInfo) {\n var user = typeof userInfo === \"string\" ? JSON.parse(userInfo) : userInfo; // Adds the button\n\n var addButton = function addButton(userInfo) {\n // See if the picker is read only\n if (props.readOnly) {\n // Render a button\n gd_bs_1.Components.Button({\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title\n });\n } else {\n // Render a button\n var btn_1 = gd_bs_1.Components.Button({\n data: userInfo,\n el: elSelectedUsers,\n className: \"mr-1 mb-1\",\n isSmall: true,\n text: userInfo.Title,\n badge: {\n className: \"ml-2\",\n content: \"×\",\n isPill: true,\n type: gd_bs_1.Components.BadgeTypes.Light,\n onClick: function onClick() {\n // Remove the button\n elSelectedUsers.removeChild(btn_1.el);\n }\n }\n }); // Set the data attribute\n\n btn_1.el.setAttribute(\"data-user\", JSON.stringify(userInfo.stringify()));\n }\n }; // See if we are allowing multiple users\n\n\n var allowMultple = typeof props.multi == \"boolean\" ? props.multi : false;\n\n if (!allowMultple) {\n // Remove existing users\n while (elSelectedUsers.firstChild) {\n elSelectedUsers.removeChild(elSelectedUsers.firstChild);\n }\n } // Ensure this is a user object\n\n\n if (user.EntityData) {\n // Ensure the group or user id is set\n if (user.EntityData.SPGroupID) {\n // Find the user by id\n gd_sprest_1.Web().SiteGroups(parseInt(user.EntityData.SPGroupID)).execute(function (group) {\n // Add the button\n addButton(group);\n });\n } else if (user.EntityData.SPUserID) {\n // Find the user by id\n gd_sprest_1.Web().getUserById(parseInt(user.EntityData.SPUserID)).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n } else {\n // Find the user\n gd_sprest_1.Web().ensureUser(user.Key).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n }, addButton);\n }\n } else {\n // Find the user by id\n gd_sprest_1.Web().getUserById(user).execute(function (userInfo) {\n // Add the button\n addButton(userInfo);\n });\n }\n }; // Method to search for the users\n\n\n var searchUsers = function searchUsers(el, searchText, searchAll) {\n if (searchAll === void 0) {\n searchAll = true;\n } // Ensure 3 characters exist\n\n\n if (_filterText.length > 2) {\n // Search for the user\n gd_sprest_1.PeoplePicker().clientPeoplePickerSearchUser({\n MaximumEntitySuggestions: props.maxResults || 25,\n PrincipalSource: searchAll ? gd_sprest_1.SPTypes.PrincipalSources.All : gd_sprest_1.SPTypes.PrincipalSources.UserInfoList,\n PrincipalType: props.allowGroups ? gd_sprest_1.SPTypes.PrincipalTypes.All : gd_sprest_1.SPTypes.PrincipalTypes.User,\n QueryString: _filterText\n }).execute(function (search) {\n // Ensure the search text matches\n if (_filterText != searchText) {\n return;\n } // Clear the users results\n\n\n _users = []; // Set the menu header\n\n el.innerHTML = '
Search Results for \"' + searchText + '\"
';\n el.innerHTML += '
'; // See if no users were found\n\n if (search.ClientPeoplePickerSearchUser.length == 0) {\n // Add a message\n el.innerHTML += '
No results were found...
';\n return;\n } // Parse the users\n\n\n for (var i = 0; i < search.ClientPeoplePickerSearchUser.length; i++) {\n var exists = false;\n var user = search.ClientPeoplePickerSearchUser[i]; // Save the user\n\n _users.push(user); // Parse the selected users\n\n\n for (var j = 0; j < elSelectedUsers.children.length; j++) {\n var userInfo = JSON.parse(elSelectedUsers.children[j].getAttribute(\"data-user\")); // See if this user is already selected\n\n if (exists = user.Key == userInfo.Key) {\n break;\n }\n } // Ensure the user isn't already selected\n\n\n if (exists) {\n continue;\n } // Create the item\n\n\n var elItem = document.createElement(\"a\");\n elItem.className = \"dropdown-item\";\n elItem.href = \"#\";\n elItem.innerHTML = user.DisplayText;\n elItem.setAttribute(\"data-user\", JSON.stringify(user));\n el.appendChild(elItem); // Set the click event\n\n elItem.addEventListener(\"click\", function (ev) {\n var userInfo = ev.currentTarget.getAttribute(\"data-user\"); // Add the user\n\n addUser(userInfo); // Hide the menu\n\n elMenu.classList.remove(\"show\"); // Clear the search text\n\n elTextbox.querySelector(\"input\").value = \"\";\n });\n }\n });\n }\n }; // Method to set the value\n\n\n var setValue = function setValue(selectedUsers) {\n if (selectedUsers === void 0) {\n selectedUsers = [];\n } // Clear the selected users\n\n\n elSelectedUsers.innerHTML = \"\"; // Parse the selected users\n\n for (var i = 0; i < selectedUsers.length; i++) {\n // Add the user\n addUser(selectedUsers[i]);\n }\n }; // Create the people picker\n\n\n var elPeoplePicker = document.createElement(\"div\");\n elPeoplePicker.className = \"people-picker\"; // Create the menu\n\n var elMenu = document.createElement(\"div\");\n elMenu.className = \"dropdown-menu\";\n elMenu.style.position = \"relative\"; // Add the selected users\n\n var elSelectedUsers = document.createElement(\"div\");\n elSelectedUsers.style.position = \"relative\";\n elPeoplePicker.appendChild(elSelectedUsers); // Create the textbox\n\n var elTextbox = gd_bs_1.Components.InputGroup({\n placeholder: props.placeholder == null ? \"Search\" : props.placeholder,\n onChange: function onChange(searchText) {\n // See if a value exists\n if (searchText) {\n // Set the filter text\n _filterText = searchText; // Set the header\n\n elMenu.innerHTML = ['
', _filterText.length > 2 ? 'Searching for \"' + _filterText + '\"' : 'Search requires 3+ characters', '
'].join('\\n'); // Show the dropdown\n\n if (!elMenu.classList.contains(\"show\")) {\n elMenu.classList.add(\"show\");\n } // Wait 500ms before searching\n\n\n setTimeout(function () {\n // Ensure the filters match\n if (searchText == _filterText) {\n // Search for the users\n searchUsers(elMenu, searchText, props.searchLocal ? false : true);\n }\n }, 500);\n } else {\n // Hide the dropdown\n if (elMenu.classList.contains(\"show\")) {\n elMenu.classList.remove(\"show\");\n }\n }\n }\n }).el;\n props.readOnly ? elTextbox.classList.add(\"d-none\") : null;\n elPeoplePicker.appendChild(elTextbox); // Add the dropdown menu\n\n elPeoplePicker.appendChild(elMenu); // Set the value and ensure it's a \n\n var value = props.value || [];\n\n if (_typeof(props.value) != \"object\") {\n // Set the default selected users\n setValue([value]);\n } else {\n // See if this is a user object\n var userValue = value;\n\n if (userValue.EntityData) {\n // Set the value\n value = userValue.EntityData.SPGroupID || userValue.EntityData.SPUserID; // Set the default selected users\n\n setValue([value]);\n } // Else, see if the results exist\n else if (value.results) {\n var userIds = []; // Parse the results\n\n for (var i = 0; i < value.results.length; i++) {\n // Add the user id\n userIds.push(value.results[i].Id);\n } // Set the default selected users\n\n\n setValue(userIds);\n } else {\n // Set the default selected users\n setValue(value);\n }\n } // Create the element\n\n\n var el = document.createElement(\"div\");\n el.appendChild(elPeoplePicker); // See if we are rendering it to an element\n\n if (props.el) {\n // Ensure the parent element exists\n if (props.el.parentElement && props.el.parentElement.classList) {\n // Set the bootstrap class\n props.el.parentElement.classList.contains(\"bs\") ? null : props.el.parentElement.classList.add(\"bs\");\n } // Append the elements\n\n\n while (el.children.length > 0) {\n props.el.appendChild(el.children[0]);\n } // Update the element\n\n\n el = props.el;\n } else {\n // Set the bootstrap class\n el.classList.add(\"bs\");\n } // Create the object\n\n\n var obj = {\n el: elPeoplePicker,\n getValue: function getValue() {\n var selectedUsers = []; // Parse the selected users\n\n for (var i = 0; i < elSelectedUsers.children.length; i++) {\n var userInfo = JSON.parse(elSelectedUsers.children[i].getAttribute(\"data-user\"));\n var user = gd_sprest_1.Helper.parse(userInfo); // Add this user\n\n selectedUsers.push(user);\n } // Return the value\n\n\n return selectedUsers;\n },\n setValue: setValue\n }; // Execute the assign to event\n\n props.assignTo ? props.assignTo(obj) : null; // Return the people picker object\n\n return obj;\n}; // Customize the form control\n\n\nexports.PeoplePickerControlType = 101;\ngd_bs_1.Components.FormControlTypes[\"PeoplePicker\"] = exports.PeoplePickerControlType;\ngd_bs_1.Components.CustomControls.registerType(exports.PeoplePickerControlType, function (props) {\n var picker = null; // Set the created method\n\n var onRendered = props.onControlRendered;\n\n props.onControlRendered = function (ctrl) {\n // Render a people picker\n picker = exports.PeoplePicker({\n allowGroups: props.allowGroups,\n className: props.className,\n el: ctrl.el,\n label: props.label,\n maxResults: props.maxResults,\n multi: props.multi,\n placeholder: props.placeholder,\n readOnly: props.isReadonly,\n searchLocal: props.searchLocal,\n value: props.value\n }); // See if the label exists\n\n var elLabel = ctrl[\"_elLabel\"];\n\n if (elLabel) {\n // Set the id and aria properties\n elLabel ? elLabel.id = (props.id || props.name) + \"_label\" : null;\n picker.el.querySelector(\"input\").setAttribute(\"aria-labelledby\", elLabel.id);\n } // Set the control\n\n\n ctrl.setControl(picker); // Call the custom render event\n\n onRendered ? onRendered(ctrl) : null;\n }; // Register a people picker\n\n\n props.onGetValue = function () {\n // Return the value\n return picker.getValue();\n };\n});\n\n//# sourceURL=webpack:///./build/components/peoplePicker.js?"); /***/ }), @@ -166,7 +166,7 @@ eval("\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function get() {\n return m[k];\n }\n });\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nvar __exportStar = this && this.__exportStar || function (m, exports) {\n for (var p in m) {\n if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n }\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WebParts = exports.IconTypes = exports.Icons = exports.Components = void 0; // The bootstrap library\n\n__exportStar(__webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\"), exports); // The SharePoint library\n\n\n__exportStar(__webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\"), exports); // SharePoint bootstrap components/webparts\n\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nObject.defineProperty(exports, \"Icons\", {\n enumerable: true,\n get: function get() {\n return gd_bs_1.Icons;\n }\n});\nObject.defineProperty(exports, \"IconTypes\", {\n enumerable: true,\n get: function get() {\n return gd_bs_1.IconTypes;\n }\n});\n\nvar components_1 = __webpack_require__(/*! ./components */ \"./build/components/index.js\");\n\nexports.Components = components_1[\"default\"];\n\nvar WebParts = __webpack_require__(/*! ./webparts */ \"./build/webparts/index.js\");\n\nexports.WebParts = WebParts; // Styling\n\n__webpack_require__(/*! ./styles */ \"./build/styles.js\"); // Ensure the global variable exists\n\n\nvar $REST = window && window[\"$REST\"];\n\nif ($REST) {\n // Update the $REST global variable\n $REST.Components = components_1[\"default\"];\n $REST.IconTypes = gd_bs_1.IconTypes;\n $REST.Icons = gd_bs_1.Icons;\n $REST.WebParts = WebParts;\n} // Ensure the SP library exists\n\n\nif (window[\"SP\"] && window[\"SP\"].SOD) {\n // Notify waiting scripts\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs\") : null;\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs.js\") : null;\n}\n\n//# sourceURL=webpack:///./build/index.js?"); +eval("\n\nvar __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function get() {\n return m[k];\n }\n });\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nvar __exportStar = this && this.__exportStar || function (m, exports) {\n for (var p in m) {\n if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n }\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WebParts = exports.IconTypes = exports.Icons = exports.Components = void 0; // The bootstrap library\n\n__exportStar(__webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\"), exports); // The SharePoint library\n\n\n__exportStar(__webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\"), exports); // SharePoint bootstrap components/webparts\n\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nObject.defineProperty(exports, \"Icons\", {\n enumerable: true,\n get: function get() {\n return gd_bs_1.Icons;\n }\n});\nObject.defineProperty(exports, \"IconTypes\", {\n enumerable: true,\n get: function get() {\n return gd_bs_1.IconTypes;\n }\n});\n\nvar components_1 = __webpack_require__(/*! ./components */ \"./build/components/index.js\");\n\nexports.Components = components_1[\"default\"];\n\nvar WebParts = __webpack_require__(/*! ./webparts */ \"./build/webparts/index.js\");\n\nexports.WebParts = WebParts; // Styling\n\n__webpack_require__(/*! ./styles */ \"./build/styles.js\"); // Ensure the global variable exists\n\n\nvar $REST = window && window[\"$REST\"];\n\nif ($REST) {\n // Update the $REST global variable\n $REST.Components = components_1[\"default\"];\n $REST.IconTypes = gd_bs_1.IconTypes;\n $REST.Icons = gd_bs_1.Icons;\n $REST.WebParts = WebParts;\n} // Ensure the SP library exists\n\n\nif (window[\"SP\"] && window[\"SP\"].SOD) {\n // Notify waiting scripts\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs\") : null;\n window[\"SP\"] ? window[\"SP\"].SOD.notifyScriptLoadedAndExecuteWaitingJobs(\"gd-sprest-bs.js\") : null;\n}\n\n//# sourceURL=webpack:///./build/index.js?"); /***/ }), @@ -189,7 +189,7 @@ eval("function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Helper = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Helper Methods\r\n */\n\n\nexports.Helper = {\n // Method to get the webpart\n getWebPart: function getWebPart(wpId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the current context\n var context = SP.ClientContext.get_current(); // Get the webpart from the current page\n\n var page = context.get_web().getFileByServerRelativeUrl(gd_sprest_1.ContextInfo.serverRequestPath);\n var wpMgr = page.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);\n var wpDef = wpMgr.get_webParts().getById(wpId);\n var wp = wpDef.get_webPart();\n context.load(wp, \"Properties\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n // Resolve the promise\n resolve({\n Context: context,\n Properties: wp.get_properties(),\n WebPart: wp,\n WebPartDefinition: wpDef\n });\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // Reject the promise\n\n\n reject(args[1] ? args[1].get_message() : \"\");\n });\n });\n },\n // Method to get the webpart id for a specified element\n getWebPartId: function getWebPartId(el) {\n // Loop until we find the webpart id\n while (el) {\n // See if this element contains the webpart id\n var wpId = el.getAttribute(\"webpartid\");\n\n if (wpId) {\n // Return the webpart id\n return wpId;\n } // Check the parent\n\n\n el = el.parentElement;\n } // Unable to detect\n\n\n return \"\";\n },\n // Method to render the edit form\n renderEditForm: function renderEditForm(wpInfo, formControls) {\n if (formControls === void 0) {\n formControls = [];\n }\n\n var rows = []; // Parse the controls\n\n for (var i = 0; i < formControls.length; i++) {\n // Add the control\n rows.push({\n columns: [{\n control: formControls[i]\n }]\n });\n } // Render the form\n\n\n return gd_bs_1.Components.Form({\n el: wpInfo.el.querySelector(\".wp-cfg-form\"),\n rows: rows,\n value: wpInfo.cfg\n });\n },\n // Method to save the webpart configuration\n saveConfiguration: function saveConfiguration(wpId, cfgId, wpCfg) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Update the webpart content elements\n if (exports.Helper.updateWebPartContentElements(wpId, cfgId, wpCfg)) {\n // Wiki page detected, resolve the promise and do nothing\n resolve();\n return;\n } // Get the target webpart\n\n\n exports.Helper.getWebPart(wpId).then(function (wpInfo) {\n // Get the content\n var content = wpInfo && wpInfo.Properties.get_fieldValues()[\"Content\"];\n\n if (content) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = content; // Get the configuration element and update it\n\n var elCfg = el.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Update the webpart\n\n wpInfo.Properties.set_item(\"Content\", el.innerHTML);\n wpInfo.WebPartDefinition.saveWebPartChanges();\n wpInfo.Context.load(wpInfo.WebPartDefinition); // Execute the request\n\n wpInfo.Context.executeQueryAsync( // Success\n function () {\n // Disable the edit page warning\n if (SP && SP.Ribbon && SP.Ribbon.PageState && SP.Ribbon.PageState.PageStateHandler) {\n SP.Ribbon.PageState.PageStateHandler.ignoreNextUnload = true;\n } // Refresh the page\n\n\n window.location.href = window.location.pathname + \"?DisplayMode=Design\"; // Resolve the promise\n\n resolve();\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var message = args[1].get_message(); // Log\n\n console.error(\"[gd-sprest] Error saving the configuration. \" + message); // Reject the promise\n\n reject(message);\n });\n }\n });\n });\n },\n // Method to update the configuration element\n updateConfigurationInElement: function updateConfigurationInElement(cfgId, elTarget, wpCfg) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = elTarget.value; // Get the configuration element and update it\n\n var cfg = el.querySelector(\"#\" + cfgId);\n cfg ? cfg.innerText = JSON.stringify(wpCfg) : null; // Update the value\n\n elTarget.value = el.innerHTML;\n },\n // Method to update the webpart content elements\n updateWebPartContentElements: function updateWebPartContentElements(wpId, cfgId, wpCfg) {\n // Get the webpart element\n var elWebPart = document.querySelector(\"div[webpartid='\" + wpId + \"']\");\n\n if (elWebPart) {\n var wpContent = null;\n var wpPageContent = null; // Get the associated webpart id\n\n var wpId2 = elWebPart.getAttribute(\"webpartid2\"); // Update the configuration\n\n var elCfg = elWebPart.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Parse the hidden elements on the page\n\n var hiddenElements = document.querySelectorAll(\"input[type='hidden']\");\n\n for (var i = 0; i < hiddenElements.length; i++) {\n var elHidden = hiddenElements[i]; // See if we have found the webpart content and page content hidden elements\n\n if (wpContent && wpPageContent) {\n continue;\n } // See if this is a hidden webpart content element\n\n\n if (elHidden.name && elHidden.name.indexOf(\"scriptcontent\") == elHidden.name.length - 13) {\n // See if it's for this webpart\n if (elHidden.name.indexOf(wpId2) == 0) {\n // Set the webpart content element\n wpContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpContent, wpCfg);\n } // Continue the loop\n\n\n continue;\n } // Create an element and set the inner html to the value\n\n\n var el = document.createElement(\"div\");\n el.innerHTML = elHidden.value; // See if this is a hidden field element\n\n if (el.querySelector(\"#\" + cfgId)) {\n // Set the webpart page content\n wpPageContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpPageContent, wpCfg); // Continue the loop\n\n continue;\n }\n } // Return true, if the page content exists\n\n\n return wpPageContent != null;\n } // Webpart is not in a content field\n\n\n return false;\n }\n};\n\n//# sourceURL=webpack:///./build/webparts/base/helper.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Helper = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Helper Methods\r\n */\n\n\nexports.Helper = {\n // Method to get the webpart\n getWebPart: function getWebPart(wpId) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Get the current context\n var context = SP.ClientContext.get_current(); // Get the webpart from the current page\n\n var page = context.get_web().getFileByServerRelativeUrl(gd_sprest_1.ContextInfo.serverRequestPath);\n var wpMgr = page.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared);\n var wpDef = wpMgr.get_webParts().getById(wpId);\n var wp = wpDef.get_webPart();\n context.load(wp, \"Properties\"); // Execute the request\n\n context.executeQueryAsync( // Success\n function () {\n // Resolve the promise\n resolve({\n Context: context,\n Properties: wp.get_properties(),\n WebPart: wp,\n WebPartDefinition: wpDef\n });\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n } // Reject the promise\n\n\n reject(args[1] ? args[1].get_message() : \"\");\n });\n });\n },\n // Method to get the webpart id for a specified element\n getWebPartId: function getWebPartId(el) {\n // Loop until we find the webpart id\n while (el) {\n // See if this element contains the webpart id\n var wpId = el.getAttribute(\"webpartid\");\n\n if (wpId) {\n // Return the webpart id\n return wpId;\n } // Check the parent\n\n\n el = el.parentElement;\n } // Unable to detect\n\n\n return \"\";\n },\n // Method to render the edit form\n renderEditForm: function renderEditForm(wpInfo, formControls) {\n if (formControls === void 0) {\n formControls = [];\n }\n\n var rows = []; // Parse the controls\n\n for (var i = 0; i < formControls.length; i++) {\n // Add the control\n rows.push({\n columns: [{\n control: formControls[i]\n }]\n });\n } // Render the form\n\n\n return gd_bs_1.Components.Form({\n el: wpInfo.el.querySelector(\".wp-cfg-form\"),\n rows: rows,\n value: wpInfo.cfg\n });\n },\n // Method to save the webpart configuration\n saveConfiguration: function saveConfiguration(wpId, cfgId, wpCfg) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Update the webpart content elements\n if (exports.Helper.updateWebPartContentElements(wpId, cfgId, wpCfg)) {\n // Wiki page detected, resolve the promise and do nothing\n resolve();\n return;\n } // Get the target webpart\n\n\n exports.Helper.getWebPart(wpId).then(function (wpInfo) {\n // Get the content\n var content = wpInfo && wpInfo.Properties.get_fieldValues()[\"Content\"];\n\n if (content) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = content; // Get the configuration element and update it\n\n var elCfg = el.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Update the webpart\n\n wpInfo.Properties.set_item(\"Content\", el.innerHTML);\n wpInfo.WebPartDefinition.saveWebPartChanges();\n wpInfo.Context.load(wpInfo.WebPartDefinition); // Execute the request\n\n wpInfo.Context.executeQueryAsync( // Success\n function () {\n // Disable the edit page warning\n if (SP && SP.Ribbon && SP.Ribbon.PageState && SP.Ribbon.PageState.PageStateHandler) {\n SP.Ribbon.PageState.PageStateHandler.ignoreNextUnload = true;\n } // Refresh the page\n\n\n window.location.href = window.location.pathname + \"?DisplayMode=Design\"; // Resolve the promise\n\n resolve();\n }, // Error\n function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var message = args[1].get_message(); // Log\n\n console.error(\"[gd-sprest] Error saving the configuration. \" + message); // Reject the promise\n\n reject(message);\n });\n }\n });\n });\n },\n // Method to update the configuration element\n updateConfigurationInElement: function updateConfigurationInElement(cfgId, elTarget, wpCfg) {\n // Create an element so we can update the configuration\n var el = document.createElement(\"div\");\n el.innerHTML = elTarget.value; // Get the configuration element and update it\n\n var cfg = el.querySelector(\"#\" + cfgId);\n cfg ? cfg.innerText = JSON.stringify(wpCfg) : null; // Update the value\n\n elTarget.value = el.innerHTML;\n },\n // Method to update the webpart content elements\n updateWebPartContentElements: function updateWebPartContentElements(wpId, cfgId, wpCfg) {\n // Get the webpart element\n var elWebPart = document.querySelector(\"div[webpartid='\" + wpId + \"']\");\n\n if (elWebPart) {\n var wpContent = null;\n var wpPageContent = null; // Get the associated webpart id\n\n var wpId2 = elWebPart.getAttribute(\"webpartid2\"); // Update the configuration\n\n var elCfg = elWebPart.querySelector(\"#\" + cfgId);\n elCfg ? elCfg.innerText = JSON.stringify(wpCfg) : null; // Parse the hidden elements on the page\n\n var hiddenElements = document.querySelectorAll(\"input[type='hidden']\");\n\n for (var i = 0; i < hiddenElements.length; i++) {\n var elHidden = hiddenElements[i]; // See if we have found the webpart content and page content hidden elements\n\n if (wpContent && wpPageContent) {\n continue;\n } // See if this is a hidden webpart content element\n\n\n if (elHidden.name && elHidden.name.indexOf(\"scriptcontent\") == elHidden.name.length - 13) {\n // See if it's for this webpart\n if (elHidden.name.indexOf(wpId2) == 0) {\n // Set the webpart content element\n wpContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpContent, wpCfg);\n } // Continue the loop\n\n\n continue;\n } // Create an element and set the inner html to the value\n\n\n var el = document.createElement(\"div\");\n el.innerHTML = elHidden.value; // See if this is a hidden field element\n\n if (el.querySelector(\"#\" + cfgId)) {\n // Set the webpart page content\n wpPageContent = elHidden; // Update the configuration in the webpart content element\n\n exports.Helper.updateConfigurationInElement(cfgId, wpPageContent, wpCfg); // Continue the loop\n\n continue;\n }\n } // Return true, if the page content exists\n\n\n return wpPageContent != null;\n } // Webpart is not in a content field\n\n\n return false;\n }\n};\n\n//# sourceURL=webpack:///./build/webparts/base/helper.js?"); /***/ }), @@ -225,7 +225,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPCfg = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./build/webparts/base/helper.js\");\n/**\r\n * WebPart Configuration\r\n */\n\n\nexports.WPCfg = function (cfg, wp, props) {\n var _editForm = props.editForm || {}; // Method to detect if the wiki page is being edited\n\n\n var isWikiPageInEdit = function isWikiPageInEdit() {\n var wikiPageMode = null; // Get the form\n\n var form = document.forms[MSOWebPartPageFormName];\n\n if (form) {\n // Get the wiki page mode\n wikiPageMode = form._wikiPageMode ? form._wikiPageMode.value : null;\n } // Determine if this wiki page is being edited\n\n\n return wikiPageMode == \"Edit\";\n }; // The default render method when the page is edited\n\n\n var render = function render() {\n var form = null; // Ensure we need to render this\n\n if (_editForm == null) {\n return;\n } // Render the template\n\n\n wp.el.innerHTML = ['
', '
'].join('\\n'); // Render the button to toggle the modal\n\n gd_bs_1.Components.Button({\n el: wp.el.children[0],\n text: \"Configure WebPart\",\n type: gd_bs_1.Components.ButtonTypes.Secondary,\n onClick: function onClick() {\n modal.show();\n }\n }); // Render the modal\n\n var modal = gd_bs_1.Components.Modal({\n el: wp.el.children[1],\n id: (wp.cfg.WebPartId || \"\") + \"_modal\",\n isCentered: true,\n title: \"Configuration Panel\",\n type: gd_bs_1.Components.ModalTypes.Large,\n onRenderBody: function onRenderBody(el) {\n var formControls = null; // Set the class name\n\n el.classList.add(\"wp-cfg-form\"); // See if the render form event exists\n\n if (_editForm.onRenderForm) {\n // Call the event\n formControls = _editForm.onRenderForm(wp) || [];\n } // See if there is a promise\n\n\n if (formControls.then) {\n // Wait for the promise to be resolved\n formControls.then(function (formControls) {\n // Render the edit form\n form = helper_1.Helper.renderEditForm(wp, formControls);\n });\n } // Else, render the edit form\n else {\n form = helper_1.Helper.renderEditForm(wp, formControls);\n }\n },\n onRenderFooter: function onRenderFooter(el) {\n var actionButtons = []; // See if this is a wiki page\n\n var disableSaveButton = isWikiPageInEdit();\n\n if (disableSaveButton) {\n // Get the webpart manager key name\n var elWPMgrKeyName = document.getElementById(\"MSOSPWebPartManager_OldSelectedStorageKeyName\"); // Set the flag\n\n disableSaveButton = elWPMgrKeyName == null || elWPMgrKeyName.value.indexOf(cfg.WebPartId) < 0;\n\n if (disableSaveButton) {\n // Show a message\n el.innerHTML = \"\";\n return;\n }\n } // See if we are adding the save button\n\n\n if (_editForm.showSaveButton != false) {\n // Add the save button\n actionButtons.push({\n isDisabled: disableSaveButton,\n text: \"Save\",\n onClick: function onClick(ev) {\n // Call the save event and set the configuration\n var cfg = _editForm.onSave ? _editForm.onSave(wp.cfg, form) : null;\n cfg = cfg ? cfg : wp.cfg; // Save the configuration\n\n helper_1.Helper.saveConfiguration(wp.wpId, props.cfgElementId, cfg).then(function () {\n // Close the modal\n modal.toggle();\n });\n }\n });\n } // See if custom actions exist\n\n\n if (_editForm.actions) {\n // Add the buttons\n actionButtons = actionButtons.concat(_editForm.actions);\n } // Render the menu buttons\n\n\n gd_bs_1.Components.ButtonGroup({\n buttons: actionButtons,\n buttonType: gd_bs_1.Components.ButtonTypes.Secondary,\n el: el,\n isSmall: true\n });\n }\n });\n }; // Render the webpart configuration\n\n\n render();\n};\n\n//# sourceURL=webpack:///./build/webparts/base/wpCfg.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPCfg = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./build/webparts/base/helper.js\");\n/**\r\n * WebPart Configuration\r\n */\n\n\nexports.WPCfg = function (cfg, wp, props) {\n var _editForm = props.editForm || {}; // Method to detect if the wiki page is being edited\n\n\n var isWikiPageInEdit = function isWikiPageInEdit() {\n var wikiPageMode = null; // Get the form\n\n var form = document.forms[MSOWebPartPageFormName];\n\n if (form) {\n // Get the wiki page mode\n wikiPageMode = form._wikiPageMode ? form._wikiPageMode.value : null;\n } // Determine if this wiki page is being edited\n\n\n return wikiPageMode == \"Edit\";\n }; // The default render method when the page is edited\n\n\n var render = function render() {\n var form = null; // Ensure we need to render this\n\n if (_editForm == null) {\n return;\n } // Render the template\n\n\n wp.el.innerHTML = ['
', '
'].join('\\n'); // Render the button to toggle the modal\n\n gd_bs_1.Components.Button({\n el: wp.el.children[0],\n text: \"Configure WebPart\",\n type: gd_bs_1.Components.ButtonTypes.Secondary,\n onClick: function onClick() {\n modal.show();\n }\n }); // Render the modal\n\n var modal = gd_bs_1.Components.Modal({\n el: wp.el.children[1],\n id: (wp.cfg.WebPartId || \"\") + \"_modal\",\n isCentered: true,\n title: \"Configuration Panel\",\n type: gd_bs_1.Components.ModalTypes.Large,\n onRenderBody: function onRenderBody(el) {\n var formControls = null; // Set the class name\n\n el.classList.add(\"wp-cfg-form\"); // See if the render form event exists\n\n if (_editForm.onRenderForm) {\n // Call the event\n formControls = _editForm.onRenderForm(wp) || [];\n } // See if there is a promise\n\n\n if (formControls.then) {\n // Wait for the promise to be resolved\n formControls.then(function (formControls) {\n // Render the edit form\n form = helper_1.Helper.renderEditForm(wp, formControls);\n });\n } // Else, render the edit form\n else {\n form = helper_1.Helper.renderEditForm(wp, formControls);\n }\n },\n onRenderFooter: function onRenderFooter(el) {\n var actionButtons = []; // See if this is a wiki page\n\n var disableSaveButton = isWikiPageInEdit();\n\n if (disableSaveButton) {\n // Get the webpart manager key name\n var elWPMgrKeyName = document.getElementById(\"MSOSPWebPartManager_OldSelectedStorageKeyName\"); // Set the flag\n\n disableSaveButton = elWPMgrKeyName == null || elWPMgrKeyName.value.indexOf(cfg.WebPartId) < 0;\n\n if (disableSaveButton) {\n // Show a message\n el.innerHTML = \"\";\n return;\n }\n } // See if we are adding the save button\n\n\n if (_editForm.showSaveButton != false) {\n // Add the save button\n actionButtons.push({\n isDisabled: disableSaveButton,\n text: \"Save\",\n onClick: function onClick(ev) {\n // Call the save event and set the configuration\n var cfg = _editForm.onSave ? _editForm.onSave(wp.cfg, form) : null;\n cfg = cfg ? cfg : wp.cfg; // Save the configuration\n\n helper_1.Helper.saveConfiguration(wp.wpId, props.cfgElementId, cfg).then(function () {\n // Close the modal\n modal.toggle();\n });\n }\n });\n } // See if custom actions exist\n\n\n if (_editForm.actions) {\n // Add the buttons\n actionButtons = actionButtons.concat(_editForm.actions);\n } // Render the menu buttons\n\n\n gd_bs_1.Components.ButtonGroup({\n buttons: actionButtons,\n buttonType: gd_bs_1.Components.ButtonTypes.Secondary,\n el: el,\n isSmall: true\n });\n }\n });\n }; // Render the webpart configuration\n\n\n render();\n};\n\n//# sourceURL=webpack:///./build/webparts/base/wpCfg.js?"); /***/ }), @@ -273,7 +273,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPListEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * List WebPart Edit Form\r\n */\n\n\nexports.WPListEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlList = null;\n var _lists = null;\n var _loadingMessage = null;\n var _wpInfo = null; // Method to load the lists\n\n var loadLists = function loadLists(webUrl) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Set the query\n var query = props.listQuery || {}; // Get the web\n\n gd_sprest_1.Web(webUrl) // Get the lists\n .Lists() // Include the fields\n .query(query) // Execute the request\n .execute(function (lists) {\n var items = [{\n text: \"\",\n value: \"\"\n }]; // Call the list loaded event\n\n _lists = (props.onListsLoaded ? props.onListsLoaded(_wpInfo, lists.results) : null) || lists.results; // Parse the lists\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // Add the item\n\n items.push({\n text: list.Title,\n value: list.Title\n });\n } // Resolve the promise\n\n\n resolve(items);\n }, reject);\n });\n }; // Method to render the form controls\n\n\n var renderFormControls = function renderFormControls(items, webUrl) {\n var controls = []; // Add the web url\n\n controls.push({\n label: \"Relative Web Url:\",\n description: \"The web containing the list. If blank, the current web is used.\",\n name: \"WebUrl\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: webUrl,\n onChange: function onChange(value) {\n // Update the configuration\n _wpInfo.cfg.WebUrl = value;\n }\n }); // Add the dropdown\n\n controls.push({\n label: \"List:\",\n name: \"ListName\",\n items: items,\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo && _wpInfo.cfg ? _wpInfo.cfg.ListName : null,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown list\n _ddlList = control.dropdown;\n },\n onChange: function onChange(item) {\n if (item) {\n // See if this is a blank item\n if (item.text == \"\") {\n // Call the change event\n props.onListChanged ? props.onListChanged(_wpInfo) : null;\n return;\n } // Parse the list\n\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // See if this is the target list\n\n if (list.Title == item.text) {\n // Update the configuration\n _wpInfo.cfg.ListName = item.value; // Call the change event\n\n props.onListChanged ? props.onListChanged(_wpInfo, list) : null;\n break;\n }\n }\n }\n }\n }); // Return the controls\n\n return controls;\n }; // Create the form action buttons\n\n\n var actionButtons = [{\n text: \"Refresh\",\n onClick: function onClick() {\n // Clear the dropdown\n _ddlList.setItems([{\n isHeader: true,\n text: \"Loading the Lists\",\n isSelected: true\n }]); // Load the lists\n\n\n loadLists(_wpInfo.cfg.WebUrl).then(function (items) {\n // Set the dropdown items\n _ddlList.setItems(items);\n });\n }\n }]; // See if custom actions exist\n\n if (props.actions) {\n // Add the custom commands\n actionButtons = actionButtons.concat(props.actions);\n } // Return the edit panel\n\n\n return {\n actions: actionButtons,\n showSaveButton: props.showSaveButton,\n onRenderForm: function onRenderForm(wpInfo) {\n // Save the webpart information\n _wpInfo = wpInfo; // Render a loading message\n\n _loadingMessage = gd_bs_1.Components.Progress({\n el: _wpInfo.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the List Information\",\n size: 100\n }).el; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Load the lists\n loadLists(_wpInfo && _wpInfo.cfg ? _wpInfo.cfg.WebUrl : \"\").then(function (items) {\n // Render the form controls\n var controls = renderFormControls(items); // Parse the lists\n\n var selectedList = null;\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // See if this is the selected list\n\n if (list.Title == _wpInfo.cfg.ListName) {\n // Select this list\n selectedList = list;\n }\n } // Call the render form event\n\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo, selectedList) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (formControls) {\n if (formControls === void 0) {\n formControls = [];\n } // Add the form controls\n\n\n controls = controls.concat(formControls); // Resolve the promise\n\n resolve(controls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n controls = controls.concat(returnVal); // Resolve the promise\n\n resolve(controls);\n } // Else, resolve the promise\n else {\n resolve(controls);\n }\n } // Else, resolve the promise\n else {\n resolve(controls);\n } // Remove the loading message\n\n\n _wpInfo.el.removeChild(_loadingMessage);\n });\n });\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.ListName = _wpInfo.cfg.ListName;\n cfg.WebUrl = _wpInfo.cfg.WebUrl; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/list/wpCfg.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPListEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * List WebPart Edit Form\r\n */\n\n\nexports.WPListEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlList = null;\n var _lists = null;\n var _loadingMessage = null;\n var _wpInfo = null; // Method to load the lists\n\n var loadLists = function loadLists(webUrl) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Set the query\n var query = props.listQuery || {}; // Get the web\n\n gd_sprest_1.Web(webUrl) // Get the lists\n .Lists() // Include the fields\n .query(query) // Execute the request\n .execute(function (lists) {\n var items = [{\n text: \"\",\n value: \"\"\n }]; // Call the list loaded event\n\n _lists = (props.onListsLoaded ? props.onListsLoaded(_wpInfo, lists.results) : null) || lists.results; // Parse the lists\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // Add the item\n\n items.push({\n text: list.Title,\n value: list.Title\n });\n } // Resolve the promise\n\n\n resolve(items);\n }, reject);\n });\n }; // Method to render the form controls\n\n\n var renderFormControls = function renderFormControls(items, webUrl) {\n var controls = []; // Add the web url\n\n controls.push({\n label: \"Relative Web Url:\",\n description: \"The web containing the list. If blank, the current web is used.\",\n name: \"WebUrl\",\n type: gd_bs_1.Components.FormControlTypes.TextField,\n value: webUrl,\n onChange: function onChange(value) {\n // Update the configuration\n _wpInfo.cfg.WebUrl = value;\n }\n }); // Add the dropdown\n\n controls.push({\n label: \"List:\",\n name: \"ListName\",\n items: items,\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo && _wpInfo.cfg ? _wpInfo.cfg.ListName : null,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown list\n _ddlList = control.dropdown;\n },\n onChange: function onChange(item) {\n if (item) {\n // See if this is a blank item\n if (item.text == \"\") {\n // Call the change event\n props.onListChanged ? props.onListChanged(_wpInfo) : null;\n return;\n } // Parse the list\n\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // See if this is the target list\n\n if (list.Title == item.text) {\n // Update the configuration\n _wpInfo.cfg.ListName = item.value; // Call the change event\n\n props.onListChanged ? props.onListChanged(_wpInfo, list) : null;\n break;\n }\n }\n }\n }\n }); // Return the controls\n\n return controls;\n }; // Create the form action buttons\n\n\n var actionButtons = [{\n text: \"Refresh\",\n onClick: function onClick() {\n // Clear the dropdown\n _ddlList.setItems([{\n isHeader: true,\n text: \"Loading the Lists\",\n isSelected: true\n }]); // Load the lists\n\n\n loadLists(_wpInfo.cfg.WebUrl).then(function (items) {\n // Set the dropdown items\n _ddlList.setItems(items);\n });\n }\n }]; // See if custom actions exist\n\n if (props.actions) {\n // Add the custom commands\n actionButtons = actionButtons.concat(props.actions);\n } // Return the edit panel\n\n\n return {\n actions: actionButtons,\n showSaveButton: props.showSaveButton,\n onRenderForm: function onRenderForm(wpInfo) {\n // Save the webpart information\n _wpInfo = wpInfo; // Render a loading message\n\n _loadingMessage = gd_bs_1.Components.Progress({\n el: _wpInfo.el,\n isAnimated: true,\n isStriped: true,\n label: \"Loading the List Information\",\n size: 100\n }).el; // Return a promise\n\n return new Promise(function (resolve, reject) {\n // Load the lists\n loadLists(_wpInfo && _wpInfo.cfg ? _wpInfo.cfg.WebUrl : \"\").then(function (items) {\n // Render the form controls\n var controls = renderFormControls(items); // Parse the lists\n\n var selectedList = null;\n\n for (var i = 0; i < _lists.length; i++) {\n var list = _lists[i]; // See if this is the selected list\n\n if (list.Title == _wpInfo.cfg.ListName) {\n // Select this list\n selectedList = list;\n }\n } // Call the render form event\n\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo, selectedList) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (formControls) {\n if (formControls === void 0) {\n formControls = [];\n } // Add the form controls\n\n\n controls = controls.concat(formControls); // Resolve the promise\n\n resolve(controls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n controls = controls.concat(returnVal); // Resolve the promise\n\n resolve(controls);\n } // Else, resolve the promise\n else {\n resolve(controls);\n }\n } // Else, resolve the promise\n else {\n resolve(controls);\n } // Remove the loading message\n\n\n _wpInfo.el.removeChild(_loadingMessage);\n });\n });\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.ListName = _wpInfo.cfg.ListName;\n cfg.WebUrl = _wpInfo.cfg.WebUrl; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/list/wpCfg.js?"); /***/ }), @@ -309,7 +309,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPListFieldsEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n/**\r\n * List Fields WebPart Edit Form\r\n */\n\n\nexports.WPListFieldsEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlFields = null;\n var _ddlSelectedFields = null;\n var _selectedFields = null;\n var _tbFilter = null;\n var _wpInfo = null; // Adds a selected field\n\n var addField = function addField(field) {\n // Add the selected field\n _selectedFields.push({\n text: field.text,\n value: field.value,\n onRender: function onRender(el) {\n // Set the styling\n el.classList.add(\"d-flex\");\n el.classList.add(\"justify-content-between\"); // Append an icon to remove the field\n\n var closeIcon = gd_bs_1.Icons(gd_bs_1.IconTypes.X, 16, 16);\n el.appendChild(closeIcon); // Set the click event\n\n el.addEventListener(\"click\", function () {\n // Remove this field\n removeField(field);\n }); // Clear the filter\n\n _tbFilter.setValue(\"\");\n }\n }); // Render the fields\n\n\n _ddlSelectedFields.setItems(_selectedFields);\n }; // Filters the fields dropdown items\n\n\n var filterFields = function filterFields(filter) {\n // Parse the items\n var items = _ddlFields.el.querySelectorAll(\".dropdown-item\");\n\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var field = (item.innerText || \"\").toLowerCase(); // See if the field contains this value\n\n if (filter == \"\" || field.indexOf(filter) >= 0) {\n // Show this element\n item.classList.remove(\"d-none\");\n } else {\n // Hide this element\n item.classList.add(\"d-none\");\n }\n }\n }; // Gets the selected field values\n\n\n var getSelectedFields = function getSelectedFields() {\n var fields = []; // Get the selected fields\n\n for (var i = 0; i < _selectedFields.length; i++) {\n var field = _selectedFields[i]; // Ensure this is a field\n\n if (field.text && field.value) {\n // Save the field\n fields.push({\n Name: field.value,\n Title: field.text\n });\n }\n } // Return the fields\n\n\n return fields;\n }; // Removes a selected field\n\n\n var removeField = function removeField(field) {\n // Parse the selected fields\n for (var i = 0; i < _selectedFields.length; i++) {\n var selectedField = _selectedFields[i]; // See if this is the target field\n\n if (selectedField.value == field.value) {\n // Remove this field\n _selectedFields.splice(i, 1); // Render the items\n\n\n _ddlSelectedFields.setItems(_selectedFields); // Stop the loop\n\n\n break;\n }\n }\n }; // Renders the fields control\n\n\n var renderFields = function renderFields(el, fields) {\n var filter = \"\"; // Create the dropdown menu\n\n _ddlFields = gd_bs_1.Components.Dropdown({\n id: \"calendarFields\",\n menuOnly: true,\n onChange: function onChange(item) {\n // Close the popover\n popover.hide(); // Clear the filter\n\n filterFields(\"\"); // Add the selected field\n\n addField(item);\n }\n }); // Render the textfield\n\n _tbFilter = gd_bs_1.Components.InputGroup({\n el: el,\n placeholder: \"Select a Field...\",\n onChange: function onChange(value) {\n // Set the filter\n filter = value; // Wait for the user to stop typing\n\n setTimeout(function () {\n // Ensure the value hasn't changed\n if (value != filter) {\n return;\n } // Filter the fields\n\n\n filterFields(filter.toLowerCase()); // Display the popover\n\n popover.show();\n }, 250);\n }\n }); // Render the selected fields\n\n _ddlSelectedFields = gd_bs_1.Components.Dropdown({\n el: el,\n id: \"selectedFields\",\n menuOnly: true\n }); // Add a click event to display the popover\n\n _tbFilter.el.addEventListener(\"click\", function () {\n // Display the popover\n popover.show();\n }); // Create a popover\n\n\n var popover = gd_bs_1.Components.Popover({\n el: el,\n target: _tbFilter.el,\n type: gd_bs_1.Components.PopoverTypes.Auto,\n options: {\n html: true,\n trigger: \"manual\",\n content: function content() {\n // Return the dropdown menu\n return _ddlFields.el;\n }\n }\n });\n }; // Updates the fields\n\n\n var setItems = function setItems(fields, selectedFields) {\n if (selectedFields === void 0) {\n selectedFields = [];\n } // Update the dropdown\n\n\n _ddlFields.setItems(fields); // Parse the selected fields\n\n\n for (var i = 0; i < selectedFields.length; i++) {\n var fieldInfo = selectedFields[i]; // Parse the fields\n\n for (var j = 0; j < fields.length; j++) {\n var field = fields[j]; // See if this is the target field\n\n if (field.value == fieldInfo.Name) {\n // Add this field\n addField(field);\n break;\n }\n }\n }\n }; // Updates the fields dropdown in the edit panel\n\n\n var updateFieldsDDL = function updateFieldsDDL(list, selectedFields) {\n if (selectedFields === void 0) {\n selectedFields = [];\n }\n\n var items = []; // Clear the dropdown\n\n setItems([{\n isHeader: true,\n text: list ? \"Loading the Fields\" : \"Select a List\"\n }]); // Ensure the list exists\n\n if (list) {\n // Get the fields\n list.Fields().query({\n OrderBy: [\"Title\"]\n }).execute(function (fields) {\n // Parse the fields\n for (var i = 0; i < fields.results.length; i++) {\n var field = fields.results[i]; // Skip the title fields\n\n if (field.InternalName == \"LinkTitle\" || field.InternalName == \"LinkTitleNoMenu\") {\n continue;\n } // Skip hidden fields\n\n\n if (field.Hidden) {\n continue;\n } // Set the dropdown value\n\n\n items.push({\n text: field.Title,\n value: field.InternalName\n });\n } // Update the dropdown values\n\n\n setItems(items, selectedFields);\n });\n }\n }; // Return the edit panel\n\n\n return {\n actions: props.actions,\n showSaveButton: props.showSaveButton,\n onListChanged: function onListChanged(wpInfo, list) {\n // Update the fields dropdown\n updateFieldsDDL(list);\n },\n onRenderForm: function onRenderForm(wpInfo, list) {\n // Save the webpart information\n _wpInfo = wpInfo; // Clear the selected fields\n\n _selectedFields = []; // Set the default control\n\n var controls = [{\n name: \"Fields\",\n label: \"Fields\",\n onControlRendered: function onControlRendered(ctrl) {\n // Render the fields control\n renderFields(ctrl.el, wpInfo.cfg.Fields); // Update the fields dropdown\n\n updateFieldsDDL(list, wpInfo.cfg.Fields);\n }\n }]; // Call the render form event\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo, list) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Wait for the promise to complete\n returnVal.then(function (formControls) {\n if (formControls === void 0) {\n formControls = [];\n } // Add the form controls\n\n\n controls = controls.concat(formControls); // Resolve the promise\n\n resolve(controls);\n });\n });\n } // Add the form controls\n\n\n controls = controls.concat(returnVal);\n } // Return the custom properties\n\n\n return controls;\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.Fields = getSelectedFields(); // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/listFields/wpCfg.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPListFieldsEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n/**\r\n * List Fields WebPart Edit Form\r\n */\n\n\nexports.WPListFieldsEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlFields = null;\n var _ddlSelectedFields = null;\n var _selectedFields = null;\n var _tbFilter = null;\n var _wpInfo = null; // Adds a selected field\n\n var addField = function addField(field) {\n // Add the selected field\n _selectedFields.push({\n text: field.text,\n value: field.value,\n onRender: function onRender(el) {\n // Set the styling\n el.classList.add(\"d-flex\");\n el.classList.add(\"justify-content-between\"); // Append an icon to remove the field\n\n var closeIcon = gd_bs_1.Icons(gd_bs_1.IconTypes.X, 16, 16);\n el.appendChild(closeIcon); // Set the click event\n\n el.addEventListener(\"click\", function () {\n // Remove this field\n removeField(field);\n }); // Clear the filter\n\n _tbFilter.setValue(\"\");\n }\n }); // Render the fields\n\n\n _ddlSelectedFields.setItems(_selectedFields);\n }; // Filters the fields dropdown items\n\n\n var filterFields = function filterFields(filter) {\n // Parse the items\n var items = _ddlFields.el.querySelectorAll(\".dropdown-item\");\n\n for (var i = 0; i < items.length; i++) {\n var item = items[i];\n var field = (item.innerText || \"\").toLowerCase(); // See if the field contains this value\n\n if (filter == \"\" || field.indexOf(filter) >= 0) {\n // Show this element\n item.classList.remove(\"d-none\");\n } else {\n // Hide this element\n item.classList.add(\"d-none\");\n }\n }\n }; // Gets the selected field values\n\n\n var getSelectedFields = function getSelectedFields() {\n var fields = []; // Get the selected fields\n\n for (var i = 0; i < _selectedFields.length; i++) {\n var field = _selectedFields[i]; // Ensure this is a field\n\n if (field.text && field.value) {\n // Save the field\n fields.push({\n Name: field.value,\n Title: field.text\n });\n }\n } // Return the fields\n\n\n return fields;\n }; // Removes a selected field\n\n\n var removeField = function removeField(field) {\n // Parse the selected fields\n for (var i = 0; i < _selectedFields.length; i++) {\n var selectedField = _selectedFields[i]; // See if this is the target field\n\n if (selectedField.value == field.value) {\n // Remove this field\n _selectedFields.splice(i, 1); // Render the items\n\n\n _ddlSelectedFields.setItems(_selectedFields); // Stop the loop\n\n\n break;\n }\n }\n }; // Renders the fields control\n\n\n var renderFields = function renderFields(el, fields) {\n var filter = \"\"; // Create the dropdown menu\n\n _ddlFields = gd_bs_1.Components.Dropdown({\n id: \"calendarFields\",\n menuOnly: true,\n onChange: function onChange(item) {\n // Close the popover\n popover.hide(); // Clear the filter\n\n filterFields(\"\"); // Add the selected field\n\n addField(item);\n }\n }); // Render the textfield\n\n _tbFilter = gd_bs_1.Components.InputGroup({\n el: el,\n placeholder: \"Select a Field...\",\n onChange: function onChange(value) {\n // Set the filter\n filter = value; // Wait for the user to stop typing\n\n setTimeout(function () {\n // Ensure the value hasn't changed\n if (value != filter) {\n return;\n } // Filter the fields\n\n\n filterFields(filter.toLowerCase()); // Display the popover\n\n popover.show();\n }, 250);\n }\n }); // Render the selected fields\n\n _ddlSelectedFields = gd_bs_1.Components.Dropdown({\n el: el,\n id: \"selectedFields\",\n menuOnly: true\n }); // Add a click event to display the popover\n\n _tbFilter.el.addEventListener(\"click\", function () {\n // Display the popover\n popover.show();\n }); // Create a popover\n\n\n var popover = gd_bs_1.Components.Popover({\n el: el,\n target: _tbFilter.el,\n type: gd_bs_1.Components.PopoverTypes.Auto,\n options: {\n html: true,\n trigger: \"manual\",\n content: function content() {\n // Return the dropdown menu\n return _ddlFields.el;\n }\n }\n });\n }; // Updates the fields\n\n\n var setItems = function setItems(fields, selectedFields) {\n if (selectedFields === void 0) {\n selectedFields = [];\n } // Update the dropdown\n\n\n _ddlFields.setItems(fields); // Parse the selected fields\n\n\n for (var i = 0; i < selectedFields.length; i++) {\n var fieldInfo = selectedFields[i]; // Parse the fields\n\n for (var j = 0; j < fields.length; j++) {\n var field = fields[j]; // See if this is the target field\n\n if (field.value == fieldInfo.Name) {\n // Add this field\n addField(field);\n break;\n }\n }\n }\n }; // Updates the fields dropdown in the edit panel\n\n\n var updateFieldsDDL = function updateFieldsDDL(list, selectedFields) {\n if (selectedFields === void 0) {\n selectedFields = [];\n }\n\n var items = []; // Clear the dropdown\n\n setItems([{\n isHeader: true,\n text: list ? \"Loading the Fields\" : \"Select a List\"\n }]); // Ensure the list exists\n\n if (list) {\n // Get the fields\n list.Fields().query({\n OrderBy: [\"Title\"]\n }).execute(function (fields) {\n // Parse the fields\n for (var i = 0; i < fields.results.length; i++) {\n var field = fields.results[i]; // Skip the title fields\n\n if (field.InternalName == \"LinkTitle\" || field.InternalName == \"LinkTitleNoMenu\") {\n continue;\n } // Skip hidden fields\n\n\n if (field.Hidden) {\n continue;\n } // Set the dropdown value\n\n\n items.push({\n text: field.Title,\n value: field.InternalName\n });\n } // Update the dropdown values\n\n\n setItems(items, selectedFields);\n });\n }\n }; // Return the edit panel\n\n\n return {\n actions: props.actions,\n showSaveButton: props.showSaveButton,\n onListChanged: function onListChanged(wpInfo, list) {\n // Update the fields dropdown\n updateFieldsDDL(list);\n },\n onRenderForm: function onRenderForm(wpInfo, list) {\n // Save the webpart information\n _wpInfo = wpInfo; // Clear the selected fields\n\n _selectedFields = []; // Set the default control\n\n var controls = [{\n name: \"Fields\",\n label: \"Fields\",\n onControlRendered: function onControlRendered(ctrl) {\n // Render the fields control\n renderFields(ctrl.el, wpInfo.cfg.Fields); // Update the fields dropdown\n\n updateFieldsDDL(list, wpInfo.cfg.Fields);\n }\n }]; // Call the render form event\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo, list) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Wait for the promise to complete\n returnVal.then(function (formControls) {\n if (formControls === void 0) {\n formControls = [];\n } // Add the form controls\n\n\n controls = controls.concat(formControls); // Resolve the promise\n\n resolve(controls);\n });\n });\n } // Add the form controls\n\n\n controls = controls.concat(returnVal);\n } // Return the custom properties\n\n\n return controls;\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.Fields = getSelectedFields(); // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/listFields/wpCfg.js?"); /***/ }), @@ -345,7 +345,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPSearchEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Search WebPart Edit Form\r\n */\n\n\nexports.WPSearchEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _wpInfo = null; // Method to render the fields\n\n var loadFields = function loadFields(list) {\n var formControls = [];\n var items = []; // Ensure the list exists\n\n if (list == null) {\n return formControls;\n } // Parse the fields\n\n\n var fields = (list.Fields ? list.Fields.results : null) || [];\n\n for (var i = 0; i < fields.length; i++) {\n var addField = false;\n var field = fields[i]; // Add the field, based on the type\n\n switch (field.FieldTypeKind) {\n // Searchable Fields\n case gd_sprest_1.SPTypes.FieldType.Choice:\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n case gd_sprest_1.SPTypes.FieldType.Text:\n case gd_sprest_1.SPTypes.FieldType.URL:\n case gd_sprest_1.SPTypes.FieldType.User:\n addField = true;\n break;\n\n default:\n // Allow managed metadata fields\n addField = /^TaxonomyFieldType/.test(field.TypeAsString);\n break;\n } // See if we are adding the field\n\n\n if (addField) {\n items.push({\n data: field.TypeAsString,\n text: field.Title + \" [\" + field.InternalName + \"]\",\n value: field.InternalName\n });\n }\n } // Sort the options\n\n\n items = items.sort(function (a, b) {\n if (a.text < b.text) {\n return -1;\n }\n\n if (a.text > b.text) {\n return 1;\n }\n\n return 0;\n }); // See if fields exist\n\n var value = [];\n\n if (_wpInfo.cfg && _wpInfo.cfg.Fields) {\n // Parse the fields\n for (var i = 0; i < _wpInfo.cfg.Fields.length; i++) {\n // Add the field\n value.push(_wpInfo.cfg.Fields[i].name);\n }\n } // Add the form dropdown\n\n\n formControls.push({\n label: \"Filter Field(s):\",\n items: items,\n type: gd_bs_1.Components.FormControlTypes.MultiDropdown,\n onChange: function onChange(items) {\n // Clear the fields\n _wpInfo.cfg.Fields = []; // Parse the options\n\n for (var i = 0; i < items.length; i++) {\n var item = items[i]; // Add the field\n\n _wpInfo.cfg.Fields.push({\n name: item.value,\n type: item.data\n });\n }\n }\n }); // Return the form controls\n\n return formControls;\n }; // Set the list query\n\n\n var listQuery = props.listQuery || {};\n listQuery.Expand = listQuery.Expand || [];\n listQuery.Expand.push(\"Fields\"); // Return the edit panel\n\n return {\n actions: props.actions,\n listQuery: listQuery,\n onListsLoaded: props.onListsLoaded,\n onRenderForm: function onRenderForm(wpInfo, list) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Save the webpart information\n _wpInfo = wpInfo; // Load the fields\n\n var formControls = loadFields(list); // Call the render form event\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (controls) {\n if (controls === void 0) {\n controls = [];\n } // Add the form controls\n\n\n formControls = formControls.concat(controls); // Resolve the promise\n\n resolve(formControls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n formControls = formControls.concat(returnVal); // Resolve the promise\n\n resolve(formControls);\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n });\n },\n showSaveButton: props.showSaveButton,\n onListChanged: function onListChanged(wpInfo, list) {\n // Render the fields\n return loadFields(list);\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.Fields = _wpInfo.cfg.Fields || []; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/search/wpCfg.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPSearchEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Search WebPart Edit Form\r\n */\n\n\nexports.WPSearchEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _wpInfo = null; // Method to render the fields\n\n var loadFields = function loadFields(list) {\n var formControls = [];\n var items = []; // Ensure the list exists\n\n if (list == null) {\n return formControls;\n } // Parse the fields\n\n\n var fields = (list.Fields ? list.Fields.results : null) || [];\n\n for (var i = 0; i < fields.length; i++) {\n var addField = false;\n var field = fields[i]; // Add the field, based on the type\n\n switch (field.FieldTypeKind) {\n // Searchable Fields\n case gd_sprest_1.SPTypes.FieldType.Choice:\n case gd_sprest_1.SPTypes.FieldType.MultiChoice:\n case gd_sprest_1.SPTypes.FieldType.Lookup:\n case gd_sprest_1.SPTypes.FieldType.Text:\n case gd_sprest_1.SPTypes.FieldType.URL:\n case gd_sprest_1.SPTypes.FieldType.User:\n addField = true;\n break;\n\n default:\n // Allow managed metadata fields\n addField = /^TaxonomyFieldType/.test(field.TypeAsString);\n break;\n } // See if we are adding the field\n\n\n if (addField) {\n items.push({\n data: field.TypeAsString,\n text: field.Title + \" [\" + field.InternalName + \"]\",\n value: field.InternalName\n });\n }\n } // Sort the options\n\n\n items = items.sort(function (a, b) {\n if (a.text < b.text) {\n return -1;\n }\n\n if (a.text > b.text) {\n return 1;\n }\n\n return 0;\n }); // See if fields exist\n\n var value = [];\n\n if (_wpInfo.cfg && _wpInfo.cfg.Fields) {\n // Parse the fields\n for (var i = 0; i < _wpInfo.cfg.Fields.length; i++) {\n // Add the field\n value.push(_wpInfo.cfg.Fields[i].name);\n }\n } // Add the form dropdown\n\n\n formControls.push({\n label: \"Filter Field(s):\",\n items: items,\n type: gd_bs_1.Components.FormControlTypes.MultiDropdown,\n onChange: function onChange(items) {\n // Clear the fields\n _wpInfo.cfg.Fields = []; // Parse the options\n\n for (var i = 0; i < items.length; i++) {\n var item = items[i]; // Add the field\n\n _wpInfo.cfg.Fields.push({\n name: item.value,\n type: item.data\n });\n }\n }\n }); // Return the form controls\n\n return formControls;\n }; // Set the list query\n\n\n var listQuery = props.listQuery || {};\n listQuery.Expand = listQuery.Expand || [];\n listQuery.Expand.push(\"Fields\"); // Return the edit panel\n\n return {\n actions: props.actions,\n listQuery: listQuery,\n onListsLoaded: props.onListsLoaded,\n onRenderForm: function onRenderForm(wpInfo, list) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Save the webpart information\n _wpInfo = wpInfo; // Load the fields\n\n var formControls = loadFields(list); // Call the render form event\n\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (controls) {\n if (controls === void 0) {\n controls = [];\n } // Add the form controls\n\n\n formControls = formControls.concat(controls); // Resolve the promise\n\n resolve(formControls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n formControls = formControls.concat(returnVal); // Resolve the promise\n\n resolve(formControls);\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n });\n },\n showSaveButton: props.showSaveButton,\n onListChanged: function onListChanged(wpInfo, list) {\n // Render the fields\n return loadFields(list);\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.Fields = _wpInfo.cfg.Fields || []; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/search/wpCfg.js?"); /***/ }), @@ -369,7 +369,7 @@ eval("\n\nvar __createBinding = this && this.__createBinding || (Object.create ? /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPTabs = exports.WPTabTypes = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar base_1 = __webpack_require__(/*! ../base */ \"./build/webparts/base/index.js\");\n/**\r\n * Web Part Tab Types\r\n */\n\n\nvar WPTabTypes;\n\n(function (WPTabTypes) {\n WPTabTypes[WPTabTypes[\"Pillars\"] = 1] = \"Pillars\";\n WPTabTypes[WPTabTypes[\"Tabs\"] = 2] = \"Tabs\";\n})(WPTabTypes = exports.WPTabTypes || (exports.WPTabTypes = {}));\n/**\r\n * Web Part Tabs\r\n */\n\n\nexports.WPTabs = function (props) {\n var _elWebPart = null;\n var _isContentZone = false;\n var _nav = null; // Method to get the webparts\n\n var getWebParts = function getWebParts(wpInfo) {\n var wps = []; // Get the webpart element and zone\n\n var elWebPart = document.querySelector(\"div[webpartid='\" + wpInfo.cfg.WebPartId + \"']\");\n var elWebPartZone = elWebPart ? getWebPartZone(elWebPart) : null;\n\n if (elWebPart && elWebPartZone) {\n // Add a class name to the webpart zone\n elWebPartZone.className += \" wp-tabs\"; // Remove the empty elements\n\n removeEmptyElements(elWebPartZone); // Parse the webparts in this zone\n\n var webparts = elWebPartZone.querySelectorAll(\".ms-webpartzone-cell[id^='MSOZoneCell_WebPart']\");\n\n for (var i = 0; i < webparts.length; i++) {\n var webpart = webparts[i]; // See if it's this webpart\n\n if (webpart.querySelector(\"div[webpartid='\" + wpInfo.cfg.WebPartId + \"']\")) {\n // Save a reference\n _elWebPart = webpart; // Set the class\n\n _elWebPart.className += \" wp-tab\"; // Skip this webpart\n\n continue;\n } // Skip hidden webparts\n\n\n var wpTitle = (webpart.querySelector(\".ms-webpart-titleText\") || {}).innerText || \"\";\n var isHidden = webpart.firstElementChild && webpart.firstElementChild.classList.contains(\"ms-hide\");\n isHidden = isHidden || /^\\(Hidden\\)/.test(wpTitle);\n\n if (isHidden) {\n continue;\n } // See if this is within a content zone\n\n\n if (_isContentZone) {\n // Get the parent webpart box\n while (webpart.parentNode) {\n // See if this is the webpart box element\n if (webpart.classList.contains(\"ms-rte-wpbox\")) {\n // Find the div containing the webpart id\n var wpElement = webpart.querySelector(\"div[webpartid*='-']\");\n\n if (wpElement) {\n // Set the webpart id attribute\n webpart.setAttribute(\"wpid\", wpElement.getAttribute(\"webpartid\"));\n } // Add this webpart and break from the loop\n\n\n wps.push(webpart);\n break;\n } // Check the parent element\n\n\n webpart = webpart.parentNode;\n }\n } else {\n // Add the webpart\n wps.push(webpart);\n }\n }\n } // Return the webparts\n\n\n return wps;\n }; // Method to get the webpart zone\n\n\n var getWebPartZone = function getWebPartZone(el) {\n // Ensure the element exists\n if (el && el.classList) {\n // See if this is the webpart zone element\n if (el.classList.contains(\"ms-webpart-zone\")) {\n // Return it\n return el;\n } // See if this is the inner page zone\n\n\n if (el.classList.contains(\"ms-rte-layoutszone-inner\") || el.classList.contains(\"ms-rtestate-field\")) {\n // Set the flag\n _isContentZone = true; // Return it\n\n return el;\n } // Check the parent element\n\n\n return getWebPartZone(el.parentNode);\n } // Return nothing\n\n\n return null;\n }; // Method to remove empty paragraph or new lines for webparts w/in content zones\n\n\n var removeEmptyElements = function removeEmptyElements(elWebPartZone) {\n var elChildren = []; // See if this webpart is within a layout zone or rich html field\n\n if (elWebPartZone.className.indexOf(\"ms-rte-layoutszone-inner\") >= 0 || elWebPartZone.className.indexOf(\"ms-rtestate-field\") >= 0) {\n // Set the children elements\n elChildren = elWebPartZone.children;\n } // Parse the children elements\n\n\n for (var i = 0; i < elChildren.length; i++) {\n var elChild = elWebPartZone.children[i]; // See if the last element is a new line\n\n var elBreakLine = elChild.children[elChild.children.length - 1];\n\n if (elBreakLine && elBreakLine.nodeName == \"BR\") {\n // Remove the element\n elChild.removeChild(elBreakLine);\n } // See if this is an empty paragraph tag\n\n\n if (elChild.nodeName == \"P\") {\n var removeElement = false;\n var content = elChild.innerHTML.trim(); // See if this is an empty element\n\n if (content.length == 0) {\n // Set the flag\n removeElement = true;\n } // Else, see if this is a line break\n else if (content.length == 1 && content.charCodeAt(0) == 8203) {\n // Set the flag\n removeElement = true;\n } // Remove the element\n\n\n removeElement ? elWebPartZone.removeChild(elChild) : null;\n }\n }\n }; // Method to update the visibility of the webparts\n\n\n var updateWebParts = function updateWebParts(tab, ev) {\n var selectedTabId = 0; // See if the tab exists\n\n if (tab) {\n // Parse the webparts\n for (var i = 0; i < _webparts.length; i++) {\n // Get the webpart\n var wpTitle = _webparts[i].querySelector(\".ms-webpart-titleText\");\n\n if (wpTitle && wpTitle.innerText == tab.title) {\n // Update the selected tab id\n selectedTabId = i;\n break;\n }\n }\n } // Else, default the selected tab to the first visible webpart\n else {\n // Parse the webparts\n for (selectedTabId = 0; selectedTabId < _webparts.length; selectedTabId++) {\n // Break if this webpart has a title\n if (_webparts[selectedTabId].querySelector(\".ms-webpart-titleText\")) {\n break;\n }\n }\n } // Parse the webparts\n\n\n for (var i = 0; i < _webparts.length; i++) {\n var wp_1 = _webparts[i]; // Determine the query selector\n\n var selector = wp_1.id ? \"#\" + wp_1.id : \".ms-rte-wpbox[wpid='\" + wp_1.getAttribute(\"wpid\") + \"']\"; // Get the webpart\n\n var webpart = document.querySelector(selector);\n\n if (webpart) {\n // See if we are displaying this webpart\n if (i == selectedTabId) {\n // Display the webpart\n webpart.className = webpart.className.replace(\" is-hidden\", \"\"); // See if this tab contains a calendar webpart\n\n if (webpart.querySelector(\".ms-acal-rootdiv\")) {\n var ev_1 = null; // Create the resize event\n\n try {\n ev_1 = new Event(\"resize\");\n } // This will fail for IE\n catch (e) {\n // Create the event\n ev_1 = document.createEvent(\"Event\");\n ev_1.initEvent(\"resize\", true, false);\n } finally {\n // Call the window resize event to fix the events\n ev_1 ? window.dispatchEvent(ev_1) : null;\n }\n } // Call the click if it exists\n\n\n props.onClick ? props.onClick(webpart) : null;\n } // Ensure the webpart is hidden\n else if (webpart.classList.contains(\"is-hidden\") == false) {\n // Hide the webpart\n webpart.classList.add(\"is-hidden\");\n }\n }\n }\n };\n /**\r\n * Main\r\n */\n\n\n var _webparts = []; // Return the webpart\n\n var wp = base_1.WebPart({\n className: props.className,\n cfgElementId: props.cfgElementId,\n editForm: props.editForm,\n elementId: props.elementId,\n helpProps: props.helpProps,\n onPostRender: props.onPostRender,\n onRenderEdit: props.onRenderEdit,\n wpClassName: [\"wp-tabs-main\", props.wpClassName || \"\"].join(' ').trim(),\n onRenderDisplay: function onRenderDisplay(wpInfo) {\n // Set the webparts\n _webparts = getWebParts(wpInfo); // Parse the webparts\n\n var items = [];\n\n for (var i = 0; i < _webparts.length; i++) {\n // Ensure a title exists\n var wpTitle = _webparts[i].querySelector(\".ms-webpart-titleText\");\n\n if (wpTitle) {\n // Add the tab\n items.push({\n isActive: i == 0,\n title: wpTitle.innerText,\n onClick: updateWebParts\n });\n }\n } // Render the navigation\n\n\n _nav = gd_bs_1.Components.Nav({\n className: props.className,\n el: wpInfo.el,\n isPills: props.type == WPTabTypes.Pillars,\n isTabs: props.type != WPTabTypes.Pillars,\n items: items\n }); // Update the webparts\n\n updateWebParts(); // See if a custom event exists\n\n props.onRenderDisplay ? props.onRenderDisplay(wpInfo) : null;\n }\n }); // Add the custom methods\n\n wp.getNav = function () {\n return _nav;\n };\n\n wp.getTabs = function () {\n return _webparts;\n }; // Return the webpart\n\n\n return wp;\n};\n\n//# sourceURL=webpack:///./build/webparts/tabs/wp.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPTabs = exports.WPTabTypes = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar base_1 = __webpack_require__(/*! ../base */ \"./build/webparts/base/index.js\");\n/**\r\n * Web Part Tab Types\r\n */\n\n\nvar WPTabTypes;\n\n(function (WPTabTypes) {\n WPTabTypes[WPTabTypes[\"Pillars\"] = 1] = \"Pillars\";\n WPTabTypes[WPTabTypes[\"Tabs\"] = 2] = \"Tabs\";\n})(WPTabTypes = exports.WPTabTypes || (exports.WPTabTypes = {}));\n/**\r\n * Web Part Tabs\r\n */\n\n\nexports.WPTabs = function (props) {\n var _elWebPart = null;\n var _isContentZone = false;\n var _nav = null; // Method to get the webparts\n\n var getWebParts = function getWebParts(wpInfo) {\n var wps = []; // Get the webpart element and zone\n\n var elWebPart = document.querySelector(\"div[webpartid='\" + wpInfo.cfg.WebPartId + \"']\");\n var elWebPartZone = elWebPart ? getWebPartZone(elWebPart) : null;\n\n if (elWebPart && elWebPartZone) {\n // Add a class name to the webpart zone\n elWebPartZone.className += \" wp-tabs\"; // Remove the empty elements\n\n removeEmptyElements(elWebPartZone); // Parse the webparts in this zone\n\n var webparts = elWebPartZone.querySelectorAll(\".ms-webpartzone-cell[id^='MSOZoneCell_WebPart']\");\n\n for (var i = 0; i < webparts.length; i++) {\n var webpart = webparts[i]; // See if it's this webpart\n\n if (webpart.querySelector(\"div[webpartid='\" + wpInfo.cfg.WebPartId + \"']\")) {\n // Save a reference\n _elWebPart = webpart; // Set the class\n\n _elWebPart.className += \" wp-tab\"; // Skip this webpart\n\n continue;\n } // Skip hidden webparts\n\n\n var wpTitle = (webpart.querySelector(\".ms-webpart-titleText\") || {}).innerText || \"\";\n var isHidden = webpart.firstElementChild && webpart.firstElementChild.classList.contains(\"ms-hide\");\n isHidden = isHidden || /^\\(Hidden\\)/.test(wpTitle);\n\n if (isHidden) {\n continue;\n } // See if this is within a content zone\n\n\n if (_isContentZone) {\n // Get the parent webpart box\n while (webpart.parentNode) {\n // See if this is the webpart box element\n if (webpart.classList.contains(\"ms-rte-wpbox\")) {\n // Find the div containing the webpart id\n var wpElement = webpart.querySelector(\"div[webpartid*='-']\");\n\n if (wpElement) {\n // Set the webpart id attribute\n webpart.setAttribute(\"wpid\", wpElement.getAttribute(\"webpartid\"));\n } // Add this webpart and break from the loop\n\n\n wps.push(webpart);\n break;\n } // Check the parent element\n\n\n webpart = webpart.parentNode;\n }\n } else {\n // Add the webpart\n wps.push(webpart);\n }\n }\n } // Return the webparts\n\n\n return wps;\n }; // Method to get the webpart zone\n\n\n var getWebPartZone = function getWebPartZone(el) {\n // Ensure the element exists\n if (el && el.classList) {\n // See if this is the webpart zone element\n if (el.classList.contains(\"ms-webpart-zone\")) {\n // Return it\n return el;\n } // See if this is the inner page zone\n\n\n if (el.classList.contains(\"ms-rte-layoutszone-inner\") || el.classList.contains(\"ms-rtestate-field\")) {\n // Set the flag\n _isContentZone = true; // Return it\n\n return el;\n } // Check the parent element\n\n\n return getWebPartZone(el.parentNode);\n } // Return nothing\n\n\n return null;\n }; // Method to remove empty paragraph or new lines for webparts w/in content zones\n\n\n var removeEmptyElements = function removeEmptyElements(elWebPartZone) {\n var elChildren = []; // See if this webpart is within a layout zone or rich html field\n\n if (elWebPartZone.className.indexOf(\"ms-rte-layoutszone-inner\") >= 0 || elWebPartZone.className.indexOf(\"ms-rtestate-field\") >= 0) {\n // Set the children elements\n elChildren = elWebPartZone.children;\n } // Parse the children elements\n\n\n for (var i = 0; i < elChildren.length; i++) {\n var elChild = elWebPartZone.children[i]; // See if the last element is a new line\n\n var elBreakLine = elChild.children[elChild.children.length - 1];\n\n if (elBreakLine && elBreakLine.nodeName == \"BR\") {\n // Remove the element\n elChild.removeChild(elBreakLine);\n } // See if this is an empty paragraph tag\n\n\n if (elChild.nodeName == \"P\") {\n var removeElement = false;\n var content = elChild.innerHTML.trim(); // See if this is an empty element\n\n if (content.length == 0) {\n // Set the flag\n removeElement = true;\n } // Else, see if this is a line break\n else if (content.length == 1 && content.charCodeAt(0) == 8203) {\n // Set the flag\n removeElement = true;\n } // Remove the element\n\n\n removeElement ? elWebPartZone.removeChild(elChild) : null;\n }\n }\n }; // Method to update the visibility of the webparts\n\n\n var updateWebParts = function updateWebParts(tab, ev) {\n var selectedTabId = 0; // See if the tab exists\n\n if (tab) {\n // Parse the webparts\n for (var i = 0; i < _webparts.length; i++) {\n // Get the webpart\n var wpTitle = _webparts[i].querySelector(\".ms-webpart-titleText\");\n\n if (wpTitle && wpTitle.innerText == tab.title) {\n // Update the selected tab id\n selectedTabId = i;\n break;\n }\n }\n } // Else, default the selected tab to the first visible webpart\n else {\n // Parse the webparts\n for (selectedTabId = 0; selectedTabId < _webparts.length; selectedTabId++) {\n // Break if this webpart has a title\n if (_webparts[selectedTabId].querySelector(\".ms-webpart-titleText\")) {\n break;\n }\n }\n } // Parse the webparts\n\n\n for (var i = 0; i < _webparts.length; i++) {\n var wp_1 = _webparts[i]; // Determine the query selector\n\n var selector = wp_1.id ? \"#\" + wp_1.id : \".ms-rte-wpbox[wpid='\" + wp_1.getAttribute(\"wpid\") + \"']\"; // Get the webpart\n\n var webpart = document.querySelector(selector);\n\n if (webpart) {\n // See if we are displaying this webpart\n if (i == selectedTabId) {\n // Display the webpart\n webpart.className = webpart.className.replace(\" is-hidden\", \"\"); // See if this tab contains a calendar webpart\n\n if (webpart.querySelector(\".ms-acal-rootdiv\")) {\n var ev_1 = null; // Create the resize event\n\n try {\n ev_1 = new Event(\"resize\");\n } // This will fail for IE\n catch (e) {\n // Create the event\n ev_1 = document.createEvent(\"Event\");\n ev_1.initEvent(\"resize\", true, false);\n } finally {\n // Call the window resize event to fix the events\n ev_1 ? window.dispatchEvent(ev_1) : null;\n }\n } // Call the click if it exists\n\n\n props.onClick ? props.onClick(webpart) : null;\n } // Ensure the webpart is hidden\n else if (webpart.classList.contains(\"is-hidden\") == false) {\n // Hide the webpart\n webpart.classList.add(\"is-hidden\");\n }\n }\n }\n };\n /**\r\n * Main\r\n */\n\n\n var _webparts = []; // Return the webpart\n\n var wp = base_1.WebPart({\n className: props.className,\n cfgElementId: props.cfgElementId,\n editForm: props.editForm,\n elementId: props.elementId,\n helpProps: props.helpProps,\n onPostRender: props.onPostRender,\n onRenderEdit: props.onRenderEdit,\n wpClassName: [\"wp-tabs-main\", props.wpClassName || \"\"].join(' ').trim(),\n onRenderDisplay: function onRenderDisplay(wpInfo) {\n // Set the webparts\n _webparts = getWebParts(wpInfo); // Parse the webparts\n\n var items = [];\n\n for (var i = 0; i < _webparts.length; i++) {\n // Ensure a title exists\n var wpTitle = _webparts[i].querySelector(\".ms-webpart-titleText\");\n\n if (wpTitle) {\n // Add the tab\n items.push({\n isActive: i == 0,\n title: wpTitle.innerText,\n onClick: updateWebParts\n });\n }\n } // Render the navigation\n\n\n _nav = gd_bs_1.Components.Nav({\n className: props.className,\n el: wpInfo.el,\n isPills: props.type == WPTabTypes.Pillars,\n isTabs: props.type != WPTabTypes.Pillars,\n items: items\n }); // Update the webparts\n\n updateWebParts(); // See if a custom event exists\n\n props.onRenderDisplay ? props.onRenderDisplay(wpInfo) : null;\n }\n }); // Add the custom methods\n\n wp.getNav = function () {\n return _nav;\n };\n\n wp.getTabs = function () {\n return _webparts;\n }; // Return the webpart\n\n\n return wp;\n};\n\n//# sourceURL=webpack:///./build/webparts/tabs/wp.js?"); /***/ }), @@ -405,846 +405,846 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPTaxonomyEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.6/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Taxonomy WebPart Edit Form\r\n */\n\n\nexports.WPTaxonomyEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlTermSet;\n\n var _ddlTerm;\n\n var _termGroupItems = [];\n var _termSetItems = [];\n var _termSetTermsItems = [];\n var _wpInfo = null; // Method to generate the form controls\n\n var generateFormControls = function generateFormControls() {\n var formControls = []; // Add the term groups dropdown\n\n formControls.push({\n label: \"Select the Term Group:\",\n items: _termGroupItems,\n name: \"TermGroupId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermGroupId,\n onChange: function onChange(option) {\n // Clear the dropdowns\n _termSetItems = [];\n _termSetTermsItems = [];\n\n _ddlTermSet.setItems([]);\n\n _ddlTerm ? _ddlTerm.setItems([]) : null; // Update the configuration\n\n _wpInfo.cfg.TermGroupId = option ? option.value : \"\";\n _wpInfo.cfg.TermGroupName = option ? option.text : \"\";\n _wpInfo.cfg.TermSetId = \"\";\n _wpInfo.cfg.TermSetName = \"\";\n _wpInfo.cfg.TermSetTermId = \"\";\n _wpInfo.cfg.TermSetTermName = \"\"; // Call the change event\n\n props.onTermGroupChanged ? props.onTermGroupChanged(_wpInfo, {\n id: _wpInfo.cfg.TermGroupId,\n name: _wpInfo.cfg.TermGroupName\n }) : null; // Load the term sets\n\n loadTermSets().then(function () {\n // Render the child dropdowns\n _ddlTermSet.setItems(_termSetItems);\n });\n }\n }); // Add the term sets dropdown\n\n formControls.push({\n label: \"Select a Term Set:\",\n items: _termSetItems,\n name: \"TermSetId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermSetId,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown\n _ddlTermSet = control.dropdown;\n },\n onChange: function onChange(option) {\n // Clear the dropdown\n _termSetTermsItems = [];\n _ddlTerm ? _ddlTerm.setItems([]) : null; // Update the configuration\n\n _wpInfo.cfg.TermSetId = option ? option.value : \"\";\n _wpInfo.cfg.TermSetName = option ? option.text : \"\";\n _wpInfo.cfg.TermSetTermId = \"\";\n _wpInfo.cfg.TermSetTermName = \"\"; // Call the change event\n\n props.onTermSetChanged ? props.onTermSetChanged(_wpInfo, {\n id: _wpInfo.cfg.TermSetId,\n name: _wpInfo.cfg.TermSetName\n }) : null; // See if we are loading the terms\n\n if (props.showTermSetTerms) {\n // Load the term set terms\n loadTermSetTerms().then(function () {\n // Render the child dropdowns\n _ddlTerm.setItems(_termSetTermsItems);\n });\n }\n }\n }); // Ensure we are rendering the term set terms\n\n if (props.showTermSetTerms) {\n // Add the term set terms dropdown\n formControls.push({\n label: \"Select a Term Set Term:\",\n items: _termSetTermsItems,\n name: \"TermSetTermId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermSetTermId,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown\n _ddlTerm = control.dropdown;\n },\n onChange: function onChange(option) {\n // Update the configuration\n _wpInfo.cfg.TermSetTermId = option ? option.value : \"\";\n _wpInfo.cfg.TermSetTermName = option ? option.text : \"\"; // Call the change event\n\n props.onTermSetTermChanged ? props.onTermSetTermChanged(_wpInfo, {\n id: _wpInfo.cfg.TermSetTermId,\n name: _wpInfo.cfg.TermSetTermName\n }) : null;\n }\n });\n } // Return the form controls\n\n\n return formControls;\n }; // Method to load the term groups\n\n\n var loadTermGroups = function loadTermGroups() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the term groups\n gd_sprest_1.Helper.Taxonomy.getTermGroups().then(function (groups) {\n _termGroupItems = [{\n text: \"\",\n value: \"\"\n }]; // Parse the groups\n\n for (var i = 0; i < groups.length; i++) {\n // Add the item\n _termGroupItems.push({\n text: groups[i].name,\n value: groups[i].id\n });\n } // Load the term sets\n\n\n loadTermSets().then(function () {\n // Execute the term groups loaded event\n _termGroupItems = props.onTermGroupsLoaded ? props.onTermGroupsLoaded(_wpInfo, _termGroupItems) : _termGroupItems; // Resolve the promise\n\n resolve(generateFormControls());\n });\n });\n });\n }; // Method to load the term sets\n\n\n var loadTermSets = function loadTermSets() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // See if a term group exists\n if (_wpInfo.cfg.TermGroupName) {\n // Load the term sets\n gd_sprest_1.Helper.Taxonomy.getTermSets(_wpInfo.cfg.TermGroupName).then(function (termSets) {\n _termSetItems = [{\n text: \"\",\n value: \"\"\n }]; // Parse the term sets\n\n for (var i = 0; i < termSets.length; i++) {\n // Add the item\n _termSetItems.push({\n text: termSets[i].name,\n value: termSets[i].id\n });\n } // Load the term set terms and resolve the promise\n\n\n loadTermSetTerms().then(function () {\n // Execute the term sets loaded event\n _termSetItems = props.onTermSetsLoaded ? props.onTermSetsLoaded(_wpInfo, _termSetItems) : _termSetItems; // Resolve the promise\n\n resolve();\n });\n });\n } else {\n // Resolve the promise\n resolve();\n }\n });\n }; // Method to load the term set terms\n\n\n var loadTermSetTerms = function loadTermSetTerms() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure we are displaying term set terms and a term set is selected\n if (props.showTermSetTerms && _wpInfo.cfg.TermSetId) {\n // Load the term set terms\n gd_sprest_1.Helper.Taxonomy.getTermSetByGroupName(_wpInfo.cfg.TermSetName, _wpInfo.cfg.TermGroupName).then(function (termSet) {\n _termSetTermsItems = [{\n text: \"\",\n value: \"\"\n }]; // Get the term set terms\n\n var terms = gd_sprest_1.Helper.Taxonomy.toArray(termSet).sort(function (a, b) {\n if (a.name < b.name) {\n return -1;\n }\n\n if (a.name > b.name) {\n return 1;\n }\n\n return 0;\n }); // Parse the term set terms\n\n for (var i = 0; i < terms.length; i++) {\n // Add the item\n _termSetTermsItems.push({\n text: terms[i].name,\n value: terms[i].id\n });\n } // Execute the term sets loaded event\n\n\n _termSetTermsItems = props.onTermSetTermsLoaded ? props.onTermSetTermsLoaded(_wpInfo, _termSetTermsItems) : _termSetTermsItems; // Resolve the promise\n\n resolve();\n });\n } else {\n // Resolve the promise\n resolve();\n }\n });\n }; // Return the edit panel\n\n\n return {\n actions: props.actions,\n onRenderForm: function onRenderForm(wpInfo) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Save the webpart information\n _wpInfo = wpInfo; // Load the term groups\n\n loadTermGroups().then(function (formControls) {\n // Call the render form event\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (controls) {\n if (controls === void 0) {\n controls = [];\n } // Add the form controls\n\n\n formControls = formControls.concat(controls); // Resolve the promise\n\n resolve(formControls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n formControls = formControls.concat(returnVal); // Resolve the promise\n\n resolve(formControls);\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n });\n });\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.TermGroupId = _wpInfo.cfg.TermGroupId;\n cfg.TermGroupName = _wpInfo.cfg.TermGroupName;\n cfg.TermSetId = _wpInfo.cfg.TermSetId;\n cfg.TermSetName = _wpInfo.cfg.TermSetName;\n cfg.TermSetTermId = _wpInfo.cfg.TermSetTermId;\n cfg.TermSetTermName = _wpInfo.cfg.TermSetTermName; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/taxonomy/wpCfg.js?"); +eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WPTaxonomyEditForm = void 0;\n\nvar gd_bs_1 = __webpack_require__(/*! gd-bs */ \"./node_modules/.pnpm/gd-bs@3.8.8/node_modules/gd-bs/build/index.js\");\n\nvar gd_sprest_1 = __webpack_require__(/*! gd-sprest */ \"./node_modules/.pnpm/gd-sprest@6.2.5/node_modules/gd-sprest/build/index.js\");\n/**\r\n * Taxonomy WebPart Edit Form\r\n */\n\n\nexports.WPTaxonomyEditForm = function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var _ddlTermSet;\n\n var _ddlTerm;\n\n var _termGroupItems = [];\n var _termSetItems = [];\n var _termSetTermsItems = [];\n var _wpInfo = null; // Method to generate the form controls\n\n var generateFormControls = function generateFormControls() {\n var formControls = []; // Add the term groups dropdown\n\n formControls.push({\n label: \"Select the Term Group:\",\n items: _termGroupItems,\n name: \"TermGroupId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermGroupId,\n onChange: function onChange(option) {\n // Clear the dropdowns\n _termSetItems = [];\n _termSetTermsItems = [];\n\n _ddlTermSet.setItems([]);\n\n _ddlTerm ? _ddlTerm.setItems([]) : null; // Update the configuration\n\n _wpInfo.cfg.TermGroupId = option ? option.value : \"\";\n _wpInfo.cfg.TermGroupName = option ? option.text : \"\";\n _wpInfo.cfg.TermSetId = \"\";\n _wpInfo.cfg.TermSetName = \"\";\n _wpInfo.cfg.TermSetTermId = \"\";\n _wpInfo.cfg.TermSetTermName = \"\"; // Call the change event\n\n props.onTermGroupChanged ? props.onTermGroupChanged(_wpInfo, {\n id: _wpInfo.cfg.TermGroupId,\n name: _wpInfo.cfg.TermGroupName\n }) : null; // Load the term sets\n\n loadTermSets().then(function () {\n // Render the child dropdowns\n _ddlTermSet.setItems(_termSetItems);\n });\n }\n }); // Add the term sets dropdown\n\n formControls.push({\n label: \"Select a Term Set:\",\n items: _termSetItems,\n name: \"TermSetId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermSetId,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown\n _ddlTermSet = control.dropdown;\n },\n onChange: function onChange(option) {\n // Clear the dropdown\n _termSetTermsItems = [];\n _ddlTerm ? _ddlTerm.setItems([]) : null; // Update the configuration\n\n _wpInfo.cfg.TermSetId = option ? option.value : \"\";\n _wpInfo.cfg.TermSetName = option ? option.text : \"\";\n _wpInfo.cfg.TermSetTermId = \"\";\n _wpInfo.cfg.TermSetTermName = \"\"; // Call the change event\n\n props.onTermSetChanged ? props.onTermSetChanged(_wpInfo, {\n id: _wpInfo.cfg.TermSetId,\n name: _wpInfo.cfg.TermSetName\n }) : null; // See if we are loading the terms\n\n if (props.showTermSetTerms) {\n // Load the term set terms\n loadTermSetTerms().then(function () {\n // Render the child dropdowns\n _ddlTerm.setItems(_termSetTermsItems);\n });\n }\n }\n }); // Ensure we are rendering the term set terms\n\n if (props.showTermSetTerms) {\n // Add the term set terms dropdown\n formControls.push({\n label: \"Select a Term Set Term:\",\n items: _termSetTermsItems,\n name: \"TermSetTermId\",\n type: gd_bs_1.Components.FormControlTypes.Dropdown,\n value: _wpInfo.cfg.TermSetTermId,\n onControlRendered: function onControlRendered(control) {\n // Save a reference to the dropdown\n _ddlTerm = control.dropdown;\n },\n onChange: function onChange(option) {\n // Update the configuration\n _wpInfo.cfg.TermSetTermId = option ? option.value : \"\";\n _wpInfo.cfg.TermSetTermName = option ? option.text : \"\"; // Call the change event\n\n props.onTermSetTermChanged ? props.onTermSetTermChanged(_wpInfo, {\n id: _wpInfo.cfg.TermSetTermId,\n name: _wpInfo.cfg.TermSetTermName\n }) : null;\n }\n });\n } // Return the form controls\n\n\n return formControls;\n }; // Method to load the term groups\n\n\n var loadTermGroups = function loadTermGroups() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Load the term groups\n gd_sprest_1.Helper.Taxonomy.getTermGroups().then(function (groups) {\n _termGroupItems = [{\n text: \"\",\n value: \"\"\n }]; // Parse the groups\n\n for (var i = 0; i < groups.length; i++) {\n // Add the item\n _termGroupItems.push({\n text: groups[i].name,\n value: groups[i].id\n });\n } // Load the term sets\n\n\n loadTermSets().then(function () {\n // Execute the term groups loaded event\n _termGroupItems = props.onTermGroupsLoaded ? props.onTermGroupsLoaded(_wpInfo, _termGroupItems) : _termGroupItems; // Resolve the promise\n\n resolve(generateFormControls());\n });\n });\n });\n }; // Method to load the term sets\n\n\n var loadTermSets = function loadTermSets() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // See if a term group exists\n if (_wpInfo.cfg.TermGroupName) {\n // Load the term sets\n gd_sprest_1.Helper.Taxonomy.getTermSets(_wpInfo.cfg.TermGroupName).then(function (termSets) {\n _termSetItems = [{\n text: \"\",\n value: \"\"\n }]; // Parse the term sets\n\n for (var i = 0; i < termSets.length; i++) {\n // Add the item\n _termSetItems.push({\n text: termSets[i].name,\n value: termSets[i].id\n });\n } // Load the term set terms and resolve the promise\n\n\n loadTermSetTerms().then(function () {\n // Execute the term sets loaded event\n _termSetItems = props.onTermSetsLoaded ? props.onTermSetsLoaded(_wpInfo, _termSetItems) : _termSetItems; // Resolve the promise\n\n resolve();\n });\n });\n } else {\n // Resolve the promise\n resolve();\n }\n });\n }; // Method to load the term set terms\n\n\n var loadTermSetTerms = function loadTermSetTerms() {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Ensure we are displaying term set terms and a term set is selected\n if (props.showTermSetTerms && _wpInfo.cfg.TermSetId) {\n // Load the term set terms\n gd_sprest_1.Helper.Taxonomy.getTermSetByGroupName(_wpInfo.cfg.TermSetName, _wpInfo.cfg.TermGroupName).then(function (termSet) {\n _termSetTermsItems = [{\n text: \"\",\n value: \"\"\n }]; // Get the term set terms\n\n var terms = gd_sprest_1.Helper.Taxonomy.toArray(termSet).sort(function (a, b) {\n if (a.name < b.name) {\n return -1;\n }\n\n if (a.name > b.name) {\n return 1;\n }\n\n return 0;\n }); // Parse the term set terms\n\n for (var i = 0; i < terms.length; i++) {\n // Add the item\n _termSetTermsItems.push({\n text: terms[i].name,\n value: terms[i].id\n });\n } // Execute the term sets loaded event\n\n\n _termSetTermsItems = props.onTermSetTermsLoaded ? props.onTermSetTermsLoaded(_wpInfo, _termSetTermsItems) : _termSetTermsItems; // Resolve the promise\n\n resolve();\n });\n } else {\n // Resolve the promise\n resolve();\n }\n });\n }; // Return the edit panel\n\n\n return {\n actions: props.actions,\n onRenderForm: function onRenderForm(wpInfo) {\n // Return a promise\n return new Promise(function (resolve, reject) {\n // Save the webpart information\n _wpInfo = wpInfo; // Load the term groups\n\n loadTermGroups().then(function (formControls) {\n // Call the render form event\n var returnVal = props.onRenderForm ? props.onRenderForm(_wpInfo) : null;\n\n if (returnVal) {\n // See if this is a promise\n if (returnVal.then) {\n // Wait for the promise to complete\n returnVal.then(function (controls) {\n if (controls === void 0) {\n controls = [];\n } // Add the form controls\n\n\n formControls = formControls.concat(controls); // Resolve the promise\n\n resolve(formControls);\n });\n } // Else, see if the form controls exist\n else if (returnVal.length > 0) {\n // Add the form controls\n formControls = formControls.concat(returnVal); // Resolve the promise\n\n resolve(formControls);\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n } // Else, resolve the promise\n else {\n resolve(formControls);\n }\n });\n });\n },\n onSave: function onSave(cfg, form) {\n // Update the configuration\n cfg.TermGroupId = _wpInfo.cfg.TermGroupId;\n cfg.TermGroupName = _wpInfo.cfg.TermGroupName;\n cfg.TermSetId = _wpInfo.cfg.TermSetId;\n cfg.TermSetName = _wpInfo.cfg.TermSetName;\n cfg.TermSetTermId = _wpInfo.cfg.TermSetTermId;\n cfg.TermSetTermName = _wpInfo.cfg.TermSetTermName; // Return the configuration\n\n return props.onSave ? props.onSave(_wpInfo.cfg, form) : _wpInfo.cfg;\n }\n };\n};\n\n//# sourceURL=webpack:///./build/webparts/taxonomy/wpCfg.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js": /*!*************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js ***! \*************************************************************************************************/ /*! exports provided: popperGenerator, createPopper, detectOverflow */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return popperGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom-utils/getCompositeRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dom-utils/listScrollParents.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./dom-utils/getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/orderModifiers.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/orderModifiers.js\");\n/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/debounce.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/debounce.js\");\n/* harmony import */ var _utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/validateModifiers.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/validateModifiers.js\");\n/* harmony import */ var _utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/uniqueBy.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/uniqueBy.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/mergeByName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergeByName.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nfunction popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign(Object.assign({}, DEFAULT_OPTIONS), defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(options) {\n cleanupModifierEffects();\n state.options = Object.assign(Object.assign(Object.assign({}, defaultOptions), state.options), options);\n state.scrollParents = {\n reference: Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_12__[\"isElement\"])(reference) ? Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(reference) : reference.contextElement ? Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(reference.contextElement) : [],\n popper: Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = Object(_utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(Object(_utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"])([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (true) {\n var modifiers = Object(_utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n Object(_utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(modifiers);\n\n if (Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(state.options.placement) === _enums_js__WEBPACK_IMPORTED_MODULE_13__[\"auto\"]) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = Object(_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (true) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: Object(_dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(reference, Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(popper), state.options.strategy === 'fixed'),\n popper: Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (true) {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: Object(_utils_debounce_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (true) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nvar createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return popperGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom-utils/getCompositeRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dom-utils/listScrollParents.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./dom-utils/getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/orderModifiers.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/orderModifiers.js\");\n/* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/debounce.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/debounce.js\");\n/* harmony import */ var _utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/validateModifiers.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/validateModifiers.js\");\n/* harmony import */ var _utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/uniqueBy.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/uniqueBy.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/mergeByName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergeByName.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; });\n\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';\nvar INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';\nvar DEFAULT_OPTIONS = {\n placement: 'bottom',\n modifiers: [],\n strategy: 'absolute'\n};\n\nfunction areValidElements() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return !args.some(function (element) {\n return !(element && typeof element.getBoundingClientRect === 'function');\n });\n}\n\nfunction popperGenerator(generatorOptions) {\n if (generatorOptions === void 0) {\n generatorOptions = {};\n }\n\n var _generatorOptions = generatorOptions,\n _generatorOptions$def = _generatorOptions.defaultModifiers,\n defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n _generatorOptions$def2 = _generatorOptions.defaultOptions,\n defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n return function createPopper(reference, popper, options) {\n if (options === void 0) {\n options = defaultOptions;\n }\n\n var state = {\n placement: 'bottom',\n orderedModifiers: [],\n options: Object.assign(Object.assign({}, DEFAULT_OPTIONS), defaultOptions),\n modifiersData: {},\n elements: {\n reference: reference,\n popper: popper\n },\n attributes: {},\n styles: {}\n };\n var effectCleanupFns = [];\n var isDestroyed = false;\n var instance = {\n state: state,\n setOptions: function setOptions(options) {\n cleanupModifierEffects();\n state.options = Object.assign(Object.assign(Object.assign({}, defaultOptions), state.options), options);\n state.scrollParents = {\n reference: Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_12__[\"isElement\"])(reference) ? Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(reference) : reference.contextElement ? Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(reference.contextElement) : [],\n popper: Object(_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(popper)\n }; // Orders the modifiers based on their dependencies and `phase`\n // properties\n\n var orderedModifiers = Object(_utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(Object(_utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"])([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n state.orderedModifiers = orderedModifiers.filter(function (m) {\n return m.enabled;\n }); // Validate the provided modifiers so that the consumer will get warned\n // if one of the modifiers is invalid for any reason\n\n if (true) {\n var modifiers = Object(_utils_uniqueBy_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])([].concat(orderedModifiers, state.options.modifiers), function (_ref) {\n var name = _ref.name;\n return name;\n });\n Object(_utils_validateModifiers_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(modifiers);\n\n if (Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(state.options.placement) === _enums_js__WEBPACK_IMPORTED_MODULE_13__[\"auto\"]) {\n var flipModifier = state.orderedModifiers.find(function (_ref2) {\n var name = _ref2.name;\n return name === 'flip';\n });\n\n if (!flipModifier) {\n console.error(['Popper: \"auto\" placements require the \"flip\" modifier be', 'present and enabled to work.'].join(' '));\n }\n }\n\n var _getComputedStyle = Object(_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(popper),\n marginTop = _getComputedStyle.marginTop,\n marginRight = _getComputedStyle.marginRight,\n marginBottom = _getComputedStyle.marginBottom,\n marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can\n // cause bugs with positioning, so we'll warn the consumer\n\n\n if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {\n return parseFloat(margin);\n })) {\n console.warn(['Popper: CSS \"margin\" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));\n }\n }\n\n runModifierEffects();\n return instance.update();\n },\n // Sync update – it will always be executed, even if not necessary. This\n // is useful for low frequency updates where sync behavior simplifies the\n // logic.\n // For high frequency updates (e.g. `resize` and `scroll` events), always\n // prefer the async Popper#update method\n forceUpdate: function forceUpdate() {\n if (isDestroyed) {\n return;\n }\n\n var _state$elements = state.elements,\n reference = _state$elements.reference,\n popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n // anymore\n\n if (!areValidElements(reference, popper)) {\n if (true) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return;\n } // Store the reference and popper rects to be read by modifiers\n\n\n state.rects = {\n reference: Object(_dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(reference, Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(popper), state.options.strategy === 'fixed'),\n popper: Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(popper)\n }; // Modifiers have the ability to reset the current update cycle. The\n // most common use case for this is the `flip` modifier changing the\n // placement, which then needs to re-run all the modifiers, because the\n // logic was previously ran for the previous placement and is therefore\n // stale/incorrect\n\n state.reset = false;\n state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n // is filled with the initial data specified by the modifier. This means\n // it doesn't persist and is fresh on each update.\n // To ensure persistent data, use `${name}#persistent`\n\n state.orderedModifiers.forEach(function (modifier) {\n return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n });\n var __debug_loops__ = 0;\n\n for (var index = 0; index < state.orderedModifiers.length; index++) {\n if (true) {\n __debug_loops__ += 1;\n\n if (__debug_loops__ > 100) {\n console.error(INFINITE_LOOP_ERROR);\n break;\n }\n }\n\n if (state.reset === true) {\n state.reset = false;\n index = -1;\n continue;\n }\n\n var _state$orderedModifie = state.orderedModifiers[index],\n fn = _state$orderedModifie.fn,\n _state$orderedModifie2 = _state$orderedModifie.options,\n _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n name = _state$orderedModifie.name;\n\n if (typeof fn === 'function') {\n state = fn({\n state: state,\n options: _options,\n name: name,\n instance: instance\n }) || state;\n }\n }\n },\n // Async and optimistically optimized update – it will not be executed if\n // not necessary (debounced to run at most once-per-tick)\n update: Object(_utils_debounce_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(function () {\n return new Promise(function (resolve) {\n instance.forceUpdate();\n resolve(state);\n });\n }),\n destroy: function destroy() {\n cleanupModifierEffects();\n isDestroyed = true;\n }\n };\n\n if (!areValidElements(reference, popper)) {\n if (true) {\n console.error(INVALID_ELEMENT_ERROR);\n }\n\n return instance;\n }\n\n instance.setOptions(options).then(function (state) {\n if (!isDestroyed && options.onFirstUpdate) {\n options.onFirstUpdate(state);\n }\n }); // Modifiers have the ability to execute arbitrary code before the first\n // update cycle runs. They will be executed in the same order as the update\n // cycle. This is useful when a modifier adds some persistent data that\n // other modifiers need to use, but the modifier is run after the dependent\n // one.\n\n function runModifierEffects() {\n state.orderedModifiers.forEach(function (_ref3) {\n var name = _ref3.name,\n _ref3$options = _ref3.options,\n options = _ref3$options === void 0 ? {} : _ref3$options,\n effect = _ref3.effect;\n\n if (typeof effect === 'function') {\n var cleanupFn = effect({\n state: state,\n name: name,\n instance: instance,\n options: options\n });\n\n var noopFn = function noopFn() {};\n\n effectCleanupFns.push(cleanupFn || noopFn);\n }\n });\n }\n\n function cleanupModifierEffects() {\n effectCleanupFns.forEach(function (fn) {\n return fn();\n });\n effectCleanupFns = [];\n }\n\n return instance;\n };\n}\nvar createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/contains.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/contains.js": /*!*******************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/contains.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/contains.js ***! \*******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return contains; });\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\nfunction contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__[\"isShadowRoot\"])(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/contains.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return contains; });\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\nfunction contains(parent, child) {\n var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__[\"isShadowRoot\"])(rootNode)) {\n var next = child;\n\n do {\n if (next && parent.isSameNode(next)) {\n return true;\n } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n next = next.parentNode || next.host;\n } while (next);\n } // Give up, the result is false\n\n\n return false;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/contains.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js": /*!********************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***! \********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getBoundingClientRect; });\nfunction getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n x: rect.left,\n y: rect.top\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getBoundingClientRect; });\nfunction getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect();\n return {\n width: rect.width,\n height: rect.height,\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n x: rect.left,\n y: rect.top\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getClippingRect; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getViewportRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js\");\n/* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js\");\n/* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./listScrollParents.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js\");\n/* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./contains.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/contains.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/rectToClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/rectToClientRect.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getInnerBoundingClientRect(element) {\n var rect = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(element);\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"viewport\"] ? Object(_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(Object(_getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element)) : Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isHTMLElement\"])(clippingParent) ? getInnerBoundingClientRect(clippingParent) : Object(_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(Object(_getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = Object(_listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(element).position) >= 0;\n var clipperElement = canEscapeClipping && Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isHTMLElement\"])(element) ? Object(_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(element) : element;\n\n if (!Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isElement\"])(clipperElement)) {\n return [];\n } // $FlowFixMe: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isElement\"])(clippingParent) && Object(_contains_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(clippingParent, clipperElement) && Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nfunction getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n accRect.top = Math.max(rect.top, accRect.top);\n accRect.right = Math.min(rect.right, accRect.right);\n accRect.bottom = Math.min(rect.bottom, accRect.bottom);\n accRect.left = Math.max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getClippingRect; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getViewportRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js\");\n/* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js\");\n/* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./listScrollParents.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js\");\n/* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./contains.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/contains.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/rectToClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/rectToClientRect.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getInnerBoundingClientRect(element) {\n var rect = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(element);\n rect.top = rect.top + element.clientTop;\n rect.left = rect.left + element.clientLeft;\n rect.bottom = rect.top + element.clientHeight;\n rect.right = rect.left + element.clientWidth;\n rect.width = element.clientWidth;\n rect.height = element.clientHeight;\n rect.x = rect.left;\n rect.y = rect.top;\n return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent) {\n return clippingParent === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"viewport\"] ? Object(_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(Object(_getViewportRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element)) : Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isHTMLElement\"])(clippingParent) ? getInnerBoundingClientRect(clippingParent) : Object(_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(Object(_getDocumentRect_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n var clippingParents = Object(_listScrollParents_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(element));\n var canEscapeClipping = ['absolute', 'fixed'].indexOf(Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(element).position) >= 0;\n var clipperElement = canEscapeClipping && Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isHTMLElement\"])(element) ? Object(_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(element) : element;\n\n if (!Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isElement\"])(clipperElement)) {\n return [];\n } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n return clippingParents.filter(function (clippingParent) {\n return Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_7__[\"isElement\"])(clippingParent) && Object(_contains_js__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(clippingParent, clipperElement) && Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(clippingParent) !== 'body';\n });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nfunction getClippingRect(element, boundary, rootBoundary) {\n var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n var firstClippingParent = clippingParents[0];\n var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n var rect = getClientRectFromMixedType(element, clippingParent);\n accRect.top = Math.max(rect.top, accRect.top);\n accRect.right = Math.min(rect.right, accRect.right);\n accRect.bottom = Math.min(rect.bottom, accRect.bottom);\n accRect.left = Math.max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromMixedType(element, firstClippingParent));\n clippingRect.width = clippingRect.right - clippingRect.left;\n clippingRect.height = clippingRect.bottom - clippingRect.top;\n clippingRect.x = clippingRect.left;\n clippingRect.y = clippingRect.top;\n return clippingRect;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js": /*!***************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getCompositeRect; });\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n\n\n\n\n\n\n // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\nfunction getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var documentElement = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(offsetParent);\n var rect = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(elementOrVirtualElement);\n var isOffsetParentAnElement = Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(offsetParent);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(documentElement)) {\n scroll = Object(_getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent);\n }\n\n if (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(offsetParent)) {\n offsets = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(offsetParent);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getCompositeRect; });\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n\n\n\n\n\n\n // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\nfunction getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n\n var documentElement = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(offsetParent);\n var rect = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(elementOrVirtualElement);\n var isOffsetParentAnElement = Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(offsetParent);\n var scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n var offsets = {\n x: 0,\n y: 0\n };\n\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(documentElement)) {\n scroll = Object(_getNodeScroll_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent);\n }\n\n if (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(offsetParent)) {\n offsets = Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(offsetParent);\n offsets.x += offsetParent.clientLeft;\n offsets.y += offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(documentElement);\n }\n }\n\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js": /*!***************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getComputedStyle; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\nfunction getComputedStyle(element) {\n return Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element).getComputedStyle(element);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getComputedStyle; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\nfunction getComputedStyle(element) {\n return Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element).getComputedStyle(element);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js": /*!*****************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js ***! \*****************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getDocumentElement; });\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\nfunction getDocumentElement(element) {\n // $FlowFixMe: assume body is always available\n return ((Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__[\"isElement\"])(element) ? element.ownerDocument : element.document) || window.document).documentElement;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getDocumentElement; });\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\nfunction getDocumentElement(element) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return ((Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__[\"isElement\"])(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n element.document) || window.document).documentElement;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getDocumentRect; });\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n\n\n\n // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nfunction getDocumentRect(element) {\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var winScroll = Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(element);\n var body = element.ownerDocument.body;\n var width = Math.max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = Math.max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element);\n var y = -winScroll.scrollTop;\n\n if (Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(body || html).direction === 'rtl') {\n x += Math.max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getDocumentRect; });\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n\n\n\n // Gets the entire size of the scrollable document area, even extending outside\n// of the `` and `` rect bounds if horizontally scrollable\n\nfunction getDocumentRect(element) {\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var winScroll = Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(element);\n var body = element.ownerDocument.body;\n var width = Math.max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n var height = Math.max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n var x = -winScroll.scrollLeft + Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element);\n var y = -winScroll.scrollTop;\n\n if (Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(body || html).direction === 'rtl') {\n x += Math.max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n\n return {\n width: width,\n height: height,\n x: x,\n y: y\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js": /*!*******************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js ***! \*******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getHTMLElementScroll; });\nfunction getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getHTMLElementScroll; });\nfunction getHTMLElementScroll(element) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js ***! \************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getLayoutRect; });\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nfunction getLayoutRect(element) {\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getLayoutRect; });\n// Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\nfunction getLayoutRect(element) {\n return {\n x: element.offsetLeft,\n y: element.offsetTop,\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js": /*!**********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js ***! \**********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getNodeName; });\nfunction getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getNodeName; });\nfunction getNodeName(element) {\n return element ? (element.nodeName || '').toLowerCase() : null;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js ***! \************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getNodeScroll; });\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getHTMLElementScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js\");\n\n\n\n\nfunction getNodeScroll(node) {\n if (node === Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(node) || !Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_2__[\"isHTMLElement\"])(node)) {\n return Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node);\n } else {\n return Object(_getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(node);\n }\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getNodeScroll; });\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getHTMLElementScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js\");\n\n\n\n\nfunction getNodeScroll(node) {\n if (node === Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(node) || !Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_2__[\"isHTMLElement\"])(node)) {\n return Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node);\n } else {\n return Object(_getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(node);\n }\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOffsetParent; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _isTableElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isTableElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n\n\n\n\n\n\n\n\nfunction getTrueOffsetParent(element) {\n if (!Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(element) || // https://github.com/popperjs/popper-core/issues/837\n Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element).position === 'fixed') {\n return null;\n }\n\n var offsetParent = element.offsetParent;\n\n if (offsetParent) {\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(offsetParent);\n\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent) === 'body' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(html).position !== 'static') {\n return html;\n }\n }\n\n return offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var currentNode = Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(element);\n\n while (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(currentNode) && ['html', 'body'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(currentNode)) < 0) {\n var css = Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.willChange && css.willChange !== 'auto') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nfunction getOffsetParent(element) {\n var window = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && Object(_isTableElement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(offsetParent) && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent) === 'body' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static') {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOffsetParent; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _isTableElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isTableElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n\n\n\n\n\n\n\n\nfunction getTrueOffsetParent(element) {\n if (!Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(element) || // https://github.com/popperjs/popper-core/issues/837\n Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element).position === 'fixed') {\n return null;\n }\n\n var offsetParent = element.offsetParent;\n\n if (offsetParent) {\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(offsetParent);\n\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent) === 'body' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(html).position !== 'static') {\n return html;\n }\n }\n\n return offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n var currentNode = Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(element);\n\n while (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(currentNode) && ['html', 'body'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(currentNode)) < 0) {\n var css = Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n\n if (css.transform !== 'none' || css.perspective !== 'none' || css.willChange && css.willChange !== 'auto') {\n return currentNode;\n } else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nfunction getOffsetParent(element) {\n var window = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var offsetParent = getTrueOffsetParent(element);\n\n while (offsetParent && Object(_isTableElement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(offsetParent) && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n\n if (offsetParent && Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(offsetParent) === 'body' && Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(offsetParent).position === 'static') {\n return window;\n }\n\n return offsetParent || getContainingBlock(element) || window;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js ***! \************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getParentNode; });\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n\n\nfunction getParentNode(element) {\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element) === 'html') {\n return element;\n }\n\n return (// $FlowFixMe: this is a quicker (but less type safe) way to save quite some bytes from the bundle\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n // $FlowFixMe: need a better way to handle this...\n element.host || // ShadowRoot detected\n // $FlowFixMe: HTMLElement is a Node\n Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element) // fallback\n\n );\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getParentNode; });\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n\n\nfunction getParentNode(element) {\n if (Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element) === 'html') {\n return element;\n }\n\n return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // $FlowFixMe[incompatible-return]\n // $FlowFixMe[prop-missing]\n element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n element.parentNode || // DOM Element detected\n // $FlowFixMe[incompatible-return]: need a better way to handle this...\n element.host || // ShadowRoot detected\n // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element) // fallback\n\n );\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getScrollParent; });\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n\n\n\nfunction getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(node)) >= 0) {\n // $FlowFixMe: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(node) && Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(node)) {\n return node;\n }\n\n return getScrollParent(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getScrollParent; });\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n\n\n\nfunction getScrollParent(node) {\n if (['html', 'body', '#document'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(node)) >= 0) {\n // $FlowFixMe[incompatible-return]: assume body is always available\n return node.ownerDocument.body;\n }\n\n if (Object(_instanceOf_js__WEBPACK_IMPORTED_MODULE_3__[\"isHTMLElement\"])(node) && Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(node)) {\n return node;\n }\n\n return getScrollParent(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getViewportRect; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n\n\n\nfunction getViewportRect(element) {\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element),\n y: y\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getViewportRect; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js\");\n\n\n\nfunction getViewportRect(element) {\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var html = Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element);\n var visualViewport = win.visualViewport;\n var width = html.clientWidth;\n var height = html.clientHeight;\n var x = 0;\n var y = 0; // NB: This isn't supported on iOS <= 12. If the keyboard is open, the popper\n // can be obscured underneath it.\n // Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even\n // if it isn't open, so if this isn't available, the popper will be detected\n // to overflow the bottom of the screen too early.\n\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height; // Uses Layout Viewport (like Chrome; Safari does not currently)\n // In Chrome, it returns a value very close to 0 (+/-) but contains rounding\n // errors due to floating point numbers, so we need to check precision.\n // Safari returns a number <= 0, usually < -1 when pinch-zoomed\n // Feature detection fails in mobile emulation mode in Chrome.\n // Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <\n // 0.001\n // Fallback here: \"Not Safari\" userAgent\n\n if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n\n return {\n width: width,\n height: height,\n x: x + Object(_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element),\n y: y\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js": /*!********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js ***! \********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindow; });\n/*:: import type { Window } from '../types'; */\n\n/*:: declare function getWindow(node: Node | Window): Window; */\nfunction getWindow(node) {\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindow; });\n/*:: import type { Window } from '../types'; */\n\n/*:: declare function getWindow(node: Node | Window): Window; */\nfunction getWindow(node) {\n if (node.toString() !== '[object Window]') {\n var ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n\n return node;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindowScroll; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\nfunction getWindowScroll(node) {\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindowScroll; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\nfunction getWindowScroll(node) {\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node);\n var scrollLeft = win.pageXOffset;\n var scrollTop = win.pageYOffset;\n return {\n scrollLeft: scrollLeft,\n scrollTop: scrollTop\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js": /*!******************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js ***! \******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindowScrollBarX; });\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n\n\n\nfunction getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element)).left + Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element).scrollLeft;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getWindowScrollBarX; });\n/* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js\");\n\n\n\nfunction getWindowScrollBarX(element) {\n // If has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // Popper 1 is broken in this case and never had a bug report so let's assume\n // it's not an issue. I don't think anyone ever specifies width on \n // anyway.\n // Browsers where the left scrollbar doesn't cause an issue report `0` for\n // this (e.g. Edge 2019, IE11, Safari)\n return Object(_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(Object(_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(element)).left + Object(_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(element).scrollLeft;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js": /*!*********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js ***! \*********************************************************************************************************/ /*! exports provided: isElement, isHTMLElement, isShadowRoot */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isElement\", function() { return isElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isHTMLElement\", function() { return isHTMLElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isShadowRoot\", function() { return isShadowRoot; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\n/*:: declare function isElement(node: mixed): boolean %checks(node instanceof\n Element); */\n\nfunction isElement(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n/*:: declare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement); */\n\n\nfunction isHTMLElement(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n/*:: declare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot); */\n\n\nfunction isShadowRoot(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isElement\", function() { return isElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isHTMLElement\", function() { return isHTMLElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isShadowRoot\", function() { return isShadowRoot; });\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n\n/*:: declare function isElement(node: mixed): boolean %checks(node instanceof\n Element); */\n\nfunction isElement(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).Element;\n return node instanceof OwnElement || node instanceof Element;\n}\n/*:: declare function isHTMLElement(node: mixed): boolean %checks(node instanceof\n HTMLElement); */\n\n\nfunction isHTMLElement(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).HTMLElement;\n return node instanceof OwnElement || node instanceof HTMLElement;\n}\n/*:: declare function isShadowRoot(node: mixed): boolean %checks(node instanceof\n ShadowRoot); */\n\n\nfunction isShadowRoot(node) {\n var OwnElement = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js": /*!*************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return isScrollParent; });\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n\nfunction isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return isScrollParent; });\n/* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n\nfunction isScrollParent(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n var _getComputedStyle = Object(_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element),\n overflow = _getComputedStyle.overflow,\n overflowX = _getComputedStyle.overflowX,\n overflowY = _getComputedStyle.overflowY;\n\n return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js": /*!*************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return isTableElement; });\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) >= 0;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return isTableElement; });\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].indexOf(Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) >= 0;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js": /*!****************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js ***! \****************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return listScrollParents; });\n/* harmony import */ var _getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n\n\n\n\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the \nreference element's position.\n*/\n\nfunction listScrollParents(element, list) {\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = Object(_getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var isBody = Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(scrollParent) === 'body';\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(target)));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return listScrollParents; });\n/* harmony import */ var _getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js\");\n/* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getParentNode.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js\");\n/* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isScrollParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js\");\n\n\n\n\n\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nfunction listScrollParents(element, list) {\n if (list === void 0) {\n list = [];\n }\n\n var scrollParent = Object(_getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element);\n var isBody = Object(_getNodeName_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(scrollParent) === 'body';\n var win = Object(_getWindow_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(scrollParent);\n var target = isBody ? [win].concat(win.visualViewport || [], Object(_isScrollParent_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(scrollParent) ? scrollParent : []) : scrollParent;\n var updatedList = list.concat(target);\n return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n updatedList.concat(listScrollParents(Object(_getParentNode_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(target)));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js": /*!******************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js ***! \******************************************************************************************/ /*! exports provided: top, bottom, right, left, auto, basePlacements, start, end, clippingParents, viewport, popper, reference, variationPlacements, placements, beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite, modifierPhases */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"top\", function() { return top; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bottom\", function() { return bottom; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"right\", function() { return right; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"left\", function() { return left; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auto\", function() { return auto; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"basePlacements\", function() { return basePlacements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"start\", function() { return start; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"end\", function() { return end; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clippingParents\", function() { return clippingParents; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"viewport\", function() { return viewport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"popper\", function() { return popper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reference\", function() { return reference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"variationPlacements\", function() { return variationPlacements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"placements\", function() { return placements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeRead\", function() { return beforeRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"read\", function() { return read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterRead\", function() { return afterRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeMain\", function() { return beforeMain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"main\", function() { return main; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterMain\", function() { return afterMain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeWrite\", function() { return beforeWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"write\", function() { return write; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterWrite\", function() { return afterWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"modifierPhases\", function() { return modifierPhases; });\nvar top = 'top';\nvar bottom = 'bottom';\nvar right = 'right';\nvar left = 'left';\nvar auto = 'auto';\nvar basePlacements = [top, bottom, right, left];\nvar start = 'start';\nvar end = 'end';\nvar clippingParents = 'clippingParents';\nvar viewport = 'viewport';\nvar popper = 'popper';\nvar reference = 'reference';\nvar variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nvar placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nvar beforeRead = 'beforeRead';\nvar read = 'read';\nvar afterRead = 'afterRead'; // pure-logic modifiers\n\nvar beforeMain = 'beforeMain';\nvar main = 'main';\nvar afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nvar beforeWrite = 'beforeWrite';\nvar write = 'write';\nvar afterWrite = 'afterWrite';\nvar modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"top\", function() { return top; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bottom\", function() { return bottom; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"right\", function() { return right; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"left\", function() { return left; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"auto\", function() { return auto; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"basePlacements\", function() { return basePlacements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"start\", function() { return start; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"end\", function() { return end; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clippingParents\", function() { return clippingParents; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"viewport\", function() { return viewport; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"popper\", function() { return popper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"reference\", function() { return reference; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"variationPlacements\", function() { return variationPlacements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"placements\", function() { return placements; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeRead\", function() { return beforeRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"read\", function() { return read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterRead\", function() { return afterRead; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeMain\", function() { return beforeMain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"main\", function() { return main; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterMain\", function() { return afterMain; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"beforeWrite\", function() { return beforeWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"write\", function() { return write; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"afterWrite\", function() { return afterWrite; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"modifierPhases\", function() { return modifierPhases; });\nvar top = 'top';\nvar bottom = 'bottom';\nvar right = 'right';\nvar left = 'left';\nvar auto = 'auto';\nvar basePlacements = [top, bottom, right, left];\nvar start = 'start';\nvar end = 'end';\nvar clippingParents = 'clippingParents';\nvar viewport = 'viewport';\nvar popper = 'popper';\nvar reference = 'reference';\nvar variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nvar placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nvar beforeRead = 'beforeRead';\nvar read = 'read';\nvar afterRead = 'afterRead'; // pure-logic modifiers\n\nvar beforeMain = 'beforeMain';\nvar main = 'main';\nvar afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nvar beforeWrite = 'beforeWrite';\nvar write = 'write';\nvar afterWrite = 'afterWrite';\nvar modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/index.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/index.js": /*!******************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/index.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/index.js ***! \******************************************************************************************/ /*! exports provided: top, bottom, right, left, auto, basePlacements, start, end, clippingParents, viewport, popper, reference, variationPlacements, placements, beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite, modifierPhases, applyStyles, arrow, computeStyles, eventListeners, flip, hide, offset, popperOffsets, preventOverflow, popperGenerator, detectOverflow, createPopperBase, createPopper, createPopperLite */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"top\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bottom\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"right\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"left\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"auto\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"auto\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"basePlacements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"basePlacements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"start\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"end\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"end\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"clippingParents\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"clippingParents\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"viewport\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"viewport\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popper\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"popper\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reference\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"reference\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"variationPlacements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"variationPlacements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"placements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"placements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeRead\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeRead\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"read\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"read\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterRead\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterRead\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeMain\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeMain\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"main\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"main\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterMain\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterMain\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeWrite\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeWrite\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"write\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"write\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterWrite\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterWrite\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"modifierPhases\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"modifierPhases\"]; });\n\n/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/index.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"applyStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"arrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"computeStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"eventListeners\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"flip\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"hide\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"offset\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"popperOffsets\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"preventOverflow\"]; });\n\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"detectOverflow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperBase\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"createPopper\"]; });\n\n/* harmony import */ var _popper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popper.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return _popper_js__WEBPACK_IMPORTED_MODULE_3__[\"createPopper\"]; });\n\n/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./popper-lite.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper-lite.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperLite\", function() { return _popper_lite_js__WEBPACK_IMPORTED_MODULE_4__[\"createPopper\"]; });\n\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/index.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"top\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"bottom\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"right\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"left\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"auto\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"auto\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"basePlacements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"basePlacements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"start\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"end\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"end\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"clippingParents\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"clippingParents\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"viewport\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"viewport\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popper\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"popper\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reference\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"reference\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"variationPlacements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"variationPlacements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"placements\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"placements\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeRead\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeRead\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"read\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"read\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterRead\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterRead\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeMain\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeMain\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"main\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"main\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterMain\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterMain\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"beforeWrite\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"beforeWrite\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"write\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"write\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"afterWrite\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"afterWrite\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"modifierPhases\", function() { return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"modifierPhases\"]; });\n\n/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/index.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"applyStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"arrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"computeStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"eventListeners\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"flip\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"hide\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"offset\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"popperOffsets\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_1__[\"preventOverflow\"]; });\n\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"detectOverflow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperBase\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_2__[\"createPopper\"]; });\n\n/* harmony import */ var _popper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./popper.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return _popper_js__WEBPACK_IMPORTED_MODULE_3__[\"createPopper\"]; });\n\n/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./popper-lite.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper-lite.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperLite\", function() { return _popper_lite_js__WEBPACK_IMPORTED_MODULE_4__[\"createPopper\"]; });\n\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/index.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js": /*!**********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js ***! \**********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__[\"isHTMLElement\"])(element) || !Object(_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__[\"isHTMLElement\"])(element) || !Object(_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getNodeName.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__[\"isHTMLElement\"])(element) || !Object(_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__[\"isHTMLElement\"])(element) || !Object(_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/arrow.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/arrow.js": /*!****************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/arrow.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/arrow.js ***! \****************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/contains.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/contains.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/within.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/within.js\");\n/* harmony import */ var _utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/mergePaddingObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js\");\n/* harmony import */ var _utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/expandToHashMap.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/expandToHashMap.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n\n\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(state.placement);\n var axis = Object(_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(basePlacement);\n var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_8__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"right\"]].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = state.modifiersData[name + \"#persistent\"].padding;\n var arrowRect = Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arrowElement);\n var minProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"left\"];\n var maxProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"right\"];\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element,\n _options$padding = options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (true) {\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_9__[\"isHTMLElement\"])(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!Object(_dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state.elements.popper, arrowElement)) {\n if (true) {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n state.modifiersData[name + \"#persistent\"] = {\n padding: Object(_utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(typeof padding !== 'number' ? padding : Object(_utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"basePlacements\"]))\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/arrow.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/contains.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/contains.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/within.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/within.js\");\n/* harmony import */ var _utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/mergePaddingObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js\");\n/* harmony import */ var _utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/expandToHashMap.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/expandToHashMap.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n\n\n\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(state.placement);\n var axis = Object(_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(basePlacement);\n var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_8__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"right\"]].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = state.modifiersData[name + \"#persistent\"].padding;\n var arrowRect = Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arrowElement);\n var minProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"left\"];\n var maxProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"right\"];\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element,\n _options$padding = options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (true) {\n if (!Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_9__[\"isHTMLElement\"])(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!Object(_dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state.elements.popper, arrowElement)) {\n if (true) {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n state.modifiersData[name + \"#persistent\"] = {\n padding: Object(_utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(typeof padding !== 'number' ? padding : Object(_utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_8__[\"basePlacements\"]))\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/arrow.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js ***! \************************************************************************************************************/ /*! exports provided: mapToStyles, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapToStyles\", function() { return mapToStyles; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsets(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: Math.round(x * dpr) / dpr || 0,\n y: Math.round(y * dpr) / dpr || 0\n };\n}\n\nfunction mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive;\n\n var _roundOffsets = roundOffsets(offsets),\n x = _roundOffsets.x,\n y = _roundOffsets.y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n var sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"];\n var win = window;\n\n if (adaptive) {\n var offsetParent = Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(popper);\n\n if (offsetParent === Object(_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(popper)) {\n offsetParent = Object(_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(popper);\n } // $FlowFixMe: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n /*:: offsetParent = (offsetParent: Element); */\n\n\n if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"]) {\n sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"];\n y -= offsetParent.clientHeight - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]) {\n sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n x -= offsetParent.clientWidth - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref3) {\n var state = _ref3.state,\n options = _ref3.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive;\n\n if (true) {\n var transitionProperty = Object(_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign(Object.assign({}, state.styles.arrow), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false\n })));\n }\n\n state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"mapToStyles\", function() { return mapToStyles; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/getComputedStyle.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref) {\n var x = _ref.x,\n y = _ref.y;\n var win = window;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: Math.round(x * dpr) / dpr || 0,\n y: Math.round(y * dpr) / dpr || 0\n };\n}\n\nfunction mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets;\n\n var _ref3 = roundOffsets ? roundOffsetsByDPR(offsets) : offsets,\n _ref3$x = _ref3.x,\n x = _ref3$x === void 0 ? 0 : _ref3$x,\n _ref3$y = _ref3.y,\n y = _ref3$y === void 0 ? 0 : _ref3$y;\n\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n var sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"];\n var win = window;\n\n if (adaptive) {\n var offsetParent = Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(popper);\n\n if (offsetParent === Object(_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(popper)) {\n offsetParent = Object(_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(popper);\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n /*:: offsetParent = (offsetParent: Element); */\n\n\n if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"]) {\n sideY = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"];\n y -= offsetParent.clientHeight - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]) {\n sideX = _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n x -= offsetParent.clientWidth - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign(Object.assign({}, commonStyles), {}, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref4) {\n var state = _ref4.state,\n options = _ref4.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n\n if (true) {\n var transitionProperty = Object(_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(state.elements.popper).transitionProperty || '';\n\n if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {\n return transitionProperty.indexOf(property) >= 0;\n })) {\n console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".', '\\n\\n', 'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\\n\\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));\n }\n }\n\n var commonStyles = {\n placement: Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign(Object.assign({}, state.styles.popper), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign(Object.assign({}, state.styles.arrow), mapToStyles(Object.assign(Object.assign({}, commonStyles), {}, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js": /*!*************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = Object(_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getWindow.js\");\n // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n passive: true\n};\n\nfunction effect(_ref) {\n var state = _ref.state,\n instance = _ref.instance,\n options = _ref.options;\n var _options$scroll = options.scroll,\n scroll = _options$scroll === void 0 ? true : _options$scroll,\n _options$resize = options.resize,\n resize = _options$resize === void 0 ? true : _options$resize;\n var window = Object(_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(state.elements.popper);\n var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.addEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.addEventListener('resize', instance.update, passive);\n }\n\n return function () {\n if (scroll) {\n scrollParents.forEach(function (scrollParent) {\n scrollParent.removeEventListener('scroll', instance.update, passive);\n });\n }\n\n if (resize) {\n window.removeEventListener('resize', instance.update, passive);\n }\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'eventListeners',\n enabled: true,\n phase: 'write',\n fn: function fn() {},\n effect: effect,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/flip.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/flip.js": /*!***************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/flip.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/flip.js ***! \***************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getOppositePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getOppositeVariationPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/computeAutoPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"auto\"]) {\n return [];\n }\n\n var oppositePlacement = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n return [Object(_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(placement), oppositePlacement, Object(_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"auto\"] ? Object(_utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement);\n\n var isStartVariation = Object(_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"start\"];\n var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"right\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"left\"] : isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"];\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(mainVariationSide);\n }\n\n var altVariationSide = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/flip.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getOppositePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getOppositeVariationPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/computeAutoPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"auto\"]) {\n return [];\n }\n\n var oppositePlacement = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n return [Object(_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(placement), oppositePlacement, Object(_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"auto\"] ? Object(_utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement);\n\n var isStartVariation = Object(_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"start\"];\n var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"right\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"left\"] : isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"];\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(mainVariationSide);\n }\n\n var altVariationSide = Object(_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/flip.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/hide.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/hide.js": /*!***************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/hide.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/hide.js ***! \***************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n\n\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [_enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/hide.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n\n\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [_enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"], _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"]].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign(Object.assign({}, state.attributes.popper), {}, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/hide.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/index.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/index.js": /*!****************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/index.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/index.js ***! \****************************************************************************************************/ /*! exports provided: applyStyles, arrow, computeStyles, eventListeners, flip, hide, offset, popperOffsets, preventOverflow */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _arrow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./arrow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/arrow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _arrow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _flip_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./flip.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/flip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _flip_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _hide_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hide.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/hide.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _hide_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _offset_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./offset.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/offset.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _offset_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./preventOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/index.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _applyStyles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _arrow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./arrow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/arrow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _arrow_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _computeStyles_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _eventListeners_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _flip_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./flip.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/flip.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _flip_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _hide_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hide.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/hide.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _hide_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _offset_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./offset.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/offset.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _offset_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _popperOffsets_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/* harmony import */ var _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./preventOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _preventOverflow_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; });\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/index.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/offset.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/offset.js": /*!*****************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/offset.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/offset.js ***! \*****************************************************************************************************/ /*! exports provided: distanceAndSkiddingToXY, default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distanceAndSkiddingToXY\", function() { return distanceAndSkiddingToXY; });\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n\n\nfunction distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n var invertDistance = [_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"top\"]].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign(Object.assign({}, rects), {}, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"right\"]].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"placements\"].reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/offset.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"distanceAndSkiddingToXY\", function() { return distanceAndSkiddingToXY; });\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n\n\nfunction distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n var invertDistance = [_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"top\"]].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign(Object.assign({}, rects), {}, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"left\"], _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"right\"]].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"placements\"].reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/offset.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js ***! \************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/computeOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeOffsets.js\");\n\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = Object(_utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/computeOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeOffsets.js\");\n\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = Object(_utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js": /*!**************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getAltAxis.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getAltAxis.js\");\n/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/within.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/within.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/getFreshSideObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js\");\n\n\n\n\n\n\n\n\n\n\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state.placement);\n var variation = Object(_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = Object(_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(basePlacement);\n var altAxis = Object(_utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign(Object.assign({}, state.rects), {}, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var mainSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n var altSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"] ? referenceRect[len] : popperRect[len];\n var maxLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"] ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : Object(_utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var arrowOffsetParent = state.elements.arrow && Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n var preventedOffset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(tether ? Math.min(min, tetherMin) : min, offset, tether ? Math.max(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n\n var _altSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_min, _offset, _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getAltAxis.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getAltAxis.js\");\n/* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/within.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/within.js\");\n/* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js\");\n/* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js\");\n/* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/getFreshSideObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js\");\n\n\n\n\n\n\n\n\n\n\n\nfunction preventOverflow(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n padding = options.padding,\n _options$tether = options.tether,\n tether = _options$tether === void 0 ? true : _options$tether,\n _options$tetherOffset = options.tetherOffset,\n tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n var overflow = Object(_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(state, {\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n altBoundary: altBoundary\n });\n var basePlacement = Object(_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state.placement);\n var variation = Object(_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(state.placement);\n var isBasePlacement = !variation;\n var mainAxis = Object(_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(basePlacement);\n var altAxis = Object(_utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(mainAxis);\n var popperOffsets = state.modifiersData.popperOffsets;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign(Object.assign({}, state.rects), {}, {\n placement: state.placement\n })) : tetherOffset;\n var data = {\n x: 0,\n y: 0\n };\n\n if (!popperOffsets) {\n return;\n }\n\n if (checkMainAxis) {\n var mainSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n var altSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n var len = mainAxis === 'y' ? 'height' : 'width';\n var offset = popperOffsets[mainAxis];\n var min = popperOffsets[mainAxis] + overflow[mainSide];\n var max = popperOffsets[mainAxis] - overflow[altSide];\n var additive = tether ? -popperRect[len] / 2 : 0;\n var minLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"] ? referenceRect[len] : popperRect[len];\n var maxLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"start\"] ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n // outside the reference bounds\n\n var arrowElement = state.elements.arrow;\n var arrowRect = tether && arrowElement ? Object(_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(arrowElement) : {\n width: 0,\n height: 0\n };\n var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : Object(_utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"])();\n var arrowPaddingMin = arrowPaddingObject[mainSide];\n var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n // to include its full size in the calculation. If the reference is small\n // and near the edge of a boundary, the popper can overflow even if the\n // reference is not overflowing as well (e.g. virtual elements with no\n // width or height)\n\n var arrowLen = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(0, referenceRect[len], arrowRect[len]);\n var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;\n var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;\n var arrowOffsetParent = state.elements.arrow && Object(_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(state.elements.arrow);\n var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;\n var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;\n var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;\n var preventedOffset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(tether ? Math.min(min, tetherMin) : min, offset, tether ? Math.max(max, tetherMax) : max);\n popperOffsets[mainAxis] = preventedOffset;\n data[mainAxis] = preventedOffset - offset;\n }\n\n if (checkAltAxis) {\n var _mainSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"top\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"left\"];\n\n var _altSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"bottom\"] : _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"right\"];\n\n var _offset = popperOffsets[altAxis];\n\n var _min = _offset + overflow[_mainSide];\n\n var _max = _offset - overflow[_altSide];\n\n var _preventedOffset = Object(_utils_within_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_min, _offset, _max);\n\n popperOffsets[altAxis] = _preventedOffset;\n data[altAxis] = _preventedOffset - _offset;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'preventOverflow',\n enabled: true,\n phase: 'main',\n fn: preventOverflow,\n requiresIfExists: ['offset']\n});\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper-lite.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper-lite.js": /*!************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper-lite.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper-lite.js ***! \************************************************************************************************/ /*! exports provided: createPopper, popperGenerator, defaultModifiers, detectOverflow */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultModifiers\", function() { return defaultModifiers; });\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"detectOverflow\"]; });\n\n/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n\n\n\n\n\nvar defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\nvar createPopper = /*#__PURE__*/Object(_createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"])({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper-lite.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultModifiers\", function() { return defaultModifiers; });\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"detectOverflow\"]; });\n\n/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n\n\n\n\n\nvar defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\nvar createPopper = /*#__PURE__*/Object(_createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"])({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper-lite.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper.js": /*!*******************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper.js ***! \*******************************************************************************************/ /*! exports provided: createPopper, popperGenerator, defaultModifiers, detectOverflow, createPopperLite, applyStyles, arrow, computeStyles, eventListeners, flip, hide, offset, popperOffsets, preventOverflow */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultModifiers\", function() { return defaultModifiers; });\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"detectOverflow\"]; });\n\n/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n/* harmony import */ var _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modifiers/offset.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/offset.js\");\n/* harmony import */ var _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modifiers/flip.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/flip.js\");\n/* harmony import */ var _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modifiers/preventOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js\");\n/* harmony import */ var _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modifiers/arrow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/arrow.js\");\n/* harmony import */ var _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modifiers/hide.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/hide.js\");\n/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./popper-lite.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper-lite.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperLite\", function() { return _popper_lite_js__WEBPACK_IMPORTED_MODULE_10__[\"createPopper\"]; });\n\n/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./modifiers/index.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/modifiers/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"applyStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"arrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"computeStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"eventListeners\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"flip\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"hide\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"offset\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"popperOffsets\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"preventOverflow\"]; });\n\n\n\n\n\n\n\n\n\n\n\nvar defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"], _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"]];\nvar createPopper = /*#__PURE__*/Object(_createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"])({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/popper.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createPopper\", function() { return createPopper; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultModifiers\", function() { return defaultModifiers; });\n/* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createPopper.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/createPopper.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperGenerator\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"detectOverflow\", function() { return _createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"detectOverflow\"]; });\n\n/* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/eventListeners.js\");\n/* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js\");\n/* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/computeStyles.js\");\n/* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/applyStyles.js\");\n/* harmony import */ var _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modifiers/offset.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/offset.js\");\n/* harmony import */ var _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modifiers/flip.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/flip.js\");\n/* harmony import */ var _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./modifiers/preventOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js\");\n/* harmony import */ var _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./modifiers/arrow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/arrow.js\");\n/* harmony import */ var _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./modifiers/hide.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/hide.js\");\n/* harmony import */ var _popper_lite_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./popper-lite.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper-lite.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"createPopperLite\", function() { return _popper_lite_js__WEBPACK_IMPORTED_MODULE_10__[\"createPopper\"]; });\n\n/* harmony import */ var _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./modifiers/index.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/modifiers/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"applyStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"applyStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"arrow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"arrow\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"computeStyles\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"computeStyles\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"eventListeners\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"eventListeners\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"flip\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"flip\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"hide\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"hide\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"offset\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"offset\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"popperOffsets\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"popperOffsets\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"preventOverflow\", function() { return _modifiers_index_js__WEBPACK_IMPORTED_MODULE_11__[\"preventOverflow\"]; });\n\n\n\n\n\n\n\n\n\n\n\nvar defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _modifiers_offset_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _modifiers_flip_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"], _modifiers_preventOverflow_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"], _modifiers_arrow_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"], _modifiers_hide_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"]];\nvar createPopper = /*#__PURE__*/Object(_createPopper_js__WEBPACK_IMPORTED_MODULE_0__[\"popperGenerator\"])({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n // eslint-disable-next-line import/no-unused-modules\n\n\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/popper.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js": /*!***************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return computeAutoPlacement; });\n/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n\n\n\n\n\n/*:: type OverflowsMap = { [ComputedPlacement]: number }; */\n\n/*;; type OverflowsMap = { [key in ComputedPlacement]: number }; */\nfunction computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"placements\"] : _options$allowedAutoP;\n var variation = Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n var placements = variation ? flipVariations ? _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"variationPlacements\"] : _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"variationPlacements\"].filter(function (placement) {\n return Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement) === variation;\n }) : _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"basePlacements\"]; // $FlowFixMe\n\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (true) {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = Object(_detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[Object(_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return computeAutoPlacement; });\n/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detectOverflow.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js\");\n/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n\n\n\n\n\n/*:: type OverflowsMap = { [ComputedPlacement]: number }; */\n\n/*;; type OverflowsMap = { [key in ComputedPlacement]: number }; */\nfunction computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"placements\"] : _options$allowedAutoP;\n var variation = Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement);\n var placements = variation ? flipVariations ? _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"variationPlacements\"] : _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"variationPlacements\"].filter(function (placement) {\n return Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement) === variation;\n }) : _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"basePlacements\"];\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n\n if (true) {\n console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, \"auto\" cannot be used to allow \"bottom-start\".', 'Use \"auto-start\" instead.'].join(' '));\n }\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = Object(_detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[Object(_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeOffsets.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeOffsets.js": /*!*********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeOffsets.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeOffsets.js ***! \*********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return computeOffsets; });\n/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n\n\n\n\nfunction computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? Object(_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement) : null;\n var variation = placement ? Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"top\"]:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"bottom\"]:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"right\"]:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"left\"]:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? Object(_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"start\"]:\n offsets[mainAxis] = Math.floor(offsets[mainAxis]) - Math.floor(reference[len] / 2 - element[len] / 2);\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"end\"]:\n offsets[mainAxis] = Math.floor(offsets[mainAxis]) + Math.ceil(reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeOffsets.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return computeOffsets; });\n/* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBasePlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js\");\n/* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js\");\n/* harmony import */ var _getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getMainAxisFromPlacement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n\n\n\n\nfunction computeOffsets(_ref) {\n var reference = _ref.reference,\n element = _ref.element,\n placement = _ref.placement;\n var basePlacement = placement ? Object(_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(placement) : null;\n var variation = placement ? Object(_getVariation_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(placement) : null;\n var commonX = reference.x + reference.width / 2 - element.width / 2;\n var commonY = reference.y + reference.height / 2 - element.height / 2;\n var offsets;\n\n switch (basePlacement) {\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"top\"]:\n offsets = {\n x: commonX,\n y: reference.y - element.height\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"bottom\"]:\n offsets = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"right\"]:\n offsets = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"left\"]:\n offsets = {\n x: reference.x - element.width,\n y: commonY\n };\n break;\n\n default:\n offsets = {\n x: reference.x,\n y: reference.y\n };\n }\n\n var mainAxis = basePlacement ? Object(_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(basePlacement) : null;\n\n if (mainAxis != null) {\n var len = mainAxis === 'y' ? 'height' : 'width';\n\n switch (variation) {\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"start\"]:\n offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n break;\n\n case _enums_js__WEBPACK_IMPORTED_MODULE_3__[\"end\"]:\n offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n break;\n\n default:\n }\n }\n\n return offsets;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeOffsets.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/debounce.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/debounce.js": /*!***************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/debounce.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/debounce.js ***! \***************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return debounce; });\nfunction debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/debounce.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return debounce; });\nfunction debounce(fn) {\n var pending;\n return function () {\n if (!pending) {\n pending = new Promise(function (resolve) {\n Promise.resolve().then(function () {\n pending = undefined;\n resolve(fn());\n });\n });\n }\n\n return pending;\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/debounce.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js": /*!*********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js ***! \*********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return detectOverflow; });\n/* harmony import */ var _dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getClippingRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js\");\n/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./computeOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/computeOffsets.js\");\n/* harmony import */ var _rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rectToClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/rectToClientRect.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./mergePaddingObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js\");\n/* harmony import */ var _expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./expandToHashMap.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/expandToHashMap.js\");\n\n\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"clippingParents\"] : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"viewport\"] : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = Object(_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(typeof padding !== 'number' ? padding : Object(_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"basePlacements\"]));\n var altContext = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"reference\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"];\n var referenceElement = state.elements.reference;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = Object(_dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__[\"isElement\"])(element) ? element : element.contextElement || Object(_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = Object(_dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(referenceElement);\n var popperOffsets = Object(_computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = Object(_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(Object.assign(Object.assign({}, popperRect), popperOffsets));\n var elementClientRect = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"right\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(key) >= 0 ? 1 : -1;\n var axis = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/detectOverflow.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return detectOverflow; });\n/* harmony import */ var _dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getBoundingClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js\");\n/* harmony import */ var _dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getClippingRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js\");\n/* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js\");\n/* harmony import */ var _computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./computeOffsets.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/computeOffsets.js\");\n/* harmony import */ var _rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rectToClientRect.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/rectToClientRect.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n/* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js\");\n/* harmony import */ var _mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./mergePaddingObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js\");\n/* harmony import */ var _expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./expandToHashMap.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/expandToHashMap.js\");\n\n\n\n\n\n\n\n\n // eslint-disable-next-line import/no-unused-modules\n\nfunction detectOverflow(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$placement = _options.placement,\n placement = _options$placement === void 0 ? state.placement : _options$placement,\n _options$boundary = _options.boundary,\n boundary = _options$boundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"clippingParents\"] : _options$boundary,\n _options$rootBoundary = _options.rootBoundary,\n rootBoundary = _options$rootBoundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"viewport\"] : _options$rootBoundary,\n _options$elementConte = _options.elementContext,\n elementContext = _options$elementConte === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] : _options$elementConte,\n _options$altBoundary = _options.altBoundary,\n altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n _options$padding = _options.padding,\n padding = _options$padding === void 0 ? 0 : _options$padding;\n var paddingObject = Object(_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(typeof padding !== 'number' ? padding : Object(_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"basePlacements\"]));\n var altContext = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] ? _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"reference\"] : _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"];\n var referenceElement = state.elements.reference;\n var popperRect = state.rects.popper;\n var element = state.elements[altBoundary ? altContext : elementContext];\n var clippingClientRect = Object(_dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(Object(_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_6__[\"isElement\"])(element) ? element : element.contextElement || Object(_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(state.elements.popper), boundary, rootBoundary);\n var referenceClientRect = Object(_dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(referenceElement);\n var popperOffsets = Object(_computeOffsets_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({\n reference: referenceClientRect,\n element: popperRect,\n strategy: 'absolute',\n placement: placement\n });\n var popperClientRect = Object(_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(Object.assign(Object.assign({}, popperRect), popperOffsets));\n var elementClientRect = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n // 0 or negative = within the clipping rect\n\n var overflowOffsets = {\n top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n };\n var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n if (elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"popper\"] && offsetData) {\n var offset = offsetData[placement];\n Object.keys(overflowOffsets).forEach(function (key) {\n var multiply = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"right\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(key) >= 0 ? 1 : -1;\n var axis = [_enums_js__WEBPACK_IMPORTED_MODULE_5__[\"top\"], _enums_js__WEBPACK_IMPORTED_MODULE_5__[\"bottom\"]].indexOf(key) >= 0 ? 'y' : 'x';\n overflowOffsets[key] += offset[axis] * multiply;\n });\n }\n\n return overflowOffsets;\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/detectOverflow.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/expandToHashMap.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/expandToHashMap.js": /*!**********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/expandToHashMap.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/expandToHashMap.js ***! \**********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return expandToHashMap; });\nfunction expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/expandToHashMap.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return expandToHashMap; });\nfunction expandToHashMap(value, keys) {\n return keys.reduce(function (hashMap, key) {\n hashMap[key] = value;\n return hashMap;\n }, {});\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/expandToHashMap.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/format.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/format.js": /*!*************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/format.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/format.js ***! \*************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return format; });\nfunction format(str) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return [].concat(args).reduce(function (p, c) {\n return p.replace(/%s/, c);\n }, str);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/format.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return format; });\nfunction format(str) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return [].concat(args).reduce(function (p, c) {\n return p.replace(/%s/, c);\n }, str);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/format.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getAltAxis.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getAltAxis.js": /*!*****************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getAltAxis.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getAltAxis.js ***! \*****************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getAltAxis; });\nfunction getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getAltAxis.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getAltAxis; });\nfunction getAltAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getAltAxis.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js": /*!***********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js ***! \***********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getBasePlacement; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n\nfunction getBasePlacement(placement) {\n return placement.split('-')[0];\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getBasePlacement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getBasePlacement; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n\nfunction getBasePlacement(placement) {\n return placement.split('-')[0];\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getBasePlacement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js": /*!*************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getFreshSideObject; });\nfunction getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getFreshSideObject; });\nfunction getFreshSideObject() {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n };\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js": /*!*******************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js ***! \*******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getMainAxisFromPlacement; });\nfunction getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getMainAxisFromPlacement; });\nfunction getMainAxisFromPlacement(placement) {\n return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js": /*!***************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOppositePlacement; });\nvar hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOppositePlacement; });\nvar hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js": /*!************************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js ***! \************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOppositeVariationPlacement; });\nvar hash = {\n start: 'end',\n end: 'start'\n};\nfunction getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getOppositeVariationPlacement; });\nvar hash = {\n start: 'end',\n end: 'start'\n};\nfunction getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js": /*!*******************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js ***! \*******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getVariation; });\nfunction getVariation(placement) {\n return placement.split('-')[1];\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getVariation.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return getVariation; });\nfunction getVariation(placement) {\n return placement.split('-')[1];\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getVariation.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergeByName.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergeByName.js": /*!******************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergeByName.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergeByName.js ***! \******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return mergeByName; });\nfunction mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign(Object.assign(Object.assign({}, existing), current), {}, {\n options: Object.assign(Object.assign({}, existing.options), current.options),\n data: Object.assign(Object.assign({}, existing.data), current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergeByName.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return mergeByName; });\nfunction mergeByName(modifiers) {\n var merged = modifiers.reduce(function (merged, current) {\n var existing = merged[current.name];\n merged[current.name] = existing ? Object.assign(Object.assign(Object.assign({}, existing), current), {}, {\n options: Object.assign(Object.assign({}, existing.options), current.options),\n data: Object.assign(Object.assign({}, existing.data), current.data)\n }) : current;\n return merged;\n }, {}); // IE11 does not support Object.values\n\n return Object.keys(merged).map(function (key) {\n return merged[key];\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergeByName.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js": /*!*************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return mergePaddingObject; });\n/* harmony import */ var _getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFreshSideObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js\");\n\nfunction mergePaddingObject(paddingObject) {\n return Object.assign(Object.assign({}, Object(_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()), paddingObject);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return mergePaddingObject; });\n/* harmony import */ var _getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFreshSideObject.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js\");\n\nfunction mergePaddingObject(paddingObject) {\n return Object.assign(Object.assign({}, Object(_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])()), paddingObject);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/orderModifiers.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/orderModifiers.js": /*!*********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/orderModifiers.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/orderModifiers.js ***! \*********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return orderModifiers; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nfunction orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"modifierPhases\"].reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/orderModifiers.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return orderModifiers; });\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n var map = new Map();\n var visited = new Set();\n var result = [];\n modifiers.forEach(function (modifier) {\n map.set(modifier.name, modifier);\n }); // On visiting object, check for its dependencies and visit them recursively\n\n function sort(modifier) {\n visited.add(modifier.name);\n var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n requires.forEach(function (dep) {\n if (!visited.has(dep)) {\n var depModifier = map.get(dep);\n\n if (depModifier) {\n sort(depModifier);\n }\n }\n });\n result.push(modifier);\n }\n\n modifiers.forEach(function (modifier) {\n if (!visited.has(modifier.name)) {\n // check for visited object\n sort(modifier);\n }\n });\n return result;\n}\n\nfunction orderModifiers(modifiers) {\n // order based on dependencies\n var orderedModifiers = order(modifiers); // order based on phase\n\n return _enums_js__WEBPACK_IMPORTED_MODULE_0__[\"modifierPhases\"].reduce(function (acc, phase) {\n return acc.concat(orderedModifiers.filter(function (modifier) {\n return modifier.phase === phase;\n }));\n }, []);\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/orderModifiers.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/rectToClientRect.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/rectToClientRect.js": /*!***********************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/rectToClientRect.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/rectToClientRect.js ***! \***********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return rectToClientRect; });\nfunction rectToClientRect(rect) {\n return Object.assign(Object.assign({}, rect), {}, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/rectToClientRect.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return rectToClientRect; });\nfunction rectToClientRect(rect) {\n return Object.assign(Object.assign({}, rect), {}, {\n left: rect.x,\n top: rect.y,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/rectToClientRect.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/uniqueBy.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/uniqueBy.js": /*!***************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/uniqueBy.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/uniqueBy.js ***! \***************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return uniqueBy; });\nfunction uniqueBy(arr, fn) {\n var identifiers = new Set();\n return arr.filter(function (item) {\n var identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/uniqueBy.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return uniqueBy; });\nfunction uniqueBy(arr, fn) {\n var identifiers = new Set();\n return arr.filter(function (item) {\n var identifier = fn(item);\n\n if (!identifiers.has(identifier)) {\n identifiers.add(identifier);\n return true;\n }\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/uniqueBy.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/validateModifiers.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/validateModifiers.js": /*!************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/validateModifiers.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/validateModifiers.js ***! \************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return validateModifiers; });\n/* harmony import */ var _format_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./format.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/format.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/enums.js\");\n\n\nvar INVALID_MODIFIER_ERROR = 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nvar MISSING_DEPENDENCY_ERROR = 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nvar VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];\nfunction validateModifiers(modifiers) {\n modifiers.forEach(function (modifier) {\n Object.keys(modifier).forEach(function (key) {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, String(modifier.name), '\"name\"', '\"string\"', \"\\\"\" + String(modifier.name) + \"\\\"\"));\n }\n\n break;\n\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"enabled\"', '\"boolean\"', \"\\\"\" + String(modifier.enabled) + \"\\\"\"));\n }\n\n case 'phase':\n if (_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"modifierPhases\"].indexOf(modifier.phase) < 0) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"phase\"', \"either \" + _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"modifierPhases\"].join(', '), \"\\\"\" + String(modifier.phase) + \"\\\"\"));\n }\n\n break;\n\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"fn\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'effect':\n if (typeof modifier.effect !== 'function') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"effect\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'requires':\n if (!Array.isArray(modifier.requires)) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"requires\"', '\"array\"', \"\\\"\" + String(modifier.requires) + \"\\\"\"));\n }\n\n break;\n\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"requiresIfExists\"', '\"array\"', \"\\\"\" + String(modifier.requiresIfExists) + \"\\\"\"));\n }\n\n break;\n\n case 'options':\n case 'data':\n break;\n\n default:\n console.error(\"PopperJS: an invalid property has been provided to the \\\"\" + modifier.name + \"\\\" modifier, valid properties are \" + VALID_PROPERTIES.map(function (s) {\n return \"\\\"\" + s + \"\\\"\";\n }).join(', ') + \"; but \\\"\" + key + \"\\\" was provided.\");\n }\n\n modifier.requires && modifier.requires.forEach(function (requirement) {\n if (modifiers.find(function (mod) {\n return mod.name === requirement;\n }) == null) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));\n }\n });\n });\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/validateModifiers.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return validateModifiers; });\n/* harmony import */ var _format_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./format.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/format.js\");\n/* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ \"./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/enums.js\");\n\n\nvar INVALID_MODIFIER_ERROR = 'Popper: modifier \"%s\" provided an invalid %s property, expected %s but got %s';\nvar MISSING_DEPENDENCY_ERROR = 'Popper: modifier \"%s\" requires \"%s\", but \"%s\" modifier is not available';\nvar VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];\nfunction validateModifiers(modifiers) {\n modifiers.forEach(function (modifier) {\n Object.keys(modifier).forEach(function (key) {\n switch (key) {\n case 'name':\n if (typeof modifier.name !== 'string') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, String(modifier.name), '\"name\"', '\"string\"', \"\\\"\" + String(modifier.name) + \"\\\"\"));\n }\n\n break;\n\n case 'enabled':\n if (typeof modifier.enabled !== 'boolean') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"enabled\"', '\"boolean\"', \"\\\"\" + String(modifier.enabled) + \"\\\"\"));\n }\n\n case 'phase':\n if (_enums_js__WEBPACK_IMPORTED_MODULE_1__[\"modifierPhases\"].indexOf(modifier.phase) < 0) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"phase\"', \"either \" + _enums_js__WEBPACK_IMPORTED_MODULE_1__[\"modifierPhases\"].join(', '), \"\\\"\" + String(modifier.phase) + \"\\\"\"));\n }\n\n break;\n\n case 'fn':\n if (typeof modifier.fn !== 'function') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"fn\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'effect':\n if (typeof modifier.effect !== 'function') {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"effect\"', '\"function\"', \"\\\"\" + String(modifier.fn) + \"\\\"\"));\n }\n\n break;\n\n case 'requires':\n if (!Array.isArray(modifier.requires)) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"requires\"', '\"array\"', \"\\\"\" + String(modifier.requires) + \"\\\"\"));\n }\n\n break;\n\n case 'requiresIfExists':\n if (!Array.isArray(modifier.requiresIfExists)) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(INVALID_MODIFIER_ERROR, modifier.name, '\"requiresIfExists\"', '\"array\"', \"\\\"\" + String(modifier.requiresIfExists) + \"\\\"\"));\n }\n\n break;\n\n case 'options':\n case 'data':\n break;\n\n default:\n console.error(\"PopperJS: an invalid property has been provided to the \\\"\" + modifier.name + \"\\\" modifier, valid properties are \" + VALID_PROPERTIES.map(function (s) {\n return \"\\\"\" + s + \"\\\"\";\n }).join(', ') + \"; but \\\"\" + key + \"\\\" was provided.\");\n }\n\n modifier.requires && modifier.requires.forEach(function (requirement) {\n if (modifiers.find(function (mod) {\n return mod.name === requirement;\n }) == null) {\n console.error(Object(_format_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));\n }\n });\n });\n });\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/validateModifiers.js?"); /***/ }), -/***/ "./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/within.js": +/***/ "./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/within.js": /*!*************************************************************************************************!*\ - !*** ./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/within.js ***! + !*** ./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/within.js ***! \*************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return within; });\nfunction within(min, value, max) {\n return Math.max(min, Math.min(value, max));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/utils/within.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return within; });\nfunction within(min, value, max) {\n return Math.max(min, Math.min(value, max));\n}\n\n//# sourceURL=webpack:///./node_modules/.pnpm/@popperjs/core@2.6.0/node_modules/@popperjs/core/lib/utils/within.js?"); /***/ }), -/***/ "./node_modules/.pnpm/bootstrap@5.0.0-beta1_@popperjs+core@2.5.4/node_modules/bootstrap/dist/js/bootstrap.esm.js": +/***/ "./node_modules/.pnpm/bootstrap@5.0.0-beta1_@popperjs+core@2.6.0/node_modules/bootstrap/dist/js/bootstrap.esm.js": /*!***********************************************************************************************************************!*\ - !*** ./node_modules/.pnpm/bootstrap@5.0.0-beta1_@popperjs+core@2.5.4/node_modules/bootstrap/dist/js/bootstrap.esm.js ***! + !*** ./node_modules/.pnpm/bootstrap@5.0.0-beta1_@popperjs+core@2.6.0/node_modules/bootstrap/dist/js/bootstrap.esm.js ***! \***********************************************************************************************************************/ /*! exports provided: Alert, Button, Carousel, Collapse, Dropdown, Modal, Popover, ScrollSpy, Tab, Toast, Tooltip */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Alert\", function() { return Alert; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Button\", function() { return Button; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Carousel\", function() { return Carousel; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Collapse\", function() { return Collapse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Dropdown\", function() { return Dropdown; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Modal\", function() { return Modal; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Popover\", function() { return Popover; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ScrollSpy\", function() { return ScrollSpy; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Tab\", function() { return Tab; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Toast\", function() { return Toast; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Tooltip\", function() { return Tooltip; });\n/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @popperjs/core */ \"./node_modules/.pnpm/@popperjs/core@2.5.4/node_modules/@popperjs/core/lib/index.js\");\n/*!\n * Bootstrap v5.0.0-beta1 (https://getbootstrap.com/)\n * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n\n\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): util/index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\nvar MAX_UID = 1000000;\nvar MILLISECONDS_MULTIPLIER = 1000;\nvar TRANSITION_END = 'transitionend'; // Shoutout AngusCroll (https://goo.gl/pxwQGp)\n\nvar toType = function toType(obj) {\n if (obj === null || obj === undefined) {\n return \"\" + obj;\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase();\n};\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\n\nvar getUID = function getUID(prefix) {\n do {\n prefix += Math.floor(Math.random() * MAX_UID);\n } while (document.getElementById(prefix));\n\n return prefix;\n};\n\nvar getSelector = function getSelector(element) {\n var selector = element.getAttribute('data-bs-target');\n\n if (!selector || selector === '#') {\n var hrefAttr = element.getAttribute('href');\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : null;\n }\n\n return selector;\n};\n\nvar getSelectorFromElement = function getSelectorFromElement(element) {\n var selector = getSelector(element);\n\n if (selector) {\n return document.querySelector(selector) ? selector : null;\n }\n\n return null;\n};\n\nvar getElementFromSelector = function getElementFromSelector(element) {\n var selector = getSelector(element);\n return selector ? document.querySelector(selector) : null;\n};\n\nvar getTransitionDurationFromElement = function getTransitionDurationFromElement(element) {\n if (!element) {\n return 0;\n } // Get transition-duration of the element\n\n\n var _window$getComputedSt = window.getComputedStyle(element),\n transitionDuration = _window$getComputedSt.transitionDuration,\n transitionDelay = _window$getComputedSt.transitionDelay;\n\n var floatTransitionDuration = Number.parseFloat(transitionDuration);\n var floatTransitionDelay = Number.parseFloat(transitionDelay); // Return 0 if element or transition duration is not found\n\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0;\n } // If multiple durations are defined, take the first\n\n\n transitionDuration = transitionDuration.split(',')[0];\n transitionDelay = transitionDelay.split(',')[0];\n return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;\n};\n\nvar triggerTransitionEnd = function triggerTransitionEnd(element) {\n element.dispatchEvent(new Event(TRANSITION_END));\n};\n\nvar isElement = function isElement(obj) {\n return (obj[0] || obj).nodeType;\n};\n\nvar emulateTransitionEnd = function emulateTransitionEnd(element, duration) {\n var called = false;\n var durationPadding = 5;\n var emulatedDuration = duration + durationPadding;\n\n function listener() {\n called = true;\n element.removeEventListener(TRANSITION_END, listener);\n }\n\n element.addEventListener(TRANSITION_END, listener);\n setTimeout(function () {\n if (!called) {\n triggerTransitionEnd(element);\n }\n }, emulatedDuration);\n};\n\nvar typeCheckConfig = function typeCheckConfig(componentName, config, configTypes) {\n Object.keys(configTypes).forEach(function (property) {\n var expectedTypes = configTypes[property];\n var value = config[property];\n var valueType = value && isElement(value) ? 'element' : toType(value);\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(componentName.toUpperCase() + \": \" + (\"Option \\\"\" + property + \"\\\" provided type \\\"\" + valueType + \"\\\" \") + (\"but expected type \\\"\" + expectedTypes + \"\\\".\"));\n }\n });\n};\n\nvar isVisible = function isVisible(element) {\n if (!element) {\n return false;\n }\n\n if (element.style && element.parentNode && element.parentNode.style) {\n var elementStyle = getComputedStyle(element);\n var parentNodeStyle = getComputedStyle(element.parentNode);\n return elementStyle.display !== 'none' && parentNodeStyle.display !== 'none' && elementStyle.visibility !== 'hidden';\n }\n\n return false;\n};\n\nvar findShadowRoot = function findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null;\n } // Can find the shadow root otherwise it'll return the document\n\n\n if (typeof element.getRootNode === 'function') {\n var root = element.getRootNode();\n return root instanceof ShadowRoot ? root : null;\n }\n\n if (element instanceof ShadowRoot) {\n return element;\n } // when we don't find a shadow root\n\n\n if (!element.parentNode) {\n return null;\n }\n\n return findShadowRoot(element.parentNode);\n};\n\nvar noop = function noop() {\n return function () {};\n};\n\nvar reflow = function reflow(element) {\n return element.offsetHeight;\n};\n\nvar getjQuery = function getjQuery() {\n var _window = window,\n jQuery = _window.jQuery;\n\n if (jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n return jQuery;\n }\n\n return null;\n};\n\nvar onDOMContentLoaded = function onDOMContentLoaded(callback) {\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', callback);\n } else {\n callback();\n }\n};\n\nvar isRTL = document.documentElement.dir === 'rtl';\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): dom/data.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\nvar mapData = function () {\n var storeData = {};\n var id = 1;\n return {\n set: function set(element, key, data) {\n if (typeof element.bsKey === 'undefined') {\n element.bsKey = {\n key: key,\n id: id\n };\n id++;\n }\n\n storeData[element.bsKey.id] = data;\n },\n get: function get(element, key) {\n if (!element || typeof element.bsKey === 'undefined') {\n return null;\n }\n\n var keyProperties = element.bsKey;\n\n if (keyProperties.key === key) {\n return storeData[keyProperties.id];\n }\n\n return null;\n },\n delete: function _delete(element, key) {\n if (typeof element.bsKey === 'undefined') {\n return;\n }\n\n var keyProperties = element.bsKey;\n\n if (keyProperties.key === key) {\n delete storeData[keyProperties.id];\n delete element.bsKey;\n }\n }\n };\n}();\n\nvar Data = {\n setData: function setData(instance, key, data) {\n mapData.set(instance, key, data);\n },\n getData: function getData(instance, key) {\n return mapData.get(instance, key);\n },\n removeData: function removeData(instance, key) {\n mapData.delete(instance, key);\n }\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): dom/event-handler.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\nvar stripNameRegex = /\\..*/;\nvar stripUidRegex = /::\\d+$/;\nvar eventRegistry = {}; // Events storage\n\nvar uidEvent = 1;\nvar customEvents = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n};\nvar nativeEvents = new Set(['click', 'dblclick', 'mouseup', 'mousedown', 'contextmenu', 'mousewheel', 'DOMMouseScroll', 'mouseover', 'mouseout', 'mousemove', 'selectstart', 'selectend', 'keydown', 'keypress', 'keyup', 'orientationchange', 'touchstart', 'touchmove', 'touchend', 'touchcancel', 'pointerdown', 'pointermove', 'pointerup', 'pointerleave', 'pointercancel', 'gesturestart', 'gesturechange', 'gestureend', 'focus', 'blur', 'change', 'reset', 'select', 'submit', 'focusin', 'focusout', 'load', 'unload', 'beforeunload', 'resize', 'move', 'DOMContentLoaded', 'readystatechange', 'error', 'abort', 'scroll']);\n/**\n * ------------------------------------------------------------------------\n * Private methods\n * ------------------------------------------------------------------------\n */\n\nfunction getUidEvent(element, uid) {\n return uid && uid + \"::\" + uidEvent++ || element.uidEvent || uidEvent++;\n}\n\nfunction getEvent(element) {\n var uid = getUidEvent(element);\n element.uidEvent = uid;\n eventRegistry[uid] = eventRegistry[uid] || {};\n return eventRegistry[uid];\n}\n\nfunction bootstrapHandler(element, fn) {\n return function handler(event) {\n event.delegateTarget = element;\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, fn);\n }\n\n return fn.apply(element, [event]);\n };\n}\n\nfunction bootstrapDelegationHandler(element, selector, fn) {\n return function handler(event) {\n var domElements = element.querySelectorAll(selector);\n\n for (var target = event.target; target && target !== this; target = target.parentNode) {\n for (var i = domElements.length; i--;) {\n if (domElements[i] === target) {\n event.delegateTarget = target;\n\n if (handler.oneOff) {\n EventHandler.off(element, event.type, fn);\n }\n\n return fn.apply(target, [event]);\n }\n }\n } // To please ESLint\n\n\n return null;\n };\n}\n\nfunction findHandler(events, handler, delegationSelector) {\n if (delegationSelector === void 0) {\n delegationSelector = null;\n }\n\n var uidEventList = Object.keys(events);\n\n for (var i = 0, len = uidEventList.length; i < len; i++) {\n var event = events[uidEventList[i]];\n\n if (event.originalHandler === handler && event.delegationSelector === delegationSelector) {\n return event;\n }\n }\n\n return null;\n}\n\nfunction normalizeParams(originalTypeEvent, handler, delegationFn) {\n var delegation = typeof handler === 'string';\n var originalHandler = delegation ? delegationFn : handler; // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n\n var typeEvent = originalTypeEvent.replace(stripNameRegex, '');\n var custom = customEvents[typeEvent];\n\n if (custom) {\n typeEvent = custom;\n }\n\n var isNative = nativeEvents.has(typeEvent);\n\n if (!isNative) {\n typeEvent = originalTypeEvent;\n }\n\n return [delegation, originalHandler, typeEvent];\n}\n\nfunction addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return;\n }\n\n if (!handler) {\n handler = delegationFn;\n delegationFn = null;\n }\n\n var _normalizeParams = normalizeParams(originalTypeEvent, handler, delegationFn),\n delegation = _normalizeParams[0],\n originalHandler = _normalizeParams[1],\n typeEvent = _normalizeParams[2];\n\n var events = getEvent(element);\n var handlers = events[typeEvent] || (events[typeEvent] = {});\n var previousFn = findHandler(handlers, originalHandler, delegation ? handler : null);\n\n if (previousFn) {\n previousFn.oneOff = previousFn.oneOff && oneOff;\n return;\n }\n\n var uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''));\n var fn = delegation ? bootstrapDelegationHandler(element, handler, delegationFn) : bootstrapHandler(element, handler);\n fn.delegationSelector = delegation ? handler : null;\n fn.originalHandler = originalHandler;\n fn.oneOff = oneOff;\n fn.uidEvent = uid;\n handlers[uid] = fn;\n element.addEventListener(typeEvent, fn, delegation);\n}\n\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\n var fn = findHandler(events[typeEvent], handler, delegationSelector);\n\n if (!fn) {\n return;\n }\n\n element.removeEventListener(typeEvent, fn, Boolean(delegationSelector));\n delete events[typeEvent][fn.uidEvent];\n}\n\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\n var storeElementEvent = events[typeEvent] || {};\n Object.keys(storeElementEvent).forEach(function (handlerKey) {\n if (handlerKey.includes(namespace)) {\n var event = storeElementEvent[handlerKey];\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);\n }\n });\n}\n\nvar EventHandler = {\n on: function on(element, event, handler, delegationFn) {\n addHandler(element, event, handler, delegationFn, false);\n },\n one: function one(element, event, handler, delegationFn) {\n addHandler(element, event, handler, delegationFn, true);\n },\n off: function off(element, originalTypeEvent, handler, delegationFn) {\n if (typeof originalTypeEvent !== 'string' || !element) {\n return;\n }\n\n var _normalizeParams2 = normalizeParams(originalTypeEvent, handler, delegationFn),\n delegation = _normalizeParams2[0],\n originalHandler = _normalizeParams2[1],\n typeEvent = _normalizeParams2[2];\n\n var inNamespace = typeEvent !== originalTypeEvent;\n var events = getEvent(element);\n var isNamespace = originalTypeEvent.startsWith('.');\n\n if (typeof originalHandler !== 'undefined') {\n // Simplest case: handler is passed, remove that listener ONLY.\n if (!events || !events[typeEvent]) {\n return;\n }\n\n removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null);\n return;\n }\n\n if (isNamespace) {\n Object.keys(events).forEach(function (elementEvent) {\n removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));\n });\n }\n\n var storeElementEvent = events[typeEvent] || {};\n Object.keys(storeElementEvent).forEach(function (keyHandlers) {\n var handlerKey = keyHandlers.replace(stripUidRegex, '');\n\n if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n var event = storeElementEvent[keyHandlers];\n removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector);\n }\n });\n },\n trigger: function trigger(element, event, args) {\n if (typeof event !== 'string' || !element) {\n return null;\n }\n\n var $ = getjQuery();\n var typeEvent = event.replace(stripNameRegex, '');\n var inNamespace = event !== typeEvent;\n var isNative = nativeEvents.has(typeEvent);\n var jQueryEvent;\n var bubbles = true;\n var nativeDispatch = true;\n var defaultPrevented = false;\n var evt = null;\n\n if (inNamespace && $) {\n jQueryEvent = $.Event(event, args);\n $(element).trigger(jQueryEvent);\n bubbles = !jQueryEvent.isPropagationStopped();\n nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();\n defaultPrevented = jQueryEvent.isDefaultPrevented();\n }\n\n if (isNative) {\n evt = document.createEvent('HTMLEvents');\n evt.initEvent(typeEvent, bubbles, true);\n } else {\n evt = new CustomEvent(event, {\n bubbles: bubbles,\n cancelable: true\n });\n } // merge custom information in our event\n\n\n if (typeof args !== 'undefined') {\n Object.keys(args).forEach(function (key) {\n Object.defineProperty(evt, key, {\n get: function get() {\n return args[key];\n }\n });\n });\n }\n\n if (defaultPrevented) {\n evt.preventDefault();\n }\n\n if (nativeDispatch) {\n element.dispatchEvent(evt);\n }\n\n if (evt.defaultPrevented && typeof jQueryEvent !== 'undefined') {\n jQueryEvent.preventDefault();\n }\n\n return evt;\n }\n};\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar VERSION = '5.0.0-beta1';\n\nvar BaseComponent = /*#__PURE__*/function () {\n function BaseComponent(element) {\n if (!element) {\n return;\n }\n\n this._element = element;\n Data.setData(element, this.constructor.DATA_KEY, this);\n }\n\n var _proto = BaseComponent.prototype;\n\n _proto.dispose = function dispose() {\n Data.removeData(this._element, this.constructor.DATA_KEY);\n this._element = null;\n }\n /** Static */\n ;\n\n BaseComponent.getInstance = function getInstance(element) {\n return Data.getData(element, this.DATA_KEY);\n };\n\n _createClass(BaseComponent, null, [{\n key: \"VERSION\",\n get: function get() {\n return VERSION;\n }\n }]);\n\n return BaseComponent;\n}();\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME = 'alert';\nvar DATA_KEY = 'bs.alert';\nvar EVENT_KEY = \".\" + DATA_KEY;\nvar DATA_API_KEY = '.data-api';\nvar SELECTOR_DISMISS = '[data-bs-dismiss=\"alert\"]';\nvar EVENT_CLOSE = \"close\" + EVENT_KEY;\nvar EVENT_CLOSED = \"closed\" + EVENT_KEY;\nvar EVENT_CLICK_DATA_API = \"click\" + EVENT_KEY + DATA_API_KEY;\nvar CLASSNAME_ALERT = 'alert';\nvar CLASSNAME_FADE = 'fade';\nvar CLASSNAME_SHOW = 'show';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Alert = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Alert, _BaseComponent);\n\n function Alert() {\n return _BaseComponent.apply(this, arguments) || this;\n }\n\n var _proto = Alert.prototype;\n\n // Public\n _proto.close = function close(element) {\n var rootElement = element ? this._getRootElement(element) : this._element;\n\n var customEvent = this._triggerCloseEvent(rootElement);\n\n if (customEvent === null || customEvent.defaultPrevented) {\n return;\n }\n\n this._removeElement(rootElement);\n } // Private\n ;\n\n _proto._getRootElement = function _getRootElement(element) {\n return getElementFromSelector(element) || element.closest(\".\" + CLASSNAME_ALERT);\n };\n\n _proto._triggerCloseEvent = function _triggerCloseEvent(element) {\n return EventHandler.trigger(element, EVENT_CLOSE);\n };\n\n _proto._removeElement = function _removeElement(element) {\n var _this = this;\n\n element.classList.remove(CLASSNAME_SHOW);\n\n if (!element.classList.contains(CLASSNAME_FADE)) {\n this._destroyElement(element);\n\n return;\n }\n\n var transitionDuration = getTransitionDurationFromElement(element);\n EventHandler.one(element, TRANSITION_END, function () {\n return _this._destroyElement(element);\n });\n emulateTransitionEnd(element, transitionDuration);\n };\n\n _proto._destroyElement = function _destroyElement(element) {\n if (element.parentNode) {\n element.parentNode.removeChild(element);\n }\n\n EventHandler.trigger(element, EVENT_CLOSED);\n } // Static\n ;\n\n Alert.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n var data = Data.getData(this, DATA_KEY);\n\n if (!data) {\n data = new Alert(this);\n }\n\n if (config === 'close') {\n data[config](this);\n }\n });\n };\n\n Alert.handleDismiss = function handleDismiss(alertInstance) {\n return function (event) {\n if (event) {\n event.preventDefault();\n }\n\n alertInstance.close(this);\n };\n };\n\n _createClass(Alert, null, [{\n key: \"DATA_KEY\",\n // Getters\n get: function get() {\n return DATA_KEY;\n }\n }]);\n\n return Alert;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DISMISS, Alert.handleDismiss(new Alert()));\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Alert to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME];\n $.fn[NAME] = Alert.jQueryInterface;\n $.fn[NAME].Constructor = Alert;\n\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT;\n return Alert.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$1 = 'button';\nvar DATA_KEY$1 = 'bs.button';\nvar EVENT_KEY$1 = \".\" + DATA_KEY$1;\nvar DATA_API_KEY$1 = '.data-api';\nvar CLASS_NAME_ACTIVE = 'active';\nvar SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"button\"]';\nvar EVENT_CLICK_DATA_API$1 = \"click\" + EVENT_KEY$1 + DATA_API_KEY$1;\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Button = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Button, _BaseComponent);\n\n function Button() {\n return _BaseComponent.apply(this, arguments) || this;\n }\n\n var _proto = Button.prototype;\n\n // Public\n _proto.toggle = function toggle() {\n // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\n this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE));\n } // Static\n ;\n\n Button.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n var data = Data.getData(this, DATA_KEY$1);\n\n if (!data) {\n data = new Button(this);\n }\n\n if (config === 'toggle') {\n data[config]();\n }\n });\n };\n\n _createClass(Button, null, [{\n key: \"DATA_KEY\",\n // Getters\n get: function get() {\n return DATA_KEY$1;\n }\n }]);\n\n return Button;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE, function (event) {\n event.preventDefault();\n var button = event.target.closest(SELECTOR_DATA_TOGGLE);\n var data = Data.getData(button, DATA_KEY$1);\n\n if (!data) {\n data = new Button(button);\n }\n\n data.toggle();\n});\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Button to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$1];\n $.fn[NAME$1] = Button.jQueryInterface;\n $.fn[NAME$1].Constructor = Button;\n\n $.fn[NAME$1].noConflict = function () {\n $.fn[NAME$1] = JQUERY_NO_CONFLICT;\n return Button.jQueryInterface;\n };\n }\n});\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): dom/manipulator.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\nfunction normalizeData(val) {\n if (val === 'true') {\n return true;\n }\n\n if (val === 'false') {\n return false;\n }\n\n if (val === Number(val).toString()) {\n return Number(val);\n }\n\n if (val === '' || val === 'null') {\n return null;\n }\n\n return val;\n}\n\nfunction normalizeDataKey(key) {\n return key.replace(/[A-Z]/g, function (chr) {\n return \"-\" + chr.toLowerCase();\n });\n}\n\nvar Manipulator = {\n setDataAttribute: function setDataAttribute(element, key, value) {\n element.setAttribute(\"data-bs-\" + normalizeDataKey(key), value);\n },\n removeDataAttribute: function removeDataAttribute(element, key) {\n element.removeAttribute(\"data-bs-\" + normalizeDataKey(key));\n },\n getDataAttributes: function getDataAttributes(element) {\n if (!element) {\n return {};\n }\n\n var attributes = {};\n Object.keys(element.dataset).filter(function (key) {\n return key.startsWith('bs');\n }).forEach(function (key) {\n var pureKey = key.replace(/^bs/, '');\n pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);\n attributes[pureKey] = normalizeData(element.dataset[key]);\n });\n return attributes;\n },\n getDataAttribute: function getDataAttribute(element, key) {\n return normalizeData(element.getAttribute(\"data-bs-\" + normalizeDataKey(key)));\n },\n offset: function offset(element) {\n var rect = element.getBoundingClientRect();\n return {\n top: rect.top + document.body.scrollTop,\n left: rect.left + document.body.scrollLeft\n };\n },\n position: function position(element) {\n return {\n top: element.offsetTop,\n left: element.offsetLeft\n };\n }\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): dom/selector-engine.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\nvar NODE_TEXT = 3;\nvar SelectorEngine = {\n matches: function matches(element, selector) {\n return element.matches(selector);\n },\n find: function find(selector, element) {\n var _ref;\n\n if (element === void 0) {\n element = document.documentElement;\n }\n\n return (_ref = []).concat.apply(_ref, Element.prototype.querySelectorAll.call(element, selector));\n },\n findOne: function findOne(selector, element) {\n if (element === void 0) {\n element = document.documentElement;\n }\n\n return Element.prototype.querySelector.call(element, selector);\n },\n children: function children(element, selector) {\n var _ref2;\n\n var children = (_ref2 = []).concat.apply(_ref2, element.children);\n\n return children.filter(function (child) {\n return child.matches(selector);\n });\n },\n parents: function parents(element, selector) {\n var parents = [];\n var ancestor = element.parentNode;\n\n while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) {\n if (this.matches(ancestor, selector)) {\n parents.push(ancestor);\n }\n\n ancestor = ancestor.parentNode;\n }\n\n return parents;\n },\n prev: function prev(element, selector) {\n var previous = element.previousElementSibling;\n\n while (previous) {\n if (previous.matches(selector)) {\n return [previous];\n }\n\n previous = previous.previousElementSibling;\n }\n\n return [];\n },\n next: function next(element, selector) {\n var next = element.nextElementSibling;\n\n while (next) {\n if (this.matches(next, selector)) {\n return [next];\n }\n\n next = next.nextElementSibling;\n }\n\n return [];\n }\n};\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$2 = 'carousel';\nvar DATA_KEY$2 = 'bs.carousel';\nvar EVENT_KEY$2 = \".\" + DATA_KEY$2;\nvar DATA_API_KEY$2 = '.data-api';\nvar ARROW_LEFT_KEY = 'ArrowLeft';\nvar ARROW_RIGHT_KEY = 'ArrowRight';\nvar TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch\n\nvar SWIPE_THRESHOLD = 40;\nvar Default = {\n interval: 5000,\n keyboard: true,\n slide: false,\n pause: 'hover',\n wrap: true,\n touch: true\n};\nvar DefaultType = {\n interval: '(number|boolean)',\n keyboard: 'boolean',\n slide: '(boolean|string)',\n pause: '(string|boolean)',\n wrap: 'boolean',\n touch: 'boolean'\n};\nvar DIRECTION_NEXT = 'next';\nvar DIRECTION_PREV = 'prev';\nvar DIRECTION_LEFT = 'left';\nvar DIRECTION_RIGHT = 'right';\nvar EVENT_SLIDE = \"slide\" + EVENT_KEY$2;\nvar EVENT_SLID = \"slid\" + EVENT_KEY$2;\nvar EVENT_KEYDOWN = \"keydown\" + EVENT_KEY$2;\nvar EVENT_MOUSEENTER = \"mouseenter\" + EVENT_KEY$2;\nvar EVENT_MOUSELEAVE = \"mouseleave\" + EVENT_KEY$2;\nvar EVENT_TOUCHSTART = \"touchstart\" + EVENT_KEY$2;\nvar EVENT_TOUCHMOVE = \"touchmove\" + EVENT_KEY$2;\nvar EVENT_TOUCHEND = \"touchend\" + EVENT_KEY$2;\nvar EVENT_POINTERDOWN = \"pointerdown\" + EVENT_KEY$2;\nvar EVENT_POINTERUP = \"pointerup\" + EVENT_KEY$2;\nvar EVENT_DRAG_START = \"dragstart\" + EVENT_KEY$2;\nvar EVENT_LOAD_DATA_API = \"load\" + EVENT_KEY$2 + DATA_API_KEY$2;\nvar EVENT_CLICK_DATA_API$2 = \"click\" + EVENT_KEY$2 + DATA_API_KEY$2;\nvar CLASS_NAME_CAROUSEL = 'carousel';\nvar CLASS_NAME_ACTIVE$1 = 'active';\nvar CLASS_NAME_SLIDE = 'slide';\nvar CLASS_NAME_END = 'carousel-item-end';\nvar CLASS_NAME_START = 'carousel-item-start';\nvar CLASS_NAME_NEXT = 'carousel-item-next';\nvar CLASS_NAME_PREV = 'carousel-item-prev';\nvar CLASS_NAME_POINTER_EVENT = 'pointer-event';\nvar SELECTOR_ACTIVE = '.active';\nvar SELECTOR_ACTIVE_ITEM = '.active.carousel-item';\nvar SELECTOR_ITEM = '.carousel-item';\nvar SELECTOR_ITEM_IMG = '.carousel-item img';\nvar SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev';\nvar SELECTOR_INDICATORS = '.carousel-indicators';\nvar SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]';\nvar SELECTOR_DATA_RIDE = '[data-bs-ride=\"carousel\"]';\nvar PointerType = {\n TOUCH: 'touch',\n PEN: 'pen'\n};\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Carousel = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Carousel, _BaseComponent);\n\n function Carousel(element, config) {\n var _this;\n\n _this = _BaseComponent.call(this, element) || this;\n _this._items = null;\n _this._interval = null;\n _this._activeElement = null;\n _this._isPaused = false;\n _this._isSliding = false;\n _this.touchTimeout = null;\n _this.touchStartX = 0;\n _this.touchDeltaX = 0;\n _this._config = _this._getConfig(config);\n _this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, _this._element);\n _this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0;\n _this._pointerEvent = Boolean(window.PointerEvent);\n\n _this._addEventListeners();\n\n return _this;\n } // Getters\n\n\n var _proto = Carousel.prototype;\n\n // Public\n _proto.next = function next() {\n if (!this._isSliding) {\n this._slide(DIRECTION_NEXT);\n }\n };\n\n _proto.nextWhenVisible = function nextWhenVisible() {\n // Don't call next when the page isn't visible\n // or the carousel or its parent isn't visible\n if (!document.hidden && isVisible(this._element)) {\n this.next();\n }\n };\n\n _proto.prev = function prev() {\n if (!this._isSliding) {\n this._slide(DIRECTION_PREV);\n }\n };\n\n _proto.pause = function pause(event) {\n if (!event) {\n this._isPaused = true;\n }\n\n if (SelectorEngine.findOne(SELECTOR_NEXT_PREV, this._element)) {\n triggerTransitionEnd(this._element);\n this.cycle(true);\n }\n\n clearInterval(this._interval);\n this._interval = null;\n };\n\n _proto.cycle = function cycle(event) {\n if (!event) {\n this._isPaused = false;\n }\n\n if (this._interval) {\n clearInterval(this._interval);\n this._interval = null;\n }\n\n if (this._config && this._config.interval && !this._isPaused) {\n this._updateInterval();\n\n this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval);\n }\n };\n\n _proto.to = function to(index) {\n var _this2 = this;\n\n this._activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\n\n var activeIndex = this._getItemIndex(this._activeElement);\n\n if (index > this._items.length - 1 || index < 0) {\n return;\n }\n\n if (this._isSliding) {\n EventHandler.one(this._element, EVENT_SLID, function () {\n return _this2.to(index);\n });\n return;\n }\n\n if (activeIndex === index) {\n this.pause();\n this.cycle();\n return;\n }\n\n var direction = index > activeIndex ? DIRECTION_NEXT : DIRECTION_PREV;\n\n this._slide(direction, this._items[index]);\n };\n\n _proto.dispose = function dispose() {\n _BaseComponent.prototype.dispose.call(this);\n\n EventHandler.off(this._element, EVENT_KEY$2);\n this._items = null;\n this._config = null;\n this._interval = null;\n this._isPaused = null;\n this._isSliding = null;\n this._activeElement = null;\n this._indicatorsElement = null;\n } // Private\n ;\n\n _proto._getConfig = function _getConfig(config) {\n config = _extends({}, Default, config);\n typeCheckConfig(NAME$2, config, DefaultType);\n return config;\n };\n\n _proto._handleSwipe = function _handleSwipe() {\n var absDeltax = Math.abs(this.touchDeltaX);\n\n if (absDeltax <= SWIPE_THRESHOLD) {\n return;\n }\n\n var direction = absDeltax / this.touchDeltaX;\n this.touchDeltaX = 0; // swipe left\n\n if (direction > 0) {\n this.prev();\n } // swipe right\n\n\n if (direction < 0) {\n this.next();\n }\n };\n\n _proto._addEventListeners = function _addEventListeners() {\n var _this3 = this;\n\n if (this._config.keyboard) {\n EventHandler.on(this._element, EVENT_KEYDOWN, function (event) {\n return _this3._keydown(event);\n });\n }\n\n if (this._config.pause === 'hover') {\n EventHandler.on(this._element, EVENT_MOUSEENTER, function (event) {\n return _this3.pause(event);\n });\n EventHandler.on(this._element, EVENT_MOUSELEAVE, function (event) {\n return _this3.cycle(event);\n });\n }\n\n if (this._config.touch && this._touchSupported) {\n this._addTouchEventListeners();\n }\n };\n\n _proto._addTouchEventListeners = function _addTouchEventListeners() {\n var _this4 = this;\n\n var start = function start(event) {\n if (_this4._pointerEvent && PointerType[event.pointerType.toUpperCase()]) {\n _this4.touchStartX = event.clientX;\n } else if (!_this4._pointerEvent) {\n _this4.touchStartX = event.touches[0].clientX;\n }\n };\n\n var move = function move(event) {\n // ensure swiping with one touch and not pinching\n if (event.touches && event.touches.length > 1) {\n _this4.touchDeltaX = 0;\n } else {\n _this4.touchDeltaX = event.touches[0].clientX - _this4.touchStartX;\n }\n };\n\n var end = function end(event) {\n if (_this4._pointerEvent && PointerType[event.pointerType.toUpperCase()]) {\n _this4.touchDeltaX = event.clientX - _this4.touchStartX;\n }\n\n _this4._handleSwipe();\n\n if (_this4._config.pause === 'hover') {\n // If it's a touch-enabled device, mouseenter/leave are fired as\n // part of the mouse compatibility events on first tap - the carousel\n // would stop cycling until user tapped out of it;\n // here, we listen for touchend, explicitly pause the carousel\n // (as if it's the second time we tap on it, mouseenter compat event\n // is NOT fired) and after a timeout (to allow for mouse compatibility\n // events to fire) we explicitly restart cycling\n _this4.pause();\n\n if (_this4.touchTimeout) {\n clearTimeout(_this4.touchTimeout);\n }\n\n _this4.touchTimeout = setTimeout(function (event) {\n return _this4.cycle(event);\n }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval);\n }\n };\n\n SelectorEngine.find(SELECTOR_ITEM_IMG, this._element).forEach(function (itemImg) {\n EventHandler.on(itemImg, EVENT_DRAG_START, function (e) {\n return e.preventDefault();\n });\n });\n\n if (this._pointerEvent) {\n EventHandler.on(this._element, EVENT_POINTERDOWN, function (event) {\n return start(event);\n });\n EventHandler.on(this._element, EVENT_POINTERUP, function (event) {\n return end(event);\n });\n\n this._element.classList.add(CLASS_NAME_POINTER_EVENT);\n } else {\n EventHandler.on(this._element, EVENT_TOUCHSTART, function (event) {\n return start(event);\n });\n EventHandler.on(this._element, EVENT_TOUCHMOVE, function (event) {\n return move(event);\n });\n EventHandler.on(this._element, EVENT_TOUCHEND, function (event) {\n return end(event);\n });\n }\n };\n\n _proto._keydown = function _keydown(event) {\n if (/input|textarea/i.test(event.target.tagName)) {\n return;\n }\n\n switch (event.key) {\n case ARROW_LEFT_KEY:\n event.preventDefault();\n this.prev();\n break;\n\n case ARROW_RIGHT_KEY:\n event.preventDefault();\n this.next();\n break;\n }\n };\n\n _proto._getItemIndex = function _getItemIndex(element) {\n this._items = element && element.parentNode ? SelectorEngine.find(SELECTOR_ITEM, element.parentNode) : [];\n return this._items.indexOf(element);\n };\n\n _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {\n var isNextDirection = direction === DIRECTION_NEXT;\n var isPrevDirection = direction === DIRECTION_PREV;\n\n var activeIndex = this._getItemIndex(activeElement);\n\n var lastItemIndex = this._items.length - 1;\n var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;\n\n if (isGoingToWrap && !this._config.wrap) {\n return activeElement;\n }\n\n var delta = direction === DIRECTION_PREV ? -1 : 1;\n var itemIndex = (activeIndex + delta) % this._items.length;\n return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];\n };\n\n _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {\n var targetIndex = this._getItemIndex(relatedTarget);\n\n var fromIndex = this._getItemIndex(SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element));\n\n return EventHandler.trigger(this._element, EVENT_SLIDE, {\n relatedTarget: relatedTarget,\n direction: eventDirectionName,\n from: fromIndex,\n to: targetIndex\n });\n };\n\n _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {\n if (this._indicatorsElement) {\n var indicators = SelectorEngine.find(SELECTOR_ACTIVE, this._indicatorsElement);\n\n for (var i = 0; i < indicators.length; i++) {\n indicators[i].classList.remove(CLASS_NAME_ACTIVE$1);\n }\n\n var nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)];\n\n if (nextIndicator) {\n nextIndicator.classList.add(CLASS_NAME_ACTIVE$1);\n }\n }\n };\n\n _proto._updateInterval = function _updateInterval() {\n var element = this._activeElement || SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\n\n if (!element) {\n return;\n }\n\n var elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10);\n\n if (elementInterval) {\n this._config.defaultInterval = this._config.defaultInterval || this._config.interval;\n this._config.interval = elementInterval;\n } else {\n this._config.interval = this._config.defaultInterval || this._config.interval;\n }\n };\n\n _proto._slide = function _slide(direction, element) {\n var _this5 = this;\n\n var activeElement = SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\n\n var activeElementIndex = this._getItemIndex(activeElement);\n\n var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);\n\n var nextElementIndex = this._getItemIndex(nextElement);\n\n var isCycling = Boolean(this._interval);\n var directionalClassName;\n var orderClassName;\n var eventDirectionName;\n\n if (direction === DIRECTION_NEXT) {\n directionalClassName = CLASS_NAME_START;\n orderClassName = CLASS_NAME_NEXT;\n eventDirectionName = DIRECTION_LEFT;\n } else {\n directionalClassName = CLASS_NAME_END;\n orderClassName = CLASS_NAME_PREV;\n eventDirectionName = DIRECTION_RIGHT;\n }\n\n if (nextElement && nextElement.classList.contains(CLASS_NAME_ACTIVE$1)) {\n this._isSliding = false;\n return;\n }\n\n var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);\n\n if (slideEvent.defaultPrevented) {\n return;\n }\n\n if (!activeElement || !nextElement) {\n // Some weirdness is happening, so we bail\n return;\n }\n\n this._isSliding = true;\n\n if (isCycling) {\n this.pause();\n }\n\n this._setActiveIndicatorElement(nextElement);\n\n this._activeElement = nextElement;\n\n if (this._element.classList.contains(CLASS_NAME_SLIDE)) {\n nextElement.classList.add(orderClassName);\n reflow(nextElement);\n activeElement.classList.add(directionalClassName);\n nextElement.classList.add(directionalClassName);\n var transitionDuration = getTransitionDurationFromElement(activeElement);\n EventHandler.one(activeElement, TRANSITION_END, function () {\n nextElement.classList.remove(directionalClassName, orderClassName);\n nextElement.classList.add(CLASS_NAME_ACTIVE$1);\n activeElement.classList.remove(CLASS_NAME_ACTIVE$1, orderClassName, directionalClassName);\n _this5._isSliding = false;\n setTimeout(function () {\n EventHandler.trigger(_this5._element, EVENT_SLID, {\n relatedTarget: nextElement,\n direction: eventDirectionName,\n from: activeElementIndex,\n to: nextElementIndex\n });\n }, 0);\n });\n emulateTransitionEnd(activeElement, transitionDuration);\n } else {\n activeElement.classList.remove(CLASS_NAME_ACTIVE$1);\n nextElement.classList.add(CLASS_NAME_ACTIVE$1);\n this._isSliding = false;\n EventHandler.trigger(this._element, EVENT_SLID, {\n relatedTarget: nextElement,\n direction: eventDirectionName,\n from: activeElementIndex,\n to: nextElementIndex\n });\n }\n\n if (isCycling) {\n this.cycle();\n }\n } // Static\n ;\n\n Carousel.carouselInterface = function carouselInterface(element, config) {\n var data = Data.getData(element, DATA_KEY$2);\n\n var _config = _extends({}, Default, Manipulator.getDataAttributes(element));\n\n if (typeof config === 'object') {\n _config = _extends({}, _config, config);\n }\n\n var action = typeof config === 'string' ? config : _config.slide;\n\n if (!data) {\n data = new Carousel(element, _config);\n }\n\n if (typeof config === 'number') {\n data.to(config);\n } else if (typeof action === 'string') {\n if (typeof data[action] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + action + \"\\\"\");\n }\n\n data[action]();\n } else if (_config.interval && _config.ride) {\n data.pause();\n data.cycle();\n }\n };\n\n Carousel.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n Carousel.carouselInterface(this, config);\n });\n };\n\n Carousel.dataApiClickHandler = function dataApiClickHandler(event) {\n var target = getElementFromSelector(this);\n\n if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\n return;\n }\n\n var config = _extends({}, Manipulator.getDataAttributes(target), Manipulator.getDataAttributes(this));\n\n var slideIndex = this.getAttribute('data-bs-slide-to');\n\n if (slideIndex) {\n config.interval = false;\n }\n\n Carousel.carouselInterface(target, config);\n\n if (slideIndex) {\n Data.getData(target, DATA_KEY$2).to(slideIndex);\n }\n\n event.preventDefault();\n };\n\n _createClass(Carousel, null, [{\n key: \"Default\",\n get: function get() {\n return Default;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$2;\n }\n }]);\n\n return Carousel;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_SLIDE, Carousel.dataApiClickHandler);\nEventHandler.on(window, EVENT_LOAD_DATA_API, function () {\n var carousels = SelectorEngine.find(SELECTOR_DATA_RIDE);\n\n for (var i = 0, len = carousels.length; i < len; i++) {\n Carousel.carouselInterface(carousels[i], Data.getData(carousels[i], DATA_KEY$2));\n }\n});\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Carousel to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$2];\n $.fn[NAME$2] = Carousel.jQueryInterface;\n $.fn[NAME$2].Constructor = Carousel;\n\n $.fn[NAME$2].noConflict = function () {\n $.fn[NAME$2] = JQUERY_NO_CONFLICT;\n return Carousel.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$3 = 'collapse';\nvar DATA_KEY$3 = 'bs.collapse';\nvar EVENT_KEY$3 = \".\" + DATA_KEY$3;\nvar DATA_API_KEY$3 = '.data-api';\nvar Default$1 = {\n toggle: true,\n parent: ''\n};\nvar DefaultType$1 = {\n toggle: 'boolean',\n parent: '(string|element)'\n};\nvar EVENT_SHOW = \"show\" + EVENT_KEY$3;\nvar EVENT_SHOWN = \"shown\" + EVENT_KEY$3;\nvar EVENT_HIDE = \"hide\" + EVENT_KEY$3;\nvar EVENT_HIDDEN = \"hidden\" + EVENT_KEY$3;\nvar EVENT_CLICK_DATA_API$3 = \"click\" + EVENT_KEY$3 + DATA_API_KEY$3;\nvar CLASS_NAME_SHOW = 'show';\nvar CLASS_NAME_COLLAPSE = 'collapse';\nvar CLASS_NAME_COLLAPSING = 'collapsing';\nvar CLASS_NAME_COLLAPSED = 'collapsed';\nvar WIDTH = 'width';\nvar HEIGHT = 'height';\nvar SELECTOR_ACTIVES = '.show, .collapsing';\nvar SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle=\"collapse\"]';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Collapse = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Collapse, _BaseComponent);\n\n function Collapse(element, config) {\n var _this;\n\n _this = _BaseComponent.call(this, element) || this;\n _this._isTransitioning = false;\n _this._config = _this._getConfig(config);\n _this._triggerArray = SelectorEngine.find(SELECTOR_DATA_TOGGLE$1 + \"[href=\\\"#\" + element.id + \"\\\"],\" + (SELECTOR_DATA_TOGGLE$1 + \"[data-bs-target=\\\"#\" + element.id + \"\\\"]\"));\n var toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$1);\n\n for (var i = 0, len = toggleList.length; i < len; i++) {\n var elem = toggleList[i];\n var selector = getSelectorFromElement(elem);\n var filterElement = SelectorEngine.find(selector).filter(function (foundElem) {\n return foundElem === element;\n });\n\n if (selector !== null && filterElement.length) {\n _this._selector = selector;\n\n _this._triggerArray.push(elem);\n }\n }\n\n _this._parent = _this._config.parent ? _this._getParent() : null;\n\n if (!_this._config.parent) {\n _this._addAriaAndCollapsedClass(_this._element, _this._triggerArray);\n }\n\n if (_this._config.toggle) {\n _this.toggle();\n }\n\n return _this;\n } // Getters\n\n\n var _proto = Collapse.prototype;\n\n // Public\n _proto.toggle = function toggle() {\n if (this._element.classList.contains(CLASS_NAME_SHOW)) {\n this.hide();\n } else {\n this.show();\n }\n };\n\n _proto.show = function show() {\n var _this2 = this;\n\n if (this._isTransitioning || this._element.classList.contains(CLASS_NAME_SHOW)) {\n return;\n }\n\n var actives;\n var activesData;\n\n if (this._parent) {\n actives = SelectorEngine.find(SELECTOR_ACTIVES, this._parent).filter(function (elem) {\n if (typeof _this2._config.parent === 'string') {\n return elem.getAttribute('data-bs-parent') === _this2._config.parent;\n }\n\n return elem.classList.contains(CLASS_NAME_COLLAPSE);\n });\n\n if (actives.length === 0) {\n actives = null;\n }\n }\n\n var container = SelectorEngine.findOne(this._selector);\n\n if (actives) {\n var tempActiveData = actives.find(function (elem) {\n return container !== elem;\n });\n activesData = tempActiveData ? Data.getData(tempActiveData, DATA_KEY$3) : null;\n\n if (activesData && activesData._isTransitioning) {\n return;\n }\n }\n\n var startEvent = EventHandler.trigger(this._element, EVENT_SHOW);\n\n if (startEvent.defaultPrevented) {\n return;\n }\n\n if (actives) {\n actives.forEach(function (elemActive) {\n if (container !== elemActive) {\n Collapse.collapseInterface(elemActive, 'hide');\n }\n\n if (!activesData) {\n Data.setData(elemActive, DATA_KEY$3, null);\n }\n });\n }\n\n var dimension = this._getDimension();\n\n this._element.classList.remove(CLASS_NAME_COLLAPSE);\n\n this._element.classList.add(CLASS_NAME_COLLAPSING);\n\n this._element.style[dimension] = 0;\n\n if (this._triggerArray.length) {\n this._triggerArray.forEach(function (element) {\n element.classList.remove(CLASS_NAME_COLLAPSED);\n element.setAttribute('aria-expanded', true);\n });\n }\n\n this.setTransitioning(true);\n\n var complete = function complete() {\n _this2._element.classList.remove(CLASS_NAME_COLLAPSING);\n\n _this2._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\n\n _this2._element.style[dimension] = '';\n\n _this2.setTransitioning(false);\n\n EventHandler.trigger(_this2._element, EVENT_SHOWN);\n };\n\n var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\n var scrollSize = \"scroll\" + capitalizedDimension;\n var transitionDuration = getTransitionDurationFromElement(this._element);\n EventHandler.one(this._element, TRANSITION_END, complete);\n emulateTransitionEnd(this._element, transitionDuration);\n this._element.style[dimension] = this._element[scrollSize] + \"px\";\n };\n\n _proto.hide = function hide() {\n var _this3 = this;\n\n if (this._isTransitioning || !this._element.classList.contains(CLASS_NAME_SHOW)) {\n return;\n }\n\n var startEvent = EventHandler.trigger(this._element, EVENT_HIDE);\n\n if (startEvent.defaultPrevented) {\n return;\n }\n\n var dimension = this._getDimension();\n\n this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + \"px\";\n reflow(this._element);\n\n this._element.classList.add(CLASS_NAME_COLLAPSING);\n\n this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW);\n\n var triggerArrayLength = this._triggerArray.length;\n\n if (triggerArrayLength > 0) {\n for (var i = 0; i < triggerArrayLength; i++) {\n var trigger = this._triggerArray[i];\n var elem = getElementFromSelector(trigger);\n\n if (elem && !elem.classList.contains(CLASS_NAME_SHOW)) {\n trigger.classList.add(CLASS_NAME_COLLAPSED);\n trigger.setAttribute('aria-expanded', false);\n }\n }\n }\n\n this.setTransitioning(true);\n\n var complete = function complete() {\n _this3.setTransitioning(false);\n\n _this3._element.classList.remove(CLASS_NAME_COLLAPSING);\n\n _this3._element.classList.add(CLASS_NAME_COLLAPSE);\n\n EventHandler.trigger(_this3._element, EVENT_HIDDEN);\n };\n\n this._element.style[dimension] = '';\n var transitionDuration = getTransitionDurationFromElement(this._element);\n EventHandler.one(this._element, TRANSITION_END, complete);\n emulateTransitionEnd(this._element, transitionDuration);\n };\n\n _proto.setTransitioning = function setTransitioning(isTransitioning) {\n this._isTransitioning = isTransitioning;\n };\n\n _proto.dispose = function dispose() {\n _BaseComponent.prototype.dispose.call(this);\n\n this._config = null;\n this._parent = null;\n this._triggerArray = null;\n this._isTransitioning = null;\n } // Private\n ;\n\n _proto._getConfig = function _getConfig(config) {\n config = _extends({}, Default$1, config);\n config.toggle = Boolean(config.toggle); // Coerce string values\n\n typeCheckConfig(NAME$3, config, DefaultType$1);\n return config;\n };\n\n _proto._getDimension = function _getDimension() {\n return this._element.classList.contains(WIDTH) ? WIDTH : HEIGHT;\n };\n\n _proto._getParent = function _getParent() {\n var _this4 = this;\n\n var parent = this._config.parent;\n\n if (isElement(parent)) {\n // it's a jQuery object\n if (typeof parent.jquery !== 'undefined' || typeof parent[0] !== 'undefined') {\n parent = parent[0];\n }\n } else {\n parent = SelectorEngine.findOne(parent);\n }\n\n var selector = SELECTOR_DATA_TOGGLE$1 + \"[data-bs-parent=\\\"\" + parent + \"\\\"]\";\n SelectorEngine.find(selector, parent).forEach(function (element) {\n var selected = getElementFromSelector(element);\n\n _this4._addAriaAndCollapsedClass(selected, [element]);\n });\n return parent;\n };\n\n _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {\n if (!element || !triggerArray.length) {\n return;\n }\n\n var isOpen = element.classList.contains(CLASS_NAME_SHOW);\n triggerArray.forEach(function (elem) {\n if (isOpen) {\n elem.classList.remove(CLASS_NAME_COLLAPSED);\n } else {\n elem.classList.add(CLASS_NAME_COLLAPSED);\n }\n\n elem.setAttribute('aria-expanded', isOpen);\n });\n } // Static\n ;\n\n Collapse.collapseInterface = function collapseInterface(element, config) {\n var data = Data.getData(element, DATA_KEY$3);\n\n var _config = _extends({}, Default$1, Manipulator.getDataAttributes(element), typeof config === 'object' && config ? config : {});\n\n if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) {\n _config.toggle = false;\n }\n\n if (!data) {\n data = new Collapse(element, _config);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n }\n\n data[config]();\n }\n };\n\n Collapse.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n Collapse.collapseInterface(this, config);\n });\n };\n\n _createClass(Collapse, null, [{\n key: \"Default\",\n get: function get() {\n return Default$1;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$3;\n }\n }]);\n\n return Collapse;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$1, function (event) {\n // preventDefault only for elements (which change the URL) not inside the collapsible element\n if (event.target.tagName === 'A') {\n event.preventDefault();\n }\n\n var triggerData = Manipulator.getDataAttributes(this);\n var selector = getSelectorFromElement(this);\n var selectorElements = SelectorEngine.find(selector);\n selectorElements.forEach(function (element) {\n var data = Data.getData(element, DATA_KEY$3);\n var config;\n\n if (data) {\n // update parent attribute\n if (data._parent === null && typeof triggerData.parent === 'string') {\n data._config.parent = triggerData.parent;\n data._parent = data._getParent();\n }\n\n config = 'toggle';\n } else {\n config = triggerData;\n }\n\n Collapse.collapseInterface(element, config);\n });\n});\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Collapse to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$3];\n $.fn[NAME$3] = Collapse.jQueryInterface;\n $.fn[NAME$3].Constructor = Collapse;\n\n $.fn[NAME$3].noConflict = function () {\n $.fn[NAME$3] = JQUERY_NO_CONFLICT;\n return Collapse.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$4 = 'dropdown';\nvar DATA_KEY$4 = 'bs.dropdown';\nvar EVENT_KEY$4 = \".\" + DATA_KEY$4;\nvar DATA_API_KEY$4 = '.data-api';\nvar ESCAPE_KEY = 'Escape';\nvar SPACE_KEY = 'Space';\nvar TAB_KEY = 'Tab';\nvar ARROW_UP_KEY = 'ArrowUp';\nvar ARROW_DOWN_KEY = 'ArrowDown';\nvar RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button\n\nvar REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEY + \"|\" + ARROW_DOWN_KEY + \"|\" + ESCAPE_KEY);\nvar EVENT_HIDE$1 = \"hide\" + EVENT_KEY$4;\nvar EVENT_HIDDEN$1 = \"hidden\" + EVENT_KEY$4;\nvar EVENT_SHOW$1 = \"show\" + EVENT_KEY$4;\nvar EVENT_SHOWN$1 = \"shown\" + EVENT_KEY$4;\nvar EVENT_CLICK = \"click\" + EVENT_KEY$4;\nvar EVENT_CLICK_DATA_API$4 = \"click\" + EVENT_KEY$4 + DATA_API_KEY$4;\nvar EVENT_KEYDOWN_DATA_API = \"keydown\" + EVENT_KEY$4 + DATA_API_KEY$4;\nvar EVENT_KEYUP_DATA_API = \"keyup\" + EVENT_KEY$4 + DATA_API_KEY$4;\nvar CLASS_NAME_DISABLED = 'disabled';\nvar CLASS_NAME_SHOW$1 = 'show';\nvar CLASS_NAME_DROPUP = 'dropup';\nvar CLASS_NAME_DROPEND = 'dropend';\nvar CLASS_NAME_DROPSTART = 'dropstart';\nvar CLASS_NAME_NAVBAR = 'navbar';\nvar SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle=\"dropdown\"]';\nvar SELECTOR_FORM_CHILD = '.dropdown form';\nvar SELECTOR_MENU = '.dropdown-menu';\nvar SELECTOR_NAVBAR_NAV = '.navbar-nav';\nvar SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';\nvar PLACEMENT_TOP = isRTL ? 'top-end' : 'top-start';\nvar PLACEMENT_TOPEND = isRTL ? 'top-start' : 'top-end';\nvar PLACEMENT_BOTTOM = isRTL ? 'bottom-end' : 'bottom-start';\nvar PLACEMENT_BOTTOMEND = isRTL ? 'bottom-start' : 'bottom-end';\nvar PLACEMENT_RIGHT = isRTL ? 'left-start' : 'right-start';\nvar PLACEMENT_LEFT = isRTL ? 'right-start' : 'left-start';\nvar Default$2 = {\n offset: 0,\n flip: true,\n boundary: 'clippingParents',\n reference: 'toggle',\n display: 'dynamic',\n popperConfig: null\n};\nvar DefaultType$2 = {\n offset: '(number|string|function)',\n flip: 'boolean',\n boundary: '(string|element)',\n reference: '(string|element)',\n display: 'string',\n popperConfig: '(null|object)'\n};\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Dropdown = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Dropdown, _BaseComponent);\n\n function Dropdown(element, config) {\n var _this;\n\n _this = _BaseComponent.call(this, element) || this;\n _this._popper = null;\n _this._config = _this._getConfig(config);\n _this._menu = _this._getMenuElement();\n _this._inNavbar = _this._detectNavbar();\n\n _this._addEventListeners();\n\n return _this;\n } // Getters\n\n\n var _proto = Dropdown.prototype;\n\n // Public\n _proto.toggle = function toggle() {\n if (this._element.disabled || this._element.classList.contains(CLASS_NAME_DISABLED)) {\n return;\n }\n\n var isActive = this._element.classList.contains(CLASS_NAME_SHOW$1);\n\n Dropdown.clearMenus();\n\n if (isActive) {\n return;\n }\n\n this.show();\n };\n\n _proto.show = function show() {\n if (this._element.disabled || this._element.classList.contains(CLASS_NAME_DISABLED) || this._menu.classList.contains(CLASS_NAME_SHOW$1)) {\n return;\n }\n\n var parent = Dropdown.getParentFromElement(this._element);\n var relatedTarget = {\n relatedTarget: this._element\n };\n var showEvent = EventHandler.trigger(this._element, EVENT_SHOW$1, relatedTarget);\n\n if (showEvent.defaultPrevented) {\n return;\n } // Totally disable Popper for Dropdowns in Navbar\n\n\n if (!this._inNavbar) {\n if (typeof _popperjs_core__WEBPACK_IMPORTED_MODULE_0__ === 'undefined') {\n throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)');\n }\n\n var referenceElement = this._element;\n\n if (this._config.reference === 'parent') {\n referenceElement = parent;\n } else if (isElement(this._config.reference)) {\n referenceElement = this._config.reference; // Check if it's jQuery element\n\n if (typeof this._config.reference.jquery !== 'undefined') {\n referenceElement = this._config.reference[0];\n }\n }\n\n this._popper = Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_0__[\"createPopper\"])(referenceElement, this._menu, this._getPopperConfig());\n } // If this is a touch-enabled device we add extra\n // empty mouseover listeners to the body's immediate children;\n // only needed because of broken event delegation on iOS\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n\n\n if ('ontouchstart' in document.documentElement && !parent.closest(SELECTOR_NAVBAR_NAV)) {\n var _ref;\n\n (_ref = []).concat.apply(_ref, document.body.children).forEach(function (elem) {\n return EventHandler.on(elem, 'mouseover', null, noop());\n });\n }\n\n this._element.focus();\n\n this._element.setAttribute('aria-expanded', true);\n\n this._menu.classList.toggle(CLASS_NAME_SHOW$1);\n\n this._element.classList.toggle(CLASS_NAME_SHOW$1);\n\n EventHandler.trigger(parent, EVENT_SHOWN$1, relatedTarget);\n };\n\n _proto.hide = function hide() {\n if (this._element.disabled || this._element.classList.contains(CLASS_NAME_DISABLED) || !this._menu.classList.contains(CLASS_NAME_SHOW$1)) {\n return;\n }\n\n var parent = Dropdown.getParentFromElement(this._element);\n var relatedTarget = {\n relatedTarget: this._element\n };\n var hideEvent = EventHandler.trigger(parent, EVENT_HIDE$1, relatedTarget);\n\n if (hideEvent.defaultPrevented) {\n return;\n }\n\n if (this._popper) {\n this._popper.destroy();\n }\n\n this._menu.classList.toggle(CLASS_NAME_SHOW$1);\n\n this._element.classList.toggle(CLASS_NAME_SHOW$1);\n\n EventHandler.trigger(parent, EVENT_HIDDEN$1, relatedTarget);\n };\n\n _proto.dispose = function dispose() {\n _BaseComponent.prototype.dispose.call(this);\n\n EventHandler.off(this._element, EVENT_KEY$4);\n this._menu = null;\n\n if (this._popper) {\n this._popper.destroy();\n\n this._popper = null;\n }\n };\n\n _proto.update = function update() {\n this._inNavbar = this._detectNavbar();\n\n if (this._popper) {\n this._popper.update();\n }\n } // Private\n ;\n\n _proto._addEventListeners = function _addEventListeners() {\n var _this2 = this;\n\n EventHandler.on(this._element, EVENT_CLICK, function (event) {\n event.preventDefault();\n event.stopPropagation();\n\n _this2.toggle();\n });\n };\n\n _proto._getConfig = function _getConfig(config) {\n config = _extends({}, this.constructor.Default, Manipulator.getDataAttributes(this._element), config);\n typeCheckConfig(NAME$4, config, this.constructor.DefaultType);\n return config;\n };\n\n _proto._getMenuElement = function _getMenuElement() {\n return SelectorEngine.next(this._element, SELECTOR_MENU)[0];\n };\n\n _proto._getPlacement = function _getPlacement() {\n var parentDropdown = this._element.parentNode;\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\n return PLACEMENT_RIGHT;\n }\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\n return PLACEMENT_LEFT;\n } // We need to trim the value because custom properties can also include spaces\n\n\n var isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';\n\n if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\n return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;\n }\n\n return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;\n };\n\n _proto._detectNavbar = function _detectNavbar() {\n return this._element.closest(\".\" + CLASS_NAME_NAVBAR) !== null;\n };\n\n _proto._getPopperConfig = function _getPopperConfig() {\n var popperConfig = {\n placement: this._getPlacement(),\n modifiers: [{\n name: 'preventOverflow',\n options: {\n altBoundary: this._config.flip,\n rootBoundary: this._config.boundary\n }\n }]\n }; // Disable Popper if we have a static display\n\n if (this._config.display === 'static') {\n popperConfig.modifiers = [{\n name: 'applyStyles',\n enabled: false\n }];\n }\n\n return _extends({}, popperConfig, this._config.popperConfig);\n } // Static\n ;\n\n Dropdown.dropdownInterface = function dropdownInterface(element, config) {\n var data = Data.getData(element, DATA_KEY$4);\n\n var _config = typeof config === 'object' ? config : null;\n\n if (!data) {\n data = new Dropdown(element, _config);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n }\n\n data[config]();\n }\n };\n\n Dropdown.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n Dropdown.dropdownInterface(this, config);\n });\n };\n\n Dropdown.clearMenus = function clearMenus(event) {\n if (event && (event.button === RIGHT_MOUSE_BUTTON || event.type === 'keyup' && event.key !== TAB_KEY)) {\n return;\n }\n\n var toggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE$2);\n\n for (var i = 0, len = toggles.length; i < len; i++) {\n var parent = Dropdown.getParentFromElement(toggles[i]);\n var context = Data.getData(toggles[i], DATA_KEY$4);\n var relatedTarget = {\n relatedTarget: toggles[i]\n };\n\n if (event && event.type === 'click') {\n relatedTarget.clickEvent = event;\n }\n\n if (!context) {\n continue;\n }\n\n var dropdownMenu = context._menu;\n\n if (!toggles[i].classList.contains(CLASS_NAME_SHOW$1)) {\n continue;\n }\n\n if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.key === TAB_KEY) && dropdownMenu.contains(event.target)) {\n continue;\n }\n\n var hideEvent = EventHandler.trigger(parent, EVENT_HIDE$1, relatedTarget);\n\n if (hideEvent.defaultPrevented) {\n continue;\n } // If this is a touch-enabled device we remove the extra\n // empty mouseover listeners we added for iOS support\n\n\n if ('ontouchstart' in document.documentElement) {\n var _ref2;\n\n (_ref2 = []).concat.apply(_ref2, document.body.children).forEach(function (elem) {\n return EventHandler.off(elem, 'mouseover', null, noop());\n });\n }\n\n toggles[i].setAttribute('aria-expanded', 'false');\n\n if (context._popper) {\n context._popper.destroy();\n }\n\n dropdownMenu.classList.remove(CLASS_NAME_SHOW$1);\n toggles[i].classList.remove(CLASS_NAME_SHOW$1);\n EventHandler.trigger(parent, EVENT_HIDDEN$1, relatedTarget);\n }\n };\n\n Dropdown.getParentFromElement = function getParentFromElement(element) {\n return getElementFromSelector(element) || element.parentNode;\n };\n\n Dropdown.dataApiKeydownHandler = function dataApiKeydownHandler(event) {\n // If not input/textarea:\n // - And not a key in REGEXP_KEYDOWN => not a dropdown command\n // If input/textarea:\n // - If space key => not a dropdown command\n // - If key is other than escape\n // - If key is not up or down => not a dropdown command\n // - If trigger inside the menu => not a dropdown command\n if (/input|textarea/i.test(event.target.tagName) ? event.key === SPACE_KEY || event.key !== ESCAPE_KEY && (event.key !== ARROW_DOWN_KEY && event.key !== ARROW_UP_KEY || event.target.closest(SELECTOR_MENU)) : !REGEXP_KEYDOWN.test(event.key)) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n\n if (this.disabled || this.classList.contains(CLASS_NAME_DISABLED)) {\n return;\n }\n\n var parent = Dropdown.getParentFromElement(this);\n var isActive = this.classList.contains(CLASS_NAME_SHOW$1);\n\n if (event.key === ESCAPE_KEY) {\n var button = this.matches(SELECTOR_DATA_TOGGLE$2) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$2)[0];\n button.focus();\n Dropdown.clearMenus();\n return;\n }\n\n if (!isActive || event.key === SPACE_KEY) {\n Dropdown.clearMenus();\n return;\n }\n\n var items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, parent).filter(isVisible);\n\n if (!items.length) {\n return;\n }\n\n var index = items.indexOf(event.target); // Up\n\n if (event.key === ARROW_UP_KEY && index > 0) {\n index--;\n } // Down\n\n\n if (event.key === ARROW_DOWN_KEY && index < items.length - 1) {\n index++;\n } // index is -1 if the first keydown is an ArrowUp\n\n\n index = index === -1 ? 0 : index;\n items[index].focus();\n };\n\n _createClass(Dropdown, null, [{\n key: \"Default\",\n get: function get() {\n return Default$2;\n }\n }, {\n key: \"DefaultType\",\n get: function get() {\n return DefaultType$2;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$4;\n }\n }]);\n\n return Dropdown;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$2, Dropdown.dataApiKeydownHandler);\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler);\nEventHandler.on(document, EVENT_CLICK_DATA_API$4, Dropdown.clearMenus);\nEventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus);\nEventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$2, function (event) {\n event.preventDefault();\n event.stopPropagation();\n Dropdown.dropdownInterface(this, 'toggle');\n});\nEventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_FORM_CHILD, function (e) {\n return e.stopPropagation();\n});\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Dropdown to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$4];\n $.fn[NAME$4] = Dropdown.jQueryInterface;\n $.fn[NAME$4].Constructor = Dropdown;\n\n $.fn[NAME$4].noConflict = function () {\n $.fn[NAME$4] = JQUERY_NO_CONFLICT;\n return Dropdown.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$5 = 'modal';\nvar DATA_KEY$5 = 'bs.modal';\nvar EVENT_KEY$5 = \".\" + DATA_KEY$5;\nvar DATA_API_KEY$5 = '.data-api';\nvar ESCAPE_KEY$1 = 'Escape';\nvar Default$3 = {\n backdrop: true,\n keyboard: true,\n focus: true\n};\nvar DefaultType$3 = {\n backdrop: '(boolean|string)',\n keyboard: 'boolean',\n focus: 'boolean'\n};\nvar EVENT_HIDE$2 = \"hide\" + EVENT_KEY$5;\nvar EVENT_HIDE_PREVENTED = \"hidePrevented\" + EVENT_KEY$5;\nvar EVENT_HIDDEN$2 = \"hidden\" + EVENT_KEY$5;\nvar EVENT_SHOW$2 = \"show\" + EVENT_KEY$5;\nvar EVENT_SHOWN$2 = \"shown\" + EVENT_KEY$5;\nvar EVENT_FOCUSIN = \"focusin\" + EVENT_KEY$5;\nvar EVENT_RESIZE = \"resize\" + EVENT_KEY$5;\nvar EVENT_CLICK_DISMISS = \"click.dismiss\" + EVENT_KEY$5;\nvar EVENT_KEYDOWN_DISMISS = \"keydown.dismiss\" + EVENT_KEY$5;\nvar EVENT_MOUSEUP_DISMISS = \"mouseup.dismiss\" + EVENT_KEY$5;\nvar EVENT_MOUSEDOWN_DISMISS = \"mousedown.dismiss\" + EVENT_KEY$5;\nvar EVENT_CLICK_DATA_API$5 = \"click\" + EVENT_KEY$5 + DATA_API_KEY$5;\nvar CLASS_NAME_SCROLLBAR_MEASURER = 'modal-scrollbar-measure';\nvar CLASS_NAME_BACKDROP = 'modal-backdrop';\nvar CLASS_NAME_OPEN = 'modal-open';\nvar CLASS_NAME_FADE = 'fade';\nvar CLASS_NAME_SHOW$2 = 'show';\nvar CLASS_NAME_STATIC = 'modal-static';\nvar SELECTOR_DIALOG = '.modal-dialog';\nvar SELECTOR_MODAL_BODY = '.modal-body';\nvar SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle=\"modal\"]';\nvar SELECTOR_DATA_DISMISS = '[data-bs-dismiss=\"modal\"]';\nvar SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top';\nvar SELECTOR_STICKY_CONTENT = '.sticky-top';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Modal = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Modal, _BaseComponent);\n\n function Modal(element, config) {\n var _this;\n\n _this = _BaseComponent.call(this, element) || this;\n _this._config = _this._getConfig(config);\n _this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, element);\n _this._backdrop = null;\n _this._isShown = false;\n _this._isBodyOverflowing = false;\n _this._ignoreBackdropClick = false;\n _this._isTransitioning = false;\n _this._scrollbarWidth = 0;\n return _this;\n } // Getters\n\n\n var _proto = Modal.prototype;\n\n // Public\n _proto.toggle = function toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget);\n };\n\n _proto.show = function show(relatedTarget) {\n var _this2 = this;\n\n if (this._isShown || this._isTransitioning) {\n return;\n }\n\n if (this._element.classList.contains(CLASS_NAME_FADE)) {\n this._isTransitioning = true;\n }\n\n var showEvent = EventHandler.trigger(this._element, EVENT_SHOW$2, {\n relatedTarget: relatedTarget\n });\n\n if (this._isShown || showEvent.defaultPrevented) {\n return;\n }\n\n this._isShown = true;\n\n this._checkScrollbar();\n\n this._setScrollbar();\n\n this._adjustDialog();\n\n this._setEscapeEvent();\n\n this._setResizeEvent();\n\n EventHandler.on(this._element, EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, function (event) {\n return _this2.hide(event);\n });\n EventHandler.on(this._dialog, EVENT_MOUSEDOWN_DISMISS, function () {\n EventHandler.one(_this2._element, EVENT_MOUSEUP_DISMISS, function (event) {\n if (event.target === _this2._element) {\n _this2._ignoreBackdropClick = true;\n }\n });\n });\n\n this._showBackdrop(function () {\n return _this2._showElement(relatedTarget);\n });\n };\n\n _proto.hide = function hide(event) {\n var _this3 = this;\n\n if (event) {\n event.preventDefault();\n }\n\n if (!this._isShown || this._isTransitioning) {\n return;\n }\n\n var hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$2);\n\n if (hideEvent.defaultPrevented) {\n return;\n }\n\n this._isShown = false;\n\n var transition = this._element.classList.contains(CLASS_NAME_FADE);\n\n if (transition) {\n this._isTransitioning = true;\n }\n\n this._setEscapeEvent();\n\n this._setResizeEvent();\n\n EventHandler.off(document, EVENT_FOCUSIN);\n\n this._element.classList.remove(CLASS_NAME_SHOW$2);\n\n EventHandler.off(this._element, EVENT_CLICK_DISMISS);\n EventHandler.off(this._dialog, EVENT_MOUSEDOWN_DISMISS);\n\n if (transition) {\n var transitionDuration = getTransitionDurationFromElement(this._element);\n EventHandler.one(this._element, TRANSITION_END, function (event) {\n return _this3._hideModal(event);\n });\n emulateTransitionEnd(this._element, transitionDuration);\n } else {\n this._hideModal();\n }\n };\n\n _proto.dispose = function dispose() {\n [window, this._element, this._dialog].forEach(function (htmlElement) {\n return EventHandler.off(htmlElement, EVENT_KEY$5);\n });\n\n _BaseComponent.prototype.dispose.call(this);\n /**\n * `document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API`\n * Do not move `document` in `htmlElements` array\n * It will remove `EVENT_CLICK_DATA_API` event that should remain\n */\n\n\n EventHandler.off(document, EVENT_FOCUSIN);\n this._config = null;\n this._dialog = null;\n this._backdrop = null;\n this._isShown = null;\n this._isBodyOverflowing = null;\n this._ignoreBackdropClick = null;\n this._isTransitioning = null;\n this._scrollbarWidth = null;\n };\n\n _proto.handleUpdate = function handleUpdate() {\n this._adjustDialog();\n } // Private\n ;\n\n _proto._getConfig = function _getConfig(config) {\n config = _extends({}, Default$3, config);\n typeCheckConfig(NAME$5, config, DefaultType$3);\n return config;\n };\n\n _proto._showElement = function _showElement(relatedTarget) {\n var _this4 = this;\n\n var transition = this._element.classList.contains(CLASS_NAME_FADE);\n\n var modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog);\n\n if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n // Don't move modal's DOM position\n document.body.appendChild(this._element);\n }\n\n this._element.style.display = 'block';\n\n this._element.removeAttribute('aria-hidden');\n\n this._element.setAttribute('aria-modal', true);\n\n this._element.setAttribute('role', 'dialog');\n\n this._element.scrollTop = 0;\n\n if (modalBody) {\n modalBody.scrollTop = 0;\n }\n\n if (transition) {\n reflow(this._element);\n }\n\n this._element.classList.add(CLASS_NAME_SHOW$2);\n\n if (this._config.focus) {\n this._enforceFocus();\n }\n\n var transitionComplete = function transitionComplete() {\n if (_this4._config.focus) {\n _this4._element.focus();\n }\n\n _this4._isTransitioning = false;\n EventHandler.trigger(_this4._element, EVENT_SHOWN$2, {\n relatedTarget: relatedTarget\n });\n };\n\n if (transition) {\n var transitionDuration = getTransitionDurationFromElement(this._dialog);\n EventHandler.one(this._dialog, TRANSITION_END, transitionComplete);\n emulateTransitionEnd(this._dialog, transitionDuration);\n } else {\n transitionComplete();\n }\n };\n\n _proto._enforceFocus = function _enforceFocus() {\n var _this5 = this;\n\n EventHandler.off(document, EVENT_FOCUSIN); // guard against infinite focus loop\n\n EventHandler.on(document, EVENT_FOCUSIN, function (event) {\n if (document !== event.target && _this5._element !== event.target && !_this5._element.contains(event.target)) {\n _this5._element.focus();\n }\n });\n };\n\n _proto._setEscapeEvent = function _setEscapeEvent() {\n var _this6 = this;\n\n if (this._isShown) {\n EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, function (event) {\n if (_this6._config.keyboard && event.key === ESCAPE_KEY$1) {\n event.preventDefault();\n\n _this6.hide();\n } else if (!_this6._config.keyboard && event.key === ESCAPE_KEY$1) {\n _this6._triggerBackdropTransition();\n }\n });\n } else {\n EventHandler.off(this._element, EVENT_KEYDOWN_DISMISS);\n }\n };\n\n _proto._setResizeEvent = function _setResizeEvent() {\n var _this7 = this;\n\n if (this._isShown) {\n EventHandler.on(window, EVENT_RESIZE, function () {\n return _this7._adjustDialog();\n });\n } else {\n EventHandler.off(window, EVENT_RESIZE);\n }\n };\n\n _proto._hideModal = function _hideModal() {\n var _this8 = this;\n\n this._element.style.display = 'none';\n\n this._element.setAttribute('aria-hidden', true);\n\n this._element.removeAttribute('aria-modal');\n\n this._element.removeAttribute('role');\n\n this._isTransitioning = false;\n\n this._showBackdrop(function () {\n document.body.classList.remove(CLASS_NAME_OPEN);\n\n _this8._resetAdjustments();\n\n _this8._resetScrollbar();\n\n EventHandler.trigger(_this8._element, EVENT_HIDDEN$2);\n });\n };\n\n _proto._removeBackdrop = function _removeBackdrop() {\n this._backdrop.parentNode.removeChild(this._backdrop);\n\n this._backdrop = null;\n };\n\n _proto._showBackdrop = function _showBackdrop(callback) {\n var _this9 = this;\n\n var animate = this._element.classList.contains(CLASS_NAME_FADE) ? CLASS_NAME_FADE : '';\n\n if (this._isShown && this._config.backdrop) {\n this._backdrop = document.createElement('div');\n this._backdrop.className = CLASS_NAME_BACKDROP;\n\n if (animate) {\n this._backdrop.classList.add(animate);\n }\n\n document.body.appendChild(this._backdrop);\n EventHandler.on(this._element, EVENT_CLICK_DISMISS, function (event) {\n if (_this9._ignoreBackdropClick) {\n _this9._ignoreBackdropClick = false;\n return;\n }\n\n if (event.target !== event.currentTarget) {\n return;\n }\n\n if (_this9._config.backdrop === 'static') {\n _this9._triggerBackdropTransition();\n } else {\n _this9.hide();\n }\n });\n\n if (animate) {\n reflow(this._backdrop);\n }\n\n this._backdrop.classList.add(CLASS_NAME_SHOW$2);\n\n if (!animate) {\n callback();\n return;\n }\n\n var backdropTransitionDuration = getTransitionDurationFromElement(this._backdrop);\n EventHandler.one(this._backdrop, TRANSITION_END, callback);\n emulateTransitionEnd(this._backdrop, backdropTransitionDuration);\n } else if (!this._isShown && this._backdrop) {\n this._backdrop.classList.remove(CLASS_NAME_SHOW$2);\n\n var callbackRemove = function callbackRemove() {\n _this9._removeBackdrop();\n\n callback();\n };\n\n if (this._element.classList.contains(CLASS_NAME_FADE)) {\n var _backdropTransitionDuration = getTransitionDurationFromElement(this._backdrop);\n\n EventHandler.one(this._backdrop, TRANSITION_END, callbackRemove);\n emulateTransitionEnd(this._backdrop, _backdropTransitionDuration);\n } else {\n callbackRemove();\n }\n } else {\n callback();\n }\n };\n\n _proto._triggerBackdropTransition = function _triggerBackdropTransition() {\n var _this10 = this;\n\n var hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\n\n if (hideEvent.defaultPrevented) {\n return;\n }\n\n var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n\n if (!isModalOverflowing) {\n this._element.style.overflowY = 'hidden';\n }\n\n this._element.classList.add(CLASS_NAME_STATIC);\n\n var modalTransitionDuration = getTransitionDurationFromElement(this._dialog);\n EventHandler.off(this._element, TRANSITION_END);\n EventHandler.one(this._element, TRANSITION_END, function () {\n _this10._element.classList.remove(CLASS_NAME_STATIC);\n\n if (!isModalOverflowing) {\n EventHandler.one(_this10._element, TRANSITION_END, function () {\n _this10._element.style.overflowY = '';\n });\n emulateTransitionEnd(_this10._element, modalTransitionDuration);\n }\n });\n emulateTransitionEnd(this._element, modalTransitionDuration);\n\n this._element.focus();\n } // ----------------------------------------------------------------------\n // the following methods are used to handle overflowing modals\n // ----------------------------------------------------------------------\n ;\n\n _proto._adjustDialog = function _adjustDialog() {\n var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n\n if (!this._isBodyOverflowing && isModalOverflowing && !isRTL || this._isBodyOverflowing && !isModalOverflowing && isRTL) {\n this._element.style.paddingLeft = this._scrollbarWidth + \"px\";\n }\n\n if (this._isBodyOverflowing && !isModalOverflowing && !isRTL || !this._isBodyOverflowing && isModalOverflowing && isRTL) {\n this._element.style.paddingRight = this._scrollbarWidth + \"px\";\n }\n };\n\n _proto._resetAdjustments = function _resetAdjustments() {\n this._element.style.paddingLeft = '';\n this._element.style.paddingRight = '';\n };\n\n _proto._checkScrollbar = function _checkScrollbar() {\n var rect = document.body.getBoundingClientRect();\n this._isBodyOverflowing = Math.round(rect.left + rect.right) < window.innerWidth;\n this._scrollbarWidth = this._getScrollbarWidth();\n };\n\n _proto._setScrollbar = function _setScrollbar() {\n var _this11 = this;\n\n if (this._isBodyOverflowing) {\n // Note: DOMNode.style.paddingRight returns the actual value or '' if not set\n // while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set\n // Adjust fixed content padding\n SelectorEngine.find(SELECTOR_FIXED_CONTENT).forEach(function (element) {\n var actualPadding = element.style.paddingRight;\n var calculatedPadding = window.getComputedStyle(element)['padding-right'];\n Manipulator.setDataAttribute(element, 'padding-right', actualPadding);\n element.style.paddingRight = Number.parseFloat(calculatedPadding) + _this11._scrollbarWidth + \"px\";\n }); // Adjust sticky content margin\n\n SelectorEngine.find(SELECTOR_STICKY_CONTENT).forEach(function (element) {\n var actualMargin = element.style.marginRight;\n var calculatedMargin = window.getComputedStyle(element)['margin-right'];\n Manipulator.setDataAttribute(element, 'margin-right', actualMargin);\n element.style.marginRight = Number.parseFloat(calculatedMargin) - _this11._scrollbarWidth + \"px\";\n }); // Adjust body padding\n\n var actualPadding = document.body.style.paddingRight;\n var calculatedPadding = window.getComputedStyle(document.body)['padding-right'];\n Manipulator.setDataAttribute(document.body, 'padding-right', actualPadding);\n document.body.style.paddingRight = Number.parseFloat(calculatedPadding) + this._scrollbarWidth + \"px\";\n }\n\n document.body.classList.add(CLASS_NAME_OPEN);\n };\n\n _proto._resetScrollbar = function _resetScrollbar() {\n // Restore fixed content padding\n SelectorEngine.find(SELECTOR_FIXED_CONTENT).forEach(function (element) {\n var padding = Manipulator.getDataAttribute(element, 'padding-right');\n\n if (typeof padding !== 'undefined') {\n Manipulator.removeDataAttribute(element, 'padding-right');\n element.style.paddingRight = padding;\n }\n }); // Restore sticky content and navbar-toggler margin\n\n SelectorEngine.find(\"\" + SELECTOR_STICKY_CONTENT).forEach(function (element) {\n var margin = Manipulator.getDataAttribute(element, 'margin-right');\n\n if (typeof margin !== 'undefined') {\n Manipulator.removeDataAttribute(element, 'margin-right');\n element.style.marginRight = margin;\n }\n }); // Restore body padding\n\n var padding = Manipulator.getDataAttribute(document.body, 'padding-right');\n\n if (typeof padding === 'undefined') {\n document.body.style.paddingRight = '';\n } else {\n Manipulator.removeDataAttribute(document.body, 'padding-right');\n document.body.style.paddingRight = padding;\n }\n };\n\n _proto._getScrollbarWidth = function _getScrollbarWidth() {\n // thx d.walsh\n var scrollDiv = document.createElement('div');\n scrollDiv.className = CLASS_NAME_SCROLLBAR_MEASURER;\n document.body.appendChild(scrollDiv);\n var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n return scrollbarWidth;\n } // Static\n ;\n\n Modal.jQueryInterface = function jQueryInterface(config, relatedTarget) {\n return this.each(function () {\n var data = Data.getData(this, DATA_KEY$5);\n\n var _config = _extends({}, Default$3, Manipulator.getDataAttributes(this), typeof config === 'object' && config ? config : {});\n\n if (!data) {\n data = new Modal(this, _config);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n }\n\n data[config](relatedTarget);\n }\n });\n };\n\n _createClass(Modal, null, [{\n key: \"Default\",\n get: function get() {\n return Default$3;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$5;\n }\n }]);\n\n return Modal;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_TOGGLE$3, function (event) {\n var _this12 = this;\n\n var target = getElementFromSelector(this);\n\n if (this.tagName === 'A' || this.tagName === 'AREA') {\n event.preventDefault();\n }\n\n EventHandler.one(target, EVENT_SHOW$2, function (showEvent) {\n if (showEvent.defaultPrevented) {\n // only register focus restorer if modal will actually get shown\n return;\n }\n\n EventHandler.one(target, EVENT_HIDDEN$2, function () {\n if (isVisible(_this12)) {\n _this12.focus();\n }\n });\n });\n var data = Data.getData(target, DATA_KEY$5);\n\n if (!data) {\n var config = _extends({}, Manipulator.getDataAttributes(target), Manipulator.getDataAttributes(this));\n\n data = new Modal(target, config);\n }\n\n data.show(this);\n});\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Modal to jQuery only if jQuery is present\n */\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$5];\n $.fn[NAME$5] = Modal.jQueryInterface;\n $.fn[NAME$5].Constructor = Modal;\n\n $.fn[NAME$5].noConflict = function () {\n $.fn[NAME$5] = JQUERY_NO_CONFLICT;\n return Modal.jQueryInterface;\n };\n }\n});\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v5.0.0-beta1): util/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\nvar uriAttrs = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']);\nvar ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i;\n/**\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\n *\n * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts\n */\n\nvar SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi;\n/**\n * A pattern that matches safe data URLs. Only matches image, video and audio types.\n *\n * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts\n */\n\nvar DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[\\d+/a-z]+=*$/i;\n\nvar allowedAttribute = function allowedAttribute(attr, allowedAttributeList) {\n var attrName = attr.nodeName.toLowerCase();\n\n if (allowedAttributeList.includes(attrName)) {\n if (uriAttrs.has(attrName)) {\n return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN) || attr.nodeValue.match(DATA_URL_PATTERN));\n }\n\n return true;\n }\n\n var regExp = allowedAttributeList.filter(function (attrRegex) {\n return attrRegex instanceof RegExp;\n }); // Check if a regular expression validates the attribute.\n\n for (var i = 0, len = regExp.length; i < len; i++) {\n if (attrName.match(regExp[i])) {\n return true;\n }\n }\n\n return false;\n};\n\nvar DefaultAllowlist = {\n // Global attributes allowed on any supplied element below.\n '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n a: ['target', 'href', 'title', 'rel'],\n area: [],\n b: [],\n br: [],\n col: [],\n code: [],\n div: [],\n em: [],\n hr: [],\n h1: [],\n h2: [],\n h3: [],\n h4: [],\n h5: [],\n h6: [],\n i: [],\n img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n li: [],\n ol: [],\n p: [],\n pre: [],\n s: [],\n small: [],\n span: [],\n sub: [],\n sup: [],\n strong: [],\n u: [],\n ul: []\n};\nfunction sanitizeHtml(unsafeHtml, allowList, sanitizeFn) {\n var _ref;\n\n if (!unsafeHtml.length) {\n return unsafeHtml;\n }\n\n if (sanitizeFn && typeof sanitizeFn === 'function') {\n return sanitizeFn(unsafeHtml);\n }\n\n var domParser = new window.DOMParser();\n var createdDocument = domParser.parseFromString(unsafeHtml, 'text/html');\n var allowlistKeys = Object.keys(allowList);\n\n var elements = (_ref = []).concat.apply(_ref, createdDocument.body.querySelectorAll('*'));\n\n var _loop = function _loop(i, len) {\n var _ref2;\n\n var el = elements[i];\n var elName = el.nodeName.toLowerCase();\n\n if (!allowlistKeys.includes(elName)) {\n el.parentNode.removeChild(el);\n return \"continue\";\n }\n\n var attributeList = (_ref2 = []).concat.apply(_ref2, el.attributes);\n\n var allowedAttributes = [].concat(allowList['*'] || [], allowList[elName] || []);\n attributeList.forEach(function (attr) {\n if (!allowedAttribute(attr, allowedAttributes)) {\n el.removeAttribute(attr.nodeName);\n }\n });\n };\n\n for (var i = 0, len = elements.length; i < len; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n }\n\n return createdDocument.body.innerHTML;\n}\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$6 = 'tooltip';\nvar DATA_KEY$6 = 'bs.tooltip';\nvar EVENT_KEY$6 = \".\" + DATA_KEY$6;\nvar CLASS_PREFIX = 'bs-tooltip';\nvar BSCLS_PREFIX_REGEX = new RegExp(\"(^|\\\\s)\" + CLASS_PREFIX + \"\\\\S+\", 'g');\nvar DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']);\nvar DefaultType$4 = {\n animation: 'boolean',\n template: 'string',\n title: '(string|element|function)',\n trigger: 'string',\n delay: '(number|object)',\n html: 'boolean',\n selector: '(string|boolean)',\n placement: '(string|function)',\n container: '(string|element|boolean)',\n fallbackPlacements: '(null|array)',\n boundary: '(string|element)',\n customClass: '(string|function)',\n sanitize: 'boolean',\n sanitizeFn: '(null|function)',\n allowList: 'object',\n popperConfig: '(null|object)'\n};\nvar AttachmentMap = {\n AUTO: 'auto',\n TOP: 'top',\n RIGHT: isRTL ? 'left' : 'right',\n BOTTOM: 'bottom',\n LEFT: isRTL ? 'right' : 'left'\n};\nvar Default$4 = {\n animation: true,\n template: '
' + '
' + '
' + '
',\n trigger: 'hover focus',\n title: '',\n delay: 0,\n html: false,\n selector: false,\n placement: 'top',\n container: false,\n fallbackPlacements: null,\n boundary: 'clippingParents',\n customClass: '',\n sanitize: true,\n sanitizeFn: null,\n allowList: DefaultAllowlist,\n popperConfig: null\n};\nvar Event$1 = {\n HIDE: \"hide\" + EVENT_KEY$6,\n HIDDEN: \"hidden\" + EVENT_KEY$6,\n SHOW: \"show\" + EVENT_KEY$6,\n SHOWN: \"shown\" + EVENT_KEY$6,\n INSERTED: \"inserted\" + EVENT_KEY$6,\n CLICK: \"click\" + EVENT_KEY$6,\n FOCUSIN: \"focusin\" + EVENT_KEY$6,\n FOCUSOUT: \"focusout\" + EVENT_KEY$6,\n MOUSEENTER: \"mouseenter\" + EVENT_KEY$6,\n MOUSELEAVE: \"mouseleave\" + EVENT_KEY$6\n};\nvar CLASS_NAME_FADE$1 = 'fade';\nvar CLASS_NAME_MODAL = 'modal';\nvar CLASS_NAME_SHOW$3 = 'show';\nvar HOVER_STATE_SHOW = 'show';\nvar HOVER_STATE_OUT = 'out';\nvar SELECTOR_TOOLTIP_INNER = '.tooltip-inner';\nvar TRIGGER_HOVER = 'hover';\nvar TRIGGER_FOCUS = 'focus';\nvar TRIGGER_CLICK = 'click';\nvar TRIGGER_MANUAL = 'manual';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Tooltip = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(Tooltip, _BaseComponent);\n\n function Tooltip(element, config) {\n var _this;\n\n if (typeof _popperjs_core__WEBPACK_IMPORTED_MODULE_0__ === 'undefined') {\n throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)');\n }\n\n _this = _BaseComponent.call(this, element) || this; // private\n\n _this._isEnabled = true;\n _this._timeout = 0;\n _this._hoverState = '';\n _this._activeTrigger = {};\n _this._popper = null; // Protected\n\n _this.config = _this._getConfig(config);\n _this.tip = null;\n\n _this._setListeners();\n\n return _this;\n } // Getters\n\n\n var _proto = Tooltip.prototype;\n\n // Public\n _proto.enable = function enable() {\n this._isEnabled = true;\n };\n\n _proto.disable = function disable() {\n this._isEnabled = false;\n };\n\n _proto.toggleEnabled = function toggleEnabled() {\n this._isEnabled = !this._isEnabled;\n };\n\n _proto.toggle = function toggle(event) {\n if (!this._isEnabled) {\n return;\n }\n\n if (event) {\n var dataKey = this.constructor.DATA_KEY;\n var context = Data.getData(event.delegateTarget, dataKey);\n\n if (!context) {\n context = new this.constructor(event.delegateTarget, this._getDelegateConfig());\n Data.setData(event.delegateTarget, dataKey, context);\n }\n\n context._activeTrigger.click = !context._activeTrigger.click;\n\n if (context._isWithActiveTrigger()) {\n context._enter(null, context);\n } else {\n context._leave(null, context);\n }\n } else {\n if (this.getTipElement().classList.contains(CLASS_NAME_SHOW$3)) {\n this._leave(null, this);\n\n return;\n }\n\n this._enter(null, this);\n }\n };\n\n _proto.dispose = function dispose() {\n clearTimeout(this._timeout);\n EventHandler.off(this._element, this.constructor.EVENT_KEY);\n EventHandler.off(this._element.closest(\".\" + CLASS_NAME_MODAL), 'hide.bs.modal', this._hideModalHandler);\n\n if (this.tip) {\n this.tip.parentNode.removeChild(this.tip);\n }\n\n this._isEnabled = null;\n this._timeout = null;\n this._hoverState = null;\n this._activeTrigger = null;\n\n if (this._popper) {\n this._popper.destroy();\n }\n\n this._popper = null;\n this.config = null;\n this.tip = null;\n\n _BaseComponent.prototype.dispose.call(this);\n };\n\n _proto.show = function show() {\n var _this2 = this;\n\n if (this._element.style.display === 'none') {\n throw new Error('Please use show on visible elements');\n }\n\n if (this.isWithContent() && this._isEnabled) {\n var showEvent = EventHandler.trigger(this._element, this.constructor.Event.SHOW);\n var shadowRoot = findShadowRoot(this._element);\n var isInTheDom = shadowRoot === null ? this._element.ownerDocument.documentElement.contains(this._element) : shadowRoot.contains(this._element);\n\n if (showEvent.defaultPrevented || !isInTheDom) {\n return;\n }\n\n var tip = this.getTipElement();\n var tipId = getUID(this.constructor.NAME);\n tip.setAttribute('id', tipId);\n\n this._element.setAttribute('aria-describedby', tipId);\n\n this.setContent();\n\n if (this.config.animation) {\n tip.classList.add(CLASS_NAME_FADE$1);\n }\n\n var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this._element) : this.config.placement;\n\n var attachment = this._getAttachment(placement);\n\n this._addAttachmentClass(attachment);\n\n var container = this._getContainer();\n\n Data.setData(tip, this.constructor.DATA_KEY, this);\n\n if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\n container.appendChild(tip);\n }\n\n EventHandler.trigger(this._element, this.constructor.Event.INSERTED);\n this._popper = Object(_popperjs_core__WEBPACK_IMPORTED_MODULE_0__[\"createPopper\"])(this._element, tip, this._getPopperConfig(attachment));\n tip.classList.add(CLASS_NAME_SHOW$3);\n var customClass = typeof this.config.customClass === 'function' ? this.config.customClass() : this.config.customClass;\n\n if (customClass) {\n var _tip$classList;\n\n (_tip$classList = tip.classList).add.apply(_tip$classList, customClass.split(' '));\n } // If this is a touch-enabled device we add extra\n // empty mouseover listeners to the body's immediate children;\n // only needed because of broken event delegation on iOS\n // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n\n\n if ('ontouchstart' in document.documentElement) {\n var _ref;\n\n (_ref = []).concat.apply(_ref, document.body.children).forEach(function (element) {\n EventHandler.on(element, 'mouseover', noop());\n });\n }\n\n var complete = function complete() {\n var prevHoverState = _this2._hoverState;\n _this2._hoverState = null;\n EventHandler.trigger(_this2._element, _this2.constructor.Event.SHOWN);\n\n if (prevHoverState === HOVER_STATE_OUT) {\n _this2._leave(null, _this2);\n }\n };\n\n if (this.tip.classList.contains(CLASS_NAME_FADE$1)) {\n var transitionDuration = getTransitionDurationFromElement(this.tip);\n EventHandler.one(this.tip, TRANSITION_END, complete);\n emulateTransitionEnd(this.tip, transitionDuration);\n } else {\n complete();\n }\n }\n };\n\n _proto.hide = function hide() {\n var _this3 = this;\n\n if (!this._popper) {\n return;\n }\n\n var tip = this.getTipElement();\n\n var complete = function complete() {\n if (_this3._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {\n tip.parentNode.removeChild(tip);\n }\n\n _this3._cleanTipClass();\n\n _this3._element.removeAttribute('aria-describedby');\n\n EventHandler.trigger(_this3._element, _this3.constructor.Event.HIDDEN);\n\n if (_this3._popper) {\n _this3._popper.destroy();\n\n _this3._popper = null;\n }\n };\n\n var hideEvent = EventHandler.trigger(this._element, this.constructor.Event.HIDE);\n\n if (hideEvent.defaultPrevented) {\n return;\n }\n\n tip.classList.remove(CLASS_NAME_SHOW$3); // If this is a touch-enabled device we remove the extra\n // empty mouseover listeners we added for iOS support\n\n if ('ontouchstart' in document.documentElement) {\n var _ref2;\n\n (_ref2 = []).concat.apply(_ref2, document.body.children).forEach(function (element) {\n return EventHandler.off(element, 'mouseover', noop);\n });\n }\n\n this._activeTrigger[TRIGGER_CLICK] = false;\n this._activeTrigger[TRIGGER_FOCUS] = false;\n this._activeTrigger[TRIGGER_HOVER] = false;\n\n if (this.tip.classList.contains(CLASS_NAME_FADE$1)) {\n var transitionDuration = getTransitionDurationFromElement(tip);\n EventHandler.one(tip, TRANSITION_END, complete);\n emulateTransitionEnd(tip, transitionDuration);\n } else {\n complete();\n }\n\n this._hoverState = '';\n };\n\n _proto.update = function update() {\n if (this._popper !== null) {\n this._popper.update();\n }\n } // Protected\n ;\n\n _proto.isWithContent = function isWithContent() {\n return Boolean(this.getTitle());\n };\n\n _proto.getTipElement = function getTipElement() {\n if (this.tip) {\n return this.tip;\n }\n\n var element = document.createElement('div');\n element.innerHTML = this.config.template;\n this.tip = element.children[0];\n return this.tip;\n };\n\n _proto.setContent = function setContent() {\n var tip = this.getTipElement();\n this.setElementContent(SelectorEngine.findOne(SELECTOR_TOOLTIP_INNER, tip), this.getTitle());\n tip.classList.remove(CLASS_NAME_FADE$1, CLASS_NAME_SHOW$3);\n };\n\n _proto.setElementContent = function setElementContent(element, content) {\n if (element === null) {\n return;\n }\n\n if (typeof content === 'object' && isElement(content)) {\n if (content.jquery) {\n content = content[0];\n } // content is a DOM node or a jQuery\n\n\n if (this.config.html) {\n if (content.parentNode !== element) {\n element.innerHTML = '';\n element.appendChild(content);\n }\n } else {\n element.textContent = content.textContent;\n }\n\n return;\n }\n\n if (this.config.html) {\n if (this.config.sanitize) {\n content = sanitizeHtml(content, this.config.allowList, this.config.sanitizeFn);\n }\n\n element.innerHTML = content;\n } else {\n element.textContent = content;\n }\n };\n\n _proto.getTitle = function getTitle() {\n var title = this._element.getAttribute('data-bs-original-title');\n\n if (!title) {\n title = typeof this.config.title === 'function' ? this.config.title.call(this._element) : this.config.title;\n }\n\n return title;\n };\n\n _proto.updateAttachment = function updateAttachment(attachment) {\n if (attachment === 'right') {\n return 'end';\n }\n\n if (attachment === 'left') {\n return 'start';\n }\n\n return attachment;\n } // Private\n ;\n\n _proto._getPopperConfig = function _getPopperConfig(attachment) {\n var _this4 = this;\n\n var flipModifier = {\n name: 'flip',\n options: {\n altBoundary: true\n }\n };\n\n if (this.config.fallbackPlacements) {\n flipModifier.options.fallbackPlacements = this.config.fallbackPlacements;\n }\n\n var defaultBsConfig = {\n placement: attachment,\n modifiers: [flipModifier, {\n name: 'preventOverflow',\n options: {\n rootBoundary: this.config.boundary\n }\n }, {\n name: 'arrow',\n options: {\n element: \".\" + this.constructor.NAME + \"-arrow\"\n }\n }, {\n name: 'onChange',\n enabled: true,\n phase: 'afterWrite',\n fn: function fn(data) {\n return _this4._handlePopperPlacementChange(data);\n }\n }],\n onFirstUpdate: function onFirstUpdate(data) {\n if (data.options.placement !== data.placement) {\n _this4._handlePopperPlacementChange(data);\n }\n }\n };\n return _extends({}, defaultBsConfig, this.config.popperConfig);\n };\n\n _proto._addAttachmentClass = function _addAttachmentClass(attachment) {\n this.getTipElement().classList.add(CLASS_PREFIX + \"-\" + this.updateAttachment(attachment));\n };\n\n _proto._getContainer = function _getContainer() {\n if (this.config.container === false) {\n return document.body;\n }\n\n if (isElement(this.config.container)) {\n return this.config.container;\n }\n\n return SelectorEngine.findOne(this.config.container);\n };\n\n _proto._getAttachment = function _getAttachment(placement) {\n return AttachmentMap[placement.toUpperCase()];\n };\n\n _proto._setListeners = function _setListeners() {\n var _this5 = this;\n\n var triggers = this.config.trigger.split(' ');\n triggers.forEach(function (trigger) {\n if (trigger === 'click') {\n EventHandler.on(_this5._element, _this5.constructor.Event.CLICK, _this5.config.selector, function (event) {\n return _this5.toggle(event);\n });\n } else if (trigger !== TRIGGER_MANUAL) {\n var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;\n var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;\n EventHandler.on(_this5._element, eventIn, _this5.config.selector, function (event) {\n return _this5._enter(event);\n });\n EventHandler.on(_this5._element, eventOut, _this5.config.selector, function (event) {\n return _this5._leave(event);\n });\n }\n });\n\n this._hideModalHandler = function () {\n if (_this5._element) {\n _this5.hide();\n }\n };\n\n EventHandler.on(this._element.closest(\".\" + CLASS_NAME_MODAL), 'hide.bs.modal', this._hideModalHandler);\n\n if (this.config.selector) {\n this.config = _extends({}, this.config, {\n trigger: 'manual',\n selector: ''\n });\n } else {\n this._fixTitle();\n }\n };\n\n _proto._fixTitle = function _fixTitle() {\n var title = this._element.getAttribute('title');\n\n var originalTitleType = typeof this._element.getAttribute('data-bs-original-title');\n\n if (title || originalTitleType !== 'string') {\n this._element.setAttribute('data-bs-original-title', title || '');\n\n if (title && !this._element.getAttribute('aria-label') && !this._element.textContent) {\n this._element.setAttribute('aria-label', title);\n }\n\n this._element.setAttribute('title', '');\n }\n };\n\n _proto._enter = function _enter(event, context) {\n var dataKey = this.constructor.DATA_KEY;\n context = context || Data.getData(event.delegateTarget, dataKey);\n\n if (!context) {\n context = new this.constructor(event.delegateTarget, this._getDelegateConfig());\n Data.setData(event.delegateTarget, dataKey, context);\n }\n\n if (event) {\n context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;\n }\n\n if (context.getTipElement().classList.contains(CLASS_NAME_SHOW$3) || context._hoverState === HOVER_STATE_SHOW) {\n context._hoverState = HOVER_STATE_SHOW;\n return;\n }\n\n clearTimeout(context._timeout);\n context._hoverState = HOVER_STATE_SHOW;\n\n if (!context.config.delay || !context.config.delay.show) {\n context.show();\n return;\n }\n\n context._timeout = setTimeout(function () {\n if (context._hoverState === HOVER_STATE_SHOW) {\n context.show();\n }\n }, context.config.delay.show);\n };\n\n _proto._leave = function _leave(event, context) {\n var dataKey = this.constructor.DATA_KEY;\n context = context || Data.getData(event.delegateTarget, dataKey);\n\n if (!context) {\n context = new this.constructor(event.delegateTarget, this._getDelegateConfig());\n Data.setData(event.delegateTarget, dataKey, context);\n }\n\n if (event) {\n context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = false;\n }\n\n if (context._isWithActiveTrigger()) {\n return;\n }\n\n clearTimeout(context._timeout);\n context._hoverState = HOVER_STATE_OUT;\n\n if (!context.config.delay || !context.config.delay.hide) {\n context.hide();\n return;\n }\n\n context._timeout = setTimeout(function () {\n if (context._hoverState === HOVER_STATE_OUT) {\n context.hide();\n }\n }, context.config.delay.hide);\n };\n\n _proto._isWithActiveTrigger = function _isWithActiveTrigger() {\n for (var trigger in this._activeTrigger) {\n if (this._activeTrigger[trigger]) {\n return true;\n }\n }\n\n return false;\n };\n\n _proto._getConfig = function _getConfig(config) {\n var dataAttributes = Manipulator.getDataAttributes(this._element);\n Object.keys(dataAttributes).forEach(function (dataAttr) {\n if (DISALLOWED_ATTRIBUTES.has(dataAttr)) {\n delete dataAttributes[dataAttr];\n }\n });\n\n if (config && typeof config.container === 'object' && config.container.jquery) {\n config.container = config.container[0];\n }\n\n config = _extends({}, this.constructor.Default, dataAttributes, typeof config === 'object' && config ? config : {});\n\n if (typeof config.delay === 'number') {\n config.delay = {\n show: config.delay,\n hide: config.delay\n };\n }\n\n if (typeof config.title === 'number') {\n config.title = config.title.toString();\n }\n\n if (typeof config.content === 'number') {\n config.content = config.content.toString();\n }\n\n typeCheckConfig(NAME$6, config, this.constructor.DefaultType);\n\n if (config.sanitize) {\n config.template = sanitizeHtml(config.template, config.allowList, config.sanitizeFn);\n }\n\n return config;\n };\n\n _proto._getDelegateConfig = function _getDelegateConfig() {\n var config = {};\n\n if (this.config) {\n for (var key in this.config) {\n if (this.constructor.Default[key] !== this.config[key]) {\n config[key] = this.config[key];\n }\n }\n }\n\n return config;\n };\n\n _proto._cleanTipClass = function _cleanTipClass() {\n var tip = this.getTipElement();\n var tabClass = tip.getAttribute('class').match(BSCLS_PREFIX_REGEX);\n\n if (tabClass !== null && tabClass.length > 0) {\n tabClass.map(function (token) {\n return token.trim();\n }).forEach(function (tClass) {\n return tip.classList.remove(tClass);\n });\n }\n };\n\n _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {\n var state = popperData.state;\n\n if (!state) {\n return;\n }\n\n this.tip = state.elements.popper;\n\n this._cleanTipClass();\n\n this._addAttachmentClass(this._getAttachment(state.placement));\n } // Static\n ;\n\n Tooltip.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n var data = Data.getData(this, DATA_KEY$6);\n\n var _config = typeof config === 'object' && config;\n\n if (!data && /dispose|hide/.test(config)) {\n return;\n }\n\n if (!data) {\n data = new Tooltip(this, _config);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n }\n\n data[config]();\n }\n });\n };\n\n _createClass(Tooltip, null, [{\n key: \"Default\",\n get: function get() {\n return Default$4;\n }\n }, {\n key: \"NAME\",\n get: function get() {\n return NAME$6;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$6;\n }\n }, {\n key: \"Event\",\n get: function get() {\n return Event$1;\n }\n }, {\n key: \"EVENT_KEY\",\n get: function get() {\n return EVENT_KEY$6;\n }\n }, {\n key: \"DefaultType\",\n get: function get() {\n return DefaultType$4;\n }\n }]);\n\n return Tooltip;\n}(BaseComponent);\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Tooltip to jQuery only if jQuery is present\n */\n\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$6];\n $.fn[NAME$6] = Tooltip.jQueryInterface;\n $.fn[NAME$6].Constructor = Tooltip;\n\n $.fn[NAME$6].noConflict = function () {\n $.fn[NAME$6] = JQUERY_NO_CONFLICT;\n return Tooltip.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$7 = 'popover';\nvar DATA_KEY$7 = 'bs.popover';\nvar EVENT_KEY$7 = \".\" + DATA_KEY$7;\nvar CLASS_PREFIX$1 = 'bs-popover';\nvar BSCLS_PREFIX_REGEX$1 = new RegExp(\"(^|\\\\s)\" + CLASS_PREFIX$1 + \"\\\\S+\", 'g');\n\nvar Default$5 = _extends({}, Tooltip.Default, {\n placement: 'right',\n trigger: 'click',\n content: '',\n template: '
' + '
' + '

' + '
' + '
'\n});\n\nvar DefaultType$5 = _extends({}, Tooltip.DefaultType, {\n content: '(string|element|function)'\n});\n\nvar Event$2 = {\n HIDE: \"hide\" + EVENT_KEY$7,\n HIDDEN: \"hidden\" + EVENT_KEY$7,\n SHOW: \"show\" + EVENT_KEY$7,\n SHOWN: \"shown\" + EVENT_KEY$7,\n INSERTED: \"inserted\" + EVENT_KEY$7,\n CLICK: \"click\" + EVENT_KEY$7,\n FOCUSIN: \"focusin\" + EVENT_KEY$7,\n FOCUSOUT: \"focusout\" + EVENT_KEY$7,\n MOUSEENTER: \"mouseenter\" + EVENT_KEY$7,\n MOUSELEAVE: \"mouseleave\" + EVENT_KEY$7\n};\nvar CLASS_NAME_FADE$2 = 'fade';\nvar CLASS_NAME_SHOW$4 = 'show';\nvar SELECTOR_TITLE = '.popover-header';\nvar SELECTOR_CONTENT = '.popover-body';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar Popover = /*#__PURE__*/function (_Tooltip) {\n _inheritsLoose(Popover, _Tooltip);\n\n function Popover() {\n return _Tooltip.apply(this, arguments) || this;\n }\n\n var _proto = Popover.prototype;\n\n // Overrides\n _proto.isWithContent = function isWithContent() {\n return this.getTitle() || this._getContent();\n };\n\n _proto.setContent = function setContent() {\n var tip = this.getTipElement(); // we use append for html objects to maintain js events\n\n this.setElementContent(SelectorEngine.findOne(SELECTOR_TITLE, tip), this.getTitle());\n\n var content = this._getContent();\n\n if (typeof content === 'function') {\n content = content.call(this._element);\n }\n\n this.setElementContent(SelectorEngine.findOne(SELECTOR_CONTENT, tip), content);\n tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$4);\n } // Private\n ;\n\n _proto._addAttachmentClass = function _addAttachmentClass(attachment) {\n this.getTipElement().classList.add(CLASS_PREFIX$1 + \"-\" + this.updateAttachment(attachment));\n };\n\n _proto._getContent = function _getContent() {\n return this._element.getAttribute('data-bs-content') || this.config.content;\n };\n\n _proto._cleanTipClass = function _cleanTipClass() {\n var tip = this.getTipElement();\n var tabClass = tip.getAttribute('class').match(BSCLS_PREFIX_REGEX$1);\n\n if (tabClass !== null && tabClass.length > 0) {\n tabClass.map(function (token) {\n return token.trim();\n }).forEach(function (tClass) {\n return tip.classList.remove(tClass);\n });\n }\n } // Static\n ;\n\n Popover.jQueryInterface = function jQueryInterface(config) {\n return this.each(function () {\n var data = Data.getData(this, DATA_KEY$7);\n\n var _config = typeof config === 'object' ? config : null;\n\n if (!data && /dispose|hide/.test(config)) {\n return;\n }\n\n if (!data) {\n data = new Popover(this, _config);\n Data.setData(this, DATA_KEY$7, data);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n }\n\n data[config]();\n }\n });\n };\n\n _createClass(Popover, null, [{\n key: \"Default\",\n // Getters\n get: function get() {\n return Default$5;\n }\n }, {\n key: \"NAME\",\n get: function get() {\n return NAME$7;\n }\n }, {\n key: \"DATA_KEY\",\n get: function get() {\n return DATA_KEY$7;\n }\n }, {\n key: \"Event\",\n get: function get() {\n return Event$2;\n }\n }, {\n key: \"EVENT_KEY\",\n get: function get() {\n return EVENT_KEY$7;\n }\n }, {\n key: \"DefaultType\",\n get: function get() {\n return DefaultType$5;\n }\n }]);\n\n return Popover;\n}(Tooltip);\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n * add .Popover to jQuery only if jQuery is present\n */\n\n\nonDOMContentLoaded(function () {\n var $ = getjQuery();\n /* istanbul ignore if */\n\n if ($) {\n var JQUERY_NO_CONFLICT = $.fn[NAME$7];\n $.fn[NAME$7] = Popover.jQueryInterface;\n $.fn[NAME$7].Constructor = Popover;\n\n $.fn[NAME$7].noConflict = function () {\n $.fn[NAME$7] = JQUERY_NO_CONFLICT;\n return Popover.jQueryInterface;\n };\n }\n});\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nvar NAME$8 = 'scrollspy';\nvar DATA_KEY$8 = 'bs.scrollspy';\nvar EVENT_KEY$8 = \".\" + DATA_KEY$8;\nvar DATA_API_KEY$6 = '.data-api';\nvar Default$6 = {\n offset: 10,\n method: 'auto',\n target: ''\n};\nvar DefaultType$6 = {\n offset: 'number',\n method: 'string',\n target: '(string|element)'\n};\nvar EVENT_ACTIVATE = \"activate\" + EVENT_KEY$8;\nvar EVENT_SCROLL = \"scroll\" + EVENT_KEY$8;\nvar EVENT_LOAD_DATA_API$1 = \"load\" + EVENT_KEY$8 + DATA_API_KEY$6;\nvar CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';\nvar CLASS_NAME_ACTIVE$2 = 'active';\nvar SELECTOR_DATA_SPY = '[data-bs-spy=\"scroll\"]';\nvar SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\nvar SELECTOR_NAV_LINKS = '.nav-link';\nvar SELECTOR_NAV_ITEMS = '.nav-item';\nvar SELECTOR_LIST_ITEMS = '.list-group-item';\nvar SELECTOR_DROPDOWN = '.dropdown';\nvar SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\nvar METHOD_OFFSET = 'offset';\nvar METHOD_POSITION = 'position';\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nvar ScrollSpy = /*#__PURE__*/function (_BaseComponent) {\n _inheritsLoose(ScrollSpy, _BaseComponent);\n\n function ScrollSpy(element, config) {\n var _this;\n\n _this = _BaseComponent.call(this, element) || this;\n _this._scrollElement = element.tagName === 'BODY' ? window : element;\n _this._config = _this._getConfig(config);\n _this._selector = _this._config.target + \" \" + SELECTOR_NAV_LINKS + \", \" + _this._config.target + \" \" + SELECTOR_LIST_ITEMS + \", \" + _this._config.target + \" .\" + CLASS_NAME_DROPDOWN_ITEM;\n _this._offsets = [];\n _this._targets = [];\n _this._activeTarget = null;\n _this._scrollHeight = 0;\n EventHandler.on(_this._scrollElement, EVENT_SCROLL, function (event) {\n return _this._process(event);\n });\n\n _this.refresh();\n\n _this._process();\n\n return _this;\n } // Getters\n\n\n var _proto = ScrollSpy.prototype;\n\n // Public\n _proto.refresh = function refresh() {\n var _this2 = this;\n\n var autoMethod = this._scrollElement === this._scrollElement.window ? METHOD_OFFSET : METHOD_POSITION;\n var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;\n var offsetBase = offsetMethod === METHOD_POSITION ? this._getScrollTop() : 0;\n this._offsets = [];\n this._targets = [];\n this._scrollHeight = this._getScrollHeight();\n var targets = SelectorEngine.find(this._selector);\n targets.map(function (element) {\n var targetSelector = getSelectorFromElement(element);\n var target = targetSelector ? SelectorEngine.findOne(targetSelector) : null;\n\n if (target) {\n var targetBCR = target.getBoundingClientRect();\n\n if (targetBCR.width || targetBCR.height) {\n return [Manipulator[offsetMethod](target).top + offsetBase, targetSelector];\n }\n }\n\n return null;\n }).filter(function (item) {\n return item;\n }).sort(function (a, b) {\n return a[0] - b[0];\n }).forEach(function (item) {\n _this2._offsets.push(item[0]);\n\n _this2._targets.push(item[1]);\n });\n };\n\n _proto.dispose = function dispose() {\n _BaseComponent.prototype.dispose.call(this);\n\n EventHandler.off(this._scrollElement, EVENT_KEY$8);\n this._scrollElement = null;\n this._config = null;\n this._selector = null;\n this._offsets = null;\n this._targets = null;\n this._activeTarget = null;\n this._scrollHeight = null;\n } // Private\n ;\n\n _proto._getConfig = function _getConfig(config) {\n config = _extends({}, Default$6, typeof config === 'object' && config ? config : {});\n\n if (typeof config.target !== 'string' && isElement(config.target)) {\n var id = config.target.id;\n\n if (!id) {\n id = getUID(NAME$8);\n config.target.id = id;\n }\n\n config.target = \"#\" + id;\n }\n\n typeCheckConfig(NAME$8, config, DefaultType$6);\n return config;\n };\n\n _proto._getScrollTop = function _getScrollTop() {\n return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;\n };\n\n _proto._getScrollHeight = function _getScrollHeight() {\n return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);\n };\n\n _proto._getOffsetHeight = function _getOffsetHeight() {\n return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;\n };\n\n _proto._process = function _process() {\n var scrollTop = this._getScrollTop() + this._config.offset;\n\n var scrollHeight = this._getScrollHeight();\n\n var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();\n\n if (this._scrollHeight !== scrollHeight) {\n this.refresh();\n }\n\n if (scrollTop >= maxScroll) {\n var target = this._targets[this._targets.length - 1];\n\n if (this._activeTarget !== target) {\n this._activate(target);\n }\n\n return;\n }\n\n if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {\n this._activeTarget = null;\n\n this._clear();\n\n return;\n }\n\n for (var i = this._offsets.length; i--;) {\n var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);\n\n if (isActiveTarget) {\n this._activate(this._targets[i]);\n }\n }\n };\n\n _proto._activate = function _activate(target) {\n this._activeTarget = target;\n\n this._clear();\n\n var queries = this._selector.split(',').map(function (selector) {\n return selector + \"[data-bs-target=\\\"\" + target + \"\\\"],\" + selector + \"[href=\\\"\" + target + \"\\\"]\";\n });\n\n var link = SelectorEngine.findOne(queries.join(','));\n\n if (link.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\n SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE, link.closest(SELECTOR_DROPDOWN)).classList.add(CLASS_NAME_ACTIVE$2);\n link.classList.add(CLASS_NAME_ACTIVE$2);\n } else {\n // Set triggered link as active\n link.classList.add(CLASS_NAME_ACTIVE$2);\n SelectorEngine.parents(link, SELECTOR_NAV_LIST_GROUP).forEach(function (listGroup) {\n // Set triggered links parents as active\n // With both