web-input-material 0.0.301 → 0.0.302
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/CircularSpinner.js +1 -1
- package/components/FileInput.js +1 -1
- package/components/GenericAnimate.js +1 -1
- package/components/GenericInput.js +1 -1
- package/components/GenericInput.minimal.input-bundle.js +13 -13
- package/components/GenericInputs.js +1 -1
- package/components/RequireableCheckbox.js +1 -1
- package/components/SliderInput.js +1 -1
- package/components/Tabs.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}: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/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","clientnode","react","react-dom","react-dom/client","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/wrapNativeSuper","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/regenerator","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/checkbox","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","react/jsx-runtime"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e.clientnode,e.react,e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/wrapNativeSuper"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/regenerator"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/checkbox"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e["react/jsx-runtime"]);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__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__49__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){"use strict";var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;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!=__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;t=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__1__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__1__},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(module,__unused_webpack_exports,__nested_webpack_require_4162__){var __dirname="/",e,t,r,n,i,s,o,a,l,p,u;if(module=__nested_webpack_require_4162__.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!=__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===__nested_webpack_require_4162__.g||null===__nested_webpack_require_4162__.g?{}:__nested_webpack_require_4162__.g;module.exports=(e=__nested_webpack_require_4162__(4),t=__nested_webpack_require_4162__(0),r=__nested_webpack_require_4162__(5),n=__nested_webpack_require_4162__(6),i=__nested_webpack_require_4162__(3),s=__nested_webpack_require_4162__(7),o=__nested_webpack_require_4162__(8),a=__nested_webpack_require_4162__(9),l=__nested_webpack_require_4162__(10),p=__nested_webpack_require_4162__(1),u=__nested_webpack_require_4162__(2),function(){var c=[function(e){e.exports=t},function(e){e.exports=p},function(e){e.exports=u},function(e){e.exports=i},function(e,t,r){var n=r(0),o=r.n(n),i=r(1),a=r.n(i),s=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:s.string},e),function(t,r){if("string"==typeof r){var n,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var s=a().stringCamelCaseToDelimited(r);i.observedAttributes.includes(s)||i.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?o()({},i.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?a().copy(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(r)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(r)||null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,r)&&(n=i.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(r):i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes)),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(r,n),null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?o()({},i.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyAliases[r]=e.alias))}}}},,function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=s},function(e){e.exports=o},function(e){e.exports=a},function(e){e.exports=l}],d={};function _(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return c[e](r,r.exports,_),r.exports}_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,{a:t}),t},_.d=function(e,t){for(var r in t)_.o(t,r)&&!_.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return function(){_.r(f),_.d(f,{Web:function(){return x},api:function(){return C}});var e,t,r,n,o=_(6),i=_.n(o),a=_(0),s=_.n(a),l=_(7),p=_.n(l),u=_(8),c=_.n(u),d=_(3),h=_.n(d),b=_(9),m=_.n(b),y=_(10),v=_.n(y),g=(_(11),_(12)),A=_.n(g),P=_(1),E=_.n(P),w=_(2);function T(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 O(e,t);var r=Object.prototype.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)?O(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 O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var x=(e=(0,_(4).default)({type:w.boolean,writeAttribute:!0}),n=function(e){function t(){var n;return(n=e.call(this)||this).batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parent=null,n.rootInstance=null,n.scope={Tools:E()},n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,p()(n,"isRoot",r,c()(n)),n.root=void 0,n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.root=c()(n),n.defineGetterAndSetterInterface(),n}h()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.updateAttribute(e,r)},n.updateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")}))):this.render("attributeChanged")},n.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"):E().timeout((function(){return e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=T(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=T(e.value.values());!(r=n()).done;)(0,r.value)();this.slots={}},n.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=T(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=n()).done;)r()},n.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var r,n,o,i,a=null!=(r=this.instance)&&null!=(n=r.current)&&n.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!=(o=this.instance)&&null!=(i=o.current)&&i.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},n.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),E().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(E().noop,E().noop)):(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()}},n.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var n,o=function(){var o=n.value,i="";if(o.startsWith("data-bind-")?i=o.substring("data-bind-".length):o.startsWith("bind-")&&(i=o.substring("bind-".length)),i){var a=e.getAttribute(o);if(null===a)return"continue";if(i.startsWith("attribute-")||i.startsWith("property-")){var l=E().stringEvaluate(a,t,!1,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),"continue";i.startsWith("attribute-")?e.setAttribute(i.substring("attribute-".length),l.result):e[E().stringDelimitedToCamelCase(i.substring("property-".length))]=l.result}else if(i.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var p=r.domNodeEventBindings.get(e);i=E().stringDelimitedToCamelCase(i.substring("on-".length)),p.has(i)&&p.get(i)(),t=s()({event:void 0,parameters:void 0},t);var u=E().stringCompile(a,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var c=u.templateFunction.bind(e),d=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.event=n[0],t.parameters=n;try{c.apply(void 0,u.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+u.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(i,d),p.set(i,(function(){e.removeEventListener(i,d),p.delete(i),0===p.size&&r.domNodeEventBindings.delete(e)}))}}}},i=T(e.getAttributeNames());!(n=i()).done;)o()},n.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}},n.compileDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=s()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-"))return r.map;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=E().stringCompile("`"+o+"`",t);r.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var p="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(p)&&(a=p.replace(/ /g," ").trim())}var u=[];if(a){var c=E().stringCompile("`"+a+"`",t);r.map.set(e,{children:u,error:c.error,scopeNames:c.scopeNames,template:a,templateFunction:c.templateFunction})}for(var d=e.firstChild;d;)r.filter&&!r.filter(d)||u.push(this.compileDomNodeTemplate(d,t,s()({},r,{ignoreComponents:r.ignoreNestedComponents}))),d=d.nextSibling}return r.map},n.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=s()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var o=r.map.get(e),i=o.error,a=o.scopeNames,l=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var p=null;try{p=l.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==p&&(r.unsafe?e.innerHTML=p:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",p):e.textContent=p)}}if(!(r.unsafe||r.ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-")))for(var u=e.firstChild;u;)r.filter&&!r.filter(u)||this.evaluateDomNodeTemplate(u,t,s()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),u=u.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var n,o=T([].concat(r).reverse());!(n=o()).done;){var i,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.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},n.determineRootBinding=function(){for(var e=this.parentNode;e;){var r;(e instanceof t||null!=(r=e.nodeName)&&r.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,o=new Map,i=T(n);!(r=i()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return E().convertPlainObjectToMap(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,i()(A().mark((function t(){var n,o,i,a,s=arguments;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,o=new Array(n),i=0;i<n;i++)o[i]=s[i];return t.next=3,e.reflectEventToProperties(r,o);case 3:(a=t.sent)&&(o[0]=a),e.forwardEvent(r,o);case 6:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],i=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![w.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(i,n),t.forwardEvent(i,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},n.triggerOutputEvents=function(){for(var e,t=T(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},n.forwardEvent=function(e,t){return e.length>"onX".length&&e.startsWith("on")&&(e=E().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},n.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var i=o[n],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=T(this.slots.default);!(s=l()).done;){var p=s.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,a)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},n.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var r,n,o=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var i=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),i.innerHTML="",i.template=o,i}return this.self.cloneSlots?e.cloneNode(!0):e},n.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var n=r[t],o=n.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[n.getAttribute&&n.getAttribute("slot")&&n.getAttribute("slot").trim()?n.getAttribute("slot").trim():n.nodeName.toLowerCase()]=this.grabSlotContent(n))}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},n.isStateProperty=function(e){var t,r,n,o;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(o=n.current)?void 0:o.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=s()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],o=n[0],i=n[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case w.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case w.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case w.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case w.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.shape:case w.exact:case w.symbol:default:if(i){var p=E().represent(i);if(p&&this.getAttribute(a)!==p){this.setAttribute(a,p);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,r,n,o;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(r=t.current)&&r.state&&"object"==typeof this.instance.current.state)for(var i,a=T(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(i=a()).done;){var s=i.value;Object.prototype.hasOwnProperty.call(this.internalProperties,s)&&this.setInternalPropertyValue(s,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(o=this.internalProperties.model)||delete o.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,p=T(this.self.controllableProperties);!(l=p()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},n.reflectEventToProperties=function(){var e=i()(A().mark((function e(t,r){var n,o,i,a,l,p,u,c,d,_,f,h,b,m,y,v;return A().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in l&&E().isFunction(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:p=e.t0,i=!0,Array.isArray(p)?(o=p[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,p[1])):null===p?i=!1:"object"==typeof p&&(o=p,this.reflectProperties(p));case 16:if(!i&&r.length>0&&null!==r[0]&&"object"==typeof r[0]){if(c=r[0],"persist"in r[0]&&E().isFunction(r[0].persist))for(c={},d=0,_=Object.keys(this.self.propertyTypes);d<_.length;d++)for(f=_[d],h=T([f].concat(null!==(m=this.getPropertyAlias(f))&&void 0!==m?m:[]));!(b=h()).done;)y=b.value,(v=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,y)?r[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(c[y]=v);else[null,void 0].includes(null==(u=c.detail)?void 0:u.value)||(c=s()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 20:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,n=e.startsWith("-"),o=n?e.substring(1):e,i=E().stringDelimitedToCamelCase(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var s=this.self.propertyTypes[i];if(n){if(t){var l=E().stringEvaluate(t,{Tools:E()},!1,this);l.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case w.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(i,p),this.setExternalPropertyValue(i,p);break;case w.func:case"function":var u,c=null,d=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var _=E().stringCompile(t,d);c=_.error,u=_.templateFunction,c&&console.warn('Failed to compile given handler "'+e+'": '+c+".")}this.setInternalPropertyValue(i,(function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];r.outputEventNames.has(i)&&r.reflectEventToProperties(i,o);var s=void 0;if(!c)try{s=u.call(r,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+d.join('", "')+'" set to "'+E().represent(o)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(i)||r.forwardEvent(i,o),s})),c||this.setExternalPropertyValue(i,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(c){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(c));break}this.setInternalPropertyValue(i,f),this.setExternalPropertyValue(i,E().copy(f,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case w.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,h);break;case w.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.oneOf:case w.oneOfType:case w.shape:case w.exact:case w.symbol:default:if(t){var b=E().stringEvaluate(t,{},!1,this);if(b.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":'+b.error);break}this.setInternalPropertyValue(i,b.result),this.setExternalPropertyValue(i,E().copy(b.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},n.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=s()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},n.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Faild to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,s()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(m()(HTMLElement)),n.applyRootBinding=!0,n.content="<slot>Please provide a template to transclude.</slot>",n.determineRootBinding=!0,n.shadowDOM=null,n.observedAttributes=[],n.controllableProperties=[],n.eventToPropertyMapping={},n.propertyAliases={},n.propertyTypes={onClick:w.func},n.propertiesToReflectAsAttributes=[],n.renderProperties=["children"],n.cloneSlots=!1,n.evaluateSlots=!1,n.renderSlots=!0,n.trimSlots=!0,n.renderUnsafe=!1,n._name="BaseWeb",n._propertyAliasIndex=void 0,n._propertiesToReflectAsAttributes=void 0,t=n,r=v()(t.prototype,"isRoot",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),t),C={component:x,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(x._name)),customElements.define(e,x)}};f.default=x}(),f}())},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(module,__unused_webpack_exports,__nested_webpack_require_32178__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,h,d;if(module=__nested_webpack_require_32178__.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!=__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===__nested_webpack_require_32178__.g||null===__nested_webpack_require_32178__.g?{}:__nested_webpack_require_32178__.g;module.exports=(e=__nested_webpack_require_32178__(0),t=__nested_webpack_require_32178__(3),r=__nested_webpack_require_32178__(1),n=__nested_webpack_require_32178__(2),i=__nested_webpack_require_32178__(12),o=__nested_webpack_require_32178__(13),s=__nested_webpack_require_32178__(14),a=__nested_webpack_require_32178__(4),l=__nested_webpack_require_32178__(5),p=__nested_webpack_require_32178__(6),c=__nested_webpack_require_32178__(7),u=__nested_webpack_require_32178__(8),h=__nested_webpack_require_32178__(9),d=__nested_webpack_require_32178__(10),function(){var _=[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),o=r.n(n),i=r(1),a=r.n(i),s=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:s.string},e),function(t,r){if("string"==typeof r){var n,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var s=a().stringCamelCaseToDelimited(r);i.observedAttributes.includes(s)||i.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?o()({},i.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?a().copy(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(r)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(r)||null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,r)&&(n=i.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(r):i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes)),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(r,n),null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?o()({},i.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyAliases[r]=e.alias))}}}},function(e,t,r){var n,o,i,a,s=r(6),l=r.n(s),p=r(0),u=r.n(p),c=r(7),d=r.n(c),_=r(8),f=r.n(_),h=r(3),b=r.n(h),m=r(9),y=r.n(m),v=r(10),g=r.n(v),A=(r(11),r(12)),P=r.n(A),E=r(1),w=r.n(E),T=r(2);function O(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 x(e,t);var r=Object.prototype.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)?x(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 x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C=(n=(0,r(4).default)({type:T.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={Tools:w()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,d()(r,"isRoot",i,f()(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=f()(r),r.defineGetterAndSetterInterface(),r}b()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.updateAttribute(e,r)},r.updateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,w().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"):w().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=O(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,n=O(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=O(w().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o,i,a=null!=(r=this.instance)&&null!=(n=r.current)&&n.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!=(o=this.instance)&&null!=(i=o.current)&&i.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},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,w().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),w().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(w().noop,w().noop)):(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,o=function(){var o=n.value,i="";if(o.startsWith("data-bind-")?i=o.substring("data-bind-".length):o.startsWith("bind-")&&(i=o.substring("bind-".length)),i){var a=e.getAttribute(o);if(null===a)return"continue";if(i.startsWith("attribute-")||i.startsWith("property-")){var s=w().stringEvaluate(a,t,!1,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,s.error),"continue";i.startsWith("attribute-")?e.setAttribute(i.substring("attribute-".length),s.result):e[w().stringDelimitedToCamelCase(i.substring("property-".length))]=s.result}else if(i.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);i=w().stringDelimitedToCamelCase(i.substring("on-".length)),l.has(i)&&l.get(i)(),t=u()({event:void 0,parameters:void 0},t);var p=w().stringCompile(a,t,!0);if(p.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,p.error);else{var c=p.templateFunction.bind(e),d=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.event=n[0],t.parameters=n;try{c.apply(void 0,p.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+p.scopeNames.join('", "')+'": '+w().represent(t))}};e.addEventListener(i,d),l.set(i,(function(){e.removeEventListener(i,d),l.delete(i),0===l.size&&r.domNodeEventBindings.delete(e)}))}}}},i=O(e.getAttributeNames());!(n=i()).done;)o()},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){var n;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=u()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-"))return r.map;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=w().stringCompile("`"+o+"`",t);r.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,s=e.nodeName.toLowerCase();if(["a","#text"].includes(s)){var l="a"===s?e.getAttribute("href"):e.textContent;this.self.hasCode(l)&&(a=l.replace(/ /g," ").trim())}var p=[];if(a){var c=w().stringCompile("`"+a+"`",t);r.map.set(e,{children:p,error:c.error,scopeNames:c.scopeNames,template:a,templateFunction:c.templateFunction})}for(var d=e.firstChild;d;)r.filter&&!r.filter(d)||p.push(this.compileDomNodeTemplate(d,t,u()({},r,{ignoreComponents:r.ignoreNestedComponents}))),d=d.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=u()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var o=r.map.get(e),i=o.error,a=o.scopeNames,s=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var l=null;try{l=s.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+s+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==l&&(r.unsafe?e.innerHTML=l:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",l):e.textContent=l)}}if(!(r.unsafe||r.ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-")))for(var p=e.firstChild;p;)r.filter&&!r.filter(p)||this.evaluateDomNodeTemplate(p,t,u()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),p=p.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var n,o=O([].concat(r).reverse());!(n=o()).done;){var i,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.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;){var r;(e instanceof t||null!=(r=e.nodeName)&&r.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,o=new Map,i=O(n);!(r=i()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return w().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(P().mark((function t(){var n,o,i,a,s=arguments;return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,o=new Array(n),i=0;i<n;i++)o[i]=s[i];return t.next=3,e.reflectEventToProperties(r,o);case 3:(a=t.sent)&&(o[0]=a),e.forwardEvent(r,o);case 6:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],i=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![T.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(i,n),t.forwardEvent(i,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.length;n++)r()},r.triggerOutputEvents=function(){for(var e,t=O(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>"onX".length&&e.startsWith("on")&&(e=w().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var i=o[n],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var s,l=O(this.slots.default);!(s=l()).done;){var p=s.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,a)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var r,n,o=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var i=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),i.innerHTML="",i.template=o,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=r[t],o=n.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[n.getAttribute&&n.getAttribute("slot")&&n.getAttribute("slot").trim()?n.getAttribute("slot").trim():n.nodeName.toLowerCase()]=this.grabSlotContent(n))}this.slots.default?this.slots.default=[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,r,n,o;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(o=n.current)?void 0:o.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=u()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],o=n[0],i=n[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=w().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case T.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case T.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case T.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case T.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.shape:case T.exact:case T.symbol:default:if(i){var p=w().represent(i);if(p&&this.getAttribute(a)!==p){this.setAttribute(a,p);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n,o;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(r=t.current)&&r.state&&"object"==typeof this.instance.current.state)for(var i,a=O(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(i=a()).done;){var s=i.value;Object.prototype.hasOwnProperty.call(this.internalProperties,s)&&this.setInternalPropertyValue(s,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(o=this.internalProperties.model)||delete o.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,p=O(this.self.controllableProperties);!(l=p()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,w().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.reflectEventToProperties=function(){var e=l()(P().mark((function e(t,r){var n,o,i,a,s,l,p,c,d,_,f,h,b,m,y,v;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&w().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&w().isFunction(s.then))){e.next=12;break}return e.next=9,s;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=s;case 13:l=e.t0,i=!0,Array.isArray(l)?(o=l[0],this.reflectProperties(o),w().extend(!0,this.internalProperties,l[1])):null===l?i=!1:"object"==typeof l&&(o=l,this.reflectProperties(l));case 16:if(!i&&r.length>0&&null!==r[0]&&"object"==typeof r[0]){if(c=r[0],"persist"in r[0]&&w().isFunction(r[0].persist))for(c={},d=0,_=Object.keys(this.self.propertyTypes);d<_.length;d++)for(f=_[d],h=O([f].concat(null!==(m=this.getPropertyAlias(f))&&void 0!==m?m:[]));!(b=h()).done;)y=b.value,(v=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,y)?r[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(c[y]=v);else[null,void 0].includes(null==(p=c.detail)?void 0:p.value)||(c=u()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 20: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("-"),o=n?e.substring(1):e,i=w().stringDelimitedToCamelCase(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var s=this.self.propertyTypes[i];if(n){if(t){var l=w().stringEvaluate(t,{Tools:w()},!1,this);l.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case T.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(i,p),this.setExternalPropertyValue(i,p);break;case T.func:case"function":var u,c=null,d=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var _=w().stringCompile(t,d);c=_.error,u=_.templateFunction,c&&console.warn('Failed to compile given handler "'+e+'": '+c+".")}this.setInternalPropertyValue(i,(function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];r.outputEventNames.has(i)&&r.reflectEventToProperties(i,o);var s=void 0;if(!c)try{s=u.call(r,o[0],o[0],o[0],o[0],o[0],o[0],o,w())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+d.join('", "')+'" set to "'+w().represent(o)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(i)||r.forwardEvent(i,o),s})),c||this.setExternalPropertyValue(i,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(c){console.warn('Error occurred during parsing given json attribute "'+e+'": '+w().represent(c));break}this.setInternalPropertyValue(i,f),this.setExternalPropertyValue(i,w().copy(f,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case T.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var h=parseFloat(t);isNaN(h)&&(h=void 0),this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,h);break;case T.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case T.any:case T.array:case T.arrayOf:case T.element:case T.elementType:case T.instanceOf:case T.node:case T.object:case"object":case T.objectOf:case T.oneOf:case T.oneOfType:case T.shape:case T.exact:case T.symbol:default:if(t){var b=w().stringEvaluate(t,{},!1,this);if(b.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":'+b.error);break}this.setInternalPropertyValue(i,b.result),this.setExternalPropertyValue(i,w().copy(b.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=u()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[w().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=w().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Faild to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,u()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(y()(HTMLElement)),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:T.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,o=a,i=g()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o);t.default=C},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=h},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s}],f={};function b(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={exports:{}};return _[e](r,r.exports,b),r.exports}b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,{a:t}),t},b.d=function(e,t){for(var r in t)b.o(t,r)&&!b.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var m={};return function(){b.r(m),b.d(m,{ReactWeb:function(){return _},api:function(){return f}});var e=b(0),t=b.n(e),r=b(3),n=b.n(r),o=b(1),i=b.n(o),a=b(2),s=b(13),l=b.n(s),p=b(14),u=b(15);function c(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 d(e,t);var r=Object.prototype.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)?d(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _=function(e){function r(){for(var t,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).compiledSlots={},t.preparedSlots={},t.reactRoot=null,t.rootReactInstance=null,t.self=r,t.wrapMemorizingWrapper=null,t.isWrapped=!1,t.reflectInstanceProperties=function(){var e;null!=(e=t.instance)&&e.current&&t.instance.current.properties&&t.reflectProperties(t.instance.current.properties)},t}n()(r,e);var o=r.prototype;return o.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},o.disconnectedCallback=function(){var t;null==(t=this.reactRoot)||t.unmount(),e.prototype.disconnectedCallback.call(this)},o.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},o.render=function(e){var r,n=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(t()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var o=this.firstChild;o;){var a=o.nextSibling;this.removeChild(o),o=a}this.reactRoot||(this.reactRoot=(0,u.createRoot)(this.root)),(0,p.flushSync)((function(){return n.reactRoot.render((0,s.createElement)(n.self.content,n.internalProperties))})),null!=(r=this.instance)&&r.current?this.reflectInstanceProperties():i().timeout(this.reflectInstanceProperties)}},o.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=i().copy(t,1),r)),this.setInternalPropertyValue(e,i().copy(t,1))},o.setInternalPropertyValue=function(t,r){null===r?r=a.NullSymbol:void 0===r&&(r=a.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,r)},o.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,o=1,i=[],a=c(e);!(n=a()).done;){var l=n.value,p=this.preCompileDomNode(l,t,r,o.toString());p&&(i.push(p),o+=1)}return r?function(e){return function(){for(var t,r=[],n=c(i);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,s.createElement)(s.Fragment,{children:r})}}:i},o.preCompileDomNode=function(e,r,n,o){var a,l,p=this;if(void 0===r&&(r={}),void 0===n&&(n=!1),n){var u=this.preCompileDomNode(e,t()({},r,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,o);return function(e){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n.length>0?n[0]:null;return u(t()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var d="string"==typeof e.nodeValue?e.nodeValue.trim():"",_=o&&d?(0,s.createElement)(s.Fragment,{children:d,key:o}):d||null;return function(){return _}}if(!e.getAttributeNames)return function(){return null};var f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),a=e.internalProperties,o&&!Object.prototype.hasOwnProperty.call(a,"key")&&(a.key=o),l=e.constructor.content):(a={key:o},l=e.tagName.toLowerCase());for(var h,b=Object.keys(r),m={},y=function(){var t,n=h.value,o=e.getAttribute(n);if(null===o)return"continue";var s=!1,l="";if(n.startsWith("data-bind-")?l=n.substring("data-bind-".length):n.startsWith("bind-")&&(l=n.substring("bind-".length)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=i().stringCompile(o,b),c=u.error,d=u.originalScopeNames,_=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,c),"continue";"attributes"===l||"properties"===l?s=!0:l=l.startsWith("attribute-")?l.substring("attribute-".length):l.substring("property-".length),o={originalScopeNames:d,templateFunction:_.bind(p)}}else if(l.startsWith("on-")){l=i().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(r,"event")||(b=[].concat(b,["event"])),Object.prototype.hasOwnProperty.call(r,"parameters")||(b=[].concat(b,["parameters"]));var f=i().stringCompile(o,b,!0),y=f.error,v=f.originalScopeNames,g=f.scopeNames,A=f.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),"continue";var P=A.bind(p);o=function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];r.event=a[0],r.parameters=a;try{P.apply(void 0,v.map((function(e){return r[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+g.join('", "')+'": '+i().represent(t))}}}else l=n;var E={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(E,l)&&(l=E[l]),l=i().stringDelimitedToCamelCase(l),null!=(t=o)&&t.originalScopeNames?m[s?"":l]=o:a[l]=o},v=c(e.getAttributeNames());!(h=v()).done;)y();if(!f){var g=Array.from(e.childNodes);g.length&&(a.children=this.preCompileDomNodes(g,r))}return function(n){(n=t()({},r,n)).scope=n;for(var o=t()({},a),i=0,u=Object.entries(m);i<u.length;i++){var c=u[i],d=c[0],_=c[1],h=_.originalScopeNames,b=_.templateFunction.apply(void 0,h.map((function(e){return n[e]})));""===d?o=t()({},o,b):o[d]=b}return Object.prototype.hasOwnProperty.call(o,"innerHTML")&&(o.dangerouslySetInnerHTML={__html:o.innerHTML},delete o.children,delete o.innerHTML),Object.prototype.hasOwnProperty.call(o,"textContent")?(o.children=o.textContent,delete o.textContent):f?(e.evaluateSlots(t()({},o,n,{parent:e})),e.prepareProperties(o),n=t()({},o,n,{parent:e})):o.children&&(o.children=p.evaluatePreCompiledDomNodes(o.children,n)),(0,s.createElement)(l,o)}},o.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=[],o=c(e);!(r=o()).done;){var i=(0,r.value)(t);i&&n.push(i)}return n},o.preCompileSlots=function(){var e;for(var r in this.slots)Object.prototype.hasOwnProperty.call(this.slots,r)&&"default"!==r&&(this.compiledSlots[r]=this.preCompileDomNode(this.slots[r],t()({},this.scope,{parent:this}),[a.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[r])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,t()({},this.scope,{parent:this}),[a.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},o.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))},r.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!1===t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},o.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}},o.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,s.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,s.forwardRef)((function(t,r){return(0,s.useImperativeHandle)(r,(function(){return{properties:t}})),(0,s.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,s.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,s.memo)(this.self.content),this.self.content.wrapped=e)}},o.prepareProperties=function(e){i().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,s.createRef)(),e.ref=this.instance)},r.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=c(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},r}(b(5).default);_.attachWebComponentAdapterIfNotExists=!0,_.content="div",_.react=l(),_._name="ReactWebComponent";var f={component:_,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(_._name)),customElements.define(e,_)}};m.default=_}(),m}())}],__webpack_module_cache__={};function __nested_webpack_require_70329__(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,__nested_webpack_require_70329__),r.loaded=!0,r.exports}__nested_webpack_require_70329__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_70329__.d(t,{a:t}),t},__nested_webpack_require_70329__.d=function(e,t){for(var r in t)__nested_webpack_require_70329__.o(t,r)&&!__nested_webpack_require_70329__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nested_webpack_require_70329__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_70329__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_70329__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_70329__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};return function(){__nested_webpack_require_70329__.r(__webpack_exports__),__nested_webpack_require_70329__.d(__webpack_exports__,{ReactWeb:function(){return u},Web:function(){return _},reactWebAPI:function(){return c},webAPI:function(){return d},wrapAsWebComponent:function(){return f}});var e=__nested_webpack_require_70329__(0),t=__nested_webpack_require_70329__.n(e),r=__nested_webpack_require_70329__(3),n=__nested_webpack_require_70329__.n(r),o=__nested_webpack_require_70329__(1),i=__nested_webpack_require_70329__.n(o),a=__nested_webpack_require_70329__(16),s=__nested_webpack_require_70329__.n(a),l=__nested_webpack_require_70329__(11),p=__nested_webpack_require_70329__.n(l),u=s(),c=a.api,d=l.api,_=p(),f=function(e,r,o){var a,s,l,p;void 0===r&&(r="NoName"),void 0===o&&(o={});var c=e._name||(null==(a=e.___types)||null==(s=a.name)?void 0:s.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},_=o.propertyAliases||e.propertyAliases||{},f=i().arrayUnique(Object.keys(d).concat(Object.keys(_)).concat(Object.values(_))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(u.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(u.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var b=0,m=u.propertiesToReflectAsAttributes;b<m.length;b++){var y=m[b];h.set(y,u.propertyTypes[y])}else if(null!==h&&"object"==typeof h)for(var v=0,g=u.propertiesToReflectAsAttributes;v<g.length;v++){var A=g[v];h[A]=u.propertyTypes[A]}var P=f.map((function(e){return i().stringCamelCaseToDelimited(e)})),E=function(r){function i(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(n=r.call.apply(r,[this].concat(s))||this).self=i,n.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(i,r),i}(u);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=u.observedAttributes.concat(P).concat(P.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||o.controllableProperties||[],E.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},E.propertyAliases=t()({},u.propertyAliases,_),E.propertiesToReflectAsAttributes=h,E.propertyTypes=t()({},u.propertyTypes,d),E.renderProperties=null!==(l=null!==(p=o.renderProperties)&&void 0!==p?p:e.renderProperties)&&void 0!==l?l:u.renderProperties,E._name=c,{component:E,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(c)),customElements.define(e,E)}}};__webpack_exports__.default=f}(),__webpack_exports__}()},module.exports=t(__webpack_require__(2),__webpack_require__(12),__webpack_require__(4),__webpack_require__(0),__webpack_require__(3),__webpack_require__(13),__webpack_require__(14),__webpack_require__(5),__webpack_require__(15),__webpack_require__(16),__webpack_require__(17),__webpack_require__(18),__webpack_require__(19),__webpack_require__(6))},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__18__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,n,r,o,i,a,l,u,s;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!=__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__(8),n=__webpack_require__(49),r=__webpack_require__(9),o=__webpack_require__(10),i=__webpack_require__(11),a=__webpack_require__(4),l=__webpack_require__(0),u=__webpack_require__(3),s=__webpack_require__(7),function(){var p=[function(e){e.exports=s},function(t){t.exports=e},function(e){e.exports=u},function(e){e.exports=a},function(e){e.exports=r},function(e){e.exports=l},function(e,t,r){r.d(t,{WrapTooltip:function(){return l}});var n=r(1),o=r.n(n),i=r(9),a=r(11),s=r(0),l=function(e){var t=e.children,r=e.options;return"string"==typeof r?(0,s.jsx)(a.Tooltip,{content:(0,s.jsx)(i.Typography,{use:"caption",children:r}),children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}):null!==r&&"object"==typeof r?("string"==typeof r.content&&(r=o()({},r,{content:(0,s.jsx)(i.Typography,{use:"caption",children:r.content})})),(0,s.jsx)(a.Tooltip,o()({},r,{children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,s.jsx)(s.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapConfigurations:function(){return s}}),r(1),r(13),r(2),r(4);var n=r(12),o=r(10),i=r(6),a=r(0),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,p=e.wrap;return(0,a.jsx)(n.x,{strict:Boolean(r),children:(0,a.jsx)(i.WrapTooltip,{options:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:p,children:t})})})}},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialValue:function(){return f},determineValidationState:function(){return h},getConsolidatedProperties:function(){return m},mapPropertiesIntoModel:function(){return b},translateKnownSymbols:function(){return _},triggerCallbackIfExists:function(){return d},wrapStateSetter:function(){return c}});var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(5);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 p(e,t);var r=Object.prototype.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)?p(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(2);var u=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var i=n[r],a=i[0],s=i[1];void 0===e.model.state[a]&&(e.model.state[a]=s)}return e},c=function(e,t){return function(r){var n="function"==typeof r?r(t):r;a().equals(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},d=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];t="on"+a().stringCapitalize(t),e[t]&&(r?e[t].apply(e,o):a().timeout((function(){return e[t].apply(e,o)})))},_=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],i=o[0],l=o[1];l===s.UndefinedSymbol?t[i]=void 0:l===s.NullSymbol?t[i]=null:t[i]=a().copy(e[i])}return t},f=function(e,t,r){var n,o;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?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?a().copy(e.model.default):void 0!==t?t:null},h=function(e,t,r){void 0===r&&(r={});var n=!1;r=o()({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 i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],p=s[1],u=t[l];e.model.state[l]=p(),n=n||u!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),n},b=function(e,t){var r=a().extend(!0,{model:a().copy(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedRegularExpressionPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.regularExpressionPattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,o=l(Object.keys(r.model).concat("value"));!(n=o()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(r,i)&&void 0!==r[i]&&(r.model[i]=r[i])}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=a().copy(r.model.default)),r},m=function(e){var t=o()({},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.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t}},function(e){e.exports=i},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return i}});var n=r(4),o=r(0),i=function(e){var t=e.children,r=e.configuration,i=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==i,children:t}):t}},function(e){e.exports=o},function(e,t,r){r.d(t,{x:function(){return i}});var n=r(2),o=r(0),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=t},,,,,,,,,,,,,,,,function(e,t,r){r.d(t,{by:function(){return h},cN:function(){return d},uG:function(){return m}});var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(5),l={declaration:s.string,default:s.any,description:s.string,name:s.string,selection:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.number,s.string])),s.number,(0,s.objectOf)((0,s.oneOfType)([s.number,s.string])),s.string])),(0,s.objectOf)((0,s.oneOfType)([s.number,s.string]))]),type:s.string,value:s.any},p={dirty:(0,s.oneOfType)([s.boolean,s.symbol]),pristine:(0,s.oneOfType)([s.boolean,s.symbol]),touched:(0,s.oneOfType)([s.boolean,s.symbol]),untouched:(0,s.oneOfType)([s.boolean,s.symbol]),focused:(0,s.oneOfType)([s.boolean,s.symbol]),visited:(0,s.oneOfType)([s.boolean,s.symbol]),invalid:(0,s.oneOfType)([s.boolean,s.symbol]),invalidRequired:(0,s.oneOfType)([s.boolean,s.symbol]),valid:(0,s.oneOfType)([s.boolean,s.symbol])},u=o()({},l,{emptyEqualsNull:s.boolean,trim:s.boolean,invertedRegularExpressionPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),regularExpressionPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximum:(0,s.oneOfType)([s.number,s.string]),minimum:(0,s.oneOfType)([s.number,s.string]),maximumLength:s.number,minimumLength:s.number,mutable:s.boolean,writable:s.boolean,state:(0,s.shape)(p)}),c=o()({},l,p,{className:s.string,disabled:s.boolean,enforceUncontrolled:s.boolean,initialValue:s.any,inputProperties:s.object,model:(0,s.shape)(u),onChange:s.func,onChangeValue:s.func,onChangeShowDeclaration:s.func,onChangeState:s.func,onClick:s.func,onFocus:s.func,onTouch:s.func,required:s.boolean,requiredText:s.string,ripple:(0,s.oneOfType)([s.boolean,s.object]),rootProps:s.object,showDeclaration:(0,s.oneOfType)([s.boolean,s.symbol]),showInitialValidationState:s.boolean,styles:s.object,themeConfiguration:s.object,tooltip:s.any}),d={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},_={declaration:"",default:null,description:"",emptyEqualsNull:!0,invertedRegularExpressionPattern:null,maximum:1/0,maximumLength:-1,minimum:-1/0,minimumLength:0,mutable:!0,name:"NO_NAME_DEFINED",nullable:!0,regularExpressionPattern:null,state:o()({},d),trim:!0,type:"string",writable:!0},f={enforceUncontrolled:!1,model:o()({},_),showDeclaration:void 0,showInitialValidationState:!1,requiredText:"Please fill this field."},h=o()({},c,p,{checked:s.boolean,id:s.string}),b=o()({},_,{default:!1,type:"boolean",value:!1}),m=o()({},f,{default:!1,model:o()({},b),requiredText:"Please check this field."}),y=o()({},p,{invalidMaximum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedPattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidPattern:(0,s.oneOfType)([s.boolean,s.symbol])}),v=o()({},c,y,{align:s.string,children:s.func,cursor:(0,s.oneOfType)([(0,s.shape)({end:s.number.isRequired,start:s.number.isRequired}),s.symbol]),editor:s.string,editorIsActive:(0,s.oneOfType)([s.boolean,s.symbol]),hidden:(0,s.oneOfType)([s.boolean,s.symbol]),icon:(0,s.oneOfType)([s.string,s.object]),inputProps:s.object,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedPatternText:s.string,labels:(0,s.oneOfType)([(0,s.arrayOf)((0,s.arrayOf)(s.string)),(0,s.arrayOf)(s.string),s.object]),maximum:(0,s.oneOfType)([s.number,s.string]),maximumLengthText:s.string,maximumText:s.string,minimum:(0,s.oneOfType)([s.number,s.string]),minimumLengthText:s.string,minimumText:s.string,onBlur:s.func,onChangeEditorIsActive:s.func,onKeyDown:s.func,onKeyUp:s.func,onSelect:s.func,onSelectionChange:s.func,outlined:s.boolean,pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),patternText:s.string,placeholder:s.string,representation:(0,s.oneOfType)([s.string,s.symbol]),rows:s.number,searchSelection:s.boolean,selectableEditor:s.boolean,step:s.number,suggestionCreator:s.func,suggestSelection:s.boolean,trailingIcon:s.any,transformer:s.object}),g=o()({},d,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),A=o()({},_,{state:g}),P=o()({},f,{cursor:{end:0,start:0},editor:"plain",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.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},A),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),E=o()({},p,{invalidContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidName:(0,s.oneOfType)([s.boolean,s.symbol])}),w=(o()({},c,E,{children:s.func,contentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedContentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),deleteButton:(0,s.oneOfType)([s.object,s.string]),downloadButton:(0,s.oneOfType)([s.object,s.string]),editButton:(0,s.oneOfType)([s.object,s.string]),newButton:(0,s.oneOfType)([s.object,s.string]),encoding:s.string,generateFileNameInputProperties:s.func,maximumSizeText:s.string,minimumSizeText:s.string,onBlur:s.func,outlined:s.boolean}),o()({},d,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),T=o()({},_,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:o()({},A,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:w});delete o()({},P,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,o()({},f,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:o()({},T),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),o()({},c,y,{children:s.func,createItem:s.func,createPrototype:s.func,maximumNumber:s.number,minimumNumber:s.number});var O=o()({},_,{state:o()({},_.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});o()({},f,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},O)}),o()({},v,{value:(0,s.shape)({end:(0,s.oneOfType)([s.number,(0,s.shape)(v)]),start:(0,s.oneOfType)([s.number,(0,s.shape)(v)])})}),o()({},d),o()({},A,{description:"End",name:"end"}),o()({},A,{description:"Start",name:"start"})},,,,,,,,function(e){e.exports=n}],c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return p[e](r,r.exports,d),r.exports}d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var _={};return function(){d.r(_),d.d(_,{RequireableCheckbox:function(){return b},RequireableCheckboxInner:function(){return h},default:function(){return m},determineValidationState:function(){return f}});var e=d(1),t=d.n(e),r=d(3),n=d.n(r),o=d(2),i=d(37),a=d(4),s=d(7),l=d(8),p=d(29),u=d(0),c={"requireable-checkbox":"requireable-checkbox"};function f(e,t){return(0,l.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var h=function(e,r){var p,d,_=function(e){var t=(0,l.mapPropertiesIntoModel)(e,b.defaultProperties.model);return f(t,t.model.state),(t=(0,l.getConsolidatedProperties)(t)).checked=Boolean(t.value),t},h=function(e){n().extend(!0,x,_(x)),(0,l.triggerCallbackIfExists)(x,"change",O,x,e)},m=function(e){return T((function(r){var n=!1;r.modelState.focused||(x.focused=!0,n=!0),r.modelState.untouched&&(x.touched=!0,x.untouched=!1,n=!0);var o=r;return n&&(h(e),o=t()({},r,{modelState:x.model.state}),(0,l.triggerCallbackIfExists)(x,"changeState",O,x.model.state,e,x)),(0,l.triggerCallbackIfExists)(x,"touch",O,e,x),o}))},y=(0,o.useRef)(null),v=(0,o.useRef)(null),g=(0,l.translateKnownSymbols)(e),A=(0,l.determineInitialValue)(g,b.defaultProperties.model.default,g.checked),P=n().extend(!0,n().copy(b.defaultProperties),g),E=(0,o.useState)({modelState:t()({},b.defaultModelState),value:A}),w=E[0],T=E[1],O=!P.enforceUncontrolled&&(void 0!==(null==(p=g.model)?void 0:p.value)||void 0!==g.value)&&Boolean(g.onChange||g.onChangeValue);(0,l.deriveMissingPropertiesFromState)(P,w);var x=_(P),C={modelState:x.model.state,value:x.value};return(O||x.value===w.value)&&n().equals(x.model.state,w.modelState)||T(C),O&&(T=(0,l.wrapStateSetter)(T,C)),(0,o.useImperativeHandle)(r,(function(){return{properties:x,references:{foundationRef:v,inputReference:y},state:t()({modelState:x.model.state},O?{}:{value:x.value})}})),(0,u.jsx)(s.WrapConfigurations,{strict:b.strict,themeConfiguration:x.themeConfiguration,tooltip:x.tooltip,children:(0,u.jsx)("div",{className:[c["requireable-checkbox"]].concat(null!==(d=x.className)&&void 0!==d?d:[]).join(" "),style:x.styles,children:(0,u.jsx)(i.Checkbox,{checked:Boolean(x.value),disabled:x.disabled,foundationRef:v,id:x.id||x.name,indeterminate:null===x.value,inputRef:y,label:x.invalid&&(x.showInitialValidationState||x.visited)?(0,u.jsx)(a.Theme,{use:"error",children:x.description||x.name}):x.description||x.name,name:x.name,onBlur:function(e){return T((function(r){var n=!1;return r.modelState.focused&&(x.focused=!1,n=!0),r.modelState.visited||(x.visited=!0,n=!0),n&&(h(e),(0,l.triggerCallbackIfExists)(x,"changeState",O,x.model.state,e,x)),(0,l.triggerCallbackIfExists)(x,"blur",O,e,x),n?t()({},r,{modelState:x.model.state}):r}))},onChange:function(e){x.model.mutable&&x.model.writable&&(x.value=Boolean(e.target.checked),T((function(r){if(r.value===x.value)return r;var n=!1,o=t()({},r,{value:x.value});return r.modelState.pristine&&(x.dirty=!0,x.pristine=!1,n=!0),h(e),f(x,r.modelState)&&(n=!0),(0,l.triggerCallbackIfExists)(x,"changeValue",O,x.value,e,x),n&&(o.modelState=x.model.state,(0,l.triggerCallbackIfExists)(x,"changeState",O,x.model.state,e,x)),o})))},onClick:function(e){(0,l.triggerCallbackIfExists)(x,"click",O,e,x),m(e)},onFocus:function(e){(0,l.triggerCallbackIfExists)(x,"focus",O,e,x),m(e)},ripple:x.ripple,value:""+x.value})})})};h.displayName="RequireableCheckbox";var b=(0,o.memo)((0,o.forwardRef)(h));b.wrapped=h,b.webComponentAdapterWrapped="react",b.defaultModelState=p.cN,b.defaultProperties=t()({},p.uG,{model:t()({},p.uG.model,{state:void 0,value:void 0}),value:void 0}),b.propTypes=p.by,b.strict=!1;var m=b}(),_}())},,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__49__}],__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__={};return function(){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{RequireableCheckbox:function(){return o}});var e=__webpack_require__(0),t=__webpack_require__(36),r=__webpack_require__.n(t),n=__webpack_require__(1),o=__webpack_require__.n(n)()(r(),"RequireableCheckbox",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__webpack_exports__.default=o}(),__webpack_exports__}()}));
|
|
1
|
+
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}: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/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["clientnode/property-types","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","clientnode","react","react-dom","react-dom/client","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/wrapNativeSuper","@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/regenerator","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/checkbox","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","react/jsx-runtime"],t);else{var r="object"==typeof exports?t(require("clientnode/property-types"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("clientnode"),require("react"),require("react-dom"),require("react-dom/client"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/checkbox"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime")):t(e["clientnode/property-types"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e.clientnode,e.react,e["react-dom"],e["react-dom/client"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/wrapNativeSuper"],e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/regenerator"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/checkbox"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e["react/jsx-runtime"]);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__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__,__WEBPACK_EXTERNAL_MODULE__19__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__49__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){"use strict";var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d,h;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!=__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),i=__webpack_require__(3),o=__webpack_require__(13),s=__webpack_require__(14),a=__webpack_require__(5),l=__webpack_require__(15),p=__webpack_require__(16),c=__webpack_require__(17),u=__webpack_require__(18),d=__webpack_require__(19),h=__webpack_require__(6),function(){var f=[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),o=r.n(n),i=r(1),a=r.n(i),s=r(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:s.string},e),function(t,r){if("string"==typeof r){var n,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var s=a().stringCamelCaseToDelimited(r);i.observedAttributes.includes(s)||i.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?o()({},i.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?a().copy(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(r)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(r)||null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,r)&&(n=i.propertyTypes[r]):n=e.writeAttribute,void 0!==n&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(r):i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes)),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(r,n),null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[r]=n)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?o()({},i.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyAliases[r]=e.alias))}}}},function(e,t,r){r.d(t,{api:function(){return S}});var n,o,i,a,s=r(6),l=r.n(s),p=r(0),u=r.n(p),c=r(7),d=r.n(c),f=r(8),h=r.n(f),m=r(3),b=r.n(m),_=r(9),y=r.n(_),v=r(10),g=r.n(v),P=(r(11),r(12)),A=r.n(P),T=r(1),E=r.n(T),w=r(2);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 O(e,t);var r=Object.prototype.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)?O(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 O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C=(n=(0,r(4).default)({type:w.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={Tools:E()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,d()(r,"isRoot",i,h()(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=h()(r),r.defineGetterAndSetterInterface(),r}b()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.updateAttribute(e,r)},r.updateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,E().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"):E().timeout((function(){return 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(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=n()).done;)r()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,n,o,i,a=null!=(r=this.instance)&&null!=(n=r.current)&&n.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!=(o=this.instance)&&null!=(i=o.current)&&i.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:a},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,E().timeout((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),E().timeout((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()})).then(E().noop,E().noop)):(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,o=function(){var o=n.value,i="";if(o.startsWith("data-bind-")?i=o.substring("data-bind-".length):o.startsWith("bind-")&&(i=o.substring("bind-".length)),i){var a=e.getAttribute(o);if(null===a)return"continue";if(i.startsWith("attribute-")||i.startsWith("property-")){var s=E().stringEvaluate(a,t,!1,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,s.error),"continue";i.startsWith("attribute-")?e.setAttribute(i.substring("attribute-".length),s.result):e[E().stringDelimitedToCamelCase(i.substring("property-".length))]=s.result}else if(i.startsWith("on-")){r.domNodeEventBindings.has(e)||r.domNodeEventBindings.set(e,new Map);var l=r.domNodeEventBindings.get(e);i=E().stringDelimitedToCamelCase(i.substring("on-".length)),l.has(i)&&l.get(i)(),t=u()({event:void 0,parameters:void 0},t);var p=E().stringCompile(a,t,!0);if(p.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,p.error);else{var c=p.templateFunction.bind(e),d=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.event=n[0],t.parameters=n;try{c.apply(void 0,p.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+p.scopeNames.join('", "')+'": '+E().represent(t))}};e.addEventListener(i,d),l.set(i,(function(){e.removeEventListener(i,d),l.delete(i),0===l.size&&r.domNodeEventBindings.delete(e)}))}}}},i=x(e.getAttributeNames());!(n=i()).done;)o()},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){var n;if(void 0===t&&(t=[]),void 0===r&&(r={}),(r=u()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-"))return r.map;if(r.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=E().stringCompile("`"+o+"`",t);r.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,s=e.nodeName.toLowerCase();if(["a","#text"].includes(s)){var l="a"===s?e.getAttribute("href"):e.textContent;this.self.hasCode(l)&&(a=l.replace(/ /g," ").trim())}var p=[];if(a){var c=E().stringCompile("`"+a+"`",t);r.map.set(e,{children:p,error:c.error,scopeNames:c.scopeNames,template:a,templateFunction:c.templateFunction})}for(var d=e.firstChild;d;)r.filter&&!r.filter(d)||p.push(this.compileDomNodeTemplate(d,t,u()({},r,{ignoreComponents:r.ignoreNestedComponents}))),d=d.nextSibling}return r.map},r.evaluateDomNodeTemplate=function(e,t,r){var n;if(void 0===t&&(t={}),void 0===r&&(r={}),(r=u()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},r)).map.has(e)||this.compileDomNodeTemplate(e,t,r),r.map.has(e)){var o=r.map.get(e),i=o.error,a=o.scopeNames,s=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var l=null;try{l=s.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+s+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==l&&(r.unsafe?e.innerHTML=l:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",l):e.textContent=l)}}if(!(r.unsafe||r.ignoreComponents&&null!=(n=e.nodeName)&&n.toLowerCase().includes("-")))for(var p=e.firstChild;p;)r.filter&&!r.filter(p)||this.evaluateDomNodeTemplate(p,t,u()({},r,{applyBindings:!1,ignoreComponents:r.ignoreNestedComponents})),p=p.nextSibling;return r.applyBindings&&this.applyBindings(e,t),r.map},t.replaceDomNodes=function(e,r){for(var n,o=x([].concat(r).reverse());!(n=o()).done;){var i,a=n.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.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;){var r;(e instanceof t||null!=(r=e.nodeName)&&r.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,o=new Map,i=x(n);!(r=i()).done;){var a=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return E().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,r=function(){var r=o[n];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,l()(A().mark((function t(){var n,o,i,a,s=arguments;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=s.length,o=new Array(n),i=0;i<n;i++)o[i]=s[i];return t.next=3,e.reflectEventToProperties(r,o);case 3:(a=t.sent)&&(o[0]=a),e.forwardEvent(r,o);case 6:case"end":return t.stop()}}),t)})))))},n=0,o=Object.keys(this.self.eventToPropertyMapping);n<o.length;n++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=o[n],i=r[0],a=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![w.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e&&t.reflectEventToProperties(i,n),t.forwardEvent(i,n)})))},n=0,o=Object.entries(this.self.propertyTypes);n<o.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>"onX".length&&e.startsWith("on")&&(e=E().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,n=0,o=Array.from(e.querySelectorAll("slot"));n<o.length;n++){var i=o[n],a=i.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 p=s.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return r.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(this.slots,a)?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var r,n,o=e.firstElementChild.value;null==(r=e.classList)||r.remove("web-component-template");var i=e.cloneNode();return null==(n=e.classList)||n.add("web-component-template"),i.innerHTML="",i.template=o,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=r[t],o=n.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[n.getAttribute&&n.getAttribute("slot")&&n.getAttribute("slot").trim()?n.getAttribute("slot").trim():n.nodeName.toLowerCase()]=this.grabSlotContent(n))}this.slots.default?this.slots.default=[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,r,n,o;return Boolean((null==(t=this.instance)||null==(r=t.current)?void 0:r.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(o=n.current)?void 0:o.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=u()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],n=r[0],o=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=n)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var n=r[t],o=n[0],i=n[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case w.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case w.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case w.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case w.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.shape:case w.exact:case w.symbol:default:if(i){var p=E().represent(i);if(p&&this.getAttribute(a)!==p){this.setAttribute(a,p);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r,n,o;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(r=t.current)&&r.state&&"object"==typeof this.instance.current.state)for(var i,a=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(i=a()).done;){var s=i.value;Object.prototype.hasOwnProperty.call(this.internalProperties,s)&&this.setInternalPropertyValue(s,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(o=this.internalProperties.model)||delete o.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var l,p=x(this.self.controllableProperties);!(l=p()).done;){var u=l.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.reflectEventToProperties=function(){var e=l()(A().mark((function e(t,r){var n,o,i,a,s,l,p,c,d,f,h,m,b,_,y,v;return A().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,r.concat([this])))&&"then"in s&&E().isFunction(s.then))){e.next=12;break}return e.next=9,s;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=s;case 13:l=e.t0,i=!0,Array.isArray(l)?(o=l[0],this.reflectProperties(o),E().extend(!0,this.internalProperties,l[1])):null===l?i=!1:"object"==typeof l&&(o=l,this.reflectProperties(l));case 16:if(!i&&r.length>0&&null!==r[0]&&"object"==typeof r[0]){if(c=r[0],"persist"in r[0]&&E().isFunction(r[0].persist))for(c={},d=0,f=Object.keys(this.self.propertyTypes);d<f.length;d++)for(h=f[d],m=x([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(b=m()).done;)y=b.value,(v=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,y)?r[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(c[y]=v);else[null,void 0].includes(null==(p=c.detail)?void 0:p.value)||(c=u()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=n,e.abrupt("return",o);case 20: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("-"),o=n?e.substring(1):e,i=E().stringDelimitedToCamelCase(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var s=this.self.propertyTypes[i];if(n){if(t){var l=E().stringEvaluate(t,{Tools:E()},!1,this);l.error?(console.warn('Faild to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case w.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(i,p),this.setExternalPropertyValue(i,p);break;case w.func:case"function":var u,c=null,d=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var f=E().stringCompile(t,d);c=f.error,u=f.templateFunction,c&&console.warn('Failed to compile given handler "'+e+'": '+c+".")}this.setInternalPropertyValue(i,(function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];r.outputEventNames.has(i)&&r.reflectEventToProperties(i,o);var s=void 0;if(!c)try{s=u.call(r,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(r){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+d.join('", "')+'" set to "'+E().represent(o)+'": '+r+'. Set property to "undedefined".')}return r.self.renderProperties.includes(i)||r.forwardEvent(i,o),s})),c||this.setExternalPropertyValue(i,u);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(c){console.warn('Error occurred during parsing given json attribute "'+e+'": '+E().represent(c));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,E().copy(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case w.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,m);break;case w.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case w.any:case w.array:case w.arrayOf:case w.element:case w.elementType:case w.instanceOf:case w.node:case w.object:case"object":case w.objectOf:case w.oneOf:case w.oneOfType:case w.shape:case w.exact:case w.symbol:default:if(t){var b=E().stringEvaluate(t,{},!1,this);if(b.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":'+b.error);break}this.setInternalPropertyValue(i,b.result),this.setExternalPropertyValue(i,E().copy(b.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=u()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Faild to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var r=document.createElement("div");r.innerHTML=t.result,this.applySlots(r,u()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(y()(HTMLElement)),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:w.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,o=a,i=g()(o.prototype,"isRoot",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),S={component:C,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(C._name)),customElements.define(e,C)}};t.default=C},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=h},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,r){r.d(t,{api:function(){return _}});var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(1),l=r.n(s),p=r(2),u=r(13),c=r.n(u),d=r(14),f=r(15);function h(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 m(e,t);var r=Object.prototype.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)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var b=function(e){function t(){for(var r,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return(r=e.call.apply(e,[this].concat(o))||this).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}a()(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;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(e){var t,r=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var n=this.firstChild;n;){var i=n.nextSibling;this.removeChild(n),n=i}this.reactRoot||(this.reactRoot=(0,f.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,d.flushSync)((function(){return r.reactRoot.render((0,u.createElement)(r.self.content,r.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():l().timeout(this.reflectInstanceProperties)}},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=l().copy(t,1),r)),this.setInternalPropertyValue(e,l().copy(t,1))},r.setInternalPropertyValue=function(t,r){null===r?r=p.NullSymbol:void 0===r&&(r=p.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,o=1,i=[],a=h(e);!(n=a()).done;){var s=n.value,l=this.preCompileDomNode(s,t,r,o.toString());l&&(i.push(l),o+=1)}return r?function(e){return function(){for(var t,r=[],n=h(i);!(t=n()).done;){var o=(0,t.value)(e);"function"==typeof o&&r.push(o.apply(void 0,arguments))}return(0,u.createElement)(u.Fragment,{children:r})}}:i},r.preCompileDomNode=function(e,t,r,n){var i,a,s=this;if(void 0===t&&(t={}),void 0===r&&(r=!1),r){var p=this.preCompileDomNode(e,o()({},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 i=r.length>0?r[0]:null;return p(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var c="string"==typeof e.nodeValue?e.nodeValue.trim():"",d=n&&c?(0,u.createElement)(u.Fragment,{children:c,key:n}):c||null;return function(){return d}}if(!e.getAttributeNames)return function(){return null};var f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),i=e.internalProperties,n&&!Object.prototype.hasOwnProperty.call(i,"key")&&(i.key=n),a=e.constructor.content):(i={key:n},a=e.tagName.toLowerCase());for(var m,b=Object.keys(t),_={},y=function(){var r,n=m.value,o=e.getAttribute(n);if(null===o)return"continue";var a=!1,p="";if(n.startsWith("data-bind-")?p=n.substring("data-bind-".length):n.startsWith("bind-")&&(p=n.substring("bind-".length)),p.startsWith("attribute-")||"attributes"===p||p.startsWith("property-")||"properties"===p){var u=l().stringCompile(o,b),c=u.error,d=u.originalScopeNames,f=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+n+'" on node:',e,c),"continue";"attributes"===p||"properties"===p?a=!0:p=p.startsWith("attribute-")?p.substring("attribute-".length):p.substring("property-".length),o={originalScopeNames:d,templateFunction:f.bind(s)}}else if(p.startsWith("on-")){p=l().stringDelimitedToCamelCase(p),Object.prototype.hasOwnProperty.call(t,"event")||(b=[].concat(b,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(b=[].concat(b,["parameters"]));var h=l().stringCompile(o,b,!0),y=h.error,v=h.originalScopeNames,g=h.scopeNames,P=h.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+n+'" on node:',e,y),"continue";var A=P.bind(s);o=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{A.apply(void 0,v.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+n+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+g.join('", "')+'": '+l().represent(t))}}}else p=n;var T={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(T,p)&&(p=T[p]),p=l().stringDelimitedToCamelCase(p),null!=(r=o)&&r.originalScopeNames?_[a?"":p]=o:i[p]=o},v=h(e.getAttributeNames());!(m=v()).done;)y();if(!f){var g=Array.from(e.childNodes);g.length&&(i.children=this.preCompileDomNodes(g,t))}return function(r){(r=o()({},t,r)).scope=r;for(var n=o()({},i),l=0,p=Object.entries(_);l<p.length;l++){var c=p[l],d=c[0],h=c[1],m=h.originalScopeNames,b=h.templateFunction.apply(void 0,m.map((function(e){return r[e]})));""===d?n=o()({},n,b):n[d]=b}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):f?(e.evaluateSlots(o()({},n,r,{parent:e})),e.prepareProperties(n),r=o()({},n,r,{parent:e})):n.children&&(n.children=s.evaluatePreCompiledDomNodes(n.children,r)),(0,u.createElement)(a,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=[],o=h(e);!(r=o()).done;){var i=(0,r.value)(t);i&&n.push(i)}return n},r.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[p.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[p.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.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&&(!1===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,u.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,u.forwardRef)((function(t,r){return(0,u.useImperativeHandle)(r,(function(){return{properties:t}})),(0,u.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,u.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,u.memo)(this.self.content),this.self.content.wrapped=e)}},r.prepareProperties=function(e){l().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,u.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var r,n=h(["isRoot","isTrusted","__composed"]);!(r=n()).done;){var o=r.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(r(5).default);b.attachWebComponentAdapterIfNotExists=!0,b.content="div",b.react=c(),b._name="ReactWebComponent";var _={component:b,register:function(e){return void 0===e&&(e=l().stringCamelCaseToDelimited(b._name)),customElements.define(e,b)}};t.default=b}],m={};function b(e){var t=m[e];if(void 0!==t)return t.exports;var r=m[e]={exports:{}};return f[e](r,r.exports,b),r.exports}b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,{a:t}),t},b.d=function(e,t){for(var r in t)b.o(t,r)&&!b.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var _={};return function(){b.r(_),b.d(_,{ReactWeb:function(){return l},Web:function(){return c},reactWebAPI:function(){return p},webAPI:function(){return u},wrapAsWebComponent:function(){return d}});var e=b(0),t=b.n(e),r=b(3),n=b.n(r),o=b(1),i=b.n(o),a=b(16),s=b(5),l=a.default,p=a.api,u=s.api,c=s.default,d=function(e,r,o){var a,s,p,u;void 0===r&&(r="NoName"),void 0===o&&(o={});var c=e._name||(null==(a=e.___types)||null==(s=a.name)?void 0:s.name)||r.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},h=i().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),m=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(l.propertiesToReflectAsAttributes)if(Array.isArray(m))m=[].concat(l.propertiesToReflectAsAttributes,m);else if(m instanceof Map)for(var b=0,_=l.propertiesToReflectAsAttributes;b<_.length;b++){var y=_[b];m.set(y,l.propertyTypes[y])}else if(null!==m&&"object"==typeof m)for(var v=0,g=l.propertiesToReflectAsAttributes;v<g.length;v++){var P=g[v];m[P]=l.propertyTypes[P]}var A=h.map((function(e){return i().stringCamelCaseToDelimited(e)})),T=function(r){function i(){for(var n,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(n=r.call.apply(r,[this].concat(s))||this).self=i,n.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},n}return n()(i,r),i}(l);return T.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,T.content=e,T.observedAttributes=l.observedAttributes.concat(A).concat(A.map((function(e){return"-"+e}))),T.controllableProperties=e.controllableProperties||o.controllableProperties||[],T.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},T.propertyAliases=t()({},l.propertyAliases,f),T.propertiesToReflectAsAttributes=m,T.propertyTypes=t()({},l.propertyTypes,d),T.renderProperties=null!==(p=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==p?p:l.renderProperties,T._name=c,{component:T,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(c)),customElements.define(e,T)}}};_.default=d}(),_}())},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__18__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__19__},,,,,,,,,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,t,n,r,o,i,a,l,u,s;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!=__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__(8),n=__webpack_require__(49),r=__webpack_require__(9),o=__webpack_require__(10),i=__webpack_require__(11),a=__webpack_require__(4),l=__webpack_require__(0),u=__webpack_require__(3),s=__webpack_require__(7),function(){var p=[function(e){e.exports=s},function(t){t.exports=e},function(e){e.exports=u},function(e){e.exports=a},function(e){e.exports=r},function(e){e.exports=l},function(e,t,r){r.d(t,{WrapTooltip:function(){return l}});var n=r(1),o=r.n(n),i=r(9),a=r(11),s=r(0),l=function(e){var t=e.children,r=e.options;return"string"==typeof r?(0,s.jsx)(a.Tooltip,{content:(0,s.jsx)(i.Typography,{use:"caption",children:r}),children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}):null!==r&&"object"==typeof r?("string"==typeof r.content&&(r=o()({},r,{content:(0,s.jsx)(i.Typography,{use:"caption",children:r.content})})),(0,s.jsx)(a.Tooltip,o()({},r,{children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}))):(0,s.jsx)(s.Fragment,{children:t})}},function(e,t,r){r.d(t,{WrapConfigurations:function(){return s}}),r(1),r(13),r(2),r(4);var n=r(12),o=r(10),i=r(6),a=r(0),s=function(e){var t=e.children,r=e.strict,s=e.themeConfiguration,l=e.tooltip,p=e.wrap;return(0,a.jsx)(n.x,{strict:Boolean(r),children:(0,a.jsx)(i.WrapTooltip,{options:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:p,children:t})})})}},function(e,t,r){r.d(t,{deriveMissingPropertiesFromState:function(){return u},determineInitialValue:function(){return h},determineValidationState:function(){return m},getConsolidatedProperties:function(){return _},mapPropertiesIntoModel:function(){return b},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return d},wrapStateSetter:function(){return c}});var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(5);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 p(e,t);var r=Object.prototype.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)?p(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(2);var u=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var r=0,n=Object.entries(t.modelState);r<n.length;r++){var i=n[r],a=i[0],s=i[1];void 0===e.model.state[a]&&(e.model.state[a]=s)}return e},c=function(e,t){return function(r){var n="function"==typeof r?r(t):r;a().equals(null==n?void 0:n.modelState,null==t?void 0:t.modelState)||e(n)}},d=function(e,t,r){void 0===r&&(r=!0);for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];t="on"+a().stringCapitalize(t),e[t]&&(r?e[t].apply(e,o):a().timeout((function(){return e[t].apply(e,o)})))},f=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],i=o[0],l=o[1];l===s.UndefinedSymbol?t[i]=void 0:l===s.NullSymbol?t[i]=null:t[i]=a().copy(e[i])}return t},h=function(e,t,r){var n,o;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?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?a().copy(e.model.default):void 0!==t?t:null},m=function(e,t,r){void 0===r&&(r={});var n=!1;r=o()({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 i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],p=s[1],u=t[l];e.model.state[l]=p(),n=n||u!==t[l]}return n&&(e.model.state.invalid=Object.keys(r).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),n},b=function(e,t){var r=a().extend(!0,{model:a().copy(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedRegularExpressionPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.regularExpressionPattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var n,o=l(Object.keys(r.model).concat("value"));!(n=o()).done;){var i=n.value;Object.prototype.hasOwnProperty.call(r,i)&&void 0!==r[i]&&(r.model[i]=r[i])}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=a().copy(r.model.default)),r},_=function(e){var t=o()({},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.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t}},function(e){e.exports=i},function(e,t,r){r.d(t,{WrapThemeProvider:function(){return i}});var n=r(4),o=r(0),i=function(e){var t=e.children,r=e.configuration,i=e.wrap;return r?(0,o.jsx)(n.ThemeProvider,{options:r,wrap:!1!==i,children:t}):t}},function(e){e.exports=o},function(e,t,r){r.d(t,{x:function(){return i}});var n=r(2),o=r(0),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=t},,,,,,,,,,,,,,,,function(e,t,r){r.d(t,{by:function(){return m},cN:function(){return d},uG:function(){return _}});var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(5),l={declaration:s.string,default:s.any,description:s.string,name:s.string,selection:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.number,s.string])),s.number,(0,s.objectOf)((0,s.oneOfType)([s.number,s.string])),s.string])),(0,s.objectOf)((0,s.oneOfType)([s.number,s.string]))]),type:s.string,value:s.any},p={dirty:(0,s.oneOfType)([s.boolean,s.symbol]),pristine:(0,s.oneOfType)([s.boolean,s.symbol]),touched:(0,s.oneOfType)([s.boolean,s.symbol]),untouched:(0,s.oneOfType)([s.boolean,s.symbol]),focused:(0,s.oneOfType)([s.boolean,s.symbol]),visited:(0,s.oneOfType)([s.boolean,s.symbol]),invalid:(0,s.oneOfType)([s.boolean,s.symbol]),invalidRequired:(0,s.oneOfType)([s.boolean,s.symbol]),valid:(0,s.oneOfType)([s.boolean,s.symbol])},u=o()({},l,{emptyEqualsNull:s.boolean,trim:s.boolean,invertedRegularExpressionPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),regularExpressionPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximum:(0,s.oneOfType)([s.number,s.string]),minimum:(0,s.oneOfType)([s.number,s.string]),maximumLength:s.number,minimumLength:s.number,mutable:s.boolean,writable:s.boolean,state:(0,s.shape)(p)}),c=o()({},l,p,{className:s.string,disabled:s.boolean,enforceUncontrolled:s.boolean,initialValue:s.any,inputProperties:s.object,model:(0,s.shape)(u),onChange:s.func,onChangeValue:s.func,onChangeShowDeclaration:s.func,onChangeState:s.func,onClick:s.func,onFocus:s.func,onTouch:s.func,required:s.boolean,requiredText:s.string,ripple:(0,s.oneOfType)([s.boolean,s.object]),rootProps:s.object,showDeclaration:(0,s.oneOfType)([s.boolean,s.symbol]),showInitialValidationState:s.boolean,showValidationState:s.boolean,styles:s.object,themeConfiguration:s.object,tooltip:s.any}),d={dirty:!1,focused:!1,invalid:!1,invalidRequired:!1,pristine:!0,touched:!1,untouched:!0,valid:!0,visited:!1},f={declaration:"",default:null,description:"",emptyEqualsNull:!0,invertedRegularExpressionPattern:null,maximum:1/0,maximumLength:-1,minimum:-1/0,minimumLength:0,mutable:!0,name:"NO_NAME_DEFINED",nullable:!0,regularExpressionPattern:null,state:o()({},d),trim:!0,type:"string",writable:!0},h={enforceUncontrolled:!1,model:o()({},f),showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},m=o()({},c,p,{checked:s.boolean,id:s.string}),b=o()({},f,{default:!1,type:"boolean",value:!1}),_=o()({},h,{default:!1,model:o()({},b),requiredText:"Please check this field."}),y=o()({},p,{invalidMaximum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedPattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidPattern:(0,s.oneOfType)([s.boolean,s.symbol])}),v=o()({},c,y,{align:s.string,children:s.func,cursor:(0,s.oneOfType)([(0,s.shape)({end:s.number.isRequired,start:s.number.isRequired}),s.symbol]),editor:s.string,editorIsActive:(0,s.oneOfType)([s.boolean,s.symbol]),hidden:(0,s.oneOfType)([s.boolean,s.symbol]),icon:(0,s.oneOfType)([s.string,s.object]),inputProps:s.object,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedPatternText:s.string,labels:(0,s.oneOfType)([(0,s.arrayOf)((0,s.arrayOf)(s.string)),(0,s.arrayOf)(s.string),s.object]),maximum:(0,s.oneOfType)([s.number,s.string]),maximumLengthText:s.string,maximumText:s.string,minimum:(0,s.oneOfType)([s.number,s.string]),minimumLengthText:s.string,minimumText:s.string,onBlur:s.func,onChangeEditorIsActive:s.func,onKeyDown:s.func,onKeyUp:s.func,onSelect:s.func,onSelectionChange:s.func,outlined:s.boolean,pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),patternText:s.string,placeholder:s.string,representation:(0,s.oneOfType)([s.string,s.symbol]),rows:s.number,searchSelection:s.boolean,selectableEditor:s.boolean,step:s.number,suggestionCreator:s.func,suggestSelection:s.boolean,trailingIcon:s.any,transformer:s.object}),g=o()({},d,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),P=o()({},f,{state:g}),A=o()({},h,{cursor:{end:0,start:0},editor:"plain",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.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},P),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',rows:4,searchSelection:!1,selectableEditor:!1,step:1,suggestSelection:!1}),T=o()({},p,{invalidContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidName:(0,s.oneOfType)([s.boolean,s.symbol])}),E=(o()({},c,T,{children:s.func,contentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedContentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),deleteButton:(0,s.oneOfType)([s.object,s.string]),downloadButton:(0,s.oneOfType)([s.object,s.string]),editButton:(0,s.oneOfType)([s.object,s.string]),newButton:(0,s.oneOfType)([s.object,s.string]),encoding:s.string,generateFileNameInputProperties:s.func,maximumSizeText:s.string,minimumSizeText:s.string,onBlur:s.func,outlined:s.boolean}),o()({},d,{invalidContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1})),w=o()({},f,{contentTypeRegularExpressionPattern:/^.+\/.+$/,invertedContentTypeRegularExpressionPattern:null,fileName:o()({},P,{maximumLength:1024,name:"Name",regularExpressionPattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:E});delete o()({},A,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: ""${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: ""${[].concat(pattern).join("\\", \\"")}".',required:!0}).model,o()({},h,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: ""${[].concat(invertedContentTypePattern).join("\\", \\"")}".',deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",media:{sixteenByNine:!0},model:o()({},w),sourceToBlobOptions:{endings:"transparent",type:"text/plain"}}),o()({},c,y,{children:s.func,createItem:s.func,createPrototype:s.func,maximumNumber:s.number,minimumNumber:s.number});var x=o()({},f,{state:o()({},f.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"});o()({},h,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},x)}),o()({},v,{value:(0,s.shape)({end:(0,s.oneOfType)([s.number,(0,s.shape)(v)]),start:(0,s.oneOfType)([s.number,(0,s.shape)(v)])})}),o()({},d),o()({},P,{description:"End",name:"end"}),o()({},P,{description:"Start",name:"start"})},,,,,,,,function(e){e.exports=n}],c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return p[e](r,r.exports,d),r.exports}d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return function(){d.r(f),d.d(f,{RequireableCheckbox:function(){return b},RequireableCheckboxInner:function(){return m},default:function(){return _},determineValidationState:function(){return h}});var e=d(1),t=d.n(e),r=d(3),n=d.n(r),o=d(2),i=d(37),a=d(4),s=d(7),l=d(8),p=d(29),u=d(0),c={"requireable-checkbox":"requireable-checkbox"};function h(e,t){return(0,l.determineValidationState)(e,t,{invalidRequired:function(){return!1===e.model.nullable&&!e.model.value}})}var m=function(e,r){var p,d,f=function(e){var t=(0,l.mapPropertiesIntoModel)(e,b.defaultProperties.model);return h(t,t.model.state),(t=(0,l.getConsolidatedProperties)(t)).checked=Boolean(t.value),t},m=function(e){n().extend(!0,O,f(O)),(0,l.triggerCallbackIfExists)(O,"change",x,O,e)},_=function(e){return w((function(r){var n=!1;r.modelState.focused||(O.focused=!0,n=!0),r.modelState.untouched&&(O.touched=!0,O.untouched=!1,n=!0);var o=r;return n&&(m(e),o=t()({},r,{modelState:O.model.state}),(0,l.triggerCallbackIfExists)(O,"changeState",x,O.model.state,e,O)),(0,l.triggerCallbackIfExists)(O,"touch",x,e,O),o}))},y=(0,o.useRef)(null),v=(0,o.useRef)(null),g=(0,l.translateKnownSymbols)(e),P=(0,l.determineInitialValue)(g,b.defaultProperties.model.default,g.checked),A=n().extend(!0,n().copy(b.defaultProperties),g),T=(0,o.useState)({modelState:t()({},b.defaultModelState),value:P}),E=T[0],w=T[1],x=!A.enforceUncontrolled&&(void 0!==(null==(p=g.model)?void 0:p.value)||void 0!==g.value)&&Boolean(g.onChange||g.onChangeValue);(0,l.deriveMissingPropertiesFromState)(A,E);var O=f(A),C={modelState:O.model.state,value:O.value};return(x||O.value===E.value)&&n().equals(O.model.state,E.modelState)||w(C),x&&(w=(0,l.wrapStateSetter)(w,C)),(0,o.useImperativeHandle)(r,(function(){return{properties:O,references:{foundationRef:v,inputReference:y},state:t()({modelState:O.model.state},x?{}:{value:O.value})}})),(0,u.jsx)(s.WrapConfigurations,{strict:b.strict,themeConfiguration:O.themeConfiguration,tooltip:O.tooltip,children:(0,u.jsx)("div",{className:[c["requireable-checkbox"]].concat(null!==(d=O.className)&&void 0!==d?d:[]).join(" "),style:O.styles,children:(0,u.jsx)(i.Checkbox,{checked:Boolean(O.value),disabled:O.disabled,foundationRef:v,id:O.id||O.name,indeterminate:null===O.value,inputRef:y,label:O.invalid&&O.showValidationState&&(O.showInitialValidationState||O.visited)?(0,u.jsx)(a.Theme,{use:"error",children:O.description||O.name}):O.description||O.name,name:O.name,onBlur:function(e){return w((function(r){var n=!1;return r.modelState.focused&&(O.focused=!1,n=!0),r.modelState.visited||(O.visited=!0,n=!0),n&&(m(e),(0,l.triggerCallbackIfExists)(O,"changeState",x,O.model.state,e,O)),(0,l.triggerCallbackIfExists)(O,"blur",x,e,O),n?t()({},r,{modelState:O.model.state}):r}))},onChange:function(e){O.model.mutable&&O.model.writable&&(O.value=Boolean(e.target.checked),w((function(r){if(r.value===O.value)return r;var n=!1,o=t()({},r,{value:O.value});return r.modelState.pristine&&(O.dirty=!0,O.pristine=!1,n=!0),m(e),h(O,r.modelState)&&(n=!0),(0,l.triggerCallbackIfExists)(O,"changeValue",x,O.value,e,O),n&&(o.modelState=O.model.state,(0,l.triggerCallbackIfExists)(O,"changeState",x,O.model.state,e,O)),o})))},onClick:function(e){(0,l.triggerCallbackIfExists)(O,"click",x,e,O),_(e)},onFocus:function(e){(0,l.triggerCallbackIfExists)(O,"focus",x,e,O),_(e)},ripple:O.ripple,value:""+O.value})})})};m.displayName="RequireableCheckbox";var b=(0,o.memo)((0,o.forwardRef)(m));b.wrapped=m,b.webComponentAdapterWrapped="react",b.defaultModelState=p.cN,b.defaultProperties=t()({},p.uG,{model:t()({},p.uG.model,{state:void 0,value:void 0}),value:void 0}),b.propTypes=p.by,b.strict=!1;var _=b}(),f}())},,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__49__}],__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__={};return function(){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{RequireableCheckbox:function(){return o}});var e=__webpack_require__(0),t=__webpack_require__(36),r=__webpack_require__.n(t),n=__webpack_require__(1),o=__webpack_require__.n(n)()(r(),"RequireableCheckbox",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__webpack_exports__.default=o}(),__webpack_exports__}()}));
|