web-input-material 0.0.500 → 0.0.501
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CheckboxInput.bundle.js +7 -7
- package/components/CheckboxInput.js +1 -1
- package/components/CircularSpinner.bundle.js +7 -7
- package/components/CircularSpinner.js +1 -1
- package/components/FileInput.bundle.js +3 -3
- package/components/FileInput.js +1 -1
- package/components/GenericAnimate.bundle.js +5 -5
- package/components/GenericAnimate.js +1 -1
- package/components/GenericInputs.bundle.js +3 -3
- package/components/GenericInputs.js +1 -1
- package/components/SliderInput.bundle.js +7 -7
- package/components/SliderInput.js +1 -1
- package/components/Tabs.bundle.js +11 -11
- package/components/Tabs.js +1 -1
- package/components/TextInput.bundle.js +8 -8
- package/components/TextInput.js +1 -1
- package/index.bundle.js +15 -15
- package/index.js +1 -1
- package/package.json +13 -18
package/components/TextInput.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@codemirror/autocomplete"),require("@codemirror/commands"),require("@codemirror/lang-css"),require("@codemirror/lang-javascript"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/search"),require("@codemirror/state"),require("@codemirror/view"),require("@material/textfield"),require("@rmwc/circular-progress"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/typography"),require("@tiptap/extensions"),require("@tiptap/react"),require("@tiptap/starter-kit"),require("clientnode"),require("react"),require("react-generic-animate"),require("react-generic-dummy"),require("react-generic-tools"),require("react-useanimations"),require("react-useanimations/lib/lock"),require("react-useanimations/lib/plusToX"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@codemirror/autocomplete","@codemirror/commands","@codemirror/lang-css","@codemirror/lang-javascript","@codemirror/language","@codemirror/lint","@codemirror/search","@codemirror/state","@codemirror/view","@material/textfield","@rmwc/circular-progress","@rmwc/icon","@rmwc/icon-button","@rmwc/menu","@rmwc/select","@rmwc/textfield","@rmwc/theme","@rmwc/typography","@tiptap/extensions","@tiptap/react","@tiptap/starter-kit","clientnode","react","react-generic-animate","react-generic-dummy","react-generic-tools","react-useanimations","react-useanimations/lib/lock","react-useanimations/lib/plusToX","react/jsx-runtime","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@codemirror/autocomplete"),require("@codemirror/commands"),require("@codemirror/lang-css"),require("@codemirror/lang-javascript"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/search"),require("@codemirror/state"),require("@codemirror/view"),require("@material/textfield"),require("@rmwc/circular-progress"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/typography"),require("@tiptap/extensions"),require("@tiptap/react"),require("@tiptap/starter-kit"),require("clientnode"),require("react"),require("react-generic-animate"),require("react-generic-dummy"),require("react-generic-tools"),require("react-useanimations"),require("react-useanimations/lib/lock"),require("react-useanimations/lib/plusToX"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@codemirror/autocomplete"],e["@codemirror/commands"],e["@codemirror/lang-css"],e["@codemirror/lang-javascript"],e["@codemirror/language"],e["@codemirror/lint"],e["@codemirror/search"],e["@codemirror/state"],e["@codemirror/view"],e["@material/textfield"],e["@rmwc/circular-progress"],e["@rmwc/icon"],e["@rmwc/icon-button"],e["@rmwc/menu"],e["@rmwc/select"],e["@rmwc/textfield"],e["@rmwc/theme"],e["@rmwc/typography"],e["@tiptap/extensions"],e["@tiptap/react"],e["@tiptap/starter-kit"],e.clientnode,e.react,e["react-generic-animate"],e["react-generic-dummy"],e["react-generic-tools"],e["react-useanimations"],e["react-useanimations/lib/lock"],e["react-useanimations/lib/plusToX"],e["react/jsx-runtime"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"],e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__34__,__WEBPACK_EXTERNAL_MODULE__35__,__WEBPACK_EXTERNAL_MODULE__36__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__37__,__WEBPACK_EXTERNAL_MODULE__38__,__WEBPACK_EXTERNAL_MODULE__39__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__40__,__WEBPACK_EXTERNAL_MODULE__41__,__WEBPACK_EXTERNAL_MODULE__42__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,o,i,s,a,l,p,c,u;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(2),t=__webpack_require__(12),r=__webpack_require__(4),n=__webpack_require__(5),o=__webpack_require__(6),i=__webpack_require__(0),s=__webpack_require__(3),a=__webpack_require__(13),l=__webpack_require__(14),p=__webpack_require__(15),c=__webpack_require__(16),u=__webpack_require__(17),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=i},function(e){e.exports=t},function(e){e.exports=n},function(e){e.exports=o},function(e,t,r){var n=r(0),i=r.n(n),o=r(1),a=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:a.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,o.camelCaseToDelimited)(r);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?i()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,o.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?i()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return T}});var n,i,o,a,s=r(4),l=r.n(s),u=r(8),c=r.n(u),p=r(0),d=r.n(p),f=r(3),m=r.n(f),_=r(9),h=r.n(_),v=(r(10),r(5)),b=r.n(v),y=r(1),g=r(2),E=r(6);function x(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return A(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var P="undefined"==typeof HTMLElement?function(){}:HTMLElement,w=(n=(0,E.default)({type:g.boolean,writeAttribute:!0}),a=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope=d()({},y.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,c()(r,"isRoot",o,r),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=r,r.defineGetterAndSetterInterface(),r}m()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)(function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")})):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,y.timeout)(function(){e.render("connected")})},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=x(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=x(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=x((0,y.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,i=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:i},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)(function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,y.timeout)(function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())}));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,i=function(){var i=n.value,o="";if(i.startsWith("data-bind-")?o=i.substring(10):i.startsWith("bind-")&&(o=i.substring(5)),o){var a=e.getAttribute(i);if(null===a)return 0;if(o.startsWith("attribute-")||o.startsWith("property-")){var s=(0,y.evaluate)(a,t,!1,!0,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+i+'" on node:',e,s.error),0;o.startsWith("attribute-")?e.setAttribute(o.substring(10),s.result):e[(0,y.delimitedToCamelCase)(o.substring(9))]=s.result}else if(o.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);if(o=(0,y.delimitedToCamelCase)(o.substring(3)),null!=l&&l.has(o)){var u=l.get(o);u&&u()}t=d()({console:console,event:void 0,parameters:void 0},t);var c=(0,y.compile)(a,t,!0,!0,e);if(c.error)console.warn('Error occurred during compiling given event binding "'+i+'" on node:',e,c.error);else{var p=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.event=n[0],t.parameters=n;try{c.templateFunction.apply(c,c.originalScopeNames.map(function(e){return t[e]}))}catch(t){console.warn('Error occurred during processing given event binding "'+i+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+c.scopeNames.join('", "')+'": '+(0,y.represent)(t))}};e.addEventListener(o,p),null==l||l.set(o,function(){e.removeEventListener(o,p),l.delete(o),0===l.size&&r.domNodeEventBindings.delete(e)})}}}},o=x(e.getAttributeNames());!(n=o()).done;)i()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=d()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var n=e.nodeName.toLowerCase();if(r.ignoreComponents&&n.includes("-"))return null;if(r.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=(0,y.compile)("`"+i+"`",t);return{domNode:e,children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction}}return null}var a=null;if("#text"===n){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,y.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var p=e.firstChild;p;){if(!r.filter||r.filter(p)){var f=this.compileDomNodeTemplate(p,t,d()({},r,{ignoreComponents:r.ignoreNestedComponents}));f&&l.push(f)}p=p.nextSibling}return u},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,n=e.error,i=e.templateFunction,o=e.scopeNames;if(!i||!o)return null;if(n)return console.warn("Error occurred during compiling node content:",n),null;var a=null;try{a=i.apply(void 0,o.map(function(e){return t[e]}))}catch(n){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+o.join('", "')+'":','"'+n+'". Rendering node:',r)}return a},r.evaluateDomNodeTemplate=function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r={});var i=(r=d()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!i.has(e)){var o={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},a=this.compileDomNodeTemplate(e,t,o);a&&i.set(e,a)}if(i.has(e)){var s=i.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var r,i=x(e);!(r=i()).done;){var o=r.value,a=n.evaluateCompiledDomNodeTemplate(o,t);null!==a&&(o.domNode.textContent=a),o.children.length&&u(o.children)}};u(s.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var n,i=x([].concat(r).reverse());!(n=i()).done;){var o,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(o=a.nodeValue)?void 0:o.trim())||e.after(a)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,i=new Map,o=x(n);!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return(0,y.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=i[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(b().mark(function t(){var n,i,o,a,s=arguments;return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,i=new Array(n),o=0;o<n;o++)i[o]=s[o];return t.next=1,e.reflectEventToProperties(r,i);case 1:(a=t.sent)&&(i[0]=a),e.forwardEvent(r,i);case 2:case"end":return t.stop()}},t)}))))},n=0,i=Object.keys(this.self.eventToPropertyMapping);n<i.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[n],o=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![g.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e&&t.reflectEventToProperties(o,n),t.forwardEvent(o,n)}))},n=0,i=Object.entries(this.self.propertyTypes);n<i.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=x(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,y.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,i=Array.from(e.querySelectorAll("slot"));n<i.length;n++){var o=i[n],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=x(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(o,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(o).map(function(e){return r.grabSlotContent(e)});else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(o,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(o).filter(function(e){return"#text"!==e.nodeName.toLowerCase()})[0])}},r.grabSlotContent=function(e){var t,r=g.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var n=r.firstElementChild.value;r.classList.remove("web-component-template");var i=r.cloneNode();return r.classList.add("web-component-template"),i.innerHTML="",i.template=n,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var n,i=r[t],o=i.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}if(!a){var s=null==(n=i.getAttribute("slot"))?void 0:n.trim();this.slots[null!=s?s:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map(function(t){return e.grabSlotContent(t)}):this.slots.default=[]},r.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=d()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n,i=r[t],o=i[0],a=i[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var s=(0,y.camelCaseToDelimited)(o);if(null!=(n=this.self._propertiesToReflectAsAttributes)&&n.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case g.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case g.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case g.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.shape:case g.exact:case g.symbol:default:if(a){var c=(0,y.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var n,i=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(n=i()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(this.internalProperties,o)&&this.setInternalPropertyValue(o,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=x(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=l()(b().mark(function e(t,r){var n,i,o,a,s,l,u,c,p,f,m,_,h,v,g,E,A;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,i=null,o=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,y.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&(0,y.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:A=e.sent,e.next=3;break;case 2:A=s;case 3:l=A,o=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,y.extend)(!0,this.internalProperties,l[1])):null===l?o=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!o&&r.length>0&&(0,y.isObject)(r[0])){if(c=r[0],"persist"in r[0]&&(0,y.isFunction)(r[0].persist))for(c={},p=0,f=Object.keys(this.self.propertyTypes);p<f.length;p++)for(m=f[p],_=x([m].concat(null!==(v=this.getPropertyAlias(m))&&void 0!==v?v:[]));!(h=_()).done;)g=h.value,(E=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(c[g]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=d()({},c.detail));i=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",i);case 5:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),i=n?e.substring(1):e,o=(0,y.delimitedToCamelCase)(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var s=this.self.propertyTypes[o];if(n){if(t){var l=(0,y.evaluate)(t,d()({},y.UTILITY_SCOPE),!1,!0,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,l.result),this.setExternalPropertyValue(o,l.result))}}else switch(s){case g.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(o,u),this.setExternalPropertyValue(o,u);break;case g.func:case"function":var c,p=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(y.UTILITY_SCOPE_NAMES);if(t){var m=(0,y.compile)(t,f);p=m.error,c=m.templateFunction,p&&console.warn('Failed to compile given handler "'+e+'": '+p+".")}this.setInternalPropertyValue(o,function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.outputEventNames.has(o)&&r.reflectEventToProperties(o,i);var s=void 0;if(!p)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[r,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(y.UTILITY_SCOPE_VALUES))}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+(0,y.represent)(i)+'": '+r+'. Set property to "undefined".')}return r.self.renderProperties.includes(o)||r.forwardEvent(o,i),s}),p||this.setExternalPropertyValue(o,c);break;case"json":if(t){var _;try{_=JSON.parse(t)}catch(p){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,y.represent)(p));break}this.setInternalPropertyValue(o,_),this.setExternalPropertyValue(o,(0,y.copy)(_,!1,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case g.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(o,h),this.setExternalPropertyValue(o,h);break;case g.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.oneOf:case g.oneOfType:case g.shape:case g.exact:case g.symbol:default:if(t){var v=(0,y.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(o,v.result),this.setExternalPropertyValue(o,(0,y.copy)(v.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,y.timeout)(function(){t.batchedUpdateRunning=!1,t.render(e)})):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,y.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=d()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,y.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,y.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,d()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(P),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:g.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=h()(i.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),T={component:w,register:function(e){void 0===e&&(e=(0,y.camelCaseToDelimited)(w._name)),customElements.define(e,w)}};t.default=w},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,r){r.d(t,{api:function(){return g}});var n=r(0),i=r.n(n),o=r(4),a=r.n(o),s=r(3),l=r.n(s),u=r(5),c=r.n(u),p=r(1),d=r(2),f=r(11),m=r.n(f),_=r(12),h=r(13);function v(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return b(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){function t(){for(var r,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(r=e.call.apply(e,[this].concat(i))||this).unmountOnDisconnect=!0,r.compiledSlots={},r.preparedSlots={},r.reactRoot=null,r.rootReactInstance=null,r.self=t,r.wrapMemorizingWrapper=null,r.isWrapped=!1,r.reflectInstanceProperties=function(){var e;null!=(e=r.instance)&&e.current&&r.instance.current.properties&&r.reflectProperties(r.instance.current.properties)},r}l()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){var t;this.unmountOnDisconnect&&(null==(t=this.reactRoot)||t.unmount()),e.prototype.disconnectedCallback.call(this)},r.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},r.render=function(){var e=a()(c().mark(function e(t){var r,n,o,a,s=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return");case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(i()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(r=this.firstChild;r;)n=r.nextSibling,this.removeChild(r),r=n;return this.reactRoot||(o=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,a="","string"==typeof o&&(a=o),this.reactRoot=(0,h.createRoot)(this.root,{identifierPrefix:a})),e.next=2,new Promise(function(e){(0,_.flushSync)(function(){var t;null==(t=s.reactRoot)||t.render((0,f.createElement)(s.self.content,s.internalProperties)),e()})});case 2:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=(0,p.copy)(t,!1,1),r)),this.setInternalPropertyValue(e,(0,p.copy)(t,!1,1))},r.setInternalPropertyValue=function(t,r){null===r?r=d.NullSymbol:void 0===r&&(r=d.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter(function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()})).length)return this.preCompileDomNode(e[0],t,r);for(var n,i=1,o=[],a=v(e);!(n=a()).done;){var s=n.value,l=this.preCompileDomNode(s,t,r,i.toString());o.push(l),i+=1}return r?function(e){return function(){for(var t,r=[],n=v(o);!(t=n()).done;){var i=(0,t.value)(e);"function"==typeof i&&r.push(i.apply(void 0,arguments))}return(0,f.createElement)(f.Fragment,{children:r})}}:o},r.preCompileDomNode=function(e,t,r,n){var o=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var a=this.preCompileDomNode(e,i()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.length>0?r[0]:null;return a(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=n&&s?(0,f.createElement)(f.Fragment,{children:s,key:n}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},d=this.self.isReactComponent(e);d?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=n),u=e.constructor.content):(c.key=n,u=e.tagName.toLowerCase());for(var m,_=Object.keys(t),h={},b=function(){var r,n=m.value,i=e.getAttribute(n);if(null===i)return 0;var a=!1,s="";if(n.startsWith("data-bind-")?s=n.substring(10):n.startsWith("bind-")&&(s=n.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,p.compile)(i,_),u=l.error,f=l.originalScopeNames,v=l.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),i={originalScopeNames:f,templateFunction:v.bind(o)}}else if(s.startsWith("on-")){s=(0,p.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var b=(0,p.compile)(i,_,!0),y=b.error,g=b.originalScopeNames,E=b.scopeNames,x=b.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),0;var A=x.bind(o);i=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;try{A.apply(void 0,g.map(function(e){return t[e]}))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,p.represent)(t))}}}else s=n;var P={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(P,s)&&(s=P[s]),s=(0,p.delimitedToCamelCase)(s),null!=(r=i)&&r.originalScopeNames?h[a?"":s]=i:d||(c[s]=i)},y=v(e.getAttributeNames());!(m=y()).done;)b();if(!d){var g=Array.from(e.childNodes);g.length&&(c.children=this.preCompileDomNodes(g,t))}return function(r){(r=i()({},t,r)).scope=r;for(var n=i()({},c),a=0,s=Object.entries(h);a<s.length;a++){var l=s[a],p=l[0],m=l[1],_=m.originalScopeNames,v=m.templateFunction.apply(void 0,_.map(function(e){return r[e]}));""===p?n=i()({},n,v):n[p]=v}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):d?(n=i()({},e.internalProperties,n),r=i()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=o.evaluatePreCompiledDomNodes(n.children,r)),(0,f.createElement)(u,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],i=v(e);!(r=i()).done;){var o=(0,r.value)(t);o&&n.push(o)}return n},r.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],i()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,i()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes.children)))},r.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},r.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},r.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,f.forwardRef)(function(t,r){return(0,f.useImperativeHandle)(r,function(){return{properties:t}},[t]),(0,f.createElement)(e,t)}),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,f.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){var t=this;(0,p.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,f.createRef)(),e.ref=function(e){t.instance?t.instance.current=e:t.instance={current:e},t.reflectInstanceProperties()})},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=v(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(r(7).default);y.attachWebComponentAdapterIfNotExists=!0,y.content="div",y.react=m(),y._name="ReactWebComponent";var g={component:y,register:function(e){void 0===e&&(e=(0,p.camelCaseToDelimited)(y._name)),customElements.define(e,y)}};t.default=y}],f={};function m(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={exports:{}};return d[e](r,r.exports,m),r.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var r in t)m.o(t,r)&&!m.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},m.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var _={};m.r(_),m.d(_,{ReactWeb:function(){return A},Web:function(){return T},reactWebAPI:function(){return P},webAPI:function(){return w},wrapAsWebComponent:function(){return O}});var h=m(0),v=m.n(h),b=m(3),y=m.n(b),g=m(1),E=m(14),x=m(7),A=E.default,P=E.api,w=x.api,T=x.default,O=function(e,t,r){var n,i,o;void 0===t&&(t="NoName"),void 0===r&&(r={});var a=e._name||(null==(n=e.___types)||null==(n=n.name)?void 0:n.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");r.propTypes&&(e.propTypes=r.propTypes);var s=e.propTypes||{},l=r.propertyAliases||e.propertyAliases||{},u=(0,g.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=r.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(A.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(A.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var p=0,d=A.propertiesToReflectAsAttributes;p<d.length;p++){var f=d[p];c.set(f,A.propertyTypes[f])}else if("object"==typeof c)for(var m=0,_=A.propertiesToReflectAsAttributes;m<_.length;m++){var h=_[m];c[h]=A.propertyTypes[h]}var b=u.map(function(e){return(0,g.camelCaseToDelimited)(e)}),E=function(t){function n(){for(var i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(o=t.call.apply(t,[this].concat(s))||this).self=n,o.internalProperties=r.internalProperties?v()({},r.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o.unmountOnDisconnect=null===(i=r.unmountOnDisconnect)||void 0===i||i,o}return y()(n,t),n}(A);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof r.attachWebComponentAdapterIfNotExists||r.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=A.observedAttributes.concat(b).concat(b.map(function(e){return"-"+e})),E.controllableProperties=e.controllableProperties||r.controllableProperties||[],E.eventToPropertyMapping=null===r.eventToPropertyMapping?r.eventToPropertyMapping:r.eventToPropertyMapping?v()({},r.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},A.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},A.propertyTypes,s),E.renderProperties=null!==(i=null!==(o=r.renderProperties)&&void 0!==o?o:e.renderProperties)&&void 0!==i?i:A.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return _.default=O,_}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__34__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__35__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__36__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__37__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__38__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__39__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__40__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__41__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__42__},,function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,n,r,i,o,a,l,u,s,c,d,m,f,p,v,g,h,b,y,x,S,w,I,j,C,N,T,O,P,E,A,q;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(2),t=__webpack_require__(7),n=__webpack_require__(22),r=__webpack_require__(23),i=__webpack_require__(24),o=__webpack_require__(25),a=__webpack_require__(26),l=__webpack_require__(27),u=__webpack_require__(28),s=__webpack_require__(29),c=__webpack_require__(30),d=__webpack_require__(31),m=__webpack_require__(19),f=__webpack_require__(32),p=__webpack_require__(33),v=__webpack_require__(34),g=__webpack_require__(35),h=__webpack_require__(36),b=__webpack_require__(8),y=__webpack_require__(9),x=__webpack_require__(37),S=__webpack_require__(38),w=__webpack_require__(39),I=__webpack_require__(4),j=__webpack_require__(0),C=__webpack_require__(3),N=__webpack_require__(20),T=__webpack_require__(10),O=__webpack_require__(21),P=__webpack_require__(40),E=__webpack_require__(41),A=__webpack_require__(42),q=__webpack_require__(11),function(){var _=[function(t){t.exports=e},function(e){e.exports=q},function(e){e.exports=C},function(e){e.exports=j},function(e){e.exports=O},function(e,t,r){r.d(t,{defaultModel:function(){return p},defaultModelState:function(){return c},defaultProperties:function(){return d},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return u}});var n=r(0),i=r.n(n),o=r(3),a={name:o.string,declaration:o.string,description:o.string,default:o.any,selection:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string])),(0,o.arrayOf)((0,o.shape)({label:o.string,value:(0,o.oneOfType)([o.boolean,o.number,o.string])})),o.object]),type:o.string,value:o.any},s={dirty:(0,o.oneOfType)([o.boolean,o.symbol]),pristine:(0,o.oneOfType)([o.boolean,o.symbol]),touched:(0,o.oneOfType)([o.boolean,o.symbol]),untouched:(0,o.oneOfType)([o.boolean,o.symbol]),focused:(0,o.oneOfType)([o.boolean,o.symbol]),visited:(0,o.oneOfType)([o.boolean,o.symbol]),invalid:(0,o.oneOfType)([o.boolean,o.symbol]),invalidRequired:(0,o.oneOfType)([o.boolean,o.symbol]),valid:(0,o.oneOfType)([o.boolean,o.symbol])},l=i()({},a,{emptyEqualsNull:o.boolean,trim:o.boolean,invertedPattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),pattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),maximum:(0,o.oneOfType)([o.number,o.string]),minimum:(0,o.oneOfType)([o.number,o.string]),maximumLength:o.number,minimumLength:o.number,mutable:o.boolean,writable:o.boolean,state:(0,o.shape)(s)}),u=i()({},a,s,{className:(0,o.oneOfType)([(0,o.arrayOf)(o.string),o.string]),styles:o.object,themeConfiguration:o.object,disabled:o.boolean,enforceUncontrolled:o.boolean,initialValue:o.any,model:(0,o.shape)(l),selection:(0,o.oneOfType)([(0,o.arrayOf)((0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string]))),(0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string])),(0,o.arrayOf)((0,o.shape)({label:o.string,value:(0,o.oneOfType)([o.boolean,o.number,o.string])})),o.object]),onChange:o.func,onChangeValue:o.func,onChangeShowDeclaration:o.func,onChangeState:o.func,onClick:o.func,onFocus:o.func,onTouch:o.func,required:o.boolean,requiredText:o.string,componentProperties:o.object,domNodeProperties:o.object,showDeclaration:(0,o.oneOfType)([o.boolean,o.symbol]),showInitialValidationState:o.boolean,showValidationState:o.boolean,tooltip:o.any}),c={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:1/0,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:i()({},c),trim:!0,type:"string"},d={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:i()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=I},function(e){e.exports=b},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return p},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return v},determineValidationState:function(){return b},formatValue:function(){return w},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return E},getValueFromSelection:function(){return x},hashRegularExpression:function(){return T},mapPropertiesIntoModel:function(){return y},normalizeSelection:function(){return A},parseValue:function(){return P},renderMessage:function(){return f},translateKnownSymbols:function(){return _},triggerCallbackIfExists:function(){return m},usePropertiesChangedIndicator:function(){return O},wrapStateSetter:function(){return d}});var n=r(0),i=r.n(n),o=r(6),a=r(3),s=r(4);function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var c=new o.Logger({name:"react-input-material-helper-logger",level:"warn"}),p=function(e,t){e.model&&void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model&&(e.model.state?e.model.state=i()({},e.model.state):e.model.state={});for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var o,a=n[r],s=a[0],l=a[1];null!=(o=e.model)&&o.state&&void 0===e.model.state[s]&&(e.model.state[s]=l)}return e},d=function(e,t){return function(r){var n="function"==typeof r?r(t):r;(0,o.equals)(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},f=function(e,t){if("string"!=typeof e)return"";var r=(0,o.evaluate)("`"+e+"`",t);return r.error?(c.warn("Given message template could not be proceed:",r.error),""):r.result},m=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];t="on"+(0,o.capitalize)(t),e[t]&&(r?e[t].apply(e,i):(0,o.timeout)(function(){e[t].apply(e,i)}))},_=function(e,t){void 0===t&&(t=!1);for(var r={},n=0,i=Object.entries(e);n<i.length;n++){var s=i[n],l=s[0],u=s[1];u===a.UndefinedSymbol?r[l]=void 0:u===a.NullSymbol?r[l]=null:r[l]=(0,o.copy)(e[l],t)}return r};function h(e,t,r,n,a){if("string"==typeof e.representation)return e.representation;if(null!==r){var s,u=function(e,t){if(t)for(var r,n=l(t);!(r=n()).done;){var i=r.value;if((0,o.equals)(null==i?void 0:i.value,e))return i.label||String(e)}return null}(r,a);return"string"==typeof u?u:w(i()({},e,{type:e.type||(null==(s=e.model)?void 0:s.type)||t.model.type}),r,n)}return""}var v=function(e,t,r){var n,i;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?(0,o.copy)(e.initialValue):void 0!==e.default?(0,o.copy)(e.default):void 0!==(null==(i=e.model)?void 0:i.default)?(0,o.copy)(e.model.default):void 0!==t?t:null},b=function(e,t,r){void 0===r&&(r={});var n=!1;r=i()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},r),e.model.state||(e.model.state={});for(var o=0,a=Object.entries(r);o<a.length;o++){var s=a[o],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),n=n||c!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some(function(t){return Boolean(e.model.state&&e.model.state[t])}),e.model.state.valid=!e.model.state.invalid),n},y=function(e,t){var r=(0,o.extend)(!0,{model:(0,o.copy)(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string"),r.invertedPattern&&(r.model.invertedPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.pattern=r.pattern,delete r.pattern);for(var n,i=l(Object.keys(r.model).concat("value"));!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&(r.model[a]=r[a])}for(var s in r.model.state)Object.prototype.hasOwnProperty.call(r,s)&&void 0!==r[s]&&(r.model.state[s]=r[s]);return void 0===r.model.value&&(r.model.value=(0,o.copy)(r.model.default)),r},g=function(e){var t=i()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t};function E(e){if(Array.isArray(e)){for(var t,r=[],n=[],i=l(e);!(t=i()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(r.push(o.label),n.push(o.value))}return[r,n]}return[[],[]]}function x(e,t){if(Array.isArray(t))for(var r,n=l(t);!(r=n()).done;){var i=r.value;if("string"==typeof(null==i?void 0:i.label)&&i.label===e)return i.value;if(["number","string"].includes(typeof(null==i?void 0:i.value))&&String(i.value)===e)return i.value}return null}function A(e,t){if(e||(e=t,t=void 0),!e)return e;var r=(0,o.isObject)(t),n=function(e,n){if(r)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var i=0,o=t;i<o.length;i++){var a=o[i],s=a[0],l=a[1];if(s===e)return l}else if("number"==typeof n&&n<t.length)return t[n]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},a=!1;if(Array.isArray(e)){if(a=!0,e.length){var s=[],u=0;if(Array.isArray(e[0]))for(var c=0,p=e;c<p.length;c++){var d,f=p[c],m=f[0],_=f[1];s.push({label:null!==(d=n(m,u))&&void 0!==d?d:_,value:m}),u+=1}else if((0,o.isObject)(e[0]))for(var h,v=l(e);!(h=v()).done;){var b,y=h.value;s.push(i()({},y,{label:null!==(b=n(y.value,u))&&void 0!==b?b:y.label})),u+=1}else for(var g=0,E=e;g<E.length;g++){var x,A=E[g];s.push({label:null!==(x=n(A,u))&&void 0!==x?x:A,value:A}),u+=1}e=s}}else{for(var P=[],w=0,T=Object.keys(e);w<T.length;w++){var O,C=T[w];P.push({label:null!==(O=n(C))&&void 0!==O?O:e[C],value:C})}e=P}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var S=new Map,N=0,L=0,I=t;L<I.length;L++){var M=I[L][0];S.set(M,N),N+=1}e=e.sort(function(e,t){var r,n,i=e.value,o=t.value;return(null!==(r=S.get(i))&&void 0!==r?r:0)-(null!==(n=S.get(o))&&void 0!==n?n:0)})}else a||(e=e.sort(function(e,t){var r=e.label,n=t.label;return r.localeCompare(n)}));return e}var P=function(e,t,r,n){var i;if(void 0===n&&(n=!1),n&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var o=t;if(![null,void 0].includes(t)&&null!=(i=r[e.model.type])&&i.parse){var a,s=null==(a=r[e.model.type])?void 0:a.parse;o=s&&t?s(t,r,e):t}return"number"==typeof o&&isNaN(o)?null:o};function w(e,t,r,n){var i;void 0===n&&(n=!0);var o=n?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(i=r[e.type||e.model.type])?void 0:i.format;if(a){var s,l=(null==(s=a[o])?void 0:s.transform)||a.final.transform;if(l)return l(t,r,e)}return String(t)}var T=function(e){return e.source+"||"+e.flags.split("").sort().join("")},O=function(e){return(0,s.useMemorizedValue)({},JSON.stringify(e),e.onChange,e.onChangeShowDeclaration,e.onChangeState,e.onChangeValue,e.onBlur,e.onClick,e.onFocus,e.onTouch)}},function(e,t,r){r.d(t,{defaultModelState:function(){return c},defaultProperties:function(){return d},propertyTypes:function(){return l},renderProperties:function(){return u}});var n=r(0),i=r.n(n),o=r(3),a=r(5),s=i()({},a.modelStatePropertyTypes,{invalidMaximum:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMinimum:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMaximumLength:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMinimumLength:(0,o.oneOfType)([o.boolean,o.symbol]),invalidInvertedPattern:(0,o.oneOfType)([o.boolean,o.symbol]),invalidPattern:(0,o.oneOfType)([o.boolean,o.symbol])}),l=i()({},a.propertyTypes,s,{align:o.string,children:o.func,editor:o.string,editorIsActive:(0,o.oneOfType)([o.boolean,o.symbol]),editorIsInitiallyActive:o.boolean,hidden:(0,o.oneOfType)([o.boolean,o.symbol]),leadingIcon:(0,o.oneOfType)([o.string,o.object]),trailingIcon:(0,o.oneOfType)([o.string,o.object]),attributes:o.object,invertedPattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),invertedPatternText:o.string,labels:(0,o.oneOfType)([(0,o.arrayOf)((0,o.arrayOf)((0,o.oneOfType)([o.any,o.string]))),(0,o.arrayOf)(o.string),o.object]),maximum:(0,o.oneOfType)([o.number,o.string]),maximumLength:o.number,minimum:(0,o.oneOfType)([o.number,o.string]),minimumLength:o.number,maximumLengthText:o.string,minimumLengthText:o.string,maximumText:o.string,minimumText:o.string,onBlur:o.func,onChangeEditorIsActive:o.func,onKeyDown:o.func,onKeyUp:o.func,onSelect:o.func,onSelectionChange:o.func,pattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),patternText:o.string,placeholder:o.string,representation:(0,o.oneOfType)([o.string,o.symbol]),rows:o.number,searchSelection:o.boolean,selectableEditor:o.boolean,step:o.number,suggestionCreator:o.func,suggestSelection:o.boolean,transformer:o.object}),u=["children","suggestionCreator"],c=i()({},a.defaultModelState,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),p=i()({},a.defaultModel,{state:c}),d=i()({},a.defaultProperties,{editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:i()({},p),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1})},function(e,t,r){r.d(t,{WrapTooltip:function(){return p},default:function(){return d}});var n=r(0),i=r.n(n),o=r(16),a=r(13),s=r(2),l=r(1),u=!o.Tooltip||Boolean(o.Tooltip.isDummy),c=(0,s.forwardRef)(function(e,t){return u?(0,l.jsx)("div",{className:"generic-tooltip",ref:t,title:e.value,children:e.children}):(0,l.jsx)(o.Tooltip,i()({overlay:(0,l.jsx)(a.Typography,{use:"caption",children:e.value}),ref:t},e.componentProperties,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:e.children})}))}),p=(!c||Boolean(c.isDummy),function(e){var t=e.children,r=e.value;return"string"==typeof r?(0,l.jsx)(c,{value:r,children:t}):(0,l.jsx)(l.Fragment,{children:t})}),d=p},function(e,t,r){r(0),r(18),r(7),r(2);var n=r(14),i=r(15),o=r(10),a=r(1),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(n.WrapStrict,{strict:Boolean(r),children:(0,a.jsx)(o.WrapTooltip,{value:l,children:(0,a.jsx)(i.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})};t.default=s},,function(e){e.exports=y},function(e,t,r){r.d(t,{WrapStrict:function(){return o}});var n=r(2),i=r(1),o=function(e){var t=e.children;return e.strict?(0,i.jsx)(n.StrictMode,{children:t}):(0,i.jsx)(i.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return o}});var n=r(7),i=r(1),o=function(e){var t=e.children,r=e.configuration,o=e.wrap;return r?(0,i.jsx)(n.ThemeProvider,{options:r,wrap:!1!==o,children:t}):t}},function(e){e.exports=T},function(e,t){t.A={textInput:"text-input",textInputCodeEditorButton:"text-input__code-editor-button",textInputRichtextEditorButton:"text-input__richtext-editor-button",textInputSuggestions:"text-input__suggestions",textInputSuggestionsPending:"text-input__suggestions--pending",textInputSuggestionsSuggestion:"text-input__suggestions__suggestion",textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark",codeEditor:"code-editor",cmContent:"cm-content",cmActiveLine:"cm-activeLine",cmGutters:"cm-gutters",cmActiveLineGutter:"cm-activeLineGutter",cmFocused:"cm-focused",codeEditorHasContent:"code-editor--has-content",codeEditorView:"code-editor__view",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",richtextEditorView:"richtext-editor__view",tiptap:"tiptap"}},function(e){e.exports=t},,,function(e){e.exports=N},function(e,t,r){var n=r(0),i=r.n(n),o=r(25),a=r(2),s=r(1),l=(0,a.forwardRef)(function(e,t){var r=e.componentProperties,n=e.size;return(0,s.jsx)(o.CircularProgress,i()({ref:t,size:null==n?void 0:n.replace("extra-small","xsmall").replace("extra-large","xlarge")},r))});t.A=l},function(e,t,r){var n=r(0),i=r.n(n),o=r(28),a=r(2),s=r(4),l=r(1),u=(0,a.forwardRef)(function(e,t){var r,n,a,u=(0,s.useMemorizedValue)({});return(0,l.jsx)(o.Icon,i()({className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles},null!==(n=e.componentProperties)&&void 0!==n?n:u,{onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onFocus:e.onFocus,onBlur:e.onBlur,icon:(0,s.useMemorizedValue)({icon:e.icon,size:null==(a=e.size)?void 0:a.replace("extra-small","xsmall").replace("extra-large","xlarge"),strategy:e.strategy},e.icon,e.size,e.strategy),ref:t}))});t.A=u},function(e,t,r){var n=r(0),i=r.n(n),o=r(29),a=r(2),s=r(4),l=r(1),u=(0,a.forwardRef)(function(e,t){var r,n,u,c=(0,s.useReferenceState)(null),p=c[0],d=c[1],f=(0,s.useReferenceState)(null),m=f[0],_=f[1];(0,a.useImperativeHandle)(t,function(){return{base:p,foundation:m}},[p,m]);var h=null==(r=e.size)?void 0:r.replace("extra-small","xsmall").replace("extra-large","xlarge"),v=(0,s.useMemorizedValue)({});return(0,l.jsx)(o.IconButton,i()({checked:e.value,disabled:e.disabled,className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles,icon:(0,s.useMemorizedValue)({icon:e.icon,size:h,strategy:e.strategy},e.icon,h,e.strategy),onIcon:(0,s.useMemorizedValue)({icon:e.onIcon||e.icon,size:h,strategy:e.strategy},e.onIcon,e.icon,h,e.strategy),onClick:e.onClick,onChange:e.onChange,ref:d,foundationRef:_},null!==(u=e.componentProperties)&&void 0!==u?u:v))});t.A=u},function(e){e.exports=m},function(e){e.exports=o},function(e){e.exports=i},function(e){e.exports=f},function(e){e.exports=p},function(e){e.exports=v},function(e){e.exports=g},function(e){e.exports=h},function(e){e.exports=d},function(e){e.exports=n},function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=x},function(e){e.exports=S},function(e){e.exports=w},function(e){e.exports=P},function(e){e.exports=E},function(e){e.exports=A},function(e,t,r){var n=r(7),i=r(2),o=r(1),a=(0,i.forwardRef)(function(e,t){var r=e.children,i=e.applyToChildren;return(0,o.jsx)(n.Theme,{ref:t,use:"error",wrap:i,children:r})});t.A=a},,,,,function(e,t,r){r.d(t,{EM:function(){return b},PZ:function(){return m},Wi:function(){return p},Zb:function(){return c},a5:function(){return d},cR:function(){return _},i9:function(){return v},s$:function(){return y},sr:function(){return f},sy:function(){return h}});var n,i,o,a=r(8),s=r(17),l=r(4),u=!(void 0===window),c=u?null==(n=r(44))?void 0:n.default:null,p=u?null==(i=r(45))?void 0:i.default:null,d=u?null==(o=r(46))?void 0:o.default:null,f=s.A,m={},_={injectCSS:!0,enableContentCheck:!0},h=function(e,t){return(0,a.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.invertedPattern&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some(function(t){return new RegExp(t).test(e.model.value)})},invalidPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.pattern&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some(function(t){return!new RegExp(t).test(e.model.value)})}})};function v(e){"Enter"===e.code&&e.stopPropagation()}function b(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every(function(t){return e.includes(t)}))}var y=function(e){return(0,l.useMemorizedValue)({},(0,a.usePropertiesChangedIndicator)(e),e.pattern instanceof RegExp?(0,a.hashRegularExpression)(e.pattern):e.pattern,e.invertedPattern instanceof RegExp?(0,a.hashRegularExpression)(e.invertedPattern):e.invertedPattern,e.onChangeEditorIsActive,e.onKeyDown,e.onKeyUp,e.onSelect,e.onSelectionChange,e.suggestionCreator)}}],L={};function M(e){var t=L[e];if(void 0!==t)return t.exports;var r=L[e]={exports:{}};return _[e](r,r.exports,M),r.exports}M.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return M.d(t,{a:t}),t},M.d=function(e,t){for(var r in t)M.o(t,r)&&!M.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},M.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},M.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var D={};M.r(D),M.d(D,{CODE_EDITOR_OPTIONS:function(){return je.PZ},CSS_CLASS_NAMES:function(){return je.sr},INPUT_TRANSFORMER:function(){return Xe},TIPTAP_DEFAULT_OPTIONS:function(){return je.cR},TextInput:function(){return ze},TextInputInner:function(){return Fe},default:function(){return He},determineValidationState:function(){return je.sy},preventEnterKeyPropagation:function(){return je.i9},suggestionMatches:function(){return je.EM}});var R=M(0),k=M.n(R),U=M(26),W=M(27),B=M(6),K=M(2),V=M(21),X=M.n(V),F=M(4),z=M(47),H=M(23),$=M(24),G=M(30),Z=M(22),Y=M(1),J=function(e,t){var r,n,i,o=(0,F.useReferenceState)(null),a=o[0],s=o[1],l=(0,F.useReferenceState)(null),u=l[0],c=l[1],p=(0,F.useReferenceState)(null),d=p[0],f=p[1];return(0,K.useImperativeHandle)(t,function(){return{surfaceAnchor:a,suggestionMenuAPI:u,suggestionMenuFoundation:d,focusItem:function(e){null==u||u.focusItemAtIndex(e)}}},[a,u,d]),(0,Y.jsx)(G.MenuSurfaceAnchor,{ref:s,onKeyDown:e.onKeyDown,children:e.pending?(0,Y.jsx)(G.MenuSurface,{anchorCorner:"bottomLeft",className:(null!==(r=e.classNames)&&void 0!==r?r:[]).concat(null!==(n=e.pendingClassNames)&&void 0!==n?n:[]).join(" "),open:!0,children:(0,Y.jsx)(Z.A,{size:"large"})}):(0,Y.jsx)(G.Menu,{anchorCorner:"bottomLeft",apiRef:c,className:null==(i=e.classNames)?void 0:i.join(" "),focusOnOpen:!1,foundationRef:f,onFocus:e.onFocus,onSelect:e.onSelect,open:e.open,children:e.options.map(function(t,r){var n;return(0,Y.jsx)(G.MenuItem,{className:null==(n=e.itemClassNames)?void 0:n.join(" "),children:t},r)})})})},Q=(0,K.memo)((0,K.forwardRef)(J)),ee=M(31),te=function(e,t){var r=(0,F.useReferenceState)(null),n=r[0],i=r[1],o=(0,F.useReferenceState)(null),a=o[0],s=o[1],l=(0,F.useReferenceState)(null),u=l[0],c=l[1];return(0,K.useImperativeHandle)(t,function(){return{base:n,foundation:a,input:u}},[n,a,u]),(0,Y.jsx)(ee.Select,k()({disabled:e.disabled,invalid:e.invalid,rootProps:(0,F.useMemorizedValue)(k()({name:e.name,onClick:e.onClick},e.domNodeProperties),e.name,e.onClick,e.domNodeProperties),enhanced:!0,ref:i,foundationRef:s,inputRef:c,onChange:e.onChange,onKeyDown:e.onKeyDown,options:e.options,value:String(e.value),label:e.label},e.componentProperties))},re=(0,K.memo)((0,K.forwardRef)(te)),ne=M(32),ie={textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark"},oe=(0,K.forwardRef)(function(e,t){var r,n=(0,F.useReferenceState)(null),i=n[0],o=n[1],a=(0,F.useReferenceState)(null),s=a[0],l=a[1],u=(0,F.useReferenceState)(null),c=u[0],p=u[1];(0,K.useImperativeHandle)(t,function(){return{base:i,foundation:s,input:c}},[i,s,c]);var d="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0;return(0,Y.jsx)("div",{className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles,children:(0,Y.jsx)(ne.TextField,k()({characterCount:e.characterCount&&d,disabled:e.disabled,invalid:e.invalid,label:e.label,name:e.name,placeholder:e.placeholder,helpText:e.helpText,maxLength:d?e.maximumLength:void 0,ref:o,foundationRef:l,inputRef:p,onChange:e.onChange,ripple:!0,rootProps:(0,F.useMemorizedValue)(k()({onClick:e.onClick,onKeyUp:e.onKeyUp,"tab-index":e.disabled?"0":"-1"},e.domNodeProperties),e.name,e.onClick,e.onKeyUp,e.domNodeProperties),icon:e.leadingIcon?"string"==typeof e.leadingIcon?e.leadingIcon:(0,Y.jsx)(H.A,k()({},e.leadingIcon)):void 0,trailingIcon:e.trailingIcon?"string"==typeof e.trailingIcon?e.trailingIcon:(0,Y.jsx)(H.A,k()({},e.trailingIcon)):void 0,type:e.type,value:e.value},e.componentProperties))})});oe.CSS_CLASS_NAMES=ie;var ae=oe,se=M(33),le={textInput:"text-input",codeEditor:"code-editor",mdcTextFieldDisabled:"mdc-text-field--disabled",cmEditor:"cm-editor",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",mdcIconButtonChecked:"mdc-icon-button--checked",mdcTextFieldCharacterCounter:"mdc-text-field-character-counter",mdcTextFieldWithInternalCounter:"mdc-text-field--with-internal-counter"},ue=(0,K.forwardRef)(function(e,t){var r,n,i,o,a,s=(0,K.useId)(),l=null!==(r=e.id)&&void 0!==r?r:s,u=null!==(n=e.classNamePrefix)&&void 0!==n?n:"text-area",c=(0,F.useReferenceState)(null),p=c[0],d=c[1],f=(0,F.useReferenceState)(null),m=f[0],_=f[1],h=(0,F.useReferenceState)(null),v=h[0],b=h[1],y=(0,F.useReferenceState)(null),g=y[0],E=y[1];(0,K.useImperativeHandle)(t,function(){return{foundation:g,input:p,label:v,materialTextField:m}},[g,p,v,m]),(0,K.useEffect)(function(){if(v){var t=new se.MDCTextField(v);return _(t),E(t.getDefaultFoundation()),"string"==typeof e.value&&(null==g||g.setValue(e.value),t.value=e.value),"boolean"==typeof e.disabled&&(null==g||g.setDisabled(e.disabled),t.disabled=e.disabled),"boolean"==typeof e.invalid&&(null==g||g.setValid(!e.invalid),t.valid=!e.invalid),"boolean"==typeof e.required&&(t.required=e.required),null==g||g.setUseNativeValidation(!1),function(){t.destroy()}}},[v,e.value,e.disabled,e.invalid,e.required,e.minimumLength,e.maximumLength]),(0,K.useEffect)(function(){var t=e.children?function(){setTimeout(function(){null==g||g.autoCompleteFocus()})}:B.NOOP;null==p||p.addEventListener("input",t);var r=e.children?function(){setTimeout(function(){null==g||g.activateFocus()})}:B.NOOP;return null==p||p.addEventListener("focus",r),function(){null==p||p.removeEventListener("input",t),null==p||p.removeEventListener("focus",r)}},[g,p,e.children]);var x="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0,A=(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("textarea",k()({ref:d,id:l,name:e.name,disabled:e.disabled,className:"mdc-text-field__input",style:(0,F.useMemorizedValue)(e.children?k()({visibility:"hidden",position:"absolute"},e.styles):e.styles,e.styles),rows:e.rows,"aria-labelledby":l+"-label","aria-controls":l+"-helper","aria-describedby":l+"-helper",readOnly:Boolean(e.children),value:e.value,minLength:e.minimumLength,maxLength:e.maximumLength,onChange:e.onChange,onClick:e.onClick,onBlur:e.onBlur,onFocus:e.onFocus,onKeyUp:e.onKeyUp,onKeyDown:e.onKeyDown},e.domNodeProperties)),e.children,e.barContentSlot?(0,Y.jsxs)("div",{className:u+"__bar",children:[e.barContentSlot,e.characterCount&&x?(0,Y.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}):e.characterCount&&x?(0,Y.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}),P=(0,F.useMemorizedValue)("object"==typeof e.helpText?e.helpText:{children:e.helpText},e.helpText);return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)("label",{ref:b,onClick:(0,F.useMemorizedValue)(function(t){e.onLabelClick&&e.onLabelClick(t)},e.onLabelClick),className:[u,"mdc-text-field","mdc-text-field--textarea"].concat(""===e.value?"mdc-text-field--textarea":u+"--has-content").concat(e.disabled?"mdc-text-field--disabled":[]).concat("mdc-text-field--filled").concat(e.characterCount&&x?"mdc-text-field--with-internal-counter":[]).concat(e.invalid?"mdc-text-field--invalid":[]).join(" "),children:[!1===(null==(i=e.componentProperties)?void 0:i.ripple)||e.children?"":(0,Y.jsx)("span",{className:"mdc-text-field__ripple"}),(0,Y.jsx)("span",{className:"mdc-floating-label",id:l+"-label",children:e.label}),e.resizeable?(0,Y.jsx)("span",{className:"mdc-text-field__resizer",children:A}):A,!1!==(null==(o=e.componentProperties)?void 0:o.ripple)?(0,Y.jsx)("span",{className:"mdc-line-ripple"}):""]}),P.children?(0,Y.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,Y.jsx)("div",{className:["mdc-text-field-helper-text"].concat(P.persistent?"mdc-text-field-helper-text--persistent":[]).join(" "),id:l+"-helper",children:null!=(a=e.helpText)&&a.children?e.helpText.children:e.helpText})}):""]})});ue.CSS_CLASS_NAMES=le;var ce=ue,pe=M(8),de=M(11),fe=M(10),me=M(34),_e=M(35),he=M(36),ve=M(37),be=M(38),ye=M(39),ge=M(40),Ee=(0,K.forwardRef)(function(e,t){var r=(0,F.useReferenceState)(null),n=r[0],i=r[1];return(0,K.useImperativeHandle)(t,function(){return{input:n,eventMapper:{blur:function(e){if(null!=n&&n.input){var t=new Event("blur");t.detail=e,n.input.dispatchEvent(t)}},focus:function(e){if(null!=n&&n.input){var t=new Event("focus");t.detail=e,n.input.dispatchEvent(t)}},input:function(e,t){if(null!=n&&n.input){var r=new Event("input");r.detail=t,n.input.value=String(e),n.input.dispatchEvent(r)}}}}},[n,null==n?void 0:n.input]),(0,Y.jsx)(ce,k()({ref:i},e,{children:e.children}))}),xe=M(17),Ae=me.autocompletion?[].concat(me.closeBracketsKeymap,_e.defaultKeymap,be.searchKeymap,_e.historyKeymap,he.foldKeymap,me.completionKeymap,ve.lintKeymap):[],Pe=ge.EditorView?[(0,ge.lineNumbers)(),(0,ge.highlightActiveLineGutter)(),(0,ge.highlightSpecialChars)(),(0,_e.history)(),(0,he.foldGutter)(),(0,ge.drawSelection)(),(0,ge.dropCursor)(),ye.EditorState.allowMultipleSelections.of(!0),(0,he.indentOnInput)(),(0,he.syntaxHighlighting)(he.defaultHighlightStyle,{fallback:!0}),(0,he.bracketMatching)(),(0,me.closeBrackets)(),(0,me.autocompletion)(),(0,ge.rectangularSelection)(),(0,ge.crosshairCursor)(),(0,ge.highlightActiveLine)(),(0,be.highlightSelectionMatches)(),ge.keymap.of(Ae)]:[],we=xe.A,Te=(0,K.forwardRef)(function(e,t){var r,n,i;if(!(me.autocompletion&&_e.history&&he.syntaxHighlighting&&ve.lintKeymap&&be.searchKeymap&&ye.EditorState&&ge.EditorView))throw Error("Missing codemirror dependencies.");var o=null!==(r=e.value)&&void 0!==r?r:"",a=(0,F.useReferenceState)(null),s=a[0],l=a[1],u=(0,F.useReferenceState)(null),c=u[0],p=u[1],d=(0,F.useReferenceState)(null),f=d[0],m=d[1];(0,K.useImperativeHandle)(t,function(){return{input:s,editorView:c,editorViewReference:f}},[s,c,f]);var _=(0,K.useRef)(s);_.current=s,(0,K.useEffect)(function(){var t;if(f){var r=ye.EditorState.create({doc:String(o),extensions:[Pe,ye.EditorState.changeFilter.of(function(t){var r=t.state.doc.toString();if(t.startState.doc.toString()!==r){var n;if(void 0!==e.maximumLength&&r.length>e.maximumLength)return!1;if(e.disabled)return!0;null==(n=_.current)||n.eventMapper.input(r,{transaction:t}),e.onChange&&e.onChange(r)}return!0}),null!=(t=e.editor)&&t.mode?e.editor.mode:[]]});return p(new ge.EditorView({state:r,parent:f})),function(){c&&(c.destroy(),p(null))}}},[f,null==(n=e.editor)||null==(n=n.mode)?void 0:n.language.name]),(0,K.useEffect)(function(){c&&e.value!==c.state.doc.toString()&&c.state.update({changes:{from:0,insert:ye.Text.empty}},{changes:{from:0,insert:String(e.value)}})},[c,e.value]);var h=null==s||null==(i=s.input)?void 0:i.input;return(0,K.useEffect)(function(){var e=new ResizeObserver(function(){var e=null==h?void 0:h.clientHeight;if(f&&e){var t=f.querySelector(".cm-scroller");if(t){var r=String(e)+"px";return f.style.height=r,void(t.style.height=r)}}});return h&&e.observe(h),function(){e.disconnect()}},[f,h]),(0,Y.jsx)(Ee,k()({},e,{ref:l,value:o,classNamePrefix:we.codeEditor,onLabelClick:(0,F.useMemorizedValue)(function(){null==f||f.focus()},f),children:(0,Y.jsx)("div",{ref:m,onBlur:(0,F.useMemorizedValue)(function(t){null==s||s.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},null==s?void 0:s.eventMapper.blur,e.onBlur),onFocus:(0,F.useMemorizedValue)(function(t){null==s||s.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},null==s?void 0:s.eventMapper.focus,e.onFocus),className:we.codeEditorView+" mdc-text-field__input"})}))}),Oe=M(41),Ce=M(42),Se=M(43),Ne=M.n(Se),Le=(0,K.createContext)(null),Ie=function(e){var t,r=e.action,n=e.activeIndicator,i=e.checkedIconName,o=e.enabledIndicator,a=e.iconName,s=e.label,l=(0,K.useContext)(Le);if(!l)return null;var u=!0;o?u=o(l.can().chain().focus()).run():null!==o&&(u=r(l.can().chain().focus()).run());var c=Boolean(n&&l.isActive(n)),p=null!==(t=null!=s?s:n)&&void 0!==t?t:a;return(0,Y.jsx)(fe.default,{value:p,children:(0,Y.jsx)($.A,{value:c,disabled:!u,classNames:c?["mdc-icon-button--checked"]:[],onClick:(0,F.useMemorizedValue)(function(e){e.stopPropagation(),r(l.chain().focus()).run()},r,l),size:"extra-small",icon:a,onIcon:null!=i?i:a,domNodeProperties:{"aria-label":p}})})},Me=function(e){var t=e.editor;return t?(0,Y.jsx)("span",{className:"richtext-editor-menu-bar",children:(0,Y.jsxs)(Le.Provider,{value:t,children:[(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__history",children:[(0,Y.jsx)(Ie,{action:function(e){return e.undo()},iconName:"undo"}),(0,Y.jsx)(Ie,{action:function(e){return e.redo()},iconName:"redo"})]}),(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__marks",children:[(0,Y.jsx)(Ie,{action:function(e){return e.unsetAllMarks()},enabledIndicator:null,iconName:"format_clear",label:"clear formatting"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleBold()},activeIndicator:"bold",iconName:"format_bold"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleItalic()},activeIndicator:"italic",iconName:"format_italic"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleStrike()},activeIndicator:"strike",iconName:"format_strikethrough",label:"strikethrough"})]}),(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__nodes",children:[(0,Y.jsx)(Ie,{action:function(e){return e.clearNodes()},enabledIndicator:null,iconName:"layers_clear",label:"clear markup"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleHeading({level:2})},enabledIndicator:null,activeIndicator:"heading",iconName:"title",label:"headline"}),(0,Y.jsx)(Ie,{action:function(e){return e.setParagraph()},enabledIndicator:null,activeIndicator:"paragraph",iconName:"segment"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleBulletList()},enabledIndicator:null,activeIndicator:"bulletList",iconName:"format_list_bulleted",label:"Unordered List"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleOrderedList()},enabledIndicator:null,activeIndicator:"orderedList",iconName:"format_list_numbered",label:"Ordered List"}),(0,Y.jsx)(Ie,{action:function(e){return e.setHardBreak()},enabledIndicator:null,iconName:"insert_page_break",label:"Hard break"})]})]})}):null},De=xe.A,Re=(0,K.forwardRef)(function(e,t){var r,n,i,o,a;if(!Ce.useEditor||Ne().isDummy)throw Error("Missing tiptap dependencies.");var s=null!==(r=e.value)&&void 0!==r?r:"",l=(0,F.useReferenceState)(null),u=l[0],c=l[1],p=(0,F.useReferenceState)(null),d=p[0],f=p[1];(0,K.useImperativeHandle)(t,function(){return{input:u,editorViewReference:d}},[u,d]);var m=(null==(n=e.editor)?void 0:n.extensions)||[].concat(void 0===e.maximumLength?[]:[Oe.CharacterCount.configure({limit:e.maximumLength})],[Ne().configure((null==(i=e.editor)?void 0:i.starterKitOptions)||{})]),_=(0,Ce.useEditor)(k()({extensions:m,editable:!e.disabled,content:String(s),onBlur:function(t){null==u||u.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){null==u||u.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},onUpdate:function(t){var r=t.editor.getHTML();null==u||u.eventMapper.input("<p></p>"===r?"":r,t),e.onChange&&e.onChange(r,{contentTree:t.editor.getJSON()})}},(null==(o=e.editor)?void 0:o.options)||{})),h=_.getHTML(),v=null==u||null==(a=u.input)||null==(a=a.input)?void 0:a.clientHeight;return(0,K.useEffect)(function(){d&&v&&(d.style.height=String(v+8)+"px")},[d,v]),(0,Y.jsx)(Ee,k()({},e,{ref:c,barContentSlot:(0,Y.jsx)(Me,{editor:_}),value:"<p></p>"===h?"":h,classNamePrefix:De.richtextEditor,onLabelClick:(0,F.useMemorizedValue)(function(){_.chain().focus().run()},_),children:(0,Y.jsx)(Ce.EditorContent,{className:De.richtextEditorView+" mdc-text-field__input",editor:_,innerRef:f})}))}),je=M(52),ke=M(9),qe=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},Ue=function(e){return new Date(Math.round(1e3*e)).toISOString()},We=function(e){return e instanceof Date?e.getTime()/1e3:e},Be={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var r,n,i,o=t.currency.format,a=null!==(r=null==o||null==(n=o.final.options)?void 0:n.currency)&&void 0!==r?r:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(ze.locales,k()({style:"currency"},null!==(i=null==o?void 0:o.final.options)&&void 0!==i?i:{})).format(e)}}},parse:function(e,t,r){return t.float.parse?t.float.parse(e,t,r):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Datetime formatting depends on it.");e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;var i=Ue(e);return i.substring(0,i.lastIndexOf("."))}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e+":00.000Z"),i=isNaN(n);i&&(n=Date.parse(e+".000Z"),(i=isNaN(n))&&(n=Date.parse(e),e=isNaN(n)?parseFloat(e):n/1e3)),i||(e=n/1e3)}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Datetime local formatting depends on.");e=t["datetime-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;var i=Ue(e-60*new Date(1e3*e).getTimezoneOffset());return i.substring(0,i.lastIndexOf("."))}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e+":00.000Z"),i=isNaN(n);i&&(n=Date.parse(e+".000Z"),(i=isNaN(n))&&(n=Date.parse(e),e=isNaN(n)?parseFloat(e):n/1e3)),i||(e=n/1e3+60*new Date(n).getTimezoneOffset())}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e}},date:{format:{final:{transform:function(e,t,r){var n;if(null==(n=t.datetime.format)||!n.final.transform)throw new Error("Missing datetime final format transformation configured. Date formatting depends on it.");var i=t.datetime.format.final.transform(e,t,r),o=i.indexOf("T");return-1===o?i:i.substring(0,o)}}},parse:function(e,t,r){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date parsing depends on it.");return t.datetime.parse(e,t,r)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Date local formatting depends on it.");e=t["datetime-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;e-=60*new Date(1e3*e).getTimezoneOffset();var i=Ue(e);return i.substring(0,i.lastIndexOf("T"))}}},parse:function(e,t,r){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date local parsing depends on.");return(e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r))%(24*Math.pow(60,2))==0&&(e+=60*new Date(1e3*e).getTimezoneOffset()),("number"!=typeof e||isFinite(e))&&t.date.useISOString?Ue(e):e},type:"date"},time:{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Time formatting depends on it.");e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}if(e===1/0)e=86399.999;else if(e===-1/0)e=0;else if(!isFinite(e))return"";var n=Ue(e),i=n.indexOf("T");return-1===i?n:(n=n.substring(i+1,n.length-1),r.step&&r.step>=60&&r.step%60==0?n.substring(0,n.lastIndexOf(":")):n)}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,function(e,t,r,n,i){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(r)+(n&&void 0!==i?parseFloat(i):0))}));e=isNaN(i)?0:i}else e=n/1e3}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e}},"time-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["time-local"].parse)throw new Error("Missing time local parse transformation configured. Time local formatting depends on it.");e=t["time-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}if(e===1/0)e=86400;else if(e===-1/0)e=0;else if(!isFinite(e))return"";var n=new Date(1e3*e),i=n.getHours(),o=n.getMinutes(),a=(i<10?"0":"")+String(i)+":"+(o<10?"0":"")+String(o);if(!(r.step&&r.step>=60&&r.step%60==0)){var s=n.getSeconds();return a+":"+(s<10?"0":"")+String(s)}return a}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,function(e,t,r,n,i){var o=new Date(0);return o.setHours(parseInt(t)),o.setMinutes(parseInt(r)),n&&void 0!==i&&o.setSeconds(parseInt(i)),String(o.getTime()/1e3)}));e=isNaN(i)?0:i}else e=n/1e3}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var r=t.float.format;return r?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(ze.locales,r.final.options||{}).format(e):String(e)}}},parse:function(e,t,r){var n=r.maximum,i=r.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===ze.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof i&&i>=0&&e<0||"number"==typeof n&&n<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var r,n=t.integer.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(ze.locales,k()({maximumFractionDigits:0},null!==(r=n.final.options)&&void 0!==r?r:{})).format(e):String(e)}}},parse:function(e,t,r){var n=r.maximum,i=r.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===ze.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof i&&i>=0&&e<0||"number"==typeof n&&n<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};function Ke(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Ve(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ve(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Xe=Be,Fe=function(e,t){var r,n,i,o,a,s,l,u,c=(0,K.useId)(),p=null!==(r=e.id)&&void 0!==r?r:c,d=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),ve((0,pe.parseValue)(oe,oe.default,ze.transformer,!ne&&oe.model.trim)))},r=(0,B.equals)(oe.value,oe.default);return{icon:(0,Y.jsx)(X(),{in:!r,children:je.Zb&&!je.Zb.isDummy&&je.a5?(0,Y.jsx)(je.Zb,{animation:je.a5,reverse:!0}):(0,Y.jsx)(H.A,{icon:"clear"})}),componentProperties:{"aria-hidden":r?"true":"false","tab-index":r?-1:0},onClick:t,onKeyDown:t,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var n=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),x(function(t){return void 0===t&&(t=oe.hidden),oe.hidden=!t,me(e),oe.hidden}))};return{icon:je.Zb&&!je.Zb.isDummy&&je.Wi?(0,Y.jsx)(je.Zb,{animation:je.Wi,reverse:!oe.hidden}):oe.hidden?"lock_open":"lock",onClick:n,onKeyDown:n,strategy:"component",tooltip:(oe.hidden?"Show":"Hide")+" password"}}var i;return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.domNodeProperties=null!==(i=e.domNodeProperties)&&void 0!==i?i:{},e.domNodeProperties["tab-index"]=-1,e.domNodeProperties["aria-hidden"]=!0)),e},f=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r=!0),"boolean"==typeof t?r?(0,Y.jsx)(X(),{in:t,children:e}):t?e:"":r?(0,Y.jsx)(X(),k()({},t,{children:e})):t.in?e:""},m=function(e){if("object"==typeof e&&e.tooltip){var t=e.tooltip;delete(e=k()({},e)).tooltip;var r=k()({},e);e.strategy="component",e.icon=(0,Y.jsx)(fe.default,{value:t,children:(0,Y.jsx)(H.A,k()({},r))})}return e},_=function(e){var t=(0,pe.getConsolidatedProperties)(function(e){var t,r=(0,pe.mapPropertiesIntoModel)(e,ze.defaultProperties.model);return r.model.value=(0,pe.parseValue)(r,r.model.value,I,!ne&&(null==(t=e.model)?void 0:t.trim)),(0,je.sy)(r,r.model.state),r}(e));return["plain","text"].includes(t.editor)&&(t.selectableEditor=!1),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,pe.formatValue)(t,t.value,I,!t.focused)),t},h=(0,pe.translateKnownSymbols)(e),v=(0,K.useState)(h.editorIsInitiallyActive||!1),b=v[0],y=v[1],g=(0,K.useState)(),E=g[0],x=g[1],A=(0,K.useState)(!1),P=A[0],w=A[1],T=(0,K.useState)(!1),O=T[0],C=T[1],S=(0,pe.determineInitialValue)(h,ze.defaultProperties.model.default);S instanceof Date&&(S=S.getTime()/1e3);var N=(0,B.extend)(!0,(0,B.copy)(ze.defaultProperties),h),L=N.type||(null==(n=N.model)?void 0:n.type)||"string",I=N.transformer?k()({},ze.transformer,((i={})[L]=(0,B.extend)(!0,(0,B.copy)(ze.transformer[L])||{},N.transformer),i)):ze.transformer,M=(0,K.useState)(),D=M[0],R=M[1];(N.selection||null!=(o=N.model)&&o.selection)&&(D=N.selection||(null==(a=N.model)?void 0:a.selection)),D||"boolean"!==(N.type||(null==(s=N.model)?void 0:s.type))||(D=[{label:"No",value:!1},{label:"Yes",value:!0}]);var j,q=D instanceof AbortController?[]:(0,pe.normalizeSelection)(D,N.labels),V=D instanceof AbortController?[[],[]]:(0,pe.getLabelAndValues)(q),G=V[0],Z=V[1],J=(0,K.useState)(function(){return{modelState:k()({},ze.defaultModelState),representation:(0,pe.determineInitialRepresentation)(N,ze.defaultProperties,S,I,q),value:S}}),ee=J[0],te=J[1],ne=!N.enforceUncontrolled&&(void 0!==(null==(l=h.model)?void 0:l.value)||void 0!==h.value)&&Boolean(h.onChange||h.onChangeValue),ie=ne&&void 0!==h.representation;void 0===N.editorIsActive&&(N.editorIsActive=b),void 0===N.hidden&&(N.hidden=E),void 0===N.representation&&(N.representation=ee.representation),void 0===N.showDeclaration&&(N.showDeclaration=O),(0,pe.deriveMissingPropertiesFromState)(N,ee),void 0===N.value?void 0===N.representation&&void 0===(null==(j=N.model)?void 0:j.value)&&(N.representation=ee.representation):ie||N.value===ee.value||(N.representation=void 0);var oe=_(N);void 0===oe.hidden&&(oe.hidden=oe.name.startsWith("password")),oe.editorIsActive!==b&&y(oe.editorIsActive),oe.hidden!==E&&x(oe.hidden),oe.showDeclaration!==O&&C(oe.showDeclaration);var se={modelState:oe.model.state,representation:oe.representation,value:null!==(u=oe.value)&&void 0!==u?u:null};(ne||(0,B.equals)(oe.value,ee.value)&&oe.representation===ee.representation)&&(0,B.equals)(oe.model.state,ee.modelState)||te(se),ne&&(te=(0,pe.wrapStateSetter)(te,se));var le=(0,je.s$)(oe),ue=(0,K.useCallback)(function(e){te(function(t){if(e.relatedTarget&&null!=Me&&Me.contains(e.relatedTarget))return t;w(!1);var r=!1,n=!1;if(t.modelState.focused&&(oe.focused=!1,r=!0,n=!0),t.modelState.visited||(oe.visited=!0,r=!0,n=!0),!Fe||oe.suggestSelection){var i=(0,pe.getValueFromSelection)(oe.representation,q);null===i?(oe.value=(0,pe.parseValue)(oe,oe.value,I,oe.model.trim),oe.representation=(0,pe.formatValue)(oe,oe.value,I)):oe.value=i}return(0,B.equals)(t.value,oe.value)&&t.representation===oe.representation||(r=!0),r&&me(e),(0,B.equals)(t.value,oe.value)||(0,pe.triggerCallbackIfExists)(oe,"changeValue",ne,oe.value,e,oe),n&&(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,e,oe),(0,pe.triggerCallbackIfExists)(oe,"blur",ne,e,oe),r?{modelState:oe.model.state,representation:oe.representation,value:oe.value}:t})},[le]),me=(0,K.useCallback)(function(e){(0,B.extend)(!0,oe,_(oe)),(0,pe.triggerCallbackIfExists)(oe,"change",ne,oe,e)},[le]),_e=(0,K.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),y(function(t){return oe.editorIsActive=!t,me(e),(0,pe.triggerCallbackIfExists)(oe,"changeEditorIsActive",ne,oe.editorIsActive,e,oe),oe.editorIsActive})},[le]),he=(0,K.useCallback)(function(e){C(function(t){return oe.showDeclaration=!t,me(e),(0,pe.triggerCallbackIfExists)(oe,"changeShowDeclaration",ne,oe.showDeclaration,e,oe),oe.showDeclaration})},[le]),ve=(0,K.useCallback)(function(e,t){var r;if(void 0===t&&(t=-1),w(!0),(0,B.isObject)(e)){var n=(r=e).target||r.detail;oe.value=n?void 0===n.value?null:n.value:e}else oe.value=e;var i=function(){te(function(e){if(!ie&&e.representation===oe.representation&&!oe.suggestionCreator&&-1===t)return e;var n=k()({},e,{representation:oe.representation});if(!ne&&(0,B.equals)(e.value,oe.value))return n;n.value=oe.value;var i=!1;return e.modelState.pristine&&(oe.dirty=!0,oe.pristine=!1,i=!0),me(r),(0,je.sy)(oe,e.modelState)&&(i=!0),(0,pe.triggerCallbackIfExists)(oe,"changeValue",ne,oe.value,r,oe),i&&oe.model.state&&(n.modelState=oe.model.state,(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,r,oe)),(et||-1!==t)&&(0,pe.triggerCallbackIfExists)(oe,"select",ne,r,oe),n})},o=!ne&&oe.model.trim;if(oe.representation=-1!==t?Ve[t]:"string"==typeof oe.value?oe.value:(0,pe.formatValue)(oe,oe.value,I),Fe)if(oe.suggestionCreator){var a=new AbortController,s=function(e){if(!a.signal.aborted){if(R(function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e}),-1===t){var r=(0,pe.getValueFromSelection)(oe.representation,(0,pe.normalizeSelection)(e));null!==r||oe.searchSelection?oe.value=r:oe.value=(0,pe.parseValue)(oe,oe.representation,I,o)}i()}},l=oe.suggestionCreator({abortController:a,properties:oe,query:oe.representation});null!=l&&l.then?(R(function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a}),te(function(e){return k()({},e,{representation:oe.representation})}),l.then(s,function(){})):s(l)}else{if(-1===t){var u=(0,pe.getValueFromSelection)(oe.representation,q);null!==u||oe.searchSelection?oe.value=u:oe.value=(0,pe.parseValue)(oe,oe.representation,I,o)}i()}else oe.value=(0,pe.parseValue)(oe,oe.value,I,o),i()},[le]),be=(0,K.useCallback)(function(e){Ae(e),(0,pe.triggerCallbackIfExists)(oe,"click",ne,e,oe),Pe(e)},[le]),ye=(0,K.useCallback)(function(e){w(!0),ge(e)},[le]),ge=(0,K.useCallback)(function(e){(0,pe.triggerCallbackIfExists)(oe,"focus",ne,e,oe),Pe(e)},[le]),Ee=(0,K.useCallback)(function(e){!oe.disabled&&Fe&&"ArrowDown"===e.code&&e.target===(null==Oe?void 0:Oe.input)&&(null==Ne||Ne.focusItem(0)),(et||"string"===oe.type&&"plain"!==oe.editor)&&(0,je.i9)(e),(0,pe.triggerCallbackIfExists)(oe,"keyDown",ne,e,oe)},[le]),xe=(0,K.useCallback)(function(e){e.code&&(Ae(e),(0,pe.triggerCallbackIfExists)(oe,"keyUp",ne,e,oe))},[le]),Ae=(0,K.useCallback)(function(e){(0,pe.triggerCallbackIfExists)(oe,"selectionChange",ne,e,oe)},[le]),Pe=(0,K.useCallback)(function(e){te(function(t){var r=!1;t.modelState.focused||(oe.focused=!0,r=!0),t.modelState.untouched&&(oe.touched=!0,oe.untouched=!1,r=!0);var n=t;return r&&(me(e),n=k()({},t,{modelState:oe.model.state}),(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,e,oe)),(0,pe.triggerCallbackIfExists)(oe,"touch",ne,e,oe),n})},[le]),we=(0,F.useReferenceState)(null),Oe=we[0],Ce=we[1],Se=(0,F.useReferenceState)(null),Ne=Se[0],Le=Se[1],Ie=(0,F.useReferenceState)(null),Me=Ie[0],De=Ie[1];(0,K.useImperativeHandle)(t,function(){for(var e,t={modelState:oe.model.state},r=Ke(["editorIsActive","hidden","showDeclaration"]);!(e=r()).done;){var n,i=e.value;Object.prototype.hasOwnProperty.call(h,i)||(t[i]=null!==(n=oe[i])&&void 0!==n&&n)}return ie||(t.representation=oe.representation),ne||(t.value=oe.value),{properties:oe,references:{input:Oe,menu:Ne,wrapper:Me},state:t}},[le,Oe,Ne,Me]);var ke={ref:Ce,id:p,componentProperties:oe.componentProperties,domNodeProperties:oe.domNodeProperties,onClick:be,onFocus:ye,disabled:oe.disabled,invalid:oe.invalid&&oe.showValidationState&&(oe.showInitialValidationState||oe.visited),helpText:{children:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(X(),{in:oe.selectableEditor&&"string"===oe.type&&"plain"!==oe.editor,children:(0,Y.jsx)($.A,{classNames:[oe.editor.startsWith("code")?je.sr.textInputCodeEditorButton:je.sr.textInputRichtextEditorButton],domNodeProperties:{"aria-label":oe.editorIsActive?"plain":oe.editor.startsWith("code")?"code":"richtext"},icon:oe.editorIsActive?"subject":oe.editor.startsWith("code")?"code":"text_format",onClick:_e})}),(0,Y.jsx)(X(),{in:Boolean(oe.declaration),children:(0,Y.jsx)($.A,{"aria-expanded":oe.showDeclaration?"true":"false","aria-label":"declaration",value:oe.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:he})}),(0,Y.jsx)(X(),{id:p+"-declaration",in:oe.showDeclaration,children:oe.declaration}),(0,Y.jsx)(X(),{in:!oe.showDeclaration&&oe.invalid&&oe.showValidationState&&(oe.showInitialValidationState||oe.visited),children:(0,Y.jsx)(z.A,{applyToChildren:!0,children:(0,Y.jsx)("span",{id:p+"-error-message",children:(0,pe.renderMessage)(oe.invalidMaximum&&oe.maximumText||oe.invalidMaximumLength&&oe.maximumLengthText||oe.invalidMinimum&&oe.minimumText||oe.invalidMinimumLength&&oe.minimumLengthText||oe.invalidInvertedPattern&&oe.invertedPatternText||oe.invalidPattern&&oe.patternText||oe.invalidRequired&&oe.requiredText,k()({formatValue:function(e){return(0,pe.formatValue)(oe,e,I)}},oe))})})})]}),persistent:!0},name:oe.name||oe.description,label:oe.description||oe.name},qe={placeholder:oe.placeholder,characterCount:"number"==typeof oe.maximumLength&&!isNaN(oe.maximumLength)&&oe.maximumLength>=0,value:oe.representation,domNodeProperties:k()({"tab-index":oe.disabled?"0":"-1"},oe.domNodeProperties),onKeyUp:xe},Ue=!oe.selection&&"string"===oe.type&&oe.editorIsActive&&("code"===oe.editor||oe.editor.startsWith("code(")&&oe.editor.endsWith(")")||"richtext"===oe.editor||oe.editor.startsWith("richtext(")&&oe.editor.endsWith(")")),We=Ue&&oe.editor.startsWith("code"),Be=[],Ve=[],Xe=[],Fe=Boolean(oe.suggestionCreator||G.length&&(oe.searchSelection||oe.suggestSelection));if(Fe&&G.length){oe.suggestSelection=!oe.searchSelection;for(var He,$e=0,Ge=Ke(G);!(He=Ge()).done;){var Ze=He.value;if((0,B.isFunction)(oe.children)){var Ye=oe.children({index:$e,normalizedSelection:q,properties:oe,query:oe.representation,suggestion:Ze,value:Z[$e]});Ye&&(Be.push(Ye),Ve.push(Ze),Xe.push(Z[$e]))}else if(!oe.representation||oe.suggestionCreator||(0,je.EM)(Ze,oe.representation)){var Je,Qe=(0,B.mark)(Ze,(null==(Je=oe.representation)?void 0:Je.split(" "))||"",{marker:function(e){return[e]},skipTagDelimitedParts:null}).map(function(e,t){return Array.isArray(e)?(0,Y.jsx)("span",{className:je.sr.textInputSuggestionsSuggestionMark,children:e[0]},t):(0,Y.jsx)("span",{children:e},t)});Be.push(Qe),Ve.push(Ze),Xe.push(Z[$e])}$e+=1}}var et=(Boolean(q)||Boolean(oe.labels))&&!Fe,tt={};"number"===oe.type?(tt.step=oe.step,oe.maximum!==1/0&&(tt.max=oe.maximum),oe.minimum!==-1/0&&(tt.min=oe.minimum)):"string"===oe.type?(oe.maximumLength>=0&&oe.maximumLength!==1/0&&(tt.maximumLength=oe.maximumLength),oe.minimumLength>0&&(tt.minimumLength=oe.minimumLength),"plain"!==oe.editor&&(tt.rows=oe.rows)):["date","date-local","date","date-local","datetime","datetime-local","time","time-local"].includes(oe.type)&&(tt.step=oe.step,oe.maximum!==1/0&&(tt.max=(0,pe.formatValue)(oe,oe.maximum,I)),oe.minimum!==-1/0&&(tt.min=(0,pe.formatValue)(oe,oe.minimum,I))),(0,K.useEffect)(function(){if(null!=Oe&&Oe.input){var e=Oe.input;if(Object.prototype.hasOwnProperty.call(e,"input")&&(e=e.input)&&Object.prototype.hasOwnProperty.call(e,"input")&&(e=e.input),!e)return;var t=e,r={},n=[];oe.valid?(n.push("ariaErrormessage"),n.push("ariaInvalid")):(r.ariaErrormessage=p+"-error-message",r.ariaInvalid="true"),Fe?("search"!==t.getAttribute("type")&&(r.role="searchbox"),r.ariaAutocomplete=oe.searchSelection?"inline":"list"):(n.push("searchbox"),n.push("ariaAutocomplete")),oe.showDeclaration?r.ariaDescribedby=p+"-declaration":n.push("ariaDescribedby");for(var i=k()({},r,oe.attributes||{}),o=0,a=Object.entries(i);o<a.length;o++){var s=a[o],l=s[0],u=s[1],c=(0,B.camelCaseToDelimited)(l);"boolean"==typeof u?u?t.setAttribute(c,""):t.removeAttribute(c):t.setAttribute(c,String(u))}for(var d=0,f=n;d<f.length;d++){var m=f[d],_=(0,B.camelCaseToDelimited)(m);t.hasAttribute(_)&&t.removeAttribute(_)}}},[null==Oe?void 0:Oe.input,Fe,oe.searchSelection,oe.showDeclaration,oe.attributes]),(0,K.useEffect)(function(){if(et){var e=null==Me?void 0:Me.querySelector('[aria-haspopup="listbox"]');if(e){e.hasAttribute("aria-expanded")||e.setAttribute("aria-expanded","false");var t=e.querySelector(".mdc-select__dropdown-icon-active");t&&!t.hasAttribute("aria-hidden")&&t.setAttribute("aria-hidden","true");var r=e.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}}),(0,K.useEffect)(function(){if(et){var e=null==Me?void 0:Me.querySelector('[aria-haspopup="listbox"]');if(e){var t=function(e){oe.disabled&&e.stopPropagation()};return e.addEventListener("keydown",t,!0),function(){e.removeEventListener("keydown",t,!0)}}}}),(0,K.useEffect)(function(){oe.triggerInitialPropertiesConsolidation&&me(new Event("genericInitialPropertiesConsolidation"))},[]);var rt={};if(Ue)if(oe.editor.startsWith("code(")&&oe.editor.endsWith(")")){var nt=oe.editor.substring(5,oe.editor.length-1);nt&&(rt.editor={},U.javascript&&["js","jsx","ts","tsx","script","javascript","typescript"].includes(nt.toLowerCase())?rt.editor.mode=(0,U.javascript)({jsx:!0,typescript:!0}):W.css&&["css","style","styles","cascadingstylesheet","cascadingstylesheets"].includes(nt.toLowerCase())&&(rt.editor.mode=(0,W.css)()))}else rt.editor=je.cR;return(0,Y.jsx)(de.default,{strict:ze.strict,themeConfiguration:oe.themeConfiguration,tooltip:oe.tooltip,children:(0,Y.jsxs)("div",k()({ref:De,className:[je.sr.textInput].concat(oe.className).join(" "),style:oe.styles,onBlur:ue,onKeyDown:Ee},Fe?{role:"search"}:{},{children:[f((0,Y.jsx)(re,k()({},ke,{name:oe.name,onChange:ve,onClick:be,onKeyDown:(0,F.useMemorizedValue)(function(e){oe.disabled||"Tab"===e.code||e.preventDefault()}),options:q,value:oe.value})),et),Ue?We?f((0,Y.jsx)(Te,k()({},ke,qe,tt,{onChange:ve},rt,{ref:Ce})),Ue):(0,Y.jsx)(Re,k()({},ke,qe,tt,{onChange:ve},rt,{ref:Ce})):"",f((0,Y.jsxs)("div",{children:[Fe?(0,Y.jsx)(Q,{ref:Le,onKeyDown:je.i9,pending:D instanceof AbortController,classNames:[je.sr.textInputSuggestions],itemClassNames:[je.sr.textInputSuggestionsSuggestion],pendingClassNames:[je.sr.textInputSuggestionsPending],onFocus:ge,onSelect:function(e){ve(Xe[e.detail.index],e.detail.index),w(!1)},open:Boolean(Ve.length)&&P&&!(1===Ve.length&&Ve[0]===oe.representation),options:Be}):"","string"===oe.type&&"plain"!==oe.editor?(0,Y.jsx)(ce,k()({},ke,qe,tt,{ref:Ce,onChange:ve})):(0,Y.jsx)(ae,k()({},ke,qe,tt,{onChange:ve,leadingIcon:m(d(oe.leadingIcon)),trailingIcon:m(d(oe.trailingIcon)),type:function(e){var t,r;return"string"===e.type?e.hidden?"password":Fe?"search":"text":null!==(t=null==(r=I[e.type])?void 0:r.type)&&void 0!==t?t:e.type}(oe)}))]}),!(Ue||et),oe.editor.startsWith("code"))]}))})};Fe.displayName="TextInput";var ze=(0,K.memo)((0,K.forwardRef)(Fe));ze.wrapped=Fe,ze.webComponentAdapterWrapped="react",ze.defaultModelState=ke.defaultModelState,ze.defaultProperties=k()({},ke.defaultProperties,{model:k()({},ke.defaultProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),ze.locales=B.LOCALES,ze.propTypes=ke.propertyTypes,ze.renderProperties=ke.renderProperties,ze.strict=!1,ze.transformer=Be;var He=ze;return D}())}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TextInput:function(){return TextInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),TextInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default(),"TextInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,focused:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,pristine:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,touched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,untouched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidPattern:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string}});return __webpack_exports__.default=TextInput,__webpack_exports__}()});
|
|
1
|
+
"use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@codemirror/autocomplete"),require("@codemirror/commands"),require("@codemirror/lang-css"),require("@codemirror/lang-javascript"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/search"),require("@codemirror/state"),require("@codemirror/view"),require("@material/textfield"),require("@rmwc/circular-progress"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/typography"),require("@tiptap/extensions"),require("@tiptap/react"),require("@tiptap/starter-kit"),require("clientnode"),require("react"),require("react-generic-animate"),require("react-generic-dummy"),require("react-generic-tools"),require("react-useanimations"),require("react-useanimations/lib/lock"),require("react-useanimations/lib/plusToX"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@codemirror/autocomplete","@codemirror/commands","@codemirror/lang-css","@codemirror/lang-javascript","@codemirror/language","@codemirror/lint","@codemirror/search","@codemirror/state","@codemirror/view","@material/textfield","@rmwc/circular-progress","@rmwc/icon","@rmwc/icon-button","@rmwc/menu","@rmwc/select","@rmwc/textfield","@rmwc/theme","@rmwc/typography","@tiptap/extensions","@tiptap/react","@tiptap/starter-kit","clientnode","react","react-generic-animate","react-generic-dummy","react-generic-tools","react-useanimations","react-useanimations/lib/lock","react-useanimations/lib/plusToX","react/jsx-runtime","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator","react-dom","react-dom/client","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@codemirror/autocomplete"),require("@codemirror/commands"),require("@codemirror/lang-css"),require("@codemirror/lang-javascript"),require("@codemirror/language"),require("@codemirror/lint"),require("@codemirror/search"),require("@codemirror/state"),require("@codemirror/view"),require("@material/textfield"),require("@rmwc/circular-progress"),require("@rmwc/icon"),require("@rmwc/icon-button"),require("@rmwc/menu"),require("@rmwc/select"),require("@rmwc/textfield"),require("@rmwc/theme"),require("@rmwc/typography"),require("@tiptap/extensions"),require("@tiptap/react"),require("@tiptap/starter-kit"),require("clientnode"),require("react"),require("react-generic-animate"),require("react-generic-dummy"),require("react-generic-tools"),require("react-useanimations"),require("react-useanimations/lib/lock"),require("react-useanimations/lib/plusToX"),require("react/jsx-runtime"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@codemirror/autocomplete"],e["@codemirror/commands"],e["@codemirror/lang-css"],e["@codemirror/lang-javascript"],e["@codemirror/language"],e["@codemirror/lint"],e["@codemirror/search"],e["@codemirror/state"],e["@codemirror/view"],e["@material/textfield"],e["@rmwc/circular-progress"],e["@rmwc/icon"],e["@rmwc/icon-button"],e["@rmwc/menu"],e["@rmwc/select"],e["@rmwc/textfield"],e["@rmwc/theme"],e["@rmwc/typography"],e["@tiptap/extensions"],e["@tiptap/react"],e["@tiptap/starter-kit"],e.clientnode,e.react,e["react-generic-animate"],e["react-generic-dummy"],e["react-generic-tools"],e["react-useanimations"],e["react-useanimations/lib/lock"],e["react-useanimations/lib/plusToX"],e["react/jsx-runtime"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"],e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__34__,__WEBPACK_EXTERNAL_MODULE__35__,__WEBPACK_EXTERNAL_MODULE__36__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__37__,__WEBPACK_EXTERNAL_MODULE__38__,__WEBPACK_EXTERNAL_MODULE__39__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__40__,__WEBPACK_EXTERNAL_MODULE__41__,__WEBPACK_EXTERNAL_MODULE__42__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,o,i,s,a,l,p,c,u;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(2),t=__webpack_require__(12),r=__webpack_require__(4),n=__webpack_require__(0),o=__webpack_require__(5),i=__webpack_require__(6),s=__webpack_require__(3),a=__webpack_require__(13),l=__webpack_require__(14),p=__webpack_require__(15),c=__webpack_require__(16),u=__webpack_require__(17),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,r){var n=r(0),i=r.n(n),o=r(1),a=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:a.string},e),function(t,r){if("string"==typeof r){var n,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=(0,o.camelCaseToDelimited)(r);a.observedAttributes&&!a.observedAttributes.includes(s)&&a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?i()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,o.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(r)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(r)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,r)&&(n=a.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(r):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(r,n),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?i()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,r)||(a.propertyAliases[r]=e.alias))}}}},function(e){e.exports=o},function(e){e.exports=i},function(e,t,r){r.d(t,{api:function(){return T}});var n,i,o,a,s=r(5),l=r.n(s),u=r(8),c=r.n(u),p=r(0),d=r.n(p),f=r(3),m=r.n(f),_=r(9),h=r.n(_),v=(r(10),r(6)),b=r.n(v),y=r(1),g=r(2),E=r(4);function x(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return A(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var P="undefined"==typeof HTMLElement?function(){}:HTMLElement,w=(n=(0,E.default)({type:g.boolean,writeAttribute:!0}),a=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope=d()({},y.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,c()(r,"isRoot",o,r),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=r,r.defineGetterAndSetterInterface(),r}m()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)(function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")})):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,y.timeout)(function(){e.render("connected")})},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=x(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=x(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},n=x((0,y.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,i=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(n=this.instance)&&null!=(n=n.current)&&n.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:i},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,y.timeout)(function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,y.timeout)(function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())}));else{var n=this.isStateProperty(e);this.render(n?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&n&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,i=function(){var i=n.value,o="";if(i.startsWith("data-bind-")?o=i.substring(10):i.startsWith("bind-")&&(o=i.substring(5)),o){var a=e.getAttribute(i);if(null===a)return 0;if(o.startsWith("attribute-")||o.startsWith("property-")){var s=(0,y.evaluate)(a,t,!1,!0,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+i+'" on node:',e,s.error),0;o.startsWith("attribute-")?e.setAttribute(o.substring(10),s.result):e[(0,y.delimitedToCamelCase)(o.substring(9))]=s.result}else if(o.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);if(o=(0,y.delimitedToCamelCase)(o.substring(3)),null!=l&&l.has(o)){var u=l.get(o);u&&u()}t=d()({console:console,event:void 0,parameters:void 0},t);var c=(0,y.compile)(a,t,!0,!0,e);if(c.error)console.warn("Error occurred during compiling given event",'binding "'+i+'" on node:',e,c.error);else{var p=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.event=n[0],t.parameters=n;try{c.templateFunction.apply(c,c.originalScopeNames.map(function(e){return t[e]}))}catch(t){console.warn("Error occurred during processing given",'event binding "'+i+'" on',"node:",e,'Given expression "'+a+'" could not','be evaluated with given scope names "'+c.scopeNames.join('", "')+'": '+(0,y.represent)(t))}};e.addEventListener(o,p),null==l||l.set(o,function(){e.removeEventListener(o,p),l.delete(o),0===l.size&&r.domNodeEventBindings.delete(e)})}}}},o=x(e.getAttributeNames());!(n=o()).done;)i()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var n;null==(n=e.attributes)||!n.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=d()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var n=e.nodeName.toLowerCase();if(r.ignoreComponents&&n.includes("-"))return null;if(r.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var o=(0,y.compile)("`"+i+"`",t);return{domNode:e,children:[],error:o.error,scopeNames:o.scopeNames,template:i,templateFunction:o.templateFunction}}return null}var a=null;if("#text"===n){var s=e.textContent;s&&this.self.hasCode(s)&&(a=s.replace(/ /g," ").trim())}var l=[],u={children:l,domNode:e};if(a){var c=(0,y.compile)("`"+a+"`",t);u.error=c.error,u.scopeNames=c.scopeNames,u.template=a,u.templateFunction=c.templateFunction}for(var p=e.firstChild;p;){if(!r.filter||r.filter(p)){var f=this.compileDomNodeTemplate(p,t,d()({},r,{ignoreComponents:r.ignoreNestedComponents}));f&&l.push(f)}p=p.nextSibling}return u},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,n=e.error,i=e.templateFunction,o=e.scopeNames;if(!i||!o)return null;if(n)return console.warn("Error occurred during compiling node content:",n),null;var a=null;try{a=i.apply(void 0,o.map(function(e){return t[e]}))}catch(n){console.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+o.join('", "')+'":','"'+n+'". Rendering node:',r)}return a},r.evaluateDomNodeTemplate=function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r={});var i=(r=d()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!i.has(e)){var o={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},a=this.compileDomNodeTemplate(e,t,o);a&&i.set(e,a)}if(i.has(e)){var s=i.get(e),l=this.evaluateCompiledDomNodeTemplate(s,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),s.children.length){var u=function(e){for(var r,i=x(e);!(r=i()).done;){var o=r.value,a=n.evaluateCompiledDomNodeTemplate(o,t);null!==a&&(o.domNode.textContent=a),o.children.length&&u(o.children)}};u(s.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var n,i=x([].concat(r).reverse());!(n=i()).done;){var o,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(o=a.nodeValue)?void 0:o.trim())||e.after(a)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,n=e,i=new Map,o=x(n);!(r=o()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&i.set(a,t.propertyTypes[a])}return i}return(0,y.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=i[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(b().mark(function t(){var n,i,o,a,s=arguments;return b().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,i=new Array(n),o=0;o<n;o++)i[o]=s[o];return t.next=1,e.reflectEventToProperties(r,i);case 1:(a=t.sent)&&(i[0]=a),e.forwardEvent(r,i);case 2:case"end":return t.stop()}},t)}))))},n=0,i=Object.keys(this.self.eventToPropertyMapping);n<i.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[n],o=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,o)||![g.func,"function"].includes(a)||t.self.renderProperties.includes(o)||(t.outputEventNames.add(o),t.setInternalPropertyValue(o,function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e&&t.reflectEventToProperties(o,n),t.forwardEvent(o,n)}))},n=0,i=Object.entries(this.self.propertyTypes);n<i.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=x(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,y.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,i=Array.from(e.querySelectorAll("slot"));n<i.length;n++){var o=i[n],a=o.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=x(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(o,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(o).map(function(e){return r.grabSlotContent(e)});else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(o,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(o).filter(function(e){return"#text"!==e.nodeName.toLowerCase()})[0])}},r.grabSlotContent=function(e){var t,r=g.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var n=r.firstElementChild.value;r.classList.remove("web-component-template");var i=r.cloneNode();return r.classList.add("web-component-template"),i.innerHTML="",i.template=n,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var n,i=r[t],o=i.parentNode,a=!0;o;){if(o.nodeName.includes("-")){o===this&&(a=!1);break}o=o.parentNode}if(!a){var s=null==(n=i.getAttribute("slot"))?void 0:n.trim();this.slots[null!=s?s:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map(function(t){return e.grabSlotContent(t)}):this.slots.default=[]},r.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=d()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n,i=r[t],o=i[0],a=i[1];if(this.setExternalPropertyValue(o,a),this.isConnected){var s=(0,y.camelCaseToDelimited)(o);if(null!=(n=this.self._propertiesToReflectAsAttributes)&&n.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case g.boolean:case"boolean":a?""!==this.getAttribute(s)&&this.setAttribute(s,""):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.func:case"function":break;case"json":if(a){var l=JSON.stringify(a);if(l&&this.getAttribute(s)!==l){this.setAttribute(s,l);break}}this.hasAttribute(s)&&this.removeAttribute(s);break;case g.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(s)&&this.removeAttribute(s);else{var u=String(a);this.getAttribute(s)!==u&&this.setAttribute(s,u)}break;case g.string:case"string":a?this.getAttribute(s)!==a&&this.setAttribute(s,a):this.hasAttribute(s)&&this.removeAttribute(s);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.shape:case g.exact:case g.symbol:default:if(a){var c=(0,y.represent)(a);if(c&&this.getAttribute(s)!==c){this.setAttribute(s,c);break}}this.hasAttribute(s)&&this.removeAttribute(s)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var n,i=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(n=i()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(this.internalProperties,o)&&this.setInternalPropertyValue(o,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,s=x(this.self.controllableProperties);!(a=s()).done;){var l=a.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=l()(b().mark(function e(t,r){var n,i,o,a,s,l,u,c,p,f,m,_,h,v,g,E,A;return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,i=null,o=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,y.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&(0,y.isFunction)(s.then))){e.next=2;break}return e.next=1,s;case 1:A=e.sent,e.next=3;break;case 2:A=s;case 3:l=A,o=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,y.extend)(!0,this.internalProperties,l[1])):null===l?o=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!o&&r.length>0&&(0,y.isObject)(r[0])){if(c=r[0],"persist"in r[0]&&(0,y.isFunction)(r[0].persist))for(c={},p=0,f=Object.keys(this.self.propertyTypes);p<f.length;p++)for(m=f[p],_=x([m].concat(null!==(v=this.getPropertyAlias(m))&&void 0!==v?v:[]));!(h=_()).done;)g=h.value,(E=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,g)?r[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(c[g]=E);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=d()({},c.detail));i=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",i);case 5:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),i=n?e.substring(1):e,o=(0,y.delimitedToCamelCase)(i),a=this.getPropertyAlias(o);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(o=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,o)){var s=this.self.propertyTypes[o];if(n){if(t){var l=(0,y.evaluate)(t,d()({},y.UTILITY_SCOPE),!1,!0,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(o,void 0)):(this.setInternalPropertyValue(o,l.result),this.setExternalPropertyValue(o,l.result))}}else switch(s){case g.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(o,u),this.setExternalPropertyValue(o,u);break;case g.func:case"function":var c,p=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(y.UTILITY_SCOPE_NAMES);if(t){var m=(0,y.compile)(t,f);p=m.error,c=m.templateFunction,p&&console.warn('Failed to compile given handler "'+e+'": '+p+".")}this.setInternalPropertyValue(o,function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r.outputEventNames.has(o)&&r.reflectEventToProperties(o,i);var s=void 0;if(!p)try{var l;s=null==(l=c)?void 0:l.call.apply(l,[r,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(y.UTILITY_SCOPE_VALUES))}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+(0,y.represent)(i)+'": '+r+'. Set property to "undefined".')}return r.self.renderProperties.includes(o)||r.forwardEvent(o,i),s}),p||this.setExternalPropertyValue(o,c);break;case"json":if(t){var _;try{_=JSON.parse(t)}catch(p){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,y.represent)(p));break}this.setInternalPropertyValue(o,_),this.setExternalPropertyValue(o,(0,y.copy)(_,!1,1))}else this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null);break;case g.number:case"number":if(null===t){this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(o,h),this.setExternalPropertyValue(o,h);break;case g.string:case"string":this.setInternalPropertyValue(o,t),this.setExternalPropertyValue(o,t);break;case g.any:case g.array:case g.arrayOf:case g.element:case g.elementType:case g.instanceOf:case g.node:case g.object:case"object":case g.objectOf:case g.oneOf:case g.oneOfType:case g.shape:case g.exact:case g.symbol:default:if(t){var v=(0,y.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(o,v.result),this.setExternalPropertyValue(o,(0,y.copy)(v.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(o,!0),this.setExternalPropertyValue(o,!0)):(this.setInternalPropertyValue(o,null),this.setExternalPropertyValue(o,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,y.timeout)(function(){t.batchedUpdateRunning=!1,t.render(e)})):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,y.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=d()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,y.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,y.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,d()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(P),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:g.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,i=a,o=h()(i.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),i),T={component:w,register:function(e){void 0===e&&(e=(0,y.camelCaseToDelimited)(w._name)),customElements.define(e,w)}};t.default=w},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,r){r.d(t,{api:function(){return g}});var n=r(0),i=r.n(n),o=r(5),a=r.n(o),s=r(3),l=r.n(s),u=r(6),c=r.n(u),p=r(1),d=r(2),f=r(11),m=r.n(f),_=r(12),h=r(13);function v(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return b(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){function t(){for(var r,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(r=e.call.apply(e,[this].concat(i))||this).unmountOnDisconnect=!0,r.compiledSlots={},r.preparedSlots={},r.reactRoot=null,r.rootReactInstance=null,r.self=t,r.wrapMemorizingWrapper=null,r.isWrapped=!1,r.reflectInstanceProperties=function(){var e;null!=(e=r.instance)&&e.current&&r.instance.current.properties&&r.reflectProperties(r.instance.current.properties)},r}l()(t,e);var r=t.prototype;return r.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},r.disconnectedCallback=function(){var t;this.unmountOnDisconnect&&(null==(t=this.reactRoot)||t.unmount()),e.prototype.disconnectedCallback.call(this)},r.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},r.render=function(){var e=a()(c().mark(function e(t){var r,n,o,a,s=this;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=1;break}return e.abrupt("return");case 1:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(i()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(r=this.firstChild;r;)n=r.nextSibling,this.removeChild(r),r=n;return this.reactRoot||(o=this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name,a="","string"==typeof o&&(a=o),this.reactRoot=(0,h.createRoot)(this.root,{identifierPrefix:a})),e.next=2,new Promise(function(e){(0,_.flushSync)(function(){var t;null==(t=s.reactRoot)||t.render((0,f.createElement)(s.self.content,s.internalProperties)),e()})});case 2:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=(0,p.copy)(t,!1,1),r)),this.setInternalPropertyValue(e,(0,p.copy)(t,!1,1))},r.setInternalPropertyValue=function(t,r){null===r?r=d.NullSymbol:void 0===r&&(r=d.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},r.preCompileDomNodes=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r=!1),1===(e=e.filter(function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()})).length)return this.preCompileDomNode(e[0],t,r);for(var n,i=1,o=[],a=v(e);!(n=a()).done;){var s=n.value,l=this.preCompileDomNode(s,t,r,i.toString());o.push(l),i+=1}return r?function(e){return function(){for(var t,r=[],n=v(o);!(t=n()).done;){var i=(0,t.value)(e);"function"==typeof i&&r.push(i.apply(void 0,arguments))}return(0,f.createElement)(f.Fragment,{children:r})}}:o},r.preCompileDomNode=function(e,t,r,n){var o=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var a=this.preCompileDomNode(e,i()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,n);return function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.length>0?r[0]:null;return a(i()({},e,{data:o,firstArgument:o,firstParameter:o,options:o,scope:o,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var s="string"==typeof e.nodeValue?e.nodeValue.trim():"",l=n&&s?(0,f.createElement)(f.Fragment,{children:s,key:n}):s||null;return function(){return l}}if(!e.getAttributeNames)return function(){return null};var u,c={},d=this.self.isReactComponent(e);d?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),n&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=n),u=e.constructor.content):(c.key=n,u=e.tagName.toLowerCase());for(var m,_=Object.keys(t),h={},b=function(){var r,n=m.value,i=e.getAttribute(n);if(null===i)return 0;var a=!1,s="";if(n.startsWith("data-bind-")?s=n.substring(10):n.startsWith("bind-")&&(s=n.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var l=(0,p.compile)(i,_),u=l.error,f=l.originalScopeNames,v=l.templateFunction;if(u)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,u),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),i={originalScopeNames:f,templateFunction:v.bind(o)}}else if(s.startsWith("on-")){s=(0,p.delimitedToCamelCase)(s),Object.prototype.hasOwnProperty.call(t,"event")||(_=[].concat(_,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(_=[].concat(_,["parameters"]));var b=(0,p.compile)(i,_,!0),y=b.error,g=b.originalScopeNames,E=b.scopeNames,x=b.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),0;var A=x.bind(o);i=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.event=o[0],t.parameters=o;try{A.apply(void 0,g.map(function(e){return t[e]}))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+i+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,p.represent)(t))}}}else s=n;var P={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(P,s)&&(s=P[s]),s=(0,p.delimitedToCamelCase)(s),null!=(r=i)&&r.originalScopeNames?h[a?"":s]=i:d||(c[s]=i)},y=v(e.getAttributeNames());!(m=y()).done;)b();if(!d){var g=Array.from(e.childNodes);g.length&&(c.children=this.preCompileDomNodes(g,t))}return function(r){(r=i()({},t,r)).scope=r;for(var n=i()({},c),a=0,s=Object.entries(h);a<s.length;a++){var l=s[a],p=l[0],m=l[1],_=m.originalScopeNames,v=m.templateFunction.apply(void 0,_.map(function(e){return r[e]}));""===p?n=i()({},n,v):n[p]=v}return Object.prototype.hasOwnProperty.call(n,"innerHTML")&&(n.dangerouslySetInnerHTML={__html:n.innerHTML},delete n.children,delete n.innerHTML),Object.prototype.hasOwnProperty.call(n,"textContent")?(n.children=n.textContent,delete n.textContent):d?(n=i()({},e.internalProperties,n),r=i()({},n,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(n)):n.children&&(n.children=o.evaluatePreCompiledDomNodes(n.children,r)),(0,f.createElement)(u,n)}},r.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var r,n=[],i=v(e);!(r=i()).done;){var o=(0,r.value)(t);o&&n.push(o)}return n},r.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],i()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,i()({},this.scope,{parent:this}),[d.func,"function"].includes(this.self.propertyTypes.children)))},r.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},r.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},r.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,f.forwardRef)(function(t,r){return(0,f.useImperativeHandle)(r,function(){return{properties:t}},[t]),(0,f.createElement)(e,t)}),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,f.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,f.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){var t=this;(0,p.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,f.createRef)(),e.ref=function(e){t.instance?t.instance.current=e:t.instance={current:e},t.reflectInstanceProperties()})},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=v(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(t,i)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,i)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,i))&&delete t[i]}},t}(r(7).default);y.attachWebComponentAdapterIfNotExists=!0,y.content="div",y.react=m(),y._name="ReactWebComponent";var g={component:y,register:function(e){void 0===e&&(e=(0,p.camelCaseToDelimited)(y._name)),customElements.define(e,y)}};t.default=y}],f={};function m(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={exports:{}};return d[e](r,r.exports,m),r.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var r in t)m.o(t,r)&&!m.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},m.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var _={};m.r(_),m.d(_,{ReactWeb:function(){return w},Web:function(){return C},property:function(){return P},reactWebAPI:function(){return T},webAPI:function(){return O},wrapAsWebComponent:function(){return S}});var h=m(0),v=m.n(h),b=m(3),y=m.n(b),g=m(1),E=m(4),x=m(14),A=m(7),P=E.default,w=x.default,T=x.api,O=A.api,C=A.default,S=function(e,t,r){var n,i,o;void 0===t&&(t="NoName"),void 0===r&&(r={});var a=e._name||(null==(n=e.___types)||null==(n=n.name)?void 0:n.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");r.propTypes&&(e.propTypes=r.propTypes);var s=e.propTypes||{},l=r.propertyAliases||e.propertyAliases||{},u=(0,g.unique)(Object.keys(s).concat(Object.keys(l)).concat(Object.values(l))),c=r.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(w.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(w.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var p=0,d=w.propertiesToReflectAsAttributes;p<d.length;p++){var f=d[p];c.set(f,w.propertyTypes[f])}else if("object"==typeof c)for(var m=0,_=w.propertiesToReflectAsAttributes;m<_.length;m++){var h=_[m];c[h]=w.propertyTypes[h]}var b=u.map(function(e){return(0,g.camelCaseToDelimited)(e)}),E=function(t){function n(){for(var i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(o=t.call.apply(t,[this].concat(s))||this).self=n,o.internalProperties=r.internalProperties?v()({},r.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o.unmountOnDisconnect=null===(i=r.unmountOnDisconnect)||void 0===i||i,o}return y()(n,t),n}(w);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof r.attachWebComponentAdapterIfNotExists||r.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=w.observedAttributes.concat(b).concat(b.map(function(e){return"-"+e})),E.controllableProperties=e.controllableProperties||r.controllableProperties||[],E.eventToPropertyMapping=null===r.eventToPropertyMapping?r.eventToPropertyMapping:r.eventToPropertyMapping?v()({},r.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},w.propertyAliases,l),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},w.propertyTypes,s),E.renderProperties=null!==(i=null!==(o=r.renderProperties)&&void 0!==o?o:e.renderProperties)&&void 0!==i?i:w.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return _.default=S,_}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__34__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__35__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__36__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__37__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__38__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__39__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__40__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__41__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__42__},,function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,n,r,i,o,a,l,u,s,c,d,m,f,p,v,g,h,b,y,x,S,w,I,j,C,N,T,O,P,E,A,q;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter(function(path){return eval("require.main.paths").includes(path)})))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(2),t=__webpack_require__(7),n=__webpack_require__(22),r=__webpack_require__(23),i=__webpack_require__(24),o=__webpack_require__(25),a=__webpack_require__(26),l=__webpack_require__(27),u=__webpack_require__(28),s=__webpack_require__(29),c=__webpack_require__(30),d=__webpack_require__(31),m=__webpack_require__(19),f=__webpack_require__(32),p=__webpack_require__(33),v=__webpack_require__(34),g=__webpack_require__(35),h=__webpack_require__(36),b=__webpack_require__(8),y=__webpack_require__(9),x=__webpack_require__(37),S=__webpack_require__(38),w=__webpack_require__(39),I=__webpack_require__(4),j=__webpack_require__(0),C=__webpack_require__(3),N=__webpack_require__(20),T=__webpack_require__(10),O=__webpack_require__(21),P=__webpack_require__(40),E=__webpack_require__(41),A=__webpack_require__(42),q=__webpack_require__(11),function(){var _=[function(t){t.exports=e},function(e){e.exports=q},function(e){e.exports=C},function(e){e.exports=j},function(e){e.exports=O},function(e,t,r){r.d(t,{defaultModel:function(){return p},defaultModelState:function(){return c},defaultProperties:function(){return d},modelStatePropertyTypes:function(){return s},propertyTypes:function(){return u}});var n=r(0),i=r.n(n),o=r(3),a={name:o.string,declaration:o.string,description:o.string,default:o.any,selection:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string])),(0,o.arrayOf)((0,o.shape)({label:o.string,value:(0,o.oneOfType)([o.boolean,o.number,o.string])})),o.object]),type:o.string,value:o.any},s={dirty:(0,o.oneOfType)([o.boolean,o.symbol]),pristine:(0,o.oneOfType)([o.boolean,o.symbol]),touched:(0,o.oneOfType)([o.boolean,o.symbol]),untouched:(0,o.oneOfType)([o.boolean,o.symbol]),focused:(0,o.oneOfType)([o.boolean,o.symbol]),visited:(0,o.oneOfType)([o.boolean,o.symbol]),invalid:(0,o.oneOfType)([o.boolean,o.symbol]),invalidRequired:(0,o.oneOfType)([o.boolean,o.symbol]),valid:(0,o.oneOfType)([o.boolean,o.symbol])},l=i()({},a,{emptyEqualsNull:o.boolean,trim:o.boolean,invertedPattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),pattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),maximum:(0,o.oneOfType)([o.number,o.string]),minimum:(0,o.oneOfType)([o.number,o.string]),maximumLength:o.number,minimumLength:o.number,mutable:o.boolean,writable:o.boolean,state:(0,o.shape)(s)}),u=i()({},a,s,{className:(0,o.oneOfType)([(0,o.arrayOf)(o.string),o.string]),styles:o.object,themeConfiguration:o.object,disabled:o.boolean,enforceUncontrolled:o.boolean,initialValue:o.any,model:(0,o.shape)(l),selection:(0,o.oneOfType)([(0,o.arrayOf)((0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string]))),(0,o.arrayOf)((0,o.oneOfType)([o.boolean,o.number,o.string])),(0,o.arrayOf)((0,o.shape)({label:o.string,value:(0,o.oneOfType)([o.boolean,o.number,o.string])})),o.object]),onChange:o.func,onChangeValue:o.func,onChangeShowDeclaration:o.func,onChangeState:o.func,onClick:o.func,onFocus:o.func,onTouch:o.func,required:o.boolean,requiredText:o.string,componentProperties:o.object,domNodeProperties:o.object,showDeclaration:(0,o.oneOfType)([o.boolean,o.symbol]),showInitialValidationState:o.boolean,showValidationState:o.boolean,tooltip:o.any}),c={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:1/0,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:i()({},c),trim:!0,type:"string"},d={className:[],styles:{},componentProperties:{},domNodeProperties:{},enforceUncontrolled:!1,model:i()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."}},function(e){e.exports=I},function(e){e.exports=b},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return p},determineInitialRepresentation:function(){return h},determineInitialValue:function(){return v},determineValidationState:function(){return b},formatValue:function(){return w},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return E},getValueFromSelection:function(){return x},hashRegularExpression:function(){return T},mapPropertiesIntoModel:function(){return y},normalizeSelection:function(){return A},parseValue:function(){return P},renderMessage:function(){return f},translateKnownSymbols:function(){return _},triggerCallbackIfExists:function(){return m},usePropertiesChangedIndicator:function(){return O},wrapStateSetter:function(){return d}});var n=r(0),i=r.n(n),o=r(6),a=r(3),s=r(4);function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var c=new o.Logger({name:"react-input-material-helper-logger",level:"warn"}),p=function(e,t){e.model&&void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model&&(e.model.state?e.model.state=i()({},e.model.state):e.model.state={});for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var o,a=n[r],s=a[0],l=a[1];null!=(o=e.model)&&o.state&&void 0===e.model.state[s]&&(e.model.state[s]=l)}return e},d=function(e,t){return function(r){var n="function"==typeof r?r(t):r;(0,o.equals)(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},f=function(e,t){if("string"!=typeof e)return"";var r=(0,o.evaluate)("`"+e+"`",t);return r.error?(c.warn("Given message template could not be proceed:",r.error),""):r.result},m=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];t="on"+(0,o.capitalize)(t),e[t]&&(r?e[t].apply(e,i):(0,o.timeout)(function(){e[t].apply(e,i)}))},_=function(e,t){void 0===t&&(t=!1);for(var r={},n=0,i=Object.entries(e);n<i.length;n++){var s=i[n],l=s[0],u=s[1];u===a.UndefinedSymbol?r[l]=void 0:u===a.NullSymbol?r[l]=null:r[l]=(0,o.copy)(e[l],t)}return r};function h(e,t,r,n,a){if("string"==typeof e.representation)return e.representation;if(null!==r){var s,u=function(e,t){if(t)for(var r,n=l(t);!(r=n()).done;){var i=r.value;if((0,o.equals)(null==i?void 0:i.value,e))return i.label||String(e)}return null}(r,a);return"string"==typeof u?u:w(i()({},e,{type:e.type||(null==(s=e.model)?void 0:s.type)||t.model.type}),r,n)}return""}var v=function(e,t,r){var n,i;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(n=e.model)?void 0:n.value)?e.model.value:void 0!==e.initialValue?(0,o.copy)(e.initialValue):void 0!==e.default?(0,o.copy)(e.default):void 0!==(null==(i=e.model)?void 0:i.default)?(0,o.copy)(e.model.default):void 0!==t?t:null},b=function(e,t,r){void 0===r&&(r={});var n=!1;r=i()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},r),e.model.state||(e.model.state={});for(var o=0,a=Object.entries(r);o<a.length;o++){var s=a[o],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),n=n||c!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some(function(t){return Boolean(e.model.state&&e.model.state[t])}),e.model.state.valid=!e.model.state.invalid),n},y=function(e,t){var r=(0,o.extend)(!0,{model:(0,o.copy)(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string"),r.invertedPattern&&(r.model.invertedPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.pattern=r.pattern,delete r.pattern);for(var n,i=l(Object.keys(r.model).concat("value"));!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&(r.model[a]=r[a])}for(var s in r.model.state)Object.prototype.hasOwnProperty.call(r,s)&&void 0!==r[s]&&(r.model.state[s]=r[s]);return void 0===r.model.value&&(r.model.value=(0,o.copy)(r.model.default)),r},g=function(e){var t=i()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t};function E(e){if(Array.isArray(e)){for(var t,r=[],n=[],i=l(e);!(t=i()).done;){var o=t.value;"string"==typeof(null==o?void 0:o.label)&&(r.push(o.label),n.push(o.value))}return[r,n]}return[[],[]]}function x(e,t){if(Array.isArray(t))for(var r,n=l(t);!(r=n()).done;){var i=r.value;if("string"==typeof(null==i?void 0:i.label)&&i.label===e)return i.value;if(["number","string"].includes(typeof(null==i?void 0:i.value))&&String(i.value)===e)return i.value}return null}function A(e,t){if(e||(e=t,t=void 0),!e)return e;var r=(0,o.isObject)(t),n=function(e,n){if(r)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var i=0,o=t;i<o.length;i++){var a=o[i],s=a[0],l=a[1];if(s===e)return l}else if("number"==typeof n&&n<t.length)return t[n]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},a=!1;if(Array.isArray(e)){if(a=!0,e.length){var s=[],u=0;if(Array.isArray(e[0]))for(var c=0,p=e;c<p.length;c++){var d,f=p[c],m=f[0],_=f[1];s.push({label:null!==(d=n(m,u))&&void 0!==d?d:_,value:m}),u+=1}else if((0,o.isObject)(e[0]))for(var h,v=l(e);!(h=v()).done;){var b,y=h.value;s.push(i()({},y,{label:null!==(b=n(y.value,u))&&void 0!==b?b:y.label})),u+=1}else for(var g=0,E=e;g<E.length;g++){var x,A=E[g];s.push({label:null!==(x=n(A,u))&&void 0!==x?x:A,value:A}),u+=1}e=s}}else{for(var P=[],w=0,T=Object.keys(e);w<T.length;w++){var O,C=T[w];P.push({label:null!==(O=n(C))&&void 0!==O?O:e[C],value:C})}e=P}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var S=new Map,N=0,L=0,I=t;L<I.length;L++){var M=I[L][0];S.set(M,N),N+=1}e=e.sort(function(e,t){var r,n,i=e.value,o=t.value;return(null!==(r=S.get(i))&&void 0!==r?r:0)-(null!==(n=S.get(o))&&void 0!==n?n:0)})}else a||(e=e.sort(function(e,t){var r=e.label,n=t.label;return r.localeCompare(n)}));return e}var P=function(e,t,r,n){var i;if(void 0===n&&(n=!1),n&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var o=t;if(![null,void 0].includes(t)&&null!=(i=r[e.model.type])&&i.parse){var a,s=null==(a=r[e.model.type])?void 0:a.parse;o=s&&t?s(t,r,e):t}return"number"==typeof o&&isNaN(o)?null:o};function w(e,t,r,n){var i;void 0===n&&(n=!0);var o=n?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(i=r[e.type||e.model.type])?void 0:i.format;if(a){var s,l=(null==(s=a[o])?void 0:s.transform)||a.final.transform;if(l)return l(t,r,e)}return String(t)}var T=function(e){return e.source+"||"+e.flags.split("").sort().join("")},O=function(e){return(0,s.useMemorizedValue)({},JSON.stringify(e),e.onChange,e.onChangeShowDeclaration,e.onChangeState,e.onChangeValue,e.onBlur,e.onClick,e.onFocus,e.onTouch)}},function(e,t,r){r.d(t,{defaultModelState:function(){return c},defaultProperties:function(){return d},propertyTypes:function(){return l},renderProperties:function(){return u}});var n=r(0),i=r.n(n),o=r(3),a=r(5),s=i()({},a.modelStatePropertyTypes,{invalidMaximum:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMinimum:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMaximumLength:(0,o.oneOfType)([o.boolean,o.symbol]),invalidMinimumLength:(0,o.oneOfType)([o.boolean,o.symbol]),invalidInvertedPattern:(0,o.oneOfType)([o.boolean,o.symbol]),invalidPattern:(0,o.oneOfType)([o.boolean,o.symbol])}),l=i()({},a.propertyTypes,s,{align:o.string,children:o.func,editor:o.string,editorIsActive:(0,o.oneOfType)([o.boolean,o.symbol]),editorIsInitiallyActive:o.boolean,hidden:(0,o.oneOfType)([o.boolean,o.symbol]),leadingIcon:(0,o.oneOfType)([o.string,o.object]),trailingIcon:(0,o.oneOfType)([o.string,o.object]),attributes:o.object,invertedPattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),invertedPatternText:o.string,labels:(0,o.oneOfType)([(0,o.arrayOf)((0,o.arrayOf)((0,o.oneOfType)([o.any,o.string]))),(0,o.arrayOf)(o.string),o.object]),maximum:(0,o.oneOfType)([o.number,o.string]),maximumLength:o.number,minimum:(0,o.oneOfType)([o.number,o.string]),minimumLength:o.number,maximumLengthText:o.string,minimumLengthText:o.string,maximumText:o.string,minimumText:o.string,onBlur:o.func,onChangeEditorIsActive:o.func,onKeyDown:o.func,onKeyUp:o.func,onSelect:o.func,onSelectionChange:o.func,pattern:(0,o.oneOfType)([(0,o.arrayOf)((0,o.oneOfType)([o.object,o.string])),o.object,o.string]),patternText:o.string,placeholder:o.string,representation:(0,o.oneOfType)([o.string,o.symbol]),rows:o.number,searchSelection:o.boolean,selectableEditor:o.boolean,step:o.number,suggestionCreator:o.func,suggestSelection:o.boolean,transformer:o.object}),u=["children","suggestionCreator"],c=i()({},a.defaultModelState,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),p=i()({},a.defaultModel,{state:c}),d=i()({},a.defaultProperties,{editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:i()({},p),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1})},function(e,t,r){r.d(t,{WrapTooltip:function(){return p},default:function(){return d}});var n=r(0),i=r.n(n),o=r(16),a=r(13),s=r(2),l=r(1),u=!o.Tooltip||Boolean(o.Tooltip.isDummy),c=(0,s.forwardRef)(function(e,t){return u?(0,l.jsx)("div",{className:"generic-tooltip",ref:t,title:e.value,children:e.children}):(0,l.jsx)(o.Tooltip,i()({overlay:(0,l.jsx)(a.Typography,{use:"caption",children:e.value}),ref:t},e.componentProperties,{children:(0,l.jsx)("div",{className:"generic-tooltip",children:e.children})}))}),p=(!c||Boolean(c.isDummy),function(e){var t=e.children,r=e.value;return"string"==typeof r?(0,l.jsx)(c,{value:r,children:t}):(0,l.jsx)(l.Fragment,{children:t})}),d=p},function(e,t,r){r(0),r(18),r(7),r(2);var n=r(14),i=r(15),o=r(10),a=r(1),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(n.WrapStrict,{strict:Boolean(r),children:(0,a.jsx)(o.WrapTooltip,{value:l,children:(0,a.jsx)(i.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})};t.default=s},,function(e){e.exports=y},function(e,t,r){r.d(t,{WrapStrict:function(){return o}});var n=r(2),i=r(1),o=function(e){var t=e.children;return e.strict?(0,i.jsx)(n.StrictMode,{children:t}):(0,i.jsx)(i.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return o}});var n=r(7),i=r(1),o=function(e){var t=e.children,r=e.configuration,o=e.wrap;return r?(0,i.jsx)(n.ThemeProvider,{options:r,wrap:!1!==o,children:t}):t}},function(e){e.exports=T},function(e,t){t.A={textInput:"text-input",textInputCodeEditorButton:"text-input__code-editor-button",textInputRichtextEditorButton:"text-input__richtext-editor-button",textInputSuggestions:"text-input__suggestions",textInputSuggestionsPending:"text-input__suggestions--pending",textInputSuggestionsSuggestion:"text-input__suggestions__suggestion",textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark",codeEditor:"code-editor",cmContent:"cm-content",cmActiveLine:"cm-activeLine",cmGutters:"cm-gutters",cmActiveLineGutter:"cm-activeLineGutter",cmFocused:"cm-focused",codeEditorHasContent:"code-editor--has-content",codeEditorView:"code-editor__view",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",richtextEditorView:"richtext-editor__view",tiptap:"tiptap"}},function(e){e.exports=t},,,function(e){e.exports=N},function(e,t,r){var n=r(0),i=r.n(n),o=r(25),a=r(2),s=r(1),l=(0,a.forwardRef)(function(e,t){var r=e.componentProperties,n=e.size;return(0,s.jsx)(o.CircularProgress,i()({ref:t,size:null==n?void 0:n.replace("extra-small","xsmall").replace("extra-large","xlarge")},r))});t.A=l},function(e,t,r){var n=r(0),i=r.n(n),o=r(28),a=r(2),s=r(4),l=r(1),u=(0,a.forwardRef)(function(e,t){var r,n,a,u=(0,s.useMemorizedValue)({});return(0,l.jsx)(o.Icon,i()({className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles},null!==(n=e.componentProperties)&&void 0!==n?n:u,{onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,onFocus:e.onFocus,onBlur:e.onBlur,icon:(0,s.useMemorizedValue)({icon:e.icon,size:null==(a=e.size)?void 0:a.replace("extra-small","xsmall").replace("extra-large","xlarge"),strategy:e.strategy},e.icon,e.size,e.strategy),ref:t}))});t.A=u},function(e,t,r){var n=r(0),i=r.n(n),o=r(29),a=r(2),s=r(4),l=r(1),u=(0,a.forwardRef)(function(e,t){var r,n,u,c=(0,s.useReferenceState)(null),p=c[0],d=c[1],f=(0,s.useReferenceState)(null),m=f[0],_=f[1];(0,a.useImperativeHandle)(t,function(){return{base:p,foundation:m}},[p,m]);var h=null==(r=e.size)?void 0:r.replace("extra-small","xsmall").replace("extra-large","xlarge"),v=(0,s.useMemorizedValue)({});return(0,l.jsx)(o.IconButton,i()({checked:e.value,disabled:e.disabled,className:null==(n=e.classNames)?void 0:n.join(" "),style:e.styles,icon:(0,s.useMemorizedValue)({icon:e.icon,size:h,strategy:e.strategy},e.icon,h,e.strategy),onIcon:(0,s.useMemorizedValue)({icon:e.onIcon||e.icon,size:h,strategy:e.strategy},e.onIcon,e.icon,h,e.strategy),onClick:e.onClick,onChange:e.onChange,ref:d,foundationRef:_},null!==(u=e.componentProperties)&&void 0!==u?u:v))});t.A=u},function(e){e.exports=m},function(e){e.exports=o},function(e){e.exports=i},function(e){e.exports=f},function(e){e.exports=p},function(e){e.exports=v},function(e){e.exports=g},function(e){e.exports=h},function(e){e.exports=d},function(e){e.exports=n},function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=x},function(e){e.exports=S},function(e){e.exports=w},function(e){e.exports=P},function(e){e.exports=E},function(e){e.exports=A},function(e,t,r){var n=r(7),i=r(2),o=r(1),a=(0,i.forwardRef)(function(e,t){var r=e.children,i=e.applyToChildren;return(0,o.jsx)(n.Theme,{ref:t,use:"error",wrap:i,children:r})});t.A=a},,,,,function(e,t,r){r.d(t,{EM:function(){return b},PZ:function(){return m},Wi:function(){return p},Zb:function(){return c},a5:function(){return d},cR:function(){return _},i9:function(){return v},s$:function(){return y},sr:function(){return f},sy:function(){return h}});var n,i,o,a=r(8),s=r(17),l=r(4),u=!(void 0===window),c=u?null==(n=r(44))?void 0:n.default:null,p=u?null==(i=r(45))?void 0:i.default:null,d=u?null==(o=r(46))?void 0:o.default:null,f=s.A,m={},_={injectCSS:!0,enableContentCheck:!0},h=function(e,t){return(0,a.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.invertedPattern&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some(function(t){return new RegExp(t).test(e.model.value)})},invalidPattern:function(){return"string"==typeof e.model.value&&void 0!==e.model.pattern&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some(function(t){return!new RegExp(t).test(e.model.value)})}})};function v(e){"Enter"===e.code&&e.stopPropagation()}function b(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every(function(t){return e.includes(t)}))}var y=function(e){return(0,l.useMemorizedValue)({},(0,a.usePropertiesChangedIndicator)(e),e.pattern instanceof RegExp?(0,a.hashRegularExpression)(e.pattern):e.pattern,e.invertedPattern instanceof RegExp?(0,a.hashRegularExpression)(e.invertedPattern):e.invertedPattern,e.onChangeEditorIsActive,e.onKeyDown,e.onKeyUp,e.onSelect,e.onSelectionChange,e.suggestionCreator)}}],L={};function M(e){var t=L[e];if(void 0!==t)return t.exports;var r=L[e]={exports:{}};return _[e](r,r.exports,M),r.exports}M.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return M.d(t,{a:t}),t},M.d=function(e,t){for(var r in t)M.o(t,r)&&!M.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},M.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},M.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var D={};M.r(D),M.d(D,{CODE_EDITOR_OPTIONS:function(){return je.PZ},CSS_CLASS_NAMES:function(){return je.sr},INPUT_TRANSFORMER:function(){return Xe},TIPTAP_DEFAULT_OPTIONS:function(){return je.cR},TextInput:function(){return ze},TextInputInner:function(){return Fe},default:function(){return He},determineValidationState:function(){return je.sy},preventEnterKeyPropagation:function(){return je.i9},suggestionMatches:function(){return je.EM}});var R=M(0),k=M.n(R),U=M(26),W=M(27),B=M(6),K=M(2),V=M(21),X=M.n(V),F=M(4),z=M(47),H=M(23),$=M(24),G=M(30),Z=M(22),Y=M(1),J=function(e,t){var r,n,i,o=(0,F.useReferenceState)(null),a=o[0],s=o[1],l=(0,F.useReferenceState)(null),u=l[0],c=l[1],p=(0,F.useReferenceState)(null),d=p[0],f=p[1];return(0,K.useImperativeHandle)(t,function(){return{surfaceAnchor:a,suggestionMenuAPI:u,suggestionMenuFoundation:d,focusItem:function(e){null==u||u.focusItemAtIndex(e)}}},[a,u,d]),(0,Y.jsx)(G.MenuSurfaceAnchor,{ref:s,onKeyDown:e.onKeyDown,children:e.pending?(0,Y.jsx)(G.MenuSurface,{anchorCorner:"bottomLeft",className:(null!==(r=e.classNames)&&void 0!==r?r:[]).concat(null!==(n=e.pendingClassNames)&&void 0!==n?n:[]).join(" "),open:!0,children:(0,Y.jsx)(Z.A,{size:"large"})}):(0,Y.jsx)(G.Menu,{anchorCorner:"bottomLeft",apiRef:c,className:null==(i=e.classNames)?void 0:i.join(" "),focusOnOpen:!1,foundationRef:f,onFocus:e.onFocus,onSelect:e.onSelect,open:e.open,children:e.options.map(function(t,r){var n;return(0,Y.jsx)(G.MenuItem,{className:null==(n=e.itemClassNames)?void 0:n.join(" "),children:t},r)})})})},Q=(0,K.memo)((0,K.forwardRef)(J)),ee=M(31),te=function(e,t){var r=(0,F.useReferenceState)(null),n=r[0],i=r[1],o=(0,F.useReferenceState)(null),a=o[0],s=o[1],l=(0,F.useReferenceState)(null),u=l[0],c=l[1];return(0,K.useImperativeHandle)(t,function(){return{base:n,foundation:a,input:u}},[n,a,u]),(0,Y.jsx)(ee.Select,k()({disabled:e.disabled,invalid:e.invalid,rootProps:(0,F.useMemorizedValue)(k()({name:e.name,onClick:e.onClick},e.domNodeProperties),e.name,e.onClick,e.domNodeProperties),enhanced:!0,ref:i,foundationRef:s,inputRef:c,onChange:e.onChange,onKeyDown:e.onKeyDown,options:e.options,value:String(e.value),label:e.label},e.componentProperties))},re=(0,K.memo)((0,K.forwardRef)(te)),ne=M(32),ie={textInputSuggestionsSuggestionMark:"text-input__suggestions__suggestion__mark"},oe=(0,K.forwardRef)(function(e,t){var r,n=(0,F.useReferenceState)(null),i=n[0],o=n[1],a=(0,F.useReferenceState)(null),s=a[0],l=a[1],u=(0,F.useReferenceState)(null),c=u[0],p=u[1];(0,K.useImperativeHandle)(t,function(){return{base:i,foundation:s,input:c}},[i,s,c]);var d="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0;return(0,Y.jsx)("div",{className:null==(r=e.classNames)?void 0:r.join(" "),style:e.styles,children:(0,Y.jsx)(ne.TextField,k()({characterCount:e.characterCount&&d,disabled:e.disabled,invalid:e.invalid,label:e.label,name:e.name,placeholder:e.placeholder,helpText:e.helpText,maxLength:d?e.maximumLength:void 0,ref:o,foundationRef:l,inputRef:p,onChange:e.onChange,ripple:!0,rootProps:(0,F.useMemorizedValue)(k()({onClick:e.onClick,onKeyUp:e.onKeyUp,"tab-index":e.disabled?"0":"-1"},e.domNodeProperties),e.name,e.onClick,e.onKeyUp,e.domNodeProperties),icon:e.leadingIcon?"string"==typeof e.leadingIcon?e.leadingIcon:(0,Y.jsx)(H.A,k()({},e.leadingIcon)):void 0,trailingIcon:e.trailingIcon?"string"==typeof e.trailingIcon?e.trailingIcon:(0,Y.jsx)(H.A,k()({},e.trailingIcon)):void 0,type:e.type,value:e.value},e.componentProperties))})});oe.CSS_CLASS_NAMES=ie;var ae=oe,se=M(33),le={textInput:"text-input",codeEditor:"code-editor",mdcTextFieldDisabled:"mdc-text-field--disabled",cmEditor:"cm-editor",richtextEditor:"richtext-editor",richtextEditorBar:"richtext-editor__bar",richtextEditorMenuBar:"richtext-editor-menu-bar",mdcIconButtonChecked:"mdc-icon-button--checked",mdcTextFieldCharacterCounter:"mdc-text-field-character-counter",mdcTextFieldWithInternalCounter:"mdc-text-field--with-internal-counter"},ue=(0,K.forwardRef)(function(e,t){var r,n,i,o,a,s=(0,K.useId)(),l=null!==(r=e.id)&&void 0!==r?r:s,u=null!==(n=e.classNamePrefix)&&void 0!==n?n:"text-area",c=(0,F.useReferenceState)(null),p=c[0],d=c[1],f=(0,F.useReferenceState)(null),m=f[0],_=f[1],h=(0,F.useReferenceState)(null),v=h[0],b=h[1],y=(0,F.useReferenceState)(null),g=y[0],E=y[1];(0,K.useImperativeHandle)(t,function(){return{foundation:g,input:p,label:v,materialTextField:m}},[g,p,v,m]),(0,K.useEffect)(function(){if(v){var t=new se.MDCTextField(v);return _(t),E(t.getDefaultFoundation()),"string"==typeof e.value&&(null==g||g.setValue(e.value),t.value=e.value),"boolean"==typeof e.disabled&&(null==g||g.setDisabled(e.disabled),t.disabled=e.disabled),"boolean"==typeof e.invalid&&(null==g||g.setValid(!e.invalid),t.valid=!e.invalid),"boolean"==typeof e.required&&(t.required=e.required),null==g||g.setUseNativeValidation(!1),function(){t.destroy()}}},[v,e.value,e.disabled,e.invalid,e.required,e.minimumLength,e.maximumLength]),(0,K.useEffect)(function(){var t=e.children?function(){setTimeout(function(){null==g||g.autoCompleteFocus()})}:B.NOOP;null==p||p.addEventListener("input",t);var r=e.children?function(){setTimeout(function(){null==g||g.activateFocus()})}:B.NOOP;return null==p||p.addEventListener("focus",r),function(){null==p||p.removeEventListener("input",t),null==p||p.removeEventListener("focus",r)}},[g,p,e.children]);var x="number"==typeof e.maximumLength&&!isNaN(e.maximumLength)&&e.maximumLength!==1/0&&e.maximumLength>=0,A=(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("textarea",k()({ref:d,id:l,name:e.name,disabled:e.disabled,className:"mdc-text-field__input",style:(0,F.useMemorizedValue)(e.children?k()({visibility:"hidden",position:"absolute"},e.styles):e.styles,e.styles),rows:e.rows,"aria-labelledby":l+"-label","aria-controls":l+"-helper","aria-describedby":l+"-helper",readOnly:Boolean(e.children),value:e.value,minLength:e.minimumLength,maxLength:e.maximumLength,onChange:e.onChange,onClick:e.onClick,onBlur:e.onBlur,onFocus:e.onFocus,onKeyUp:e.onKeyUp,onKeyDown:e.onKeyDown},e.domNodeProperties)),e.children,e.barContentSlot?(0,Y.jsxs)("div",{className:u+"__bar",children:[e.barContentSlot,e.characterCount&&x?(0,Y.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}):e.characterCount&&x?(0,Y.jsx)("div",{className:"mdc-text-field-character-counter"}):""]}),P=(0,F.useMemorizedValue)("object"==typeof e.helpText?e.helpText:{children:e.helpText},e.helpText);return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)("label",{ref:b,onClick:(0,F.useMemorizedValue)(function(t){e.onLabelClick&&e.onLabelClick(t)},e.onLabelClick),className:[u,"mdc-text-field","mdc-text-field--textarea"].concat(""===e.value?"mdc-text-field--textarea":u+"--has-content").concat(e.disabled?"mdc-text-field--disabled":[]).concat("mdc-text-field--filled").concat(e.characterCount&&x?"mdc-text-field--with-internal-counter":[]).concat(e.invalid?"mdc-text-field--invalid":[]).join(" "),children:[!1===(null==(i=e.componentProperties)?void 0:i.ripple)||e.children?"":(0,Y.jsx)("span",{className:"mdc-text-field__ripple"}),(0,Y.jsx)("span",{className:"mdc-floating-label",id:l+"-label",children:e.label}),e.resizeable?(0,Y.jsx)("span",{className:"mdc-text-field__resizer",children:A}):A,!1!==(null==(o=e.componentProperties)?void 0:o.ripple)?(0,Y.jsx)("span",{className:"mdc-line-ripple"}):""]}),P.children?(0,Y.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,Y.jsx)("div",{className:["mdc-text-field-helper-text"].concat(P.persistent?"mdc-text-field-helper-text--persistent":[]).join(" "),id:l+"-helper",children:null!=(a=e.helpText)&&a.children?e.helpText.children:e.helpText})}):""]})});ue.CSS_CLASS_NAMES=le;var ce=ue,pe=M(8),de=M(11),fe=M(10),me=M(34),_e=M(35),he=M(36),ve=M(37),be=M(38),ye=M(39),ge=M(40),Ee=(0,K.forwardRef)(function(e,t){var r=(0,F.useReferenceState)(null),n=r[0],i=r[1];return(0,K.useImperativeHandle)(t,function(){return{input:n,eventMapper:{blur:function(e){if(null!=n&&n.input){var t=new Event("blur");t.detail=e,n.input.dispatchEvent(t)}},focus:function(e){if(null!=n&&n.input){var t=new Event("focus");t.detail=e,n.input.dispatchEvent(t)}},input:function(e,t){if(null!=n&&n.input){var r=new Event("input");r.detail=t,n.input.value=String(e),n.input.dispatchEvent(r)}}}}},[n,null==n?void 0:n.input]),(0,Y.jsx)(ce,k()({ref:i},e,{children:e.children}))}),xe=M(17),Ae=me.autocompletion?[].concat(me.closeBracketsKeymap,_e.defaultKeymap,be.searchKeymap,_e.historyKeymap,he.foldKeymap,me.completionKeymap,ve.lintKeymap):[],Pe=ge.EditorView?[(0,ge.lineNumbers)(),(0,ge.highlightActiveLineGutter)(),(0,ge.highlightSpecialChars)(),(0,_e.history)(),(0,he.foldGutter)(),(0,ge.drawSelection)(),(0,ge.dropCursor)(),ye.EditorState.allowMultipleSelections.of(!0),(0,he.indentOnInput)(),(0,he.syntaxHighlighting)(he.defaultHighlightStyle,{fallback:!0}),(0,he.bracketMatching)(),(0,me.closeBrackets)(),(0,me.autocompletion)(),(0,ge.rectangularSelection)(),(0,ge.crosshairCursor)(),(0,ge.highlightActiveLine)(),(0,be.highlightSelectionMatches)(),ge.keymap.of(Ae)]:[],we=xe.A,Te=(0,K.forwardRef)(function(e,t){var r,n,i;if(!(me.autocompletion&&_e.history&&he.syntaxHighlighting&&ve.lintKeymap&&be.searchKeymap&&ye.EditorState&&ge.EditorView))throw Error("Missing codemirror dependencies.");var o=null!==(r=e.value)&&void 0!==r?r:"",a=(0,F.useReferenceState)(null),s=a[0],l=a[1],u=(0,F.useReferenceState)(null),c=u[0],p=u[1],d=(0,F.useReferenceState)(null),f=d[0],m=d[1];(0,K.useImperativeHandle)(t,function(){return{input:s,editorView:c,editorViewReference:f}},[s,c,f]);var _=(0,K.useRef)(s);_.current=s,(0,K.useEffect)(function(){var t;if(f){var r=ye.EditorState.create({doc:String(o),extensions:[Pe,ye.EditorState.changeFilter.of(function(t){var r=t.state.doc.toString();if(t.startState.doc.toString()!==r){var n;if(void 0!==e.maximumLength&&r.length>e.maximumLength)return!1;if(e.disabled)return!0;null==(n=_.current)||n.eventMapper.input(r,{transaction:t}),e.onChange&&e.onChange(r)}return!0}),null!=(t=e.editor)&&t.mode?e.editor.mode:[]]});return p(new ge.EditorView({state:r,parent:f})),function(){c&&(c.destroy(),p(null))}}},[f,null==(n=e.editor)||null==(n=n.mode)?void 0:n.language.name]),(0,K.useEffect)(function(){c&&e.value!==c.state.doc.toString()&&c.state.update({changes:{from:0,insert:ye.Text.empty}},{changes:{from:0,insert:String(e.value)}})},[c,e.value]);var h=null==s||null==(i=s.input)?void 0:i.input;return(0,K.useEffect)(function(){var e=new ResizeObserver(function(){var e=null==h?void 0:h.clientHeight;if(f&&e){var t=f.querySelector(".cm-scroller");if(t){var r=String(e)+"px";return f.style.height=r,void(t.style.height=r)}}});return h&&e.observe(h),function(){e.disconnect()}},[f,h]),(0,Y.jsx)(Ee,k()({},e,{ref:l,value:o,classNamePrefix:we.codeEditor,onLabelClick:(0,F.useMemorizedValue)(function(){null==f||f.focus()},f),children:(0,Y.jsx)("div",{ref:m,onBlur:(0,F.useMemorizedValue)(function(t){null==s||s.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},null==s?void 0:s.eventMapper.blur,e.onBlur),onFocus:(0,F.useMemorizedValue)(function(t){null==s||s.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},null==s?void 0:s.eventMapper.focus,e.onFocus),className:we.codeEditorView+" mdc-text-field__input"})}))}),Oe=M(41),Ce=M(42),Se=M(43),Ne=M.n(Se),Le=(0,K.createContext)(null),Ie=function(e){var t,r=e.action,n=e.activeIndicator,i=e.checkedIconName,o=e.enabledIndicator,a=e.iconName,s=e.label,l=(0,K.useContext)(Le);if(!l)return null;var u=!0;o?u=o(l.can().chain().focus()).run():null!==o&&(u=r(l.can().chain().focus()).run());var c=Boolean(n&&l.isActive(n)),p=null!==(t=null!=s?s:n)&&void 0!==t?t:a;return(0,Y.jsx)(fe.default,{value:p,children:(0,Y.jsx)($.A,{value:c,disabled:!u,classNames:c?["mdc-icon-button--checked"]:[],onClick:(0,F.useMemorizedValue)(function(e){e.stopPropagation(),r(l.chain().focus()).run()},r,l),size:"extra-small",icon:a,onIcon:null!=i?i:a,domNodeProperties:{"aria-label":p}})})},Me=function(e){var t=e.editor;return t?(0,Y.jsx)("span",{className:"richtext-editor-menu-bar",children:(0,Y.jsxs)(Le.Provider,{value:t,children:[(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__history",children:[(0,Y.jsx)(Ie,{action:function(e){return e.undo()},iconName:"undo"}),(0,Y.jsx)(Ie,{action:function(e){return e.redo()},iconName:"redo"})]}),(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__marks",children:[(0,Y.jsx)(Ie,{action:function(e){return e.unsetAllMarks()},enabledIndicator:null,iconName:"format_clear",label:"clear formatting"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleBold()},activeIndicator:"bold",iconName:"format_bold"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleItalic()},activeIndicator:"italic",iconName:"format_italic"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleStrike()},activeIndicator:"strike",iconName:"format_strikethrough",label:"strikethrough"})]}),(0,Y.jsxs)("span",{className:"richtext-editor-menu-bar__nodes",children:[(0,Y.jsx)(Ie,{action:function(e){return e.clearNodes()},enabledIndicator:null,iconName:"layers_clear",label:"clear markup"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleHeading({level:2})},enabledIndicator:null,activeIndicator:"heading",iconName:"title",label:"headline"}),(0,Y.jsx)(Ie,{action:function(e){return e.setParagraph()},enabledIndicator:null,activeIndicator:"paragraph",iconName:"segment"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleBulletList()},enabledIndicator:null,activeIndicator:"bulletList",iconName:"format_list_bulleted",label:"Unordered List"}),(0,Y.jsx)(Ie,{action:function(e){return e.toggleOrderedList()},enabledIndicator:null,activeIndicator:"orderedList",iconName:"format_list_numbered",label:"Ordered List"}),(0,Y.jsx)(Ie,{action:function(e){return e.setHardBreak()},enabledIndicator:null,iconName:"insert_page_break",label:"Hard break"})]})]})}):null},De=xe.A,Re=(0,K.forwardRef)(function(e,t){var r,n,i,o,a;if(!Ce.useEditor||Ne().isDummy)throw Error("Missing tiptap dependencies.");var s=null!==(r=e.value)&&void 0!==r?r:"",l=(0,F.useReferenceState)(null),u=l[0],c=l[1],p=(0,F.useReferenceState)(null),d=p[0],f=p[1];(0,K.useImperativeHandle)(t,function(){return{input:u,editorViewReference:d}},[u,d]);var m=(null==(n=e.editor)?void 0:n.extensions)||[].concat(void 0===e.maximumLength?[]:[Oe.CharacterCount.configure({limit:e.maximumLength})],[Ne().configure((null==(i=e.editor)?void 0:i.starterKitOptions)||{})]),_=(0,Ce.useEditor)(k()({extensions:m,editable:!e.disabled,content:String(s),onBlur:function(t){null==u||u.eventMapper.blur(t),e.onBlur&&e.onBlur(t)},onFocus:function(t){null==u||u.eventMapper.focus(t),e.onFocus&&e.onFocus(t)},onUpdate:function(t){var r=t.editor.getHTML();null==u||u.eventMapper.input("<p></p>"===r?"":r,t),e.onChange&&e.onChange(r,{contentTree:t.editor.getJSON()})}},(null==(o=e.editor)?void 0:o.options)||{})),h=_.getHTML(),v=null==u||null==(a=u.input)||null==(a=a.input)?void 0:a.clientHeight;return(0,K.useEffect)(function(){d&&v&&(d.style.height=String(v+8)+"px")},[d,v]),(0,Y.jsx)(Ee,k()({},e,{ref:c,barContentSlot:(0,Y.jsx)(Me,{editor:_}),value:"<p></p>"===h?"":h,classNamePrefix:De.richtextEditor,onLabelClick:(0,F.useMemorizedValue)(function(){_.chain().focus().run()},_),children:(0,Y.jsx)(Ce.EditorContent,{className:De.richtextEditorView+" mdc-text-field__input",editor:_,innerRef:f})}))}),je=M(52),ke=M(9),qe=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},Ue=function(e){return new Date(Math.round(1e3*e)).toISOString()},We=function(e){return e instanceof Date?e.getTime()/1e3:e},Be={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var r,n,i,o=t.currency.format,a=null!==(r=null==o||null==(n=o.final.options)?void 0:n.currency)&&void 0!==r?r:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(ze.locales,k()({style:"currency"},null!==(i=null==o?void 0:o.final.options)&&void 0!==i?i:{})).format(e)}}},parse:function(e,t,r){return t.float.parse?t.float.parse(e,t,r):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Datetime formatting depends on it.");e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;var i=Ue(e);return i.substring(0,i.lastIndexOf("."))}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e+":00.000Z"),i=isNaN(n);i&&(n=Date.parse(e+".000Z"),(i=isNaN(n))&&(n=Date.parse(e),e=isNaN(n)?parseFloat(e):n/1e3)),i||(e=n/1e3)}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Datetime local formatting depends on.");e=t["datetime-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;var i=Ue(e-60*new Date(1e3*e).getTimezoneOffset());return i.substring(0,i.lastIndexOf("."))}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e+":00.000Z"),i=isNaN(n);i&&(n=Date.parse(e+".000Z"),(i=isNaN(n))&&(n=Date.parse(e),e=isNaN(n)?parseFloat(e):n/1e3)),i||(e=n/1e3+60*new Date(n).getTimezoneOffset())}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e}},date:{format:{final:{transform:function(e,t,r){var n;if(null==(n=t.datetime.format)||!n.final.transform)throw new Error("Missing datetime final format transformation configured. Date formatting depends on it.");var i=t.datetime.format.final.transform(e,t,r),o=i.indexOf("T");return-1===o?i:i.substring(0,o)}}},parse:function(e,t,r){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date parsing depends on it.");return t.datetime.parse(e,t,r)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["datetime-local"].parse)throw new Error("Missing datetime local parse transformation configured. Date local formatting depends on it.");e=t["datetime-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}var n=qe(e);if("string"==typeof n)return n;e-=60*new Date(1e3*e).getTimezoneOffset();var i=Ue(e);return i.substring(0,i.lastIndexOf("T"))}}},parse:function(e,t,r){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Date local parsing depends on.");return(e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r))%(24*Math.pow(60,2))==0&&(e+=60*new Date(1e3*e).getTimezoneOffset()),("number"!=typeof e||isFinite(e))&&t.date.useISOString?Ue(e):e},type:"date"},time:{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t.datetime.parse)throw new Error("Missing datetime parse transformation configured. Time formatting depends on it.");e=t.datetime.parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}if(e===1/0)e=86399.999;else if(e===-1/0)e=0;else if(!isFinite(e))return"";var n=Ue(e),i=n.indexOf("T");return-1===i?n:(n=n.substring(i+1,n.length-1),r.step&&r.step>=60&&r.step%60==0?n.substring(0,n.lastIndexOf(":")):n)}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,function(e,t,r,n,i){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(r)+(n&&void 0!==i?parseFloat(i):0))}));e=isNaN(i)?0:i}else e=n/1e3}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e}},"time-local":{format:{final:{transform:function(e,t,r){if("number"!=typeof e){if(!t["time-local"].parse)throw new Error("Missing time local parse transformation configured. Time local formatting depends on it.");e=t["time-local"].parse(e,k()({},t,{date:k()({},t.date,{useISOString:!1})}),r)}if(e===1/0)e=86400;else if(e===-1/0)e=0;else if(!isFinite(e))return"";var n=new Date(1e3*e),i=n.getHours(),o=n.getMinutes(),a=(i<10?"0":"")+String(i)+":"+(o<10?"0":"")+String(o);if(!(r.step&&r.step>=60&&r.step%60==0)){var s=n.getSeconds();return a+":"+(s<10?"0":"")+String(s)}return a}}},parse:function(e,t){var r=t.date.useISOString;if("string"==typeof(e=We(e))){var n=Date.parse(e);if(isNaN(n)){var i=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,function(e,t,r,n,i){var o=new Date(0);return o.setHours(parseInt(t)),o.setMinutes(parseInt(r)),n&&void 0!==i&&o.setSeconds(parseInt(i)),String(o.getTime()/1e3)}));e=isNaN(i)?0:i}else e=n/1e3}return isNaN(e)&&(e=0),("number"!=typeof e||isFinite(e))&&r?Ue(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var r=t.float.format;return r?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(ze.locales,r.final.options||{}).format(e):String(e)}}},parse:function(e,t,r){var n=r.maximum,i=r.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===ze.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof i&&i>=0&&e<0||"number"==typeof n&&n<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var r,n=t.integer.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(ze.locales,k()({maximumFractionDigits:0},null!==(r=n.final.options)&&void 0!==r?r:{})).format(e):String(e)}}},parse:function(e,t,r){var n=r.maximum,i=r.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===ze.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof i&&i>=0&&e<0||"number"==typeof n&&n<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}};function Ke(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Ve(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ve(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Xe=Be,Fe=function(e,t){var r,n,i,o,a,s,l,u,c=(0,K.useId)(),p=null!==(r=e.id)&&void 0!==r?r:c,d=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),ve((0,pe.parseValue)(oe,oe.default,ze.transformer,!ne&&oe.model.trim)))},r=(0,B.equals)(oe.value,oe.default);return{icon:(0,Y.jsx)(X(),{in:!r,children:je.Zb&&!je.Zb.isDummy&&je.a5?(0,Y.jsx)(je.Zb,{animation:je.a5,reverse:!0}):(0,Y.jsx)(H.A,{icon:"clear"})}),componentProperties:{"aria-hidden":r?"true":"false","tab-index":r?-1:0},onClick:t,onKeyDown:t,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var n=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),x(function(t){return void 0===t&&(t=oe.hidden),oe.hidden=!t,me(e),oe.hidden}))};return{icon:je.Zb&&!je.Zb.isDummy&&je.Wi?(0,Y.jsx)(je.Zb,{animation:je.Wi,reverse:!oe.hidden}):oe.hidden?"lock_open":"lock",onClick:n,onKeyDown:n,strategy:"component",tooltip:(oe.hidden?"Show":"Hide")+" password"}}var i;return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.domNodeProperties=null!==(i=e.domNodeProperties)&&void 0!==i?i:{},e.domNodeProperties["tab-index"]=-1,e.domNodeProperties["aria-hidden"]=!0)),e},f=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r=!0),"boolean"==typeof t?r?(0,Y.jsx)(X(),{in:t,children:e}):t?e:"":r?(0,Y.jsx)(X(),k()({},t,{children:e})):t.in?e:""},m=function(e){if("object"==typeof e&&e.tooltip){var t=e.tooltip;delete(e=k()({},e)).tooltip;var r=k()({},e);e.strategy="component",e.icon=(0,Y.jsx)(fe.default,{value:t,children:(0,Y.jsx)(H.A,k()({},r))})}return e},_=function(e){var t=(0,pe.getConsolidatedProperties)(function(e){var t,r=(0,pe.mapPropertiesIntoModel)(e,ze.defaultProperties.model);return r.model.value=(0,pe.parseValue)(r,r.model.value,I,!ne&&(null==(t=e.model)?void 0:t.trim)),(0,je.sy)(r,r.model.state),r}(e));return["plain","text"].includes(t.editor)&&(t.selectableEditor=!1),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,pe.formatValue)(t,t.value,I,!t.focused)),t},h=(0,pe.translateKnownSymbols)(e),v=(0,K.useState)(h.editorIsInitiallyActive||!1),b=v[0],y=v[1],g=(0,K.useState)(),E=g[0],x=g[1],A=(0,K.useState)(!1),P=A[0],w=A[1],T=(0,K.useState)(!1),O=T[0],C=T[1],S=(0,pe.determineInitialValue)(h,ze.defaultProperties.model.default);S instanceof Date&&(S=S.getTime()/1e3);var N=(0,B.extend)(!0,(0,B.copy)(ze.defaultProperties),h),L=N.type||(null==(n=N.model)?void 0:n.type)||"string",I=N.transformer?k()({},ze.transformer,((i={})[L]=(0,B.extend)(!0,(0,B.copy)(ze.transformer[L])||{},N.transformer),i)):ze.transformer,M=(0,K.useState)(),D=M[0],R=M[1];(N.selection||null!=(o=N.model)&&o.selection)&&(D=N.selection||(null==(a=N.model)?void 0:a.selection)),D||"boolean"!==(N.type||(null==(s=N.model)?void 0:s.type))||(D=[{label:"No",value:!1},{label:"Yes",value:!0}]);var j,q=D instanceof AbortController?[]:(0,pe.normalizeSelection)(D,N.labels),V=D instanceof AbortController?[[],[]]:(0,pe.getLabelAndValues)(q),G=V[0],Z=V[1],J=(0,K.useState)(function(){return{modelState:k()({},ze.defaultModelState),representation:(0,pe.determineInitialRepresentation)(N,ze.defaultProperties,S,I,q),value:S}}),ee=J[0],te=J[1],ne=!N.enforceUncontrolled&&(void 0!==(null==(l=h.model)?void 0:l.value)||void 0!==h.value)&&Boolean(h.onChange||h.onChangeValue),ie=ne&&void 0!==h.representation;void 0===N.editorIsActive&&(N.editorIsActive=b),void 0===N.hidden&&(N.hidden=E),void 0===N.representation&&(N.representation=ee.representation),void 0===N.showDeclaration&&(N.showDeclaration=O),(0,pe.deriveMissingPropertiesFromState)(N,ee),void 0===N.value?void 0===N.representation&&void 0===(null==(j=N.model)?void 0:j.value)&&(N.representation=ee.representation):ie||N.value===ee.value||(N.representation=void 0);var oe=_(N);void 0===oe.hidden&&(oe.hidden=oe.name.startsWith("password")),oe.editorIsActive!==b&&y(oe.editorIsActive),oe.hidden!==E&&x(oe.hidden),oe.showDeclaration!==O&&C(oe.showDeclaration);var se={modelState:oe.model.state,representation:oe.representation,value:null!==(u=oe.value)&&void 0!==u?u:null};(ne||(0,B.equals)(oe.value,ee.value)&&oe.representation===ee.representation)&&(0,B.equals)(oe.model.state,ee.modelState)||te(se),ne&&(te=(0,pe.wrapStateSetter)(te,se));var le=(0,je.s$)(oe),ue=(0,K.useCallback)(function(e){te(function(t){if(e.relatedTarget&&null!=Me&&Me.contains(e.relatedTarget))return t;w(!1);var r=!1,n=!1;if(t.modelState.focused&&(oe.focused=!1,r=!0,n=!0),t.modelState.visited||(oe.visited=!0,r=!0,n=!0),!Fe||oe.suggestSelection){var i=(0,pe.getValueFromSelection)(oe.representation,q);null===i?(oe.value=(0,pe.parseValue)(oe,oe.value,I,oe.model.trim),oe.representation=(0,pe.formatValue)(oe,oe.value,I)):oe.value=i}return(0,B.equals)(t.value,oe.value)&&t.representation===oe.representation||(r=!0),r&&me(e),(0,B.equals)(t.value,oe.value)||(0,pe.triggerCallbackIfExists)(oe,"changeValue",ne,oe.value,e,oe),n&&(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,e,oe),(0,pe.triggerCallbackIfExists)(oe,"blur",ne,e,oe),r?{modelState:oe.model.state,representation:oe.representation,value:oe.value}:t})},[le]),me=(0,K.useCallback)(function(e){(0,B.extend)(!0,oe,_(oe)),(0,pe.triggerCallbackIfExists)(oe,"change",ne,oe,e)},[le]),_e=(0,K.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),y(function(t){return oe.editorIsActive=!t,me(e),(0,pe.triggerCallbackIfExists)(oe,"changeEditorIsActive",ne,oe.editorIsActive,e,oe),oe.editorIsActive})},[le]),he=(0,K.useCallback)(function(e){C(function(t){return oe.showDeclaration=!t,me(e),(0,pe.triggerCallbackIfExists)(oe,"changeShowDeclaration",ne,oe.showDeclaration,e,oe),oe.showDeclaration})},[le]),ve=(0,K.useCallback)(function(e,t){var r;if(void 0===t&&(t=-1),w(!0),(0,B.isObject)(e)){var n=(r=e).target||r.detail;oe.value=n?void 0===n.value?null:n.value:e}else oe.value=e;var i=function(){te(function(e){if(!ie&&e.representation===oe.representation&&!oe.suggestionCreator&&-1===t)return e;var n=k()({},e,{representation:oe.representation});if(!ne&&(0,B.equals)(e.value,oe.value))return n;n.value=oe.value;var i=!1;return e.modelState.pristine&&(oe.dirty=!0,oe.pristine=!1,i=!0),me(r),(0,je.sy)(oe,e.modelState)&&(i=!0),(0,pe.triggerCallbackIfExists)(oe,"changeValue",ne,oe.value,r,oe),i&&oe.model.state&&(n.modelState=oe.model.state,(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,r,oe)),(et||-1!==t)&&(0,pe.triggerCallbackIfExists)(oe,"select",ne,r,oe),n})},o=!ne&&oe.model.trim;if(oe.representation=-1!==t?Ve[t]:"string"==typeof oe.value?oe.value:(0,pe.formatValue)(oe,oe.value,I),Fe)if(oe.suggestionCreator){var a=new AbortController,s=function(e){if(!a.signal.aborted){if(R(function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e}),-1===t){var r=(0,pe.getValueFromSelection)(oe.representation,(0,pe.normalizeSelection)(e));null!==r||oe.searchSelection?oe.value=r:oe.value=(0,pe.parseValue)(oe,oe.representation,I,o)}i()}},l=oe.suggestionCreator({abortController:a,properties:oe,query:oe.representation});null!=l&&l.then?(R(function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a}),te(function(e){return k()({},e,{representation:oe.representation})}),l.then(s,function(){})):s(l)}else{if(-1===t){var u=(0,pe.getValueFromSelection)(oe.representation,q);null!==u||oe.searchSelection?oe.value=u:oe.value=(0,pe.parseValue)(oe,oe.representation,I,o)}i()}else oe.value=(0,pe.parseValue)(oe,oe.value,I,o),i()},[le]),be=(0,K.useCallback)(function(e){Ae(e),(0,pe.triggerCallbackIfExists)(oe,"click",ne,e,oe),Pe(e)},[le]),ye=(0,K.useCallback)(function(e){w(!0),ge(e)},[le]),ge=(0,K.useCallback)(function(e){(0,pe.triggerCallbackIfExists)(oe,"focus",ne,e,oe),Pe(e)},[le]),Ee=(0,K.useCallback)(function(e){!oe.disabled&&Fe&&"ArrowDown"===e.code&&e.target===(null==Oe?void 0:Oe.input)&&(null==Ne||Ne.focusItem(0)),(et||"string"===oe.type&&"plain"!==oe.editor)&&(0,je.i9)(e),(0,pe.triggerCallbackIfExists)(oe,"keyDown",ne,e,oe)},[le]),xe=(0,K.useCallback)(function(e){e.code&&(Ae(e),(0,pe.triggerCallbackIfExists)(oe,"keyUp",ne,e,oe))},[le]),Ae=(0,K.useCallback)(function(e){(0,pe.triggerCallbackIfExists)(oe,"selectionChange",ne,e,oe)},[le]),Pe=(0,K.useCallback)(function(e){te(function(t){var r=!1;t.modelState.focused||(oe.focused=!0,r=!0),t.modelState.untouched&&(oe.touched=!0,oe.untouched=!1,r=!0);var n=t;return r&&(me(e),n=k()({},t,{modelState:oe.model.state}),(0,pe.triggerCallbackIfExists)(oe,"changeState",ne,oe.model.state,e,oe)),(0,pe.triggerCallbackIfExists)(oe,"touch",ne,e,oe),n})},[le]),we=(0,F.useReferenceState)(null),Oe=we[0],Ce=we[1],Se=(0,F.useReferenceState)(null),Ne=Se[0],Le=Se[1],Ie=(0,F.useReferenceState)(null),Me=Ie[0],De=Ie[1];(0,K.useImperativeHandle)(t,function(){for(var e,t={modelState:oe.model.state},r=Ke(["editorIsActive","hidden","showDeclaration"]);!(e=r()).done;){var n,i=e.value;Object.prototype.hasOwnProperty.call(h,i)||(t[i]=null!==(n=oe[i])&&void 0!==n&&n)}return ie||(t.representation=oe.representation),ne||(t.value=oe.value),{properties:oe,references:{input:Oe,menu:Ne,wrapper:Me},state:t}},[le,Oe,Ne,Me]);var ke={ref:Ce,id:p,componentProperties:oe.componentProperties,domNodeProperties:oe.domNodeProperties,onClick:be,onFocus:ye,disabled:oe.disabled,invalid:oe.invalid&&oe.showValidationState&&(oe.showInitialValidationState||oe.visited),helpText:{children:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(X(),{in:oe.selectableEditor&&"string"===oe.type&&"plain"!==oe.editor,children:(0,Y.jsx)($.A,{classNames:[oe.editor.startsWith("code")?je.sr.textInputCodeEditorButton:je.sr.textInputRichtextEditorButton],domNodeProperties:{"aria-label":oe.editorIsActive?"plain":oe.editor.startsWith("code")?"code":"richtext"},icon:oe.editorIsActive?"subject":oe.editor.startsWith("code")?"code":"text_format",onClick:_e})}),(0,Y.jsx)(X(),{in:Boolean(oe.declaration),children:(0,Y.jsx)($.A,{"aria-expanded":oe.showDeclaration?"true":"false","aria-label":"declaration",value:oe.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:he})}),(0,Y.jsx)(X(),{id:p+"-declaration",in:oe.showDeclaration,children:oe.declaration}),(0,Y.jsx)(X(),{in:!oe.showDeclaration&&oe.invalid&&oe.showValidationState&&(oe.showInitialValidationState||oe.visited),children:(0,Y.jsx)(z.A,{applyToChildren:!0,children:(0,Y.jsx)("span",{id:p+"-error-message",children:(0,pe.renderMessage)(oe.invalidMaximum&&oe.maximumText||oe.invalidMaximumLength&&oe.maximumLengthText||oe.invalidMinimum&&oe.minimumText||oe.invalidMinimumLength&&oe.minimumLengthText||oe.invalidInvertedPattern&&oe.invertedPatternText||oe.invalidPattern&&oe.patternText||oe.invalidRequired&&oe.requiredText,k()({formatValue:function(e){return(0,pe.formatValue)(oe,e,I)}},oe))})})})]}),persistent:!0},name:oe.name||oe.description,label:oe.description||oe.name},qe={placeholder:oe.placeholder,characterCount:"number"==typeof oe.maximumLength&&!isNaN(oe.maximumLength)&&oe.maximumLength>=0,value:oe.representation,domNodeProperties:k()({"tab-index":oe.disabled?"0":"-1"},oe.domNodeProperties),onKeyUp:xe},Ue=!oe.selection&&"string"===oe.type&&oe.editorIsActive&&("code"===oe.editor||oe.editor.startsWith("code(")&&oe.editor.endsWith(")")||"richtext"===oe.editor||oe.editor.startsWith("richtext(")&&oe.editor.endsWith(")")),We=Ue&&oe.editor.startsWith("code"),Be=[],Ve=[],Xe=[],Fe=Boolean(oe.suggestionCreator||G.length&&(oe.searchSelection||oe.suggestSelection));if(Fe&&G.length){oe.suggestSelection=!oe.searchSelection;for(var He,$e=0,Ge=Ke(G);!(He=Ge()).done;){var Ze=He.value;if((0,B.isFunction)(oe.children)){var Ye=oe.children({index:$e,normalizedSelection:q,properties:oe,query:oe.representation,suggestion:Ze,value:Z[$e]});Ye&&(Be.push(Ye),Ve.push(Ze),Xe.push(Z[$e]))}else if(!oe.representation||oe.suggestionCreator||(0,je.EM)(Ze,oe.representation)){var Je,Qe=(0,B.mark)(Ze,(null==(Je=oe.representation)?void 0:Je.split(" "))||"",{marker:function(e){return[e]},skipTagDelimitedParts:null}).map(function(e,t){return Array.isArray(e)?(0,Y.jsx)("span",{className:je.sr.textInputSuggestionsSuggestionMark,children:e[0]},t):(0,Y.jsx)("span",{children:e},t)});Be.push(Qe),Ve.push(Ze),Xe.push(Z[$e])}$e+=1}}var et=(Boolean(q)||Boolean(oe.labels))&&!Fe,tt={};"number"===oe.type?(tt.step=oe.step,oe.maximum!==1/0&&(tt.max=oe.maximum),oe.minimum!==-1/0&&(tt.min=oe.minimum)):"string"===oe.type?(oe.maximumLength>=0&&oe.maximumLength!==1/0&&(tt.maximumLength=oe.maximumLength),oe.minimumLength>0&&(tt.minimumLength=oe.minimumLength),"plain"!==oe.editor&&(tt.rows=oe.rows)):["date","date-local","date","date-local","datetime","datetime-local","time","time-local"].includes(oe.type)&&(tt.step=oe.step,oe.maximum!==1/0&&(tt.max=(0,pe.formatValue)(oe,oe.maximum,I)),oe.minimum!==-1/0&&(tt.min=(0,pe.formatValue)(oe,oe.minimum,I))),(0,K.useEffect)(function(){if(null!=Oe&&Oe.input){var e=Oe.input;if(Object.prototype.hasOwnProperty.call(e,"input")&&(e=e.input)&&Object.prototype.hasOwnProperty.call(e,"input")&&(e=e.input),!e)return;var t=e,r={},n=[];oe.valid?(n.push("ariaErrormessage"),n.push("ariaInvalid")):(r.ariaErrormessage=p+"-error-message",r.ariaInvalid="true"),Fe?("search"!==t.getAttribute("type")&&(r.role="searchbox"),r.ariaAutocomplete=oe.searchSelection?"inline":"list"):(n.push("searchbox"),n.push("ariaAutocomplete")),oe.showDeclaration?r.ariaDescribedby=p+"-declaration":n.push("ariaDescribedby");for(var i=k()({},r,oe.attributes||{}),o=0,a=Object.entries(i);o<a.length;o++){var s=a[o],l=s[0],u=s[1],c=(0,B.camelCaseToDelimited)(l);"boolean"==typeof u?u?t.setAttribute(c,""):t.removeAttribute(c):t.setAttribute(c,String(u))}for(var d=0,f=n;d<f.length;d++){var m=f[d],_=(0,B.camelCaseToDelimited)(m);t.hasAttribute(_)&&t.removeAttribute(_)}}},[null==Oe?void 0:Oe.input,Fe,oe.searchSelection,oe.showDeclaration,oe.attributes]),(0,K.useEffect)(function(){if(et){var e=null==Me?void 0:Me.querySelector('[aria-haspopup="listbox"]');if(e){e.hasAttribute("aria-expanded")||e.setAttribute("aria-expanded","false");var t=e.querySelector(".mdc-select__dropdown-icon-active");t&&!t.hasAttribute("aria-hidden")&&t.setAttribute("aria-hidden","true");var r=e.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}}),(0,K.useEffect)(function(){if(et){var e=null==Me?void 0:Me.querySelector('[aria-haspopup="listbox"]');if(e){var t=function(e){oe.disabled&&e.stopPropagation()};return e.addEventListener("keydown",t,!0),function(){e.removeEventListener("keydown",t,!0)}}}}),(0,K.useEffect)(function(){oe.triggerInitialPropertiesConsolidation&&me(new Event("genericInitialPropertiesConsolidation"))},[]);var rt={};if(Ue)if(oe.editor.startsWith("code(")&&oe.editor.endsWith(")")){var nt=oe.editor.substring(5,oe.editor.length-1);nt&&(rt.editor={},U.javascript&&["js","jsx","ts","tsx","script","javascript","typescript"].includes(nt.toLowerCase())?rt.editor.mode=(0,U.javascript)({jsx:!0,typescript:!0}):W.css&&["css","style","styles","cascadingstylesheet","cascadingstylesheets"].includes(nt.toLowerCase())&&(rt.editor.mode=(0,W.css)()))}else rt.editor=je.cR;return(0,Y.jsx)(de.default,{strict:ze.strict,themeConfiguration:oe.themeConfiguration,tooltip:oe.tooltip,children:(0,Y.jsxs)("div",k()({ref:De,className:[je.sr.textInput].concat(oe.className).join(" "),style:oe.styles,onBlur:ue,onKeyDown:Ee},Fe?{role:"search"}:{},{children:[f((0,Y.jsx)(re,k()({},ke,{name:oe.name,onChange:ve,onClick:be,onKeyDown:(0,F.useMemorizedValue)(function(e){oe.disabled||"Tab"===e.code||e.preventDefault()}),options:q,value:oe.value})),et),Ue?We?f((0,Y.jsx)(Te,k()({},ke,qe,tt,{onChange:ve},rt,{ref:Ce})),Ue):(0,Y.jsx)(Re,k()({},ke,qe,tt,{onChange:ve},rt,{ref:Ce})):"",f((0,Y.jsxs)("div",{children:[Fe?(0,Y.jsx)(Q,{ref:Le,onKeyDown:je.i9,pending:D instanceof AbortController,classNames:[je.sr.textInputSuggestions],itemClassNames:[je.sr.textInputSuggestionsSuggestion],pendingClassNames:[je.sr.textInputSuggestionsPending],onFocus:ge,onSelect:function(e){ve(Xe[e.detail.index],e.detail.index),w(!1)},open:Boolean(Ve.length)&&P&&!(1===Ve.length&&Ve[0]===oe.representation),options:Be}):"","string"===oe.type&&"plain"!==oe.editor?(0,Y.jsx)(ce,k()({},ke,qe,tt,{ref:Ce,onChange:ve})):(0,Y.jsx)(ae,k()({},ke,qe,tt,{onChange:ve,leadingIcon:m(d(oe.leadingIcon)),trailingIcon:m(d(oe.trailingIcon)),type:function(e){var t,r;return"string"===e.type?e.hidden?"password":Fe?"search":"text":null!==(t=null==(r=I[e.type])?void 0:r.type)&&void 0!==t?t:e.type}(oe)}))]}),!(Ue||et),oe.editor.startsWith("code"))]}))})};Fe.displayName="TextInput";var ze=(0,K.memo)((0,K.forwardRef)(Fe));ze.wrapped=Fe,ze.webComponentAdapterWrapped="react",ze.defaultModelState=ke.defaultModelState,ze.defaultProperties=k()({},ke.defaultProperties,{model:k()({},ke.defaultProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),ze.locales=B.LOCALES,ze.propTypes=ke.propertyTypes,ze.renderProperties=ke.renderProperties,ze.strict=!1,ze.transformer=Be;var He=ze;return D}())}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{TextInput:function(){return TextInput}});var clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),clientnode_property_types__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__),react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(44),react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_2__),TextInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_2___default()(react_input_material_components_TextInput__WEBPACK_IMPORTED_MODULE_1___default(),"TextInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,focused:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,pristine:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,touched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,untouched:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,visited:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMaximumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimum:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidMinimumLength:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidPattern:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,invalidRequired:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,valid:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.boolean,name:clientnode_property_types__WEBPACK_IMPORTED_MODULE_0__.string}});return __webpack_exports__.default=TextInput,__webpack_exports__}()});
|