@openremote/or-asset-tree 1.8.0-snapshot.20250725070921 → 1.8.0-snapshot.20250725120000
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/README.md +30 -30
- package/custom-elements.json +1 -1
- package/dist/umd/index.bundle.js +1191 -1191
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1191 -1191
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.orbundle.js +1250 -1250
- package/dist/umd/index.orbundle.js.map +1 -1
- package/lib/index.js +1704 -99
- package/lib/or-add-asset-dialog.js +318 -148
- package/lib/style.js +312 -306
- package/package.json +8 -8
package/dist/umd/index.js
CHANGED
|
@@ -1,1194 +1,1194 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("ORTranslate"),require("ORCore"),require("ORModel"),require("ORIcon")):"function"==typeof define&&define.amd?define(["ORTranslate","ORCore","ORModel","ORIcon"],e):"object"==typeof exports?exports.ORAssetTree=e(require("ORTranslate"),require("ORCore"),require("ORModel"),require("ORIcon")):t.ORAssetTree=e(t.ORTranslate,t.ORCore,t.ORModel,t.ORIcon)}(self,(__WEBPACK_EXTERNAL_MODULE__9329__,__WEBPACK_EXTERNAL_MODULE__6801__,__WEBPACK_EXTERNAL_MODULE__4297__,__WEBPACK_EXTERNAL_MODULE__6243__)=>(()=>{var __webpack_modules__={1872:function(t,e,n){"use strict";n.d(e,{B:()=>a});function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function r(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t}var o=n(4327),a=function(){function t(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];this.root=t,this.initialize.apply(this,r(n)),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new o.K({}))},t.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},t.prototype.getDefaultFoundation=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},t.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},t.prototype.emit=function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(i)},t}()},4327:function(t,e,n){"use strict";n.d(e,{K:()=>i});var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},9364:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=window),!!r(t)&&{passive:!0}}function r(t){void 0===t&&(t=window);var e=!1;try{var n={get passive(){return e=!0,!1}},i=function(){};t.document.addEventListener("test",i,n),t.document.removeEventListener("test",i,n)}catch(t){e=!1}return e}n.d(e,{K:()=>i})},9905:function(t,e,n){"use strict";n.d(e,{Fn:()=>i,ku:()=>y});var i={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape"},r=new Set;r.add(i.BACKSPACE),r.add(i.ENTER),r.add(i.SPACEBAR),r.add(i.PAGE_UP),r.add(i.PAGE_DOWN),r.add(i.END),r.add(i.HOME),r.add(i.ARROW_LEFT),r.add(i.ARROW_UP),r.add(i.ARROW_RIGHT),r.add(i.ARROW_DOWN),r.add(i.DELETE),r.add(i.ESCAPE);var o=8,a=13,l=32,c=33,d=34,s=35,m=36,p=37,u=38,f=39,h=40,g=46,b=27,_=new Map;_.set(o,i.BACKSPACE),_.set(a,i.ENTER),_.set(l,i.SPACEBAR),_.set(c,i.PAGE_UP),_.set(d,i.PAGE_DOWN),_.set(s,i.END),_.set(m,i.HOME),_.set(p,i.ARROW_LEFT),_.set(u,i.ARROW_UP),_.set(f,i.ARROW_RIGHT),_.set(h,i.ARROW_DOWN),_.set(g,i.DELETE),_.set(b,i.ESCAPE);var v=new Set;function y(t){var e=t.key;if(r.has(e))return e;var n=_.get(t.keyCode);return n||i.UNKNOWN}v.add(i.PAGE_UP),v.add(i.PAGE_DOWN),v.add(i.END),v.add(i.HOME),v.add(i.ARROW_LEFT),v.add(i.ARROW_UP),v.add(i.ARROW_RIGHT),v.add(i.ARROW_DOWN)},2584:function(t,e,n){"use strict";function i(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(r(n,e))return n;n=n.parentElement}return null}function r(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}function o(t){var e=t;if(null!==e.offsetParent)return e.scrollWidth;var n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var i=n.scrollWidth;return document.documentElement.removeChild(n),i}n.d(e,{FL:()=>o,oq:()=>i,wB:()=>r})},2326:function(t,e,n){"use strict";n.d(e,{e:()=>c});var i=n(2093),r=n(1872),o=n(2584),a=n(3164),l=n(7066),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),Object.defineProperty(e.prototype,"vertical",{set:function(t){this.foundation.setVerticalOrientation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listElements",{get:function(){return[].slice.call(this.root.querySelectorAll("."+a.UX.LIST_ITEM_CLASS))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{set:function(t){this.foundation.setWrapFocus(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.foundation.setHasTypeahead(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.foundation.setSingleSelection(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t)},enumerable:!0,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.handleClick_=this.handleClickEvent_.bind(this),this.handleKeydown_=this.handleKeydownEvent_.bind(this),this.focusInEventListener_=this.handleFocusInEvent_.bind(this),this.focusOutEventListener_=this.handleFocusOutEvent_.bind(this),this.listen("keydown",this.handleKeydown_),this.listen("click",this.handleClick_),this.listen("focusin",this.focusInEventListener_),this.listen("focusout",this.focusOutEventListener_),this.layout(),this.initializeListType()},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten("click",this.handleClick_),this.unlisten("focusin",this.focusInEventListener_),this.unlisten("focusout",this.focusOutEventListener_)},e.prototype.layout=function(){var t=this.root.getAttribute(a.j2.ARIA_ORIENTATION);this.vertical=t!==a.j2.ARIA_ORIENTATION_HORIZONTAL,[].slice.call(this.root.querySelectorAll(".mdc-list-item:not([tabindex])")).forEach(function(t){t.setAttribute("tabindex","-1")}),[].slice.call(this.root.querySelectorAll(a.j2.FOCUSABLE_CHILD_ELEMENTS)).forEach(function(t){return t.setAttribute("tabindex","-1")}),this.foundation.layout()},e.prototype.getPrimaryText=function(t){var e=t.querySelector("."+a.UX.LIST_ITEM_PRIMARY_TEXT_CLASS);if(e)return e.textContent||"";var n=t.querySelector("."+a.UX.LIST_ITEM_TEXT_CLASS);return n&&n.textContent||""},e.prototype.initializeListType=function(){var t=this,e=this.root.querySelectorAll(a.j2.ARIA_ROLE_CHECKBOX_SELECTOR),n=this.root.querySelector(a.j2.ARIA_CHECKED_RADIO_SELECTOR);if(e.length){var i=this.root.querySelectorAll(a.j2.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=[].map.call(i,function(e){return t.listElements.indexOf(e)})}else n&&(this.selectedIndex=this.listElements.indexOf(n))},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.typeaheadMatchItem=function(t,e){return this.foundation.typeaheadMatchItem(t,e,!0)},e.prototype.getDefaultFoundation=function(){var t=this,e={addClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.add(n)},focusItemAtIndex:function(e){var n=t.listElements[e];n&&n.focus()},getAttributeForElementIndex:function(e,n){return t.listElements[e].getAttribute(n)},getFocusedElementIndex:function(){return t.listElements.indexOf(document.activeElement)},getListItemCount:function(){return t.listElements.length},getPrimaryTextAtIndex:function(e){return t.getPrimaryText(t.listElements[e])},hasCheckboxAtIndex:function(e){return!!t.listElements[e].querySelector(a.j2.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(e){return!!t.listElements[e].querySelector(a.j2.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(e){return t.listElements[e].querySelector(a.j2.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return t.root!==document.activeElement&&t.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===t.root},listItemAtIndexHasClass:function(e,n){return t.listElements[e].classList.contains(n)},notifyAction:function(e){t.emit(a.j2.ACTION_EVENT,{index:e},!0)},removeClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.remove(n)},setAttributeForElementIndex:function(e,n,i){var r=t.listElements[e];r&&r.setAttribute(n,i)},setCheckedCheckboxOrRadioAtIndex:function(e,n){var i=t.listElements[e].querySelector(a.j2.CHECKBOX_RADIO_SELECTOR);i.checked=n;var r=document.createEvent("Event");r.initEvent("change",!0,!0),i.dispatchEvent(r)},setTabIndexForListItemChildren:function(e,n){var i=t.listElements[e];[].slice.call(i.querySelectorAll(a.j2.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach(function(t){return t.setAttribute("tabindex",n)})}};return new l.I(e)},e.prototype.getListItemIndex_=function(t){var e=t.target,n=(0,o.oq)(e,"."+a.UX.LIST_ITEM_CLASS+", ."+a.UX.ROOT);return n&&(0,o.wB)(n,"."+a.UX.LIST_ITEM_CLASS)?this.listElements.indexOf(n):-1},e.prototype.handleFocusInEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation.handleFocusIn(t,e)},e.prototype.handleFocusOutEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation.handleFocusOut(t,e)},e.prototype.handleKeydownEvent_=function(t){var e=this.getListItemIndex_(t),n=t.target;this.foundation.handleKeydown(t,n.classList.contains(a.UX.LIST_ITEM_CLASS),e)},e.prototype.handleClickEvent_=function(t){var e=this.getListItemIndex_(t),n=t.target,i=!(0,o.wB)(n,a.j2.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(e,i)},e}(r.B)},3164:function(t,e,n){"use strict";n.d(e,{KT:()=>o,UX:()=>i,j2:()=>r});var i={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"},r={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+i.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+i.LIST_ITEM_CLASS+" a\n ",FOCUSABLE_CHILD_ELEMENTS:"\n ."+i.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+i.LIST_ITEM_CLASS+" a,\n ."+i.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+i.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]'},o={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300}},7066:function(t,e,n){"use strict";n.d(e,{I:()=>_});var i=n(2093),r=n(4327),o=n(9905),a=n(3164),l=["input","button","textarea","select"],c=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===l.indexOf(n)&&t.preventDefault()}};function d(){return{bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""}}function s(t,e){for(var n=new Map,i=0;i<t;i++){var r=e(i).trim();if(r){var o=r[0].toLowerCase();n.has(o)||n.set(o,[]),n.get(o).push({text:r.toLowerCase(),index:i})}}return n.forEach(function(t){t.sort(function(t,e){return t.index-e.index})}),n}function m(t,e){var n,i=t.nextChar,r=t.focusItemAtIndex,o=t.sortedIndexByFirstChar,l=t.focusedItemIndex,c=t.skipFocus,d=t.isItemAtIndexDisabled;return clearTimeout(e.bufferClearTimeout),e.bufferClearTimeout=setTimeout(function(){h(e)},a.KT.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),e.typeaheadBuffer=e.typeaheadBuffer+i,-1===(n=1===e.typeaheadBuffer.length?p(o,l,d,e):u(o,d,e))||c||r(n),n}function p(t,e,n,i){var r,o=i.typeaheadBuffer[0],a=t.get(o);if(!a)return -1;if(o===i.currentFirstChar&&a[i.sortedIndexCursor].index===e){i.sortedIndexCursor=(i.sortedIndexCursor+1)%a.length;var l=a[i.sortedIndexCursor].index;if(!n(l))return l}i.currentFirstChar=o;var c=-1;for(r=0;r<a.length;r++)if(!n(a[r].index)){c=r;break}for(;r<a.length;r++)if(a[r].index>e&&!n(a[r].index)){c=r;break}return -1!==c?(i.sortedIndexCursor=c,a[i.sortedIndexCursor].index):-1}function u(t,e,n){var i=n.typeaheadBuffer[0],r=t.get(i);if(!r)return -1;var o=r[n.sortedIndexCursor];if(0===o.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(o.index))return o.index;for(var a=(n.sortedIndexCursor+1)%r.length,l=-1;a!==n.sortedIndexCursor;){var c=r[a],d=0===c.text.lastIndexOf(n.typeaheadBuffer,0),s=!e(c.index);if(d&&s){l=a;break}a=(a+1)%r.length}return -1!==l?(n.sortedIndexCursor=l,r[n.sortedIndexCursor].index):-1}function f(t){return t.typeaheadBuffer.length>0}function h(t){t.typeaheadBuffer=""}function g(t,e){var n=t.event,i=t.isTargetListItem,r=t.focusedItemIndex,a=t.focusItemAtIndex,l=t.sortedIndexByFirstChar,d=t.isItemAtIndexDisabled,s="ArrowLeft"===(0,o.ku)(n),p="ArrowUp"===(0,o.ku)(n),u="ArrowRight"===(0,o.ku)(n),h="ArrowDown"===(0,o.ku)(n),g="Home"===(0,o.ku)(n),b="End"===(0,o.ku)(n),_="Enter"===(0,o.ku)(n),v="Spacebar"===(0,o.ku)(n);if(s||p||u||h||g||b||_)return -1;if(!v&&1===n.key.length){c(n);var y={focusItemAtIndex:a,focusedItemIndex:r,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:l,skipFocus:!1,isItemAtIndexDisabled:d};return m(y,e)}if(!v)return -1;if(i&&c(n),i&&f(e)){var y={focusItemAtIndex:a,focusedItemIndex:r,nextChar:" ",sortedIndexByFirstChar:l,skipFocus:!1,isItemAtIndexDisabled:d};return m(y,e)}return -1}function b(t){return t instanceof Array}var _=function(t){function e(n){var r=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),n))||this;return r.wrapFocus_=!1,r.isVertical_=!0,r.isSingleSelectionList_=!1,r.selectedIndex_=a.KT.UNSET_INDEX,r.focusedItemIndex=a.KT.UNSET_INDEX,r.useActivatedClass_=!1,r.useSelectedAttr_=!1,r.ariaCurrentAttrValue_=null,r.isCheckboxList_=!1,r.isRadioList_=!1,r.hasTypeahead=!1,r.typeaheadState=d(),r.sortedIndexByFirstChar=new Map,r}return(0,i.ZT)(e,t),Object.defineProperty(e,"strings",{get:function(){return a.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return a.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return a.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!0,configurable:!0}),e.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList_=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},e.prototype.setWrapFocus=function(t){this.wrapFocus_=t},e.prototype.setVerticalOrientation=function(t){this.isVertical_=t},e.prototype.setSingleSelection=function(t){this.isSingleSelectionList_=t,t&&this.maybeInitializeSingleSelection()},e.prototype.maybeInitializeSingleSelection=function(){for(var t=0;t<this.adapter.getListItemCount();t++){var e=this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_SELECTED_CLASS),n=this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_ACTIVATED_CLASS);if(e||n){n&&this.setUseActivatedClass(!0),this.isSingleSelectionList_=!0,this.selectedIndex_=t;return}}},e.prototype.setHasTypeahead=function(t){this.hasTypeahead=t,t&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},e.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&f(this.typeaheadState)},e.prototype.setUseActivatedClass=function(t){this.useActivatedClass_=t},e.prototype.setUseSelectedAttribute=function(t){this.useSelectedAttr_=t},e.prototype.getSelectedIndex=function(){return this.selectedIndex_},e.prototype.setSelectedIndex=function(t){this.isIndexValid_(t)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(t):this.isRadioList_?this.setRadioAtIndex_(t):this.setSingleSelectionAtIndex_(t))},e.prototype.handleFocusIn=function(t,e){e>=0&&(this.focusedItemIndex=e,this.adapter.setAttributeForElementIndex(e,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(e,"0"))},e.prototype.handleFocusOut=function(t,e){var n=this;e>=0&&(this.adapter.setAttributeForElementIndex(e,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(e,"-1")),setTimeout(function(){n.adapter.isFocusInsideList()||n.setTabindexToFirstSelectedOrFocusedItem()},0)},e.prototype.handleKeydown=function(t,e,n){var i=this,r="ArrowLeft"===(0,o.ku)(t),l="ArrowUp"===(0,o.ku)(t),d="ArrowRight"===(0,o.ku)(t),s="ArrowDown"===(0,o.ku)(t),m="Home"===(0,o.ku)(t),p="End"===(0,o.ku)(t),u="Enter"===(0,o.ku)(t),f="Spacebar"===(0,o.ku)(t),h="A"===t.key||"a"===t.key;if(this.adapter.isRootFocused()){if(l||p?(t.preventDefault(),this.focusLastElement()):(s||m)&&(t.preventDefault(),this.focusFirstElement()),this.hasTypeahead){var b={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:-1,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}};g(b,this.typeaheadState)}return}var _=this.adapter.getFocusedElementIndex();if(-1!==_||!((_=n)<0)){if(this.isVertical_&&s||!this.isVertical_&&d)c(t),this.focusNextElement(_);else if(this.isVertical_&&l||!this.isVertical_&&r)c(t),this.focusPrevElement(_);else if(m)c(t),this.focusFirstElement();else if(p)c(t),this.focusLastElement();else if(h&&t.ctrlKey&&this.isCheckboxList_)t.preventDefault(),this.toggleAll(this.selectedIndex_===a.KT.UNSET_INDEX?[]:this.selectedIndex_);else if((u||f)&&e){var v=t.target;if(v&&"A"===v.tagName&&u||(c(t),this.adapter.listItemAtIndexHasClass(_,a.UX.LIST_ITEM_DISABLED_CLASS)))return;this.isTypeaheadInProgress()||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(_),this.adapter.notifyAction(_))}if(this.hasTypeahead){var b={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}};g(b,this.typeaheadState)}}},e.prototype.handleClick=function(t,e){t!==a.KT.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(t,e),this.adapter.notifyAction(t)))},e.prototype.focusNextElement=function(t){var e=this.adapter.getListItemCount(),n=t+1;if(n>=e)if(!this.wrapFocus_)return t;else n=0;return this.focusItemAtIndex(n),n},e.prototype.focusPrevElement=function(t){var e=t-1;if(e<0)if(!this.wrapFocus_)return t;else e=this.adapter.getListItemCount()-1;return this.focusItemAtIndex(e),e},e.prototype.focusFirstElement=function(){return this.focusItemAtIndex(0),0},e.prototype.focusLastElement=function(){var t=this.adapter.getListItemCount()-1;return this.focusItemAtIndex(t),t},e.prototype.focusInitialElement=function(){var t=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(t),t},e.prototype.setEnabled=function(t,e){this.isIndexValid_(t)&&(e?(this.adapter.removeClassForElementIndex(t,a.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,a.j2.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(t,a.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,a.j2.ARIA_DISABLED,"true")))},e.prototype.setSingleSelectionAtIndex_=function(t){if(this.selectedIndex_!==t){var e=a.UX.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(e=a.UX.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex_,e),this.setAriaForSingleSelectionAtIndex_(t),this.setTabindexAtIndex(t),t!==a.KT.UNSET_INDEX&&this.adapter.addClassForElementIndex(t,e),this.selectedIndex_=t}},e.prototype.setAriaForSingleSelectionAtIndex_=function(t){this.selectedIndex_===a.KT.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(t,a.j2.ARIA_CURRENT));var e=null!==this.ariaCurrentAttrValue_,n=e?a.j2.ARIA_CURRENT:a.j2.ARIA_SELECTED;if(this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,n,"false"),t!==a.KT.UNSET_INDEX){var i=e?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(t,n,i)}},e.prototype.getSelectionAttribute=function(){return this.useSelectedAttr_?a.j2.ARIA_SELECTED:a.j2.ARIA_CHECKED},e.prototype.setRadioAtIndex_=function(t){var e=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(t,!0),this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,e,"false"),this.adapter.setAttributeForElementIndex(t,e,"true"),this.selectedIndex_=t},e.prototype.setCheckboxAtIndex_=function(t){for(var e=this.getSelectionAttribute(),n=0;n<this.adapter.getListItemCount();n++){var i=!1;t.indexOf(n)>=0&&(i=!0),this.adapter.setCheckedCheckboxOrRadioAtIndex(n,i),this.adapter.setAttributeForElementIndex(n,e,i?"true":"false")}this.selectedIndex_=t},e.prototype.setTabindexAtIndex=function(t){this.focusedItemIndex===a.KT.UNSET_INDEX&&0!==t?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex>=0&&this.focusedItemIndex!==t&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex_ instanceof Array||this.selectedIndex_===t||this.adapter.setAttributeForElementIndex(this.selectedIndex_,"tabindex","-1"),t!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(t,"tabindex","0")},e.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},e.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var t=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(t)},e.prototype.getFirstSelectedOrFocusedItemIndex=function(){var t=this.focusedItemIndex>=0?this.focusedItemIndex:0;return this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==a.KT.UNSET_INDEX?t=this.selectedIndex_:b(this.selectedIndex_)&&this.selectedIndex_.length>0&&(t=this.selectedIndex_.reduce(function(t,e){return Math.min(t,e)}))),t},e.prototype.isIndexValid_=function(t){var e=this;if(t instanceof Array){if(!this.isCheckboxList_)throw Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===t.length||t.some(function(t){return e.isIndexInRange_(t)})}if("number"!=typeof t)return!1;if(this.isCheckboxList_)throw Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return this.isIndexInRange_(t)||this.isSingleSelectionList_&&t===a.KT.UNSET_INDEX},e.prototype.isIndexInRange_=function(t){var e=this.adapter.getListItemCount();return t>=0&&t<e},e.prototype.setSelectedIndexOnAction_=function(t,e){void 0===e&&(e=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(t,e):this.setSelectedIndex(t)},e.prototype.toggleCheckboxAtIndex_=function(t,e){var n=this.getSelectionAttribute(),i=this.adapter.isCheckboxCheckedAtIndex(t);e&&(i=!i,this.adapter.setCheckedCheckboxOrRadioAtIndex(t,i)),this.adapter.setAttributeForElementIndex(t,n,i?"true":"false");var r=this.selectedIndex_===a.KT.UNSET_INDEX?[]:this.selectedIndex_.slice();i?r.push(t):r=r.filter(function(e){return e!==t}),this.selectedIndex_=r},e.prototype.focusItemAtIndex=function(t){this.adapter.focusItemAtIndex(t),this.focusedItemIndex=t},e.prototype.toggleAll=function(t){var e=this.adapter.getListItemCount();if(t.length===e)this.setCheckboxAtIndex_([]);else{for(var n=[],i=0;i<e;i++)(!this.adapter.listItemAtIndexHasClass(i,a.UX.LIST_ITEM_DISABLED_CLASS)||t.indexOf(i)>-1)&&n.push(i);this.setCheckboxAtIndex_(n)}},e.prototype.typeaheadMatchItem=function(t,e,n){var i=this;return void 0===n&&(n=!1),m({focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:e||this.focusedItemIndex,nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}},this.typeaheadState)},e.prototype.typeaheadInitSortedIndex=function(){return s(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},e.prototype.clearTypeaheadBuffer=function(){h(this.typeaheadState)},e}(r.K)},2093:function(t,e,n){"use strict";n.d(e,{ZT:()=>r,pi:()=>o});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}},1124:function(t,e,n){"use strict";n.d(e,{HX:()=>i,KT:()=>l,Ns:()=>r,UX:()=>o,j2:()=>a});var i,r,o={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},a={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:'button:not(:disabled), [href]:not([aria-disabled="true"]), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'},l={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(t){t[t.BOTTOM=1]="BOTTOM",t[t.CENTER=2]="CENTER",t[t.RIGHT=4]="RIGHT",t[t.FLIP_RTL=8]="FLIP_RTL"}(i||(i={})),function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=4]="TOP_RIGHT",t[t.BOTTOM_LEFT=1]="BOTTOM_LEFT",t[t.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",t[t.TOP_START=8]="TOP_START",t[t.TOP_END=12]="TOP_END",t[t.BOTTOM_START=9]="BOTTOM_START",t[t.BOTTOM_END=13]="BOTTOM_END"}(r||(r={}))},4266:function(t,e,n){"use strict";n.d(e,{g:()=>k});var i,r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},l=n(1872),c=n(2584),d=n(2326),s=n(3164),m=n(7066),p=function(t,e){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function u(t,e){function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var f=function(){return(f=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function h(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var g=n(1124),b=n(4327),_=function(t){function e(n){var i=t.call(this,f(f({},e.defaultAdapter),n))||this;return i.isSurfaceOpen=!1,i.isQuickOpen=!1,i.isHoistedElement=!1,i.isFixedPosition=!1,i.openAnimationEndTimerId=0,i.closeAnimationEndTimerId=0,i.animationRequestId=0,i.anchorCorner=g.Ns.TOP_START,i.originCorner=g.Ns.TOP_START,i.anchorMargin={top:0,right:0,bottom:0,left:0},i.position={x:0,y:0},i}return u(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return g.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return g.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return g.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"Corner",{get:function(){return g.Ns},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=e.cssClasses,n=t.ROOT,i=t.OPEN;if(!this.adapter.hasClass(n))throw Error(n+" class required in root element.");this.adapter.hasClass(i)&&(this.isSurfaceOpen=!0)},e.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},e.prototype.setAnchorCorner=function(t){this.anchorCorner=t},e.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^g.HX.RIGHT},e.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},e.prototype.setIsHoisted=function(t){this.isHoistedElement=t},e.prototype.setFixedPosition=function(t){this.isFixedPosition=t},e.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},e.prototype.setQuickOpen=function(t){this.isQuickOpen=t},e.prototype.isOpen=function(){return this.isSurfaceOpen},e.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(e.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(e.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame(function(){t.adapter.addClass(e.cssClasses.OPEN),t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.openAnimationEndTimerId=setTimeout(function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(e.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()},g.KT.TRANSITION_OPEN_DURATION)}),this.isSurfaceOpen=!0))},e.prototype.close=function(t){var n=this;void 0===t&&(t=!1),this.isSurfaceOpen&&(this.isQuickOpen?(this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(e.cssClasses.OPEN),this.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),this.adapter.notifyClose()):(this.adapter.addClass(e.cssClasses.ANIMATING_CLOSED),requestAnimationFrame(function(){n.adapter.removeClass(e.cssClasses.OPEN),n.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout(function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(e.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()},g.KT.TRANSITION_CLOSE_DURATION)}),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()))},e.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},e.prototype.handleKeydown=function(t){var e=t.keyCode;("Escape"===t.key||27===e)&&this.close()},e.prototype.autoposition=function(){this.measurements=this.getAutoLayoutmeasurements();var t,n=this.getoriginCorner(),i=this.getMenuSurfaceMaxHeight(n),r=this.hasBit(n,g.HX.BOTTOM)?"bottom":"top",o=this.hasBit(n,g.HX.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset(n),l=this.getVerticalOriginOffset(n),c=this.measurements,d=c.anchorSize,s=c.surfaceSize,m=((t={})[o]=a,t[r]=l,t);d.width/s.width>g.KT.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(m),this.adapter.setTransformOrigin(o+" "+r),this.adapter.setPosition(m),this.adapter.setMaxHeight(i?i+"px":""),this.hasBit(n,g.HX.BOTTOM)||this.adapter.addClass(e.cssClasses.IS_OPEN_BELOW)},e.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),i=this.adapter.getWindowScroll();return t||(t={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:t,bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:n.width-t.right,bottom:n.height-t.bottom,left:t.left},viewportSize:n,windowScroll:i}},e.prototype.getoriginCorner=function(){var t,n,i,r,o=this.originCorner,a=this.measurements,l=a.viewportDistance,c=a.anchorSize,d=a.surfaceSize,s=e.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,g.HX.BOTTOM)?(t=l.top-s+c.height+this.anchorMargin.bottom,n=l.bottom-s-this.anchorMargin.bottom):(t=l.top-s+this.anchorMargin.top,n=l.bottom-s+c.height-this.anchorMargin.top),!(n-d.height>0)&&t>=n&&(o=this.setBit(o,g.HX.BOTTOM));var m=this.adapter.isRtl(),p=this.hasBit(this.anchorCorner,g.HX.FLIP_RTL),u=this.hasBit(this.anchorCorner,g.HX.RIGHT)||this.hasBit(o,g.HX.RIGHT),f=!1;(f=m&&p?!u:u)?(i=l.left+c.width+this.anchorMargin.right,r=l.right-this.anchorMargin.right):(i=l.left+this.anchorMargin.left,r=l.right+c.width-this.anchorMargin.left);var h=i-d.width>0,b=r-d.width>0,_=this.hasBit(o,g.HX.FLIP_RTL)&&this.hasBit(o,g.HX.RIGHT);return b&&_&&m||!h&&_?o=this.unsetBit(o,g.HX.RIGHT):(h&&f&&m||h&&!f&&u||!b&&i>=r)&&(o=this.setBit(o,g.HX.RIGHT)),o},e.prototype.getMenuSurfaceMaxHeight=function(t){var n=this.measurements.viewportDistance,i=0,r=this.hasBit(t,g.HX.BOTTOM),o=this.hasBit(this.anchorCorner,g.HX.BOTTOM),a=e.numbers.MARGIN_TO_EDGE;return r?(i=n.top+this.anchorMargin.top-a,o||(i+=this.measurements.anchorSize.height)):(i=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-a,o&&(i-=this.measurements.anchorSize.height)),i},e.prototype.getHorizontalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,g.HX.RIGHT),i=this.hasBit(this.anchorCorner,g.HX.RIGHT);if(n){var r=i?e.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?r-(this.measurements.viewportSize.width-this.measurements.bodySize.width):r}return i?e.width-this.anchorMargin.right:this.anchorMargin.left},e.prototype.getVerticalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,g.HX.BOTTOM),i=this.hasBit(this.anchorCorner,g.HX.BOTTOM),r=0;return n?i?e.height-this.anchorMargin.top:-this.anchorMargin.bottom:i?e.height+this.anchorMargin.bottom:this.anchorMargin.top},e.prototype.adjustPositionForHoistedElement=function(t){var e,n,i=this.measurements,r=i.windowScroll,o=i.viewportDistance,a=Object.keys(t);try{for(var l=h(a),c=l.next();!c.done;c=l.next()){var d=c.value,s=t[d]||0;s+=o[d],this.isFixedPosition||("top"===d?s+=r.y:"bottom"===d?s-=r.y:"left"===d?s+=r.x:s-=r.x),t[d]=s}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}},e.prototype.maybeRestoreFocus=function(){var t=this.adapter.isFocused(),e=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(t||e)&&this.adapter.restoreFocus()},e.prototype.hasBit=function(t,e){return!!(t&e)},e.prototype.setBit=function(t,e){return t|e},e.prototype.unsetBit=function(t,e){return t^e},e.prototype.isFinite=function(t){return"number"==typeof t&&isFinite(t)},e}(b.K);function v(t,e){return void 0===e&&(e=!1),(void 0===i||e)&&(i="transform"in t.document.createElement("div").style?"transform":"webkitTransform"),i}var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){var t=this,e=this.root.parentElement;this.anchorElement=e&&e.classList.contains(g.UX.ANCHOR)?e:null,this.root.classList.contains(g.UX.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleBodyClick=function(e){t.foundation.handleBodyClick(e)},this.registerBodyClickListener=function(){document.body.addEventListener("click",t.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",t.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(g.j2.OPENED_EVENT,this.registerBodyClickListener),this.listen(g.j2.CLOSED_EVENT,this.deregisterBodyClickListener)},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(g.j2.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(g.j2.CLOSED_EVENT,this.deregisterBodyClickListener),t.prototype.destroy.call(this)},e.prototype.isOpen=function(){return this.foundation.isOpen()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=!1),this.foundation.close(t)},Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.foundation.setQuickOpen(t)},enumerable:!0,configurable:!0}),e.prototype.setIsHoisted=function(t){this.foundation.setIsHoisted(t)},e.prototype.setMenuSurfaceAnchorElement=function(t){this.anchorElement=t},e.prototype.setFixedPosition=function(t){t?this.root.classList.add(g.UX.FIXED):this.root.classList.remove(g.UX.FIXED),this.foundation.setFixedPosition(t)},e.prototype.setAbsolutePosition=function(t,e){this.foundation.setAbsolutePosition(t,e),this.setIsHoisted(!0)},e.prototype.setAnchorCorner=function(t){this.foundation.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.foundation.setAnchorMargin(t)},e.prototype.getDefaultFoundation=function(){var t=this,e={addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},hasAnchor:function(){return!!t.anchorElement},notifyClose:function(){return t.emit(_.strings.CLOSED_EVENT,{})},notifyOpen:function(){return t.emit(_.strings.OPENED_EVENT,{})},isElementInContainer:function(e){return t.root.contains(e)},isRtl:function(){return"rtl"===getComputedStyle(t.root).getPropertyValue("direction")},setTransformOrigin:function(e){var n=v(window)+"-origin";t.root.style.setProperty(n,e)},isFocused:function(){return document.activeElement===t.root},saveFocus:function(){t.previousFocus=document.activeElement},restoreFocus:function(){t.root.contains(document.activeElement)&&t.previousFocus&&t.previousFocus.focus&&t.previousFocus.focus()},getInnerDimensions:function(){return{width:t.root.offsetWidth,height:t.root.offsetHeight}},getAnchorDimensions:function(){return t.anchorElement?t.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(e){var n=t.root;n.style.left="left"in e?e.left+"px":"",n.style.right="right"in e?e.right+"px":"",n.style.top="top"in e?e.top+"px":"",n.style.bottom="bottom"in e?e.bottom+"px":""},setMaxHeight:function(e){t.root.style.maxHeight=e}};return new _(e)},e}(l.B),x=n(7838),w=function(t){function e(n){var i=t.call(this,a(a({},e.defaultAdapter),n))||this;return i.closeAnimationEndTimerId_=0,i.defaultFocusState_=x.yM.LIST_ROOT,i}return o(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return x.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return x.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return x.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return -1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return -1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.closeAnimationEndTimerId_&&clearTimeout(this.closeAnimationEndTimerId_),this.adapter.closeSurface()},e.prototype.handleKeydown=function(t){var e=t.key,n=t.keyCode;("Tab"===e||9===n)&&this.adapter.closeSurface(!0)},e.prototype.handleItemAction=function(t){var e=this,n=this.adapter.getElementIndex(t);n<0||(this.adapter.notifySelected({index:n}),this.adapter.closeSurface(),this.closeAnimationEndTimerId_=setTimeout(function(){var n=e.adapter.getElementIndex(t);n>=0&&e.adapter.isSelectableItemAtIndex(n)&&e.setSelectedIndex(n)},_.numbers.TRANSITION_CLOSE_DURATION))},e.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case x.yM.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case x.yM.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case x.yM.NONE:break;default:this.adapter.focusListRoot()}},e.prototype.setDefaultFocusState=function(t){this.defaultFocusState_=t},e.prototype.setSelectedIndex=function(t){if(this.validatedIndex_(t),!this.adapter.isSelectableItemAtIndex(t))throw Error("MDCMenuFoundation: No selection group at specified index.");var e=this.adapter.getSelectedSiblingOfItemAtIndex(t);e>=0&&(this.adapter.removeAttributeFromElementAtIndex(e,x.j2.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(e,x.UX.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(t,x.UX.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_CHECKED_ATTR,"true")},e.prototype.setEnabled=function(t,e){this.validatedIndex_(t),e?(this.adapter.removeClassFromElementAtIndex(t,s.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(t,s.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_DISABLED_ATTR,"true"))},e.prototype.validatedIndex_=function(t){var e=this.adapter.getMenuItemCount();if(!(t>=0&&t<e))throw Error("MDCMenuFoundation: No list item at specified index.")},e}(b.K),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new y(t)}),void 0===e&&(e=function(t){return new d.e(t)}),this.menuSurfaceFactory_=t,this.listFactory_=e},e.prototype.initialSyncWithDOM=function(){var t=this;this.menuSurface_=this.menuSurfaceFactory_(this.root);var e=this.root.querySelector(x.j2.LIST_SELECTOR);e?(this.list_=this.listFactory_(e),this.list_.wrapFocus=!0):this.list_=null,this.handleKeydown_=function(e){return t.foundation.handleKeydown(e)},this.handleItemAction_=function(e){return t.foundation.handleItemAction(t.items[e.detail.index])},this.handleMenuSurfaceOpened_=function(){return t.foundation.handleMenuSurfaceOpened()},this.menuSurface_.listen(_.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.listen("keydown",this.handleKeydown_),this.listen(m.I.strings.ACTION_EVENT,this.handleItemAction_)},e.prototype.destroy=function(){this.list_&&this.list_.destroy(),this.menuSurface_.destroy(),this.menuSurface_.unlisten(_.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(m.I.strings.ACTION_EVENT,this.handleItemAction_),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"open",{get:function(){return this.menuSurface_.isOpen()},set:function(t){t?this.menuSurface_.open():this.menuSurface_.close()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{get:function(){return!!this.list_&&this.list_.wrapFocus},set:function(t){this.list_&&(this.list_.wrapFocus=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.list_&&(this.list_.hasTypeahead=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return!!this.list_&&this.list_.typeaheadInProgress},enumerable:!0,configurable:!0}),e.prototype.typeaheadMatchItem=function(t,e){return this.list_?this.list_.typeaheadMatchItem(t,e):-1},e.prototype.layout=function(){this.list_&&this.list_.layout()},Object.defineProperty(e.prototype,"items",{get:function(){return this.list_?this.list_.listElements:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.list_&&(this.list_.singleSelection=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.list_?this.list_.selectedIndex:s.KT.UNSET_INDEX},set:function(t){this.list_&&(this.list_.selectedIndex=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.menuSurface_.quickOpen=t},enumerable:!0,configurable:!0}),e.prototype.setDefaultFocusState=function(t){this.foundation.setDefaultFocusState(t)},e.prototype.setAnchorCorner=function(t){this.menuSurface_.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.menuSurface_.setAnchorMargin(t)},e.prototype.setSelectedIndex=function(t){this.foundation.setSelectedIndex(t)},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.getOptionByIndex=function(t){return t<this.items.length?this.items[t]:null},e.prototype.getPrimaryTextAtIndex=function(t){var e=this.getOptionByIndex(t);return e&&this.list_&&this.list_.getPrimaryText(e)||""},e.prototype.setFixedPosition=function(t){this.menuSurface_.setFixedPosition(t)},e.prototype.setIsHoisted=function(t){this.menuSurface_.setIsHoisted(t)},e.prototype.setAbsolutePosition=function(t,e){this.menuSurface_.setAbsolutePosition(t,e)},e.prototype.setAnchorElement=function(t){this.menuSurface_.anchorElement=t},e.prototype.getDefaultFoundation=function(){var t=this;return new w({addClassToElementAtIndex:function(e,n){t.items[e].classList.add(n)},removeClassFromElementAtIndex:function(e,n){t.items[e].classList.remove(n)},addAttributeToElementAtIndex:function(e,n,i){t.items[e].setAttribute(n,i)},removeAttributeFromElementAtIndex:function(e,n){t.items[e].removeAttribute(n)},elementContainsClass:function(t,e){return t.classList.contains(e)},closeSurface:function(e){return t.menuSurface_.close(e)},getElementIndex:function(e){return t.items.indexOf(e)},notifySelected:function(e){return t.emit(x.j2.SELECTED_EVENT,{index:e.index,item:t.items[e.index]})},getMenuItemCount:function(){return t.items.length},focusItemAtIndex:function(e){return t.items[e].focus()},focusListRoot:function(){return t.root.querySelector(x.j2.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(e){return!!(0,c.oq)(t.items[e],"."+x.UX.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(e){var n=(0,c.oq)(t.items[e],"."+x.UX.MENU_SELECTION_GROUP).querySelector("."+x.UX.MENU_SELECTED_LIST_ITEM);return n?t.items.indexOf(n):-1}})},e}(l.B)},7838:function(t,e,n){"use strict";n.d(e,{KT:()=>a,UX:()=>r,j2:()=>o,yM:()=>i});var i,r={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},o={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list",SELECTED_EVENT:"MDCMenu:selected"},a={FOCUS_ROOT_INDEX:-1};!function(t){t[t.NONE=0]="NONE",t[t.LIST_ROOT=1]="LIST_ROOT",t[t.FIRST_ITEM=2]="FIRST_ITEM",t[t.LAST_ITEM=3]="LAST_ITEM"}(i||(i={}))},6645:function(t,e,n){"use strict";n.d(e,{F:()=>d});var i=n(4322),r=n(1872),o=n(9364),a=n(2584),l=n(1883),c=n(5749),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.disabled=!1,e}return(0,i.ZT)(e,t),e.attachTo=function(t,n){void 0===n&&(n={isUnbounded:void 0});var i=new e(t);return void 0!==n.isUnbounded&&(i.unbounded=n.isUnbounded),i},e.createAdapter=function(t){return{addClass:function(e){return t.root.classList.add(e)},browserSupportsCssVars:function(){return c.x(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(e){return t.root.contains(e)},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,(0,o.K)())},deregisterInteractionHandler:function(e,n){return t.root.removeEventListener(e,n,(0,o.K)())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.wB)(t.root,":active")},isSurfaceDisabled:function(){return!!t.disabled},isUnbounded:function(){return!!t.unbounded},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,(0,o.K)())},registerInteractionHandler:function(e,n){return t.root.addEventListener(e,n,(0,o.K)())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(e){return t.root.classList.remove(e)},updateCssVariable:function(e,n){return t.root.style.setProperty(e,n)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return!!this.unbounded_},set:function(t){this.unbounded_=!!t,this.setUnbounded_()},enumerable:!0,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new l.l(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var t=this.root;this.unbounded="mdcRippleIsUnbounded"in t.dataset},e.prototype.setUnbounded_=function(){this.foundation.setUnbounded(!!this.unbounded_)},e}(r.B)},1883:function(t,e,n){"use strict";n.d(e,{l:()=>p});var i=n(4322),r=n(4327),o={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},a={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},l={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},c=n(5749),d=["touchstart","pointerdown","mousedown","keydown"],s=["touchend","pointerup","mouseup","contextmenu"],m=[],p=function(t){function e(n){var r=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),n))||this;return r.activationAnimationHasEnded_=!1,r.activationTimer_=0,r.fgDeactivationRemovalTimer_=0,r.fgScale_="0",r.frame_={width:0,height:0},r.initialSize_=0,r.layoutFrame_=0,r.maxRadius_=0,r.unboundedCoords_={left:0,top:0},r.activationState_=r.defaultActivationState_(),r.activationTimerCallback_=function(){r.activationAnimationHasEnded_=!0,r.runDeactivationUXLogicIfReady_()},r.activateHandler_=function(t){return r.activate_(t)},r.deactivateHandler_=function(){return r.deactivate_()},r.focusHandler_=function(){return r.handleFocus()},r.blurHandler_=function(){return r.handleBlur()},r.resizeHandler_=function(){return r.layout()},r}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this,n=this.supportsPressRipple_();if(this.registerRootHandlers_(n),n){var i=e.cssClasses,r=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(o),t.layoutInternal_())})}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(i),t.adapter.removeClass(r),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},e.prototype.activate=function(t){this.activate_(t)},e.prototype.deactivate=function(){this.deactivate_()},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.setUnbounded=function(t){var n=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers_=function(t){var e=this;t&&(d.forEach(function(t){e.adapter.registerInteractionHandler(t,e.activateHandler_)}),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},e.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):s.forEach(function(t){e.adapter.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},e.prototype.deregisterRootHandlers_=function(){var t=this;d.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},e.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),s.forEach(function(e){t.adapter.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})},e.prototype.removeCssVars_=function(){var t=this,n=e.strings;Object.keys(n).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(n[e],null)})},e.prototype.activate_=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var i=this.previousActivationEvent_;if(!(i&&void 0!==t&&i.type!==t.type)){n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type);var r=void 0!==t&&m.length>0&&m.some(function(t){return e.adapter.containsEventTarget(t)});if(r)return void this.resetActivationState_();void 0!==t&&(m.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){m=[],!n.wasElementMadeActive&&void 0!==t&&(" "===t.key||32===t.keyCode)&&(n.wasElementMadeActive=e.checkElementMadeActive_(t),n.wasElementMadeActive&&e.animateActivation_()),n.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())})}}}},e.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation_=function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,r=n.VAR_FG_TRANSLATE_END,o=e.cssClasses,a=o.FG_DEACTIVATION,l=o.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var d="",s="";if(!this.adapter.isUnbounded()){var m=this.getFgTranslationCoordinates_(),p=m.startPoint,u=m.endPoint;d=p.x+"px, "+p.y+"px",s=u.x+"px, "+u.y+"px"}this.adapter.updateCssVariable(i,d),this.adapter.updateCssVariable(r,s),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},c)},e.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?(0,c.Y)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:t.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},e.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState_,r=i.hasDeactivationUXRun,o=i.isActivated;(r||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter.removeClass(n)},l.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses_=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var n=(0,i.pi)({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(n)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(n),t.resetActivationState_()}))}},e.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},e.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter.computeBoundingRect();var n=Math.max(this.frame_.height,this.frame_.width),i=function(){return Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))+e.numbers.PADDING};this.maxRadius_=this.adapter.isUnbounded()?n:i();var r=Math.floor(n*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize_=r-1:this.initialSize_=r,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},e.prototype.updateLayoutCssVars_=function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,r=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize_+"px"),this.adapter.updateCssVariable(o,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(i,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords_.top+"px"))},e}(r.K)},4322:function(t,e,n){"use strict";n.d(e,{ZT:()=>r,pi:()=>o});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}},5749:function(t,e,n){"use strict";var i;function r(t,e){void 0===e&&(e=!1);var n=t.CSS,r=i;if("boolean"==typeof i&&!e)return i;if(!(n&&"function"==typeof n.supports))return!1;var o=n.supports("--css-vars","yes"),a=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return r=o||a,e||(i=r),r}function o(t,e,n){if(!t)return{x:0,y:0};var i,r,o=e.x,a=e.y,l=o+n.left,c=a+n.top;if("touchstart"===t.type){var d=t;i=d.changedTouches[0].pageX-l,r=d.changedTouches[0].pageY-c}else{var s=t;i=s.pageX-l,r=s.pageY-c}return{x:i,y:r}}n.d(e,{Y:()=>o,x:()=>r})},7737:function(t,e,n){"use strict";var i=n(1528),r=n(3235),o=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?r(n):n}},3235:function(t,e,n){"use strict";var i=n(7156),r=n(1528),o=n(1427),a=n(682),l=r("%Function.prototype.apply%"),c=r("%Function.prototype.call%"),d=r("%Reflect.apply%",!0)||i.call(c,l),s=r("%Object.defineProperty%",!0),m=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=d(i,c,arguments);return o(e,1+m(0,t.length-(arguments.length-1)),!0)};var p=function(){return d(i,l,arguments)};s?s(t.exports,"apply",{value:p}):t.exports.apply=p},1427:function(t,e,n){"use strict";var i=n(1528),r=n(7892),o=n(2320)(),a=n(1455),l=n(682),c=i("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||c(e)!==e)throw new l("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,d=!0;if("length"in t&&a){var s=a(t,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(d=!1)}return(i||d||!n)&&(o?r(t,"length",e,!0,!0):r(t,"length",e)),t}},7892:function(t,e,n){"use strict";var i=n(2320)(),r=n(1528),o=i&&r("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(t){o=!1}var a=n(4332),l=n(682),c=n(1455);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new l("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new l("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new l("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new l("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new l("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new l("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,s=arguments.length>6&&arguments[6],m=!!c&&c(t,e);if(o)o(t,e,{configurable:null===d&&m?m.configurable:!d,enumerable:null===i&&m?m.enumerable:!i,value:n,writable:null===r&&m?m.writable:!r});else if(!s&&(i||r||d))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=n}},5727:function(t){"use strict";t.exports=EvalError},4772:function(t){"use strict";t.exports=Error},511:function(t){"use strict";t.exports=RangeError},5912:function(t){"use strict";t.exports=ReferenceError},4332:function(t){"use strict";t.exports=SyntaxError},682:function(t){"use strict";t.exports=TypeError},4834:function(t){"use strict";t.exports=URIError},2521:function(t){"use strict";var e="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,r="[object Function]",o=function(t,e){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var r=0;r<e.length;r+=1)n[r+t.length]=e[r];return n},a=function(t,e){for(var n=[],i=e||0,r=0;i<t.length;i+=1,r+=1)n[r]=t[i];return n},l=function(t,e){for(var n="",i=0;i<t.length;i+=1)n+=t[i],i+1<t.length&&(n+=e);return n};t.exports=function(t){var c,d=this;if("function"!=typeof d||n.apply(d)!==r)throw TypeError(e+d);for(var s=a(arguments,1),m=function(){if(this instanceof c){var e=d.apply(this,o(s,arguments));return Object(e)===e?e:this}return d.apply(t,o(s,arguments))},p=i(0,d.length-s.length),u=[],f=0;f<p;f++)u[f]="$"+f;if(c=Function("binder","return function ("+l(u,",")+"){ return binder.apply(this,arguments); }")(m),d.prototype){var h=function(){};h.prototype=d.prototype,c.prototype=new h,h.prototype=null}return c}},7156:function(t,e,n){"use strict";var i=n(2521);t.exports=Function.prototype.bind||i},1528:function(t,e,n){"use strict";var i,r=n(4772),o=n(5727),a=n(511),l=n(5912),c=n(4332),d=n(682),s=n(4834),m=Function,p=function(t){try{return m('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var f=function(){throw new d},h=u?function(){try{return arguments.callee,f}catch(t){try{return u(arguments,"callee").get}catch(t){return f}}}():f,g=n(465)(),b=n(1209)(),_=Object.getPrototypeOf||(b?function(t){return t.__proto__}:null),v={},y="undefined"!=typeof Uint8Array&&_?_(Uint8Array):i,x={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":g&&_?_([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&_?_(_([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&_?_(new Map()[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&_?_(new Set()[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&_?_(""[Symbol.iterator]()):i,"%Symbol%":g?Symbol:i,"%SyntaxError%":c,"%ThrowTypeError%":h,"%TypedArray%":y,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":s,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet};if(_)try{null.error}catch(t){var w=_(_(t));x["%Error.prototype%"]=w}var k=function t(e){var n;if("%AsyncFunction%"===e)n=p("async function () {}");else if("%GeneratorFunction%"===e)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=p("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&_&&(n=_(r.prototype))}return x[e]=n,n},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},A=n(7156),C=n(5673),T=A.call(Function.call,Array.prototype.concat),I=A.call(Function.apply,Array.prototype.splice),S=A.call(Function.call,String.prototype.replace),O=A.call(Function.call,String.prototype.slice),L=A.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,D=function(t){var e=O(t,0,1),n=O(t,-1);if("%"===e&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return S(t,R,function(t,e,n,r){i[i.length]=n?S(r,N,"$1"):e||t}),i},z=function(t,e){var n,i=t;if(C(E,i)&&(i="%"+(n=E[i])[0]+"%"),C(x,i)){var r=x[i];if(r===v&&(r=k(i)),void 0===r&&!e)throw new d("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:r}}throw new c("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new d('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(t),i=n.length>0?n[0]:"",r=z("%"+i+"%",e),o=r.name,a=r.value,l=!1,s=r.alias;s&&(i=s[0],I(n,T([0,1],s)));for(var m=1,p=!0;m<n.length;m+=1){var f=n[m],h=O(f,0,1),g=O(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&p||(l=!0),i+="."+f,C(x,o="%"+i+"%"))a=x[o];else if(null!=a){if(!(f in a)){if(!e)throw new d("base intrinsic for "+t+" exists, but the property is not available.");return}if(u&&m+1>=n.length){var b=u(a,f);a=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:a[f]}else p=C(a,f),a=a[f];p&&!l&&(x[o]=a)}}return a}},1455:function(t,e,n){"use strict";var i=n(1528)("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(t){i=null}t.exports=i},2320:function(t,e,n){"use strict";var i=n(1528)("%Object.defineProperty%",!0),r=function(){if(i)try{return i({},"a",{value:1}),!0}catch(t){}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==i([],"length",{value:1}).length}catch(t){return!0}},t.exports=r},1209:function(t){"use strict";var e={foo:{}},n=Object;t.exports=function(){return({__proto__:e}).foo===e.foo&&!(({__proto__:null})instanceof n)}},465:function(t,e,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,r=n(6073);t.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&r()}},6073:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(e in t[e]=i,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},5673:function(t,e,n){"use strict";var i=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=n(7156).call(i,r)},3970:function(t,e,n){var i="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"==typeof r.get?r.get:null,a=i&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=l&&c&&"function"==typeof c.get?c.get:null,s=l&&Set.prototype.forEach,m="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,u="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,x=String.prototype.toLowerCase,w=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,A=Array.prototype.slice,C=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O?"object":"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function D(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-C(-t):C(t);if(i!==t){var r=String(i),o=_.call(e,r.length+1);return v.call(r,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,n,"$&_")}var z=n(8734),P=z.custom,$=K(P)?P:null;function M(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function F(t){return v.call(String(t),/"/g,""")}function B(t){return"[object Array]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function U(t){return"[object Date]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function H(t){return"[object RegExp]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function j(t){return"[object Error]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function V(t){return"[object String]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function X(t){return"[object Number]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function Y(t){return"[object Boolean]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function K(t){if(O)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!S)return!1;try{return S.call(t),!0}catch(t){}return!1}function G(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}t.exports=function t(e,i,r,l){var c=i||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&" "!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return ta(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return p?D(e,u):u}if("bigint"==typeof e){var h=String(e)+"n";return p?D(e,h):h}var g=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=g&&g>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var b=tp(c,r);if(void 0===l)l=[];else if(Z(l,e)>=0)return"[Circular]";function y(e,n,i){if(n&&(l=A.call(l)).push(n),i){var o={depth:c.depth};return W(c,"quoteStyle")&&(o.quoteStyle=c.quoteStyle),t(e,o,r+1,l)}return t(e,c,r+1,l)}if("function"==typeof e&&!H(e)){var w=Q(e),C=tf(e,y);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(C.length>0?" { "+E.call(C,", ")+" }":"")}if(K(e)){var I=O?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):S.call(e);return"object"!=typeof e||O?I:tc(I)}if(to(e)){for(var P="<"+x.call(String(e.nodeName)),q=e.attributes||[],tl=0;tl<q.length;tl++)P+=" "+q[tl].name+"="+M(F(q[tl].value),"double",c);return P+=">",e.childNodes&&e.childNodes.length&&(P+="..."),P+="</"+x.call(String(e.nodeName))+">"}if(B(e)){if(0===e.length)return"[]";var th=tf(e,y);return b&&!tm(th)?"["+tu(th,b)+"]":"[ "+E.call(th,", ")+" ]"}if(j(e)){var tg=tf(e,y);return"cause"in Error.prototype||!("cause"in e)||R.call(e,"cause")?0===tg.length?"["+String(e)+"]":"{ ["+String(e)+"] "+E.call(tg,", ")+" }":"{ ["+String(e)+"] "+E.call(k.call("[cause]: "+y(e.cause),tg),", ")+" }"}if("object"==typeof e&&m){if($&&"function"==typeof e[$]&&z)return z(e,{depth:g-r});else if("symbol"!==m&&"function"==typeof e.inspect)return e.inspect()}if(tt(e)){var tb=[];return a&&a.call(e,function(t,n){tb.push(y(n,e,!0)+" => "+y(t,e))}),ts("Map",o.call(e),tb,b)}if(ti(e)){var t_=[];return s&&s.call(e,function(t){t_.push(y(t,e))}),ts("Set",d.call(e),t_,b)}if(te(e))return td("WeakMap");if(tr(e))return td("WeakSet");if(tn(e))return td("WeakRef");if(X(e))return tc(y(Number(e)));if(G(e))return tc(y(T.call(e)));if(Y(e))return tc(f.call(e));if(V(e))return tc(y(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===n.g)return"{ [object globalThis] }";if(!U(e)&&!H(e)){var tv=tf(e,y),ty=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,tx=e instanceof Object?"":"null prototype",tw=!ty&&L&&Object(e)===e&&L in e?_.call(J(e),8,-1):tx?"Object":"",tk=(ty||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tw||tx?"["+E.call(k.call([],tw||[],tx||[]),": ")+"] ":"");return 0===tv.length?tk+"{}":b?tk+"{"+tu(tv,b)+"}":tk+"{ "+E.call(tv,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function J(t){return h.call(t)}function Q(t){if(t.name)return t.name;var e=b.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Z(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return -1}function tt(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{d.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}function te(t){if(!m||!t||"object"!=typeof t)return!1;try{m.call(t,m);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}function tn(t){if(!u||!t||"object"!=typeof t)return!1;try{return u.call(t),!0}catch(t){}return!1}function ti(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}function tr(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{m.call(t,m)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}function to(t){return!!t&&"object"==typeof t&&(!!("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}function ta(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ta(_.call(t,0,e.maxStringLength),e)+i}return M(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tl),"single",e)}function tl(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+y.call(e.toString(16))}function tc(t){return"Object("+t+")"}function td(t){return t+" { ? }"}function ts(t,e,n,i){return t+" ("+e+") {"+(i?tu(n,i):E.call(n,", "))+"}"}function tm(t){for(var e=0;e<t.length;e++)if(Z(t[e],"\n")>=0)return!1;return!0}function tp(t,e){var n;if(" "===t.indent)n=" ";else{if("number"!=typeof t.indent||!(t.indent>0))return null;n=E.call(Array(t.indent+1)," ")}return{base:n,prev:E.call(Array(e+1),n)}}function tu(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+E.call(t,","+n)+"\n"+e.prev}function tf(t,e){var n,i=B(t),r=[];if(i){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=W(t,o)?e(t[o],t):""}var a="function"==typeof I?I(t):[];if(O){n={};for(var l=0;l<a.length;l++)n["$"+a[l]]=a[l]}for(var c in t)if(W(t,c)&&(!i||String(Number(c))!==c||!(c<t.length)))if(O&&n["$"+c]instanceof Symbol)continue;else w.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t));if("function"==typeof I)for(var d=0;d<a.length;d++)R.call(t,a[d])&&r.push("["+e(a[d])+"]: "+e(t[a[d]],t));return r}},2490:function(t){"use strict";var e=String.prototype.replace,n=/%20/g,i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:i}},3348:function(t,e,n){"use strict";var i=n(7530),r=n(8429);t.exports={formats:n(2490),parse:r,stringify:i}},8429:function(t,e,n){"use strict";var i=n(3422),r=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},d="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",m=function(t,e){var n={__proto__:null},m=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,u=m.split(e.delimiter,p),f=-1,h=e.charset;if(e.charsetSentinel)for(g=0;g<u.length;++g)0===u[g].indexOf("utf8=")&&(u[g]===s?h="utf-8":u[g]===d&&(h="iso-8859-1"),f=g,g=u.length);for(g=0;g<u.length;++g)if(g!==f){var g,b,_,v=u[g],y=v.indexOf("]="),x=-1===y?v.indexOf("="):y+1;-1===x?(b=e.decoder(v,a.decoder,h,"key"),_=e.strictNullHandling?null:""):(b=e.decoder(v.slice(0,x),a.decoder,h,"key"),_=i.maybeMap(c(v.slice(x+1),e),function(t){return e.decoder(t,a.decoder,h,"value")})),_&&e.interpretNumericEntities&&"iso-8859-1"===h&&(_=l(_)),v.indexOf("[]=")>-1&&(_=o(_)?[_]:_),r.call(n,b)?n[b]=i.combine(n[b],_):n[b]=_}return n},p=function(t,e,n,i){for(var r=i?e:c(e,n),o=t.length-1;o>=0;--o){var a,l=t[o];if("[]"===l&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var d="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,s=parseInt(d,10);n.parseArrays||""!==d?!isNaN(s)&&l!==d&&String(s)===d&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=r:"__proto__"!==d&&(a[d]=r):a={0:r}}r=a}return r},u=function(t,e,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,c=n.depth>0&&a.exec(o),d=c?o.slice(0,c.index):o,s=[];if(d){if(!n.plainObjects&&r.call(Object.prototype,d)&&!n.allowPrototypes)return;s.push(d)}for(var m=0;n.depth>0&&null!==(c=l.exec(o))&&m<n.depth;){if(m+=1,!n.plainObjects&&r.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+o.slice(c.index)+"]"),p(s,e,n,i)}},f=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||i.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var n=f(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?m(t,n):t,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),l=0;l<a.length;++l){var c=a[l],d=u(c,r[c],n,"string"==typeof t);o=i.merge(o,d,n)}return!0===n.allowSparse?o:i.compact(o)}},7530:function(t,e,n){"use strict";var i=n(2538),r=n(3422),o=n(2490),a=Object.prototype.hasOwnProperty,l={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,d=Array.prototype.push,s=function(t,e){d.apply(t,c(e)?e:[e])},m=Date.prototype.toISOString,p=o.default,u={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(t){return m.call(t)},skipNulls:!1,strictNullHandling:!1},f=function(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"symbol"==typeof t||"bigint"==typeof t},h={},g=function t(e,n,o,a,l,d,m,p,g,b,_,v,y,x,w,k){for(var E,A=e,C=k,T=0,I=!1;void 0!==(C=C.get(h))&&!I;){var S=C.get(e);if(T+=1,void 0!==S)if(S===T)throw RangeError("Cyclic object value");else I=!0;void 0===C.get(h)&&(T=0)}if("function"==typeof p?A=p(n,A):A instanceof Date?A=_(A):"comma"===o&&c(A)&&(A=r.maybeMap(A,function(t){return t instanceof Date?_(t):t})),null===A){if(l)return m&&!x?m(n,u.encoder,w,"key",v):n;A=""}if(f(A)||r.isBuffer(A))return m?[y(x?n:m(n,u.encoder,w,"key",v))+"="+y(m(A,u.encoder,w,"value",v))]:[y(n)+"="+y(String(A))];var O=[];if(void 0===A)return O;if("comma"===o&&c(A))x&&m&&(A=r.maybeMap(A,m)),E=[{value:A.length>0?A.join(",")||null:void 0}];else if(c(p))E=p;else{var L=Object.keys(A);E=g?L.sort(g):L}for(var R=a&&c(A)&&1===A.length?n+"[]":n,N=0;N<E.length;++N){var D=E[N],z="object"==typeof D&&void 0!==D.value?D.value:A[D];if(!d||null!==z){var P=c(A)?"function"==typeof o?o(R,D):R:R+(b?"."+D:"["+D+"]");k.set(e,T);var $=i();$.set(h,k),s(O,t(z,P,o,a,l,d,"comma"===o&&x&&c(A)?null:m,p,g,b,_,v,y,x,w,$))}}return O},b=function(t){if(!t)return u;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw TypeError("Encoder has to be a function.");var e=t.charset||u.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw TypeError("Unknown format option provided.");n=t.format}var i=o.formatters[n],r=u.filter;return("function"==typeof t.filter||c(t.filter))&&(r=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:u.addQueryPrefix,allowDots:void 0===t.allowDots?u.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:u.charsetSentinel,delimiter:void 0===t.delimiter?u.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:u.encode,encoder:"function"==typeof t.encoder?t.encoder:u.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:u.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:u.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:u.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:u.strictNullHandling}};t.exports=function(t,e){var n,r,o,a=t,d=b(e);"function"==typeof d.filter?a=(r=d.filter)("",a):c(d.filter)&&(n=r=d.filter);var m=[];if("object"!=typeof a||null===a)return"";o=e&&e.arrayFormat in l?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=l[o];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u="comma"===p&&e&&e.commaRoundTrip;n||(n=Object.keys(a)),d.sort&&n.sort(d.sort);for(var f=i(),h=0;h<n.length;++h){var _=n[h];d.skipNulls&&null===a[_]||s(m,g(a[_],_,p,u,d.strictNullHandling,d.skipNulls,d.encode?d.encoder:null,d.filter,d.sort,d.allowDots,d.serializeDate,d.format,d.formatter,d.encodeValuesOnly,d.charset,f))}var v=m.join(d.delimiter),y=!0===d.addQueryPrefix?"?":"";return d.charsetSentinel&&("iso-8859-1"===d.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},3422:function(t,e,n){"use strict";var i=n(2490),r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),l=function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var i=[],r=0;r<n.length;++r)void 0!==n[r]&&i.push(n[r]);e.obj[e.prop]=i}}},c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},i=0;i<t.length;++i)void 0!==t[i]&&(n[i]=t[i]);return n},d=function t(e,n,i){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return(o(e)&&!o(n)&&(a=c(e,i)),o(e)&&o(n))?(n.forEach(function(n,o){if(r.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,i):e.push(n)}else e[o]=n}),e):Object.keys(n).reduce(function(e,o){var a=n[o];return r.call(e,o)?e[o]=t(e[o],a,i):e[o]=a,e},a)};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]=e[n],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],i=0;i<e.length;++i)for(var r=e[i],o=r.obj[r.prop],a=Object.keys(o),c=0;c<a.length;++c){var d=a[c],s=o[d];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(e.push({obj:o,prop:d}),n.push(s))}return l(e),t},decode:function(t,e,n){var i=t.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(t){return i}},encode:function(t,e,n,r,o){if(0===t.length)return t;var l=t;if("symbol"==typeof t?l=Symbol.prototype.toString.call(t):"string"!=typeof t&&(l=String(t)),"iso-8859-1"===n)return escape(l).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var c="",d=0;d<l.length;++d){var s=l.charCodeAt(d);if(45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===i.RFC1738&&(40===s||41===s)){c+=l.charAt(d);continue}if(s<128){c+=a[s];continue}if(s<2048){c+=a[192|s>>6]+a[128|63&s];continue}if(s<55296||s>=57344){c+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s];continue}d+=1,c+=a[240|(s=65536+((1023&s)<<10|1023&l.charCodeAt(d)))>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s]}return c},isBuffer:function(t){return!!t&&"object"==typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(e(t[i]));return n}return e(t)},merge:d}},2538:function(t,e,n){"use strict";var i=n(1528),r=n(7737),o=n(3970),a=n(682),l=i("%WeakMap%",!0),c=i("%Map%",!0),d=r("WeakMap.prototype.get",!0),s=r("WeakMap.prototype.set",!0),m=r("WeakMap.prototype.has",!0),p=r("Map.prototype.get",!0),u=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n},g=function(t,e){var n=h(t,e);return n&&n.value},b=function(t,e,n){var i=h(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},_=function(t,e){return!!h(t,e)};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new a("Side channel does not contain "+o(t))},get:function(i){if(l&&i&&("object"==typeof i||"function"==typeof i)){if(t)return d(t,i)}else if(c){if(e)return p(e,i)}else if(n)return g(n,i)},has:function(i){if(l&&i&&("object"==typeof i||"function"==typeof i)){if(t)return m(t,i)}else if(c){if(e)return f(e,i)}else if(n)return _(n,i);return!1},set:function(i,r){l&&i&&("object"==typeof i||"function"==typeof i)?(t||(t=new l),s(t,i,r)):c?(e||(e=new c),u(e,i,r)):(n||(n={key:{},next:null}),b(n,i,r))}};return i}},9357:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{OrAssetTree:()=>OrAssetTree,OrAssetTreeAddEvent:()=>OrAssetTreeAddEvent,OrAssetTreeAssetEvent:()=>OrAssetTreeAssetEvent,OrAssetTreeChangeParentEvent:()=>OrAssetTreeChangeParentEvent,OrAssetTreeFilter:()=>OrAssetTreeFilter,OrAssetTreeRequestAddEvent:()=>OrAssetTreeRequestAddEvent,OrAssetTreeRequestDeleteEvent:()=>OrAssetTreeRequestDeleteEvent,OrAssetTreeRequestSelectionEvent:()=>OrAssetTreeRequestSelectionEvent,OrAssetTreeSelectionEvent:()=>OrAssetTreeSelectionEvent,OrAssetTreeToggleExpandEvent:()=>OrAssetTreeToggleExpandEvent,getAssetTypes:()=>getAssetTypes,style:()=>_style__WEBPACK_IMPORTED_MODULE_6__.o});var OrAssetTree_1,FilterElementType,lit__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7138),lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7308),_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6505),_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6243),_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__),_openremote_model__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4297),_openremote_model__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_openremote_model__WEBPACK_IMPORTED_MODULE_4__),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9329),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__),_style__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6748),_openremote_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6801),_openremote_core__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_openremote_core__WEBPACK_IMPORTED_MODULE_7__),qs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3348),qs__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_8__),_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(5320),_openremote_or_mwc_components_or_mwc_list__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(2730),_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5839),_or_add_asset_dialog__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7987),_openremote_or_mwc_components_or_mwc_snackbar__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(6445),lit_directives_when_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5058),__decorate=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},__awaiter=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};class OrAssetTreeRequestSelectionEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestSelectionEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestSelectionEvent.NAME="or-asset-tree-request-selection";class OrAssetTreeSelectionEvent extends CustomEvent{constructor(t){super(OrAssetTreeSelectionEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeSelectionEvent.NAME="or-asset-tree-selection";class OrAssetTreeChangeParentEvent extends CustomEvent{constructor(t,e){super(OrAssetTreeChangeParentEvent.NAME,{bubbles:!0,composed:!0,detail:{parentId:t,assetIds:e}})}}OrAssetTreeChangeParentEvent.NAME="or-asset-tree-change-parent";class OrAssetTreeToggleExpandEvent extends CustomEvent{constructor(t){super(OrAssetTreeToggleExpandEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeToggleExpandEvent.NAME="or-asset-tree-expand",function(t){t[t.SEARCH_FILTER=0]="SEARCH_FILTER",t[t.ASSET_TYPE=1]="ASSET_TYPE",t[t.ATTRIBUTE_NAME=2]="ATTRIBUTE_NAME",t[t.ATTRIBUTE_VALUE=3]="ATTRIBUTE_VALUE"}(FilterElementType||(FilterElementType={}));class OrAssetTreeRequestAddEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestAddEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestAddEvent.NAME="or-asset-tree-request-add";class OrAssetTreeAddEvent extends CustomEvent{constructor(t){super(OrAssetTreeAddEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeAddEvent.NAME="or-asset-tree-add";class OrAssetTreeRequestDeleteEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestDeleteEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestDeleteEvent.NAME="or-asset-tree-request-delete";class OrAssetTreeAssetEvent extends CustomEvent{constructor(t){super(OrAssetTreeAssetEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeAssetEvent.NAME="or-asset-tree-asset-event";class OrAssetTreeFilter{constructor(){this.asset=void 0,this.assetType=[],this.attribute=[],this.attributeValue=[]}}let getAssetTypes=()=>__awaiter(void 0,void 0,void 0,function*(){let t=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.queryAssets({select:{attributes:[]},recursive:!0});if(t&&t.data)return t.data.map(t=>t.type)}),OrAssetTree=OrAssetTree_1=class OrAssetTree extends(0,_openremote_core__WEBPACK_IMPORTED_MODULE_7__.subscribe)(_openremote_core__WEBPACK_IMPORTED_MODULE_7___default())(lit__WEBPACK_IMPORTED_MODULE_0__.oi){constructor(){super(...arguments),this.readonly=!1,this.disabled=!1,this.disableSubscribe=!1,this.showDeselectBtn=!0,this.showSortBtn=!0,this.showFilter=!0,this.sortBy="name",this.expandAllNodes=!1,this.expandedIds=[],this.checkboxes=!1,this._loading=!1,this._connected=!1,this._selectedNodes=[],this._expandedNodes=[],this._filter=new OrAssetTreeFilter,this._searchInputTimer=void 0,this._filterSettingOpen=!1,this._assetTypes=[],this._uniqueAssetTypes=[],this._dragDropParentId=null,this._expandTimer=void 0,this._latestSelected=void 0,this.assetsChildren={}}static get styles(){return[_style__WEBPACK_IMPORTED_MODULE_6__.o]}get selectedNodes(){return this._selectedNodes?[...this._selectedNodes]:[]}set selectedNodes(t){this.selectedIds=t.map(t=>t.asset.id)}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.requestUpdate()}refresh(){this._nodes=void 0}isAncestorSelected(t){if(!this.selectedIds||!t.parent)return!1;for(;t.parent;)if(t=t.parent,this.selectedIds.includes(t.asset.id))return!0;return!1}mapDescriptors(t,e){let n=t.map(t=>({styleMap:{"--or-icon-fill":t.colour?"#"+t.colour:"unset"},icon:t.icon,text:_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.getAssetTypeLabel(t),value:t.name,data:t})).sort(_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByString(t=>t.text));return e&&n.splice(0,0,e),n}getSelectHeader(){return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input style="width:100%;" ?disabled="${this._loading}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeLabel")}" iconTrailing="menu-down" iconColor="rgba(0, 0, 0, 0.87)" icon="selection-ellipse" value="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeNone")}"></or-mwc-input>`}getSelectedHeader(t){return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input style="width:100%;" ?disabled="${this._loading}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeLabel")}" .iconColor="${t.colour}" iconTrailing="menu-down" icon="${t.icon}" value="${_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.getAssetTypeLabel(t)}"></or-mwc-input>`}assetTypeSelect(){if(!this._assetTypeFilter)return this.getSelectHeader();{let t=this._assetTypes.find(t=>t.name===this._assetTypeFilter);return t?this.getSelectedHeader(t):this.getSelectHeader()}}atLeastOneNodeToBeShown(){var t;let e=!1;return null==(t=this._nodes)||t.forEach(t=>{t.hidden||(e=!0)}),e}render(){let t=this._canAdd();return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
2
|
-
<div id="header">
|
|
3
|
-
<div id="title-container">
|
|
4
|
-
<or-translate id="title" value="asset_plural"></or-translate>
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div id="header-btns">
|
|
8
|
-
<or-mwc-input ?hidden="${!this.selectedIds||0===this.selectedIds.length||!this.showDeselectBtn}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="close" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deselect")}" @or-mwc-input-changed="${()=>this._onDeselectClicked()}"></or-mwc-input>
|
|
9
|
-
<or-mwc-input ?hidden="${this._isReadonly()||!this.selectedIds||1!==this.selectedIds.length||!t}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="content-copy" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("duplicate")}" @or-mwc-input-changed="${()=>this._onCopyClicked()}"></or-mwc-input>
|
|
10
|
-
<or-mwc-input ?hidden="${this._isReadonly()||!this.selectedIds||0===this.selectedIds.length||this._gatewayDescendantIsSelected()}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="delete" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("delete")}" @or-mwc-input-changed="${()=>this._onDeleteClicked()}"></or-mwc-input>
|
|
11
|
-
<or-mwc-input ?hidden="${this._isReadonly()||!t}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="plus" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("addAsset")}" @or-mwc-input-changed="${()=>this._onAddClicked()}"></or-mwc-input>
|
|
12
|
-
|
|
13
|
-
${(0,_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__.qJ)((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" ?hidden="${!this.showSortBtn}" icon="sort-variant" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("sort")}" ></or-mwc-input>`,["name","type","createdOn"].map(t=>({value:t,text:_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t(t)})),this.sortBy,t=>this._onSortClicked(t))}
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
${(0,lit_directives_when_js__WEBPACK_IMPORTED_MODULE_14__.g)(this.showFilter,()=>(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
18
|
-
<div id="asset-tree-filter">
|
|
19
|
-
<or-mwc-input id="filterInput"
|
|
20
|
-
?disabled="${this._loading}"
|
|
21
|
-
style="width: 100%;"
|
|
22
|
-
type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
23
|
-
placeholder="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.filter")}..."
|
|
24
|
-
compact="true"
|
|
25
|
-
outlined="true"
|
|
26
|
-
@input="${t=>{this._onFilterInputEvent(t)}}"
|
|
27
|
-
@or-mwc-input-changed="${t=>{this._onFilterInput(t.detail.value||void 0,!0)}}">
|
|
28
|
-
</or-mwc-input>
|
|
29
|
-
<or-icon id="filterSettingsIcon" icon="${this._filterSettingOpen?"window-close":"tune"}" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t(this._filterSettingOpen?"filter.close":"filter.open")}" @click="${()=>{if(this._filterSettingOpen)this._filterSettingOpen=!1;else{if(this._filterSettingOpen=!0,0===this._assetTypes.length){let t=this._getAllowedChildTypes(this._selectedNodes[0]);this._assetTypes=t.filter(t=>"asset"===t.descriptorType)}this._filter.attribute.length>0&&(this._attributeNameFilter.value=this._filter.attribute[0]),this._filter.attributeValue.length>0&&this._filter.attribute.length>0&&(this._attributeValueFilter.disabled=!1,this._attributeValueFilter.value=this._filter.attributeValue[0]),this._filter.assetType.length>0?this._assetTypeFilter=this._filter.assetType[0]:this._assetTypeFilter=""}}}"></or-icon>
|
|
30
|
-
</div>
|
|
31
|
-
<div id="asset-tree-filter-setting" class="${this._filterSettingOpen?"visible":""}">
|
|
32
|
-
<div class="advanced-filter">
|
|
33
|
-
${this._assetTypes.length>0?(0,_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__.qJ)(this.assetTypeSelect(),this.mapDescriptors(this._assetTypes,{text:_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeMenuNone"),value:"",icon:"selection-ellipse"}),void 0,t=>{this._assetTypeFilter=t},void 0,!1,!0,!0):(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)``}
|
|
34
|
-
<or-mwc-input id="attributeNameFilter" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.attributeLabel")}"
|
|
35
|
-
|
|
36
|
-
.type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
37
|
-
style="margin-top: 10px;"
|
|
38
|
-
?disabled="${this._loading}"
|
|
39
|
-
@input="${t=>{this._shouldEnableAttrTypeEvent(t)}}"
|
|
40
|
-
@or-mwc-input-changed="${t=>{this._shouldEnableAttrType(t.detail.value||void 0)}}"></or-mwc-input>
|
|
41
|
-
<or-mwc-input id="attributeValueFilter" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.attributeValueLabel")}"
|
|
42
|
-
|
|
43
|
-
.type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
44
|
-
style="margin-top: 10px;"
|
|
45
|
-
disabled></or-mwc-input>
|
|
46
|
-
<div style="margin-top: 10px;">
|
|
47
|
-
<or-mwc-input style="float:left;" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="filter.clear" @or-mwc-input-changed="${()=>{this._filterInput.value=void 0,this._attributeValueFilter.value=void 0,this._attributeNameFilter.value=void 0,this._attributeValueFilter.disabled=!0,this._assetTypeFilter="",this._filter=new OrAssetTreeFilter,this._doFiltering()}}"></or-mwc-input>
|
|
48
|
-
<or-mwc-input style="float: right;" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="filter.action" raised @or-mwc-input-changed="${()=>{this._filterFromSettings()}}"></or-mwc-input>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
`)}
|
|
53
|
-
|
|
54
|
-
${!this._nodes?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
55
|
-
<span id="loading"><or-translate value="loading"></or-translate></span>`:0===this._nodes.length||!this.atLeastOneNodeToBeShown()?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<span id="noAssetsFound"><or-translate value="noAssetsFound"></or-translate></span>`:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
56
|
-
<div id="list-container">
|
|
57
|
-
<ol id="list">
|
|
58
|
-
${this._nodes.map(t=>this._treeNodeTemplate(t,0)).filter(t=>!!t)}
|
|
59
|
-
<li class="asset-list-element">
|
|
60
|
-
<div class="end-element" node-asset-id="${""}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}"></div>
|
|
61
|
-
</li>
|
|
62
|
-
</ol>
|
|
63
|
-
</div>
|
|
64
|
-
`}
|
|
65
|
-
|
|
66
|
-
<div id="footer">
|
|
67
|
-
|
|
68
|
-
</div>
|
|
69
|
-
`}_isReadonly(){return this.readonly||!_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().hasRole("write:assets")}shouldUpdate(t){let e=super.shouldUpdate(t);return((t.has("assets")||t.has("rootAssets")||t.has("rootAssetIds"))&&(this._nodes=void 0),this._nodes)?(t.has("selectedIds")&&!_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.objectsEqual(t.get("selectedIds"),this.selectedIds)&&this._updateSelectedNodes(),t.has("sortBy")&&this._updateSort(this._nodes,this._getSortFunction()),t.has("disabledSubscribe")&&this.disableSubscribe&&this._removeEventSubscriptions(),e):(this._loadAssets(),!0)}_updateSelectedNodes(){let t=[],e=[];OrAssetTree_1._forEachNodeRecursive(this._nodes,n=>{if(this.selectedIds&&this.selectedIds.indexOf(n.asset.id)>=0){t.push(n.asset.id),e.push(n),n.selected=!0;let i=n.parent;for(;i;)i.expanded=!0,i=i.parent}else n.selected=!1;if(this.checkboxes){let e=n.parent;for(;e;){let n=[];OrAssetTree_1._forEachNodeRecursive(e.children,t=>{n.push(t)}),e.someChildrenSelected=!1,e.allChildrenSelected=!1,n.every(e=>t.includes(e.asset.id))?e.allChildrenSelected=!0:n.some(e=>t.includes(e.asset.id))&&(e.someChildrenSelected=!0),e=e.parent}}}),this.selectedIds=t;let n=this._selectedNodes;this._selectedNodes=e,this.dispatchEvent(new OrAssetTreeSelectionEvent({oldNodes:n,newNodes:e}))}_updateSort(t,e){t&&(t.sort(e),t.forEach(t=>this._updateSort(t.children,e)))}_toggleExpander(t,e,n=!1){e&&e.expandable&&(e.expanded=!e.expanded,e.expanded?this._expandedNodes.push(e):this._expandedNodes=this._expandedNodes.filter(t=>t!==e),t.parentElement.parentElement.parentElement.toggleAttribute("data-expanded"),n||this.dispatchEvent(new OrAssetTreeToggleExpandEvent({node:e})),this.requestUpdate())}_buildPaths(t){let e=[];return t.asset&&t.asset.id?(e.push(t.asset.id),t.children.length>0&&t.expanded&&t.children.forEach(t=>{e=e.concat(this._buildPaths(t))}),e):[]}_findNode(t,e){if(t.asset&&t.asset.id){if(t.asset.id===e)return t;if(t.children.length>0&&t.expanded){let n;return t.children.forEach(t=>{n||(n=this._findNode(t,e))}),n}return}}_findNodeFromAssetId(t){if(this._nodes){let e;return this._nodes.forEach(n=>{e||(e=this._findNode(n,t))}),e}}_onNodeClicked(t,e){var n,i,r,o;if(t&&t.defaultPrevented)return;t&&t.preventDefault();let a=t&&t.target.className.indexOf("expander")>=0,l=t&&(null==(i=null==(n=t.target)?void 0:n.icon)?void 0:i.includes("checkbox-multiple"));if(a)this._toggleExpander(t.target,e);else{let n=!0;if(e&&this.config&&(null==(r=this.config.select)?void 0:r.types)&&(n=this.config.select.types.indexOf(e.asset.type)>=0),!n&&!l)return;let i=[];if(e){let n=this.selectedNodes.indexOf(e),r=!0,a=!0,c=!this._isReadonly()&&(!this.config||!this.config.select||!this.config.select.multiSelect);if((this.checkboxes||c&&t&&(t.ctrlKey||t.shiftKey||t.metaKey))&&(a=!1,n>=0&&this.selectedIds&&this.selectedIds.length>1&&(r=!1)),l){i=[...this.selectedNodes];let t=[];OrAssetTree_1._forEachNodeRecursive(e.children,e=>{var n,i;let r=!0;e&&(null==(i=null==(n=this.config)?void 0:n.select)?void 0:i.types)&&(r=this.config.select.types.indexOf(e.asset.type)>=0),r&&t.push(e)}),i=e.allChildrenSelected?i.filter(e=>!t.map(t=>t.asset.id).includes(e.asset.id)):i.concat(t)}else if(a)this._latestSelected=Object.assign({},e),i=[e];else if(r){if(n<0){if(t&&t.shiftKey){let t=[];if(null==(o=this._nodes)||o.forEach(e=>{t=t.concat(this._buildPaths(e))}),this._latestSelected&&this._latestSelected.asset&&this._latestSelected.asset.id&&e.asset&&e.asset.id){let n=this._latestSelected.asset.id,r=e.asset.id,o=t.findIndex(t=>t.includes(n)),a=t.findIndex(t=>t.includes(r)),l=-1,c=-1;o>a?(l=a,c=o):(l=o,c=a);let d=t.slice(l,c+1),s=[];d.forEach(t=>{let e=this._findNodeFromAssetId(t);e&&s.push(e)}),i=(i=[...this.selectedNodes]).concat(s)}}else(i=[...this.selectedNodes]).push(e);this._latestSelected=Object.assign({},e)}}else n>=0&&(1===(i=[...this.selectedNodes]).length&&(this._latestSelected=void 0),i.splice(n,1))}_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestSelectionEvent({oldNodes:this.selectedNodes,newNodes:i})).then(t=>{t.allow&&(this.selectedNodes=t.detail.newNodes)})}}_onDeselectClicked(){this._onNodeClicked(null,null)}parseFromInputFilter(t){let e=this._filterInput.value;t&&(e=t);let n=new OrAssetTreeFilter;if(e){let t=e,i=e.match(/(attribute\:)(\"[^"]+\")\S*/g);i&&(i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf("attribute:"),o=e.toString().substring(r+10+1,e.toString().length-1);n.attribute.push(o),n.attributeValue.push("")}),this._attributeValueFilter.disabled=!1),(i=e.match(/(type\:)\S+/g))&&i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf("type:"),o=e.toString().substring(r+5);n.assetType.push(o)}),(i=e.match(/(\"[^\"]+\")\:(([^\"\s]+)|(\"[^\"]+\"))/g))&&i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf('":'),o=e.toString().substring(r+2),a=e.toString().substring(1,r);'"'===o[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),n.attribute.push(a),n.attributeValue.push(o)}),n.asset=t&&t.length>0?t.trim():void 0}return n}formatFilter(t){let e=t.asset?t.asset:"",n=t.asset?" ":"",i=[];return t.assetType.length>0&&t.assetType.forEach(t=>{e+=n+"type:"+t,n=" "}),t.attribute.length>0&&t.attributeValue.length>0&&t.attributeValue.forEach((r,o)=>{i.push(t.attribute[o]),e+=n+'"'+t.attribute[o]+'":'+r,n=" "}),t.attribute.length>0&&0===t.attributeValue.length&&t.attribute.forEach(t=>{i.includes(t)||(e+=n+'attribute:"'+t+'"',n=" ")}),e}_shouldEnableAttrTypeEvent(t){let e;t.composedPath()&&(e=t.composedPath()[0].value||void 0),this._shouldEnableAttrType(e)}_shouldEnableAttrType(t){t?this._attributeValueFilter.disabled=!1:this._attributeValueFilter.disabled=!0}applySettingFields(t){if(this._assetTypeFilter?t.assetType=[this._assetTypeFilter]:t.assetType=[],this._attributeNameFilter.value?t.attribute=[this._attributeNameFilter.value]:t.attribute=[],this._attributeNameFilter.value&&this._attributeValueFilter.value){let e=this._attributeValueFilter.value;e.includes(" ")&&(e='"'+e+'"'),t.attributeValue=[e]}else t.attributeValue=[];return t}_filterFromSettings(){let t=this.parseFromInputFilter(),e=this.applySettingFields(t);this._filter=e;let n=this.formatFilter(this._filter);this._filterInput.value=n,this._filterSettingOpen=!1,this._doFiltering()}_onFilterInputEvent(t){let e;t.composedPath()&&(e=t.composedPath()[0].value||void 0),this._onFilterInput(e,!1)}_onFilterInput(t,e){let n=this.parseFromInputFilter(t);_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.objectsEqual(this._filter,n,!0)||(this._filter=n,this._searchInputTimer&&clearTimeout(this._searchInputTimer),e?this._doFiltering():this._searchInputTimer=window.setTimeout(()=>{this._doFiltering()},350))}_doFiltering(){return __awaiter(this,void 0,void 0,function*(){if(this._searchInputTimer&&(clearTimeout(this._searchInputTimer),this._searchInputTimer=void 0),this.isConnected&&this._nodes){if(!this._filter.asset&&!this._filter.attribute&&!this._filter.assetType&&!this._filter.attributeValue){OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.notMatchingFilter=!1,t.hidden=!1}),this.requestUpdate("_nodes");return}if(this.disabled=!0,this._filter.asset||this._filter.assetType||this._filter.attribute){let t=!1;this._filter.attribute&&(t=!0),this.getMatcher(t).then(t=>{this._nodes&&(this._nodes.forEach(e=>{this.filterTreeNode(e,t)}),this.disabled=!1)})}}})}getMatcher(t){return t?this.getMatcherFromQuery():this.getSimpleNameMatcher()}getSimpleNameMatcher(){return __awaiter(this,void 0,void 0,function*(){return t=>{let e=!0;return this._filter.asset&&(e=e&&t.name.toLowerCase().includes(this._filter.asset.toLowerCase())),this._filter.assetType.length>0&&(e=e&&t.type.toLowerCase()===this._filter.assetType[0].toLowerCase()),e}})}getMatcherFromQuery(){return __awaiter(this,void 0,void 0,function*(){let response,foundAssetIds,assetCond,attributeCond,assetTypeCond;this._filter.asset&&(assetCond=[{predicateType:"string",match:"CONTAINS",value:this._filter.asset,caseSensitive:!1}]),this._filter.assetType.length>0&&(assetTypeCond=this._filter.assetType),this._filter.attribute.length>0&&(attributeCond={operator:"AND",items:this._filter.attribute.map(t=>({name:{predicateType:"string",match:"EXACT",value:_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sentenceCaseToCamelCase(t),caseSensitive:!1}}))});let query={select:{attributes:attributeCond?void 0:[]},names:assetCond,types:assetTypeCond,attributes:attributeCond};try{foundAssetIds=(response=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.queryAssets(query)).data.map(t=>t.id)}catch(e){this._filter.assetType.forEach(t=>{-1===this._assetTypes.findIndex(e=>e.name===t)&&(0,_openremote_or_mwc_components_or_mwc_snackbar__WEBPACK_IMPORTED_MODULE_13__.OV)(void 0,"filter.assetTypeDoesNotExist","dismiss")}),foundAssetIds=[]}return asset=>{let attrValueCheck=!0;if(this._filter.attribute.length>0&&this._filter.attributeValue.length>0&&foundAssetIds.includes(asset.id)){let attributeVal=[];this._filter.attributeValue.forEach((t,e)=>{t.length>0&&attributeVal.push([this._filter.attribute[e],t])});let matchingAsset=response.data.find(t=>t.id===asset.id);if(matchingAsset&&matchingAsset.attributes)for(let attributeValIndex=0;attributeValIndex<attributeVal.length;attributeValIndex++){let currentAttributeVal=attributeVal[attributeValIndex],atLeastOneAttributeMatchValue=!1;Object.keys(matchingAsset.attributes).forEach(key=>{let attr=matchingAsset.attributes[key];if(attr.name.toLowerCase()===currentAttributeVal[0].toLowerCase()&&attr.value)switch(attr.type){case"number":case"integer":case"long":case"bigInteger":case"bigNumber":case"positiveInteger":case"negativeInteger":case"positiveNumber":case"negativeNumber":let value=currentAttributeVal[1];currentAttributeVal[1].startsWith("=")&&"="!==currentAttributeVal[1][1]&&(value="="+value),/^[0-9]+$/.test(currentAttributeVal[1])&&(value="=="+value);let resultNumberEval=eval(attr.value+value);resultNumberEval&&(atLeastOneAttributeMatchValue=!0);break;case"text":if(attr.value){let unparsedValue=currentAttributeVal[1],multicharString="*",parsedValue=unparsedValue.replace(multicharString,".*");parsedValue=parsedValue.replace(/"/g,""),-1!=attr.value.toLowerCase().indexOf(parsedValue.toLowerCase())&&(atLeastOneAttributeMatchValue=!0)}}}),attrValueCheck=atLeastOneAttributeMatchValue}}return foundAssetIds.includes(asset.id)&&attrValueCheck}})}isAnyFilter(){return void 0!==this._filter.asset||this._filter.assetType.length>0||this._filter.attribute.length>0}filterTreeNode(t,e,n=!1){let i=e(t.asset);t.notMatchingFilter=!i;let r=t.children.map(t=>this.filterTreeNode(t,e,i)).some(t=>t);return i=i||r,t.expanded=r&&t.children.length>0&&this.isAnyFilter(),t.hidden=!i&&!n,i}_onCopyClicked(){return __awaiter(this,void 0,void 0,function*(){if(1===this._selectedNodes.length)try{let t=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.get(this._selectedNodes[0].asset.id);if(!t.data)throw Error("API returned an invalid response when retrieving the source asset");let e=JSON.parse(JSON.stringify(t.data));e.name+=" copy",delete e.id,delete e.path,delete e.createdOn,delete e.version,_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestAddEvent({sourceAsset:this._selectedNodes[0].asset,asset:e})).then(t=>{t.allow&&this.dispatchEvent(new OrAssetTreeAddEvent(t.detail))})}catch(t){console.error("Failed to copy asset",t),(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)("Failed to copy asset")}})}_onAddClicked(){let t,e=this._getAllowedChildTypes(this._selectedNodes[0]),n=e.filter(t=>"agent"===t.descriptorType),i=e.filter(t=>"asset"===t.descriptorType),r=this._selectedNodes&&1===this._selectedNodes.length?this._selectedNodes[0].asset:void 0,o=e=>{let n=!!e.detail.name&&e.detail.name.trim().length>0&&e.detail.name.trim().length<1024;t.shadowRoot.getElementById("add-btn").disabled=!e.detail.descriptor||!n};t=(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.vC)(new _openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.iq().setHeading(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("addAsset")).setContent((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
70
|
-
<or-add-asset-dialog id="add-panel" .config="${this.config}" .agentTypes="${n}" .assetTypes="${i}" .parent="${r}" @or-add-asset-changed="${o}"></or-add-asset-dialog>
|
|
71
|
-
`).setActions([{actionName:"cancel",content:"cancel"},{actionName:"add",content:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input id="add-btn" class="button" .type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="add" disabled></or-mwc-input>`,action:()=>{let e=t.shadowRoot.getElementById("add-panel"),n=e.selectedType,i=e.selectedAttributes,r=e.name.trim(),o=e.parent;if(!n)return;let a={name:r,type:n.name,realm:_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().displayRealm},l=_openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetTypeInfo(n.name);if(!l)return;l.attributeDescriptors&&(a.attributes={},l.attributeDescriptors.filter(t=>!t.optional).forEach(t=>{a.attributes[t.name]={name:t.name,type:t.type,meta:t.meta?Object.assign({},t.meta):void 0}})),i&&(null==i||i.forEach(t=>{a.attributes[t.name]={name:t.name,type:t.type,meta:t.meta?Object.assign({},t.meta):void 0}})),this.selectedIds&&(a.parentId=o?o.id:void 0);let c={asset:a};_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestAddEvent(c)).then(t=>{t.allow&&this.dispatchEvent(new OrAssetTreeAddEvent(t.detail))})}}]).setStyles((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
72
|
-
<style>
|
|
73
|
-
.mdc-dialog__content {
|
|
74
|
-
padding: 0 !important;
|
|
75
|
-
}
|
|
76
|
-
</style>
|
|
77
|
-
`).setDismissAction(null))}_gatewayDescendantIsSelected(){return this._selectedNodes.some(t=>{var e;let n=null==t?void 0:t.parent;for(;n;){if((null==(e=n.asset)?void 0:e.type)==="GatewayAsset")return!0;n=n.parent}return!1})}_onDeleteClicked(){this._selectedNodes.length>0&&_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestDeleteEvent(this._selectedNodes)).then(t=>{t.allow&&this._doDelete()})}_onSortClicked(t){this.sortBy=t}_doDelete(){if(!this._selectedNodes||0===this._selectedNodes.length)return;let t=new Set,e=this._selectedNodes.filter(e=>{var n;return(null==(n=e.asset)?void 0:n.type)!=="GatewayAsset"||(t.add(e.asset),!1)});OrAssetTree_1._forEachNodeRecursive(e,e=>{var n;let i=e.parent,r=!0;for(;i&&r;)"GatewayAsset"===(null==(n=null==i?void 0:i.asset)?void 0:n.type)&&(r=!1),i=i.parent;r&&t.add(e.asset)});let n=Array.from(t).map(t=>t.id),i=Array.from(t).map(t=>t.name),r=()=>{this.disabled=!0,_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.delete({assetId:n},{paramsSerializer:t=>qs__WEBPACK_IMPORTED_MODULE_8___default().stringify(t,{arrayFormat:"repeat"})}).then(t=>{this.refresh(),this.disabled=!1,204!==t.status&&(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsFailed"))}).catch(t=>{this.refresh(),this.disabled=!1,(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsFailed"))})};(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.w)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssets"),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsConfirm",{assetNames:i.join(",\n- ")}),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("delete")).then(t=>{t&&r()})}_canAdd(){var t;if(this._selectedNodes&&this._selectedNodes.length>1)return!1;let e=this._selectedNodes?this._selectedNodes[0]:void 0;return!((null==(t=null==e?void 0:e.asset)?void 0:t.type)==="GatewayAsset"||this._gatewayDescendantIsSelected())&&this._getAllowedChildTypes(e).length>0}_getAllowedChildTypes(t){let e,n;if(this.config&&this.config.add){if(this.config.add.typesProvider){let e=this.config.add.typesProvider(t);if(e)return e}if(this.config.add.typesParent){let i;!t&&this.config.add.typesParent.none?i=this.config.add.typesParent.none:t&&this.config.add.typesParent.assetTypes&&(i=this.config.add.typesParent.assetTypes[t.asset.type]),i||(i=this.config.add.typesParent.default),i&&(e=i.include,n=i.exclude||[])}}return _openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetDescriptors().filter(t=>(!e||e.some(e=>_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.stringMatch(e,t.name)))&&(!n||!n.some(e=>_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.stringMatch(e,t.name))))}_getSortFunction(){return"createdOn"===this.sortBy?_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByNumber(t=>t.asset[this.sortBy]):_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByString(t=>t.asset[this.sortBy])}_loadAssets(){let t=this._getSortFunction();if(this.assets)this._loading=!1,this._buildTreeNodes(this.assets,t);else{if(!this._connected||this._loading)return;if(this._loading=!0,this.dataProvider)this.dataProvider().then(e=>{this._loading=!1,this._buildTreeNodes(e,t)});else{let e={realm:{name:_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().displayRealm},select:{attributes:[]}};this.assetIds?(e.ids=this.assetIds,e.recursive=!0):this.rootAssets?(e.ids=this.rootAssets.map(t=>t.id),e.recursive=!0):this.rootAssetIds&&(e.ids=this.rootAssetIds,e.recursive=!0),this._sendEventWithReply({eventType:"read-assets",assetQuery:e}).then(e=>{this._loading=!1,this._buildTreeNodes(e.assets,t)})}}}_addEventSubscriptions(){return __awaiter(this,void 0,void 0,function*(){this.disableSubscribe||(this._subscriptionIds=[(yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().getEventProvider().subscribeAssetEvents(void 0,!1,t=>this._onEvent(t)))])})}onEventsConnect(){this._connected=!0,this._loadAssets()}onEventsDisconnect(){this._connected=!1,this._nodes=void 0}getNodes(){return this._nodes||[]}_onEvent(t){if("assets"===t.eventType){let e=t;this._buildTreeNodes(e.assets,this._getSortFunction());return}if("asset"===t.eventType){let e=t;if("READ"===e.cause||"UPDATE"===e.cause&&!(e.updatedProperties.includes("name")||e.updatedProperties.includes("parentId")))return;let n=[];"DELETE"!==e.cause&&n.push(e.asset),this._nodes&&OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.asset.id!==e.asset.id&&n.push(t.asset)}),this._buildTreeNodes(n,this._getSortFunction()),this._filterInput.value&&this._doFiltering(),this.dispatchEvent(new OrAssetTreeAssetEvent(e))}}_buildTreeNodes(t,e){if(t&&0!==t.length){let n,i;_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().isRestrictedUser()&&t.forEach(e=>{if(e.parentId&&e.path&&void 0===t.find(t=>t.id===e.parentId)){let n=null;for(let i=0;i<e.path.length;i++){let r=e.path[i];e.id!==r&&void 0!==t.find(t=>t.id===r)&&(n=r)}e.reparentId=n}}),this.rootAssetIds?n=this.rootAssetIds:this.rootAssets&&(n=this.rootAssets.map(t=>t.id)),i=n?t.filter(t=>n.indexOf(t.id)>=0||null===t.reparentId).map(t=>({asset:t})):t.filter(t=>!t.parentId||null===t.reparentId).map(t=>({asset:t})),this.assetsChildren={},t.forEach(t=>{t.parentId&&(this.assetsChildren[t.parentId]||(this.assetsChildren[t.parentId]=[]),this.assetsChildren[t.parentId].push({asset:t})),t.reparentId&&(this.assetsChildren[t.reparentId]||(this.assetsChildren[t.reparentId]=[]),this.assetsChildren[t.reparentId].push({asset:t}))}),i.sort(e),i.forEach(n=>this._buildChildTreeNodes(n,t,e)),this._nodes=i;let r=[];this._expandedNodes.forEach(t=>{OrAssetTree_1._forEachNodeRecursive(this._nodes,e=>{if(e.asset&&t&&t.asset&&e.asset.id===t.asset.id){e.expanded=!0,r.push(e);let t=e.parent;for(;t;)t.expanded=!0,t=t.parent,0>r.indexOf(t)&&r.push(t)}})}),this._expandedNodes=r}else this._nodes=[];this.selectedIds&&this.selectedIds.length>0&&this._updateSelectedNodes(),this.expandAllNodes&&OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.children&&t.children.length>0&&(t.expanded=!0)})}_buildChildTreeNodes(t,e,n){let i=this.assetsChildren[t.asset.id];t.children=i?i.sort(n):[],t.children.length>0&&(t.expandable=!0),t.children.forEach(i=>{i.parent=t,this._buildChildTreeNodes(i,e,n)})}_onDragStart(t){this._dragDropParentId=null;let e=t.currentTarget.getAttribute("node-asset-id");this.selectedIds||(this.selectedIds=[]),e&&this.selectedIds&&!this.selectedIds.includes(e)&&(t.ctrlKey||t.shiftKey||(this.selectedIds=[]),this.selectedIds.push(e))}_onDragEnd(t){let e=t.x,n=t.y;if(null!==this.shadowRoot){let t=this.shadowRoot.getElementById("list");if(t){let i=t.getBoundingClientRect().top,r=t.getBoundingClientRect().bottom,o=t.getBoundingClientRect().left,a=t.getBoundingClientRect().right;if(e<o||e>a||n>r||n<i)return}}this.selectedIds&&this.dispatchEvent(new OrAssetTreeChangeParentEvent(!this._dragDropParentId?void 0:this._dragDropParentId,this.selectedIds))}isExpandable(t){return!!(this._nodes&&this.shadowRoot&&this.shadowRoot.querySelector('[node-asset-id="'+t+'"] > .node-name > [data-expandable]'))||!1}_onDragOver(t){let e=t.currentTarget;e.classList.add("over");let n=e.getAttribute("node-asset-id");n&&this.isExpandable(n)&&!this._expandTimer&&(this._expandTimer=window.setTimeout(()=>{this.expandNode(n)},1e3))}expandNode(t){var e;if(this.shadowRoot&&t&&t===this._dragDropParentId){let n=this._findNodeFromAssetId(t),i=null==(e=this.shadowRoot)?void 0:e.querySelector('[node-asset-id="'+t+'"]');i&&n&&!n.expanded&&this._toggleExpander(i.firstElementChild.firstElementChild,n,!0)}}_onDragEnter(t){let e=t.currentTarget;e.classList.add("over");let n=e.getAttribute("node-asset-id");this._dragDropParentId=n}_onDragLeave(t){t.currentTarget.classList.remove("over"),clearTimeout(this._expandTimer),this._expandTimer=void 0}_treeNodeTemplate(t,e){let n,i=_openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetDescriptor(t.asset.type);if(n=t.allChildrenSelected?"checkbox-multiple-marked":t.someChildrenSelected?"checkbox-multiple-marked-outline":"checkbox-multiple-blank-outline",t.hidden)return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)``;let r=!1;return t.asset&&t.notMatchingFilter&&(r=!0),t.expanded&&0===t.children.length&&(t.expanded=!1),this.expandedIds&&-1!==this.expandedIds.findIndex(e=>e===t.asset.id)&&(t.expanded=!0),(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
78
|
-
<li class="asset-list-element" ?data-selected="${t.selected}" ?data-expanded="${t.expanded}" @click="${e=>this._onNodeClicked(e,t)}">
|
|
79
|
-
<div class="in-between-element" node-asset-id="${t.parent?t.parent.asset?t.parent.asset.id:"":void 0}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}"></div>
|
|
80
|
-
<div class="node-container draggable" node-asset-id="${t.asset?t.asset.id:""}" draggable="${!this._isReadonly()}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragstart="${t=>this._onDragStart(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}" style="padding-left: ${22*e}px">
|
|
81
|
-
<div class="node-name">
|
|
82
|
-
<div class="expander" ?data-expandable="${t.expandable}"></div>
|
|
83
|
-
${(0,_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__.getAssetDescriptorIconTemplate)(i,void 0,void 0,r?"d3d3d3":void 0)}
|
|
84
|
-
<span style="color: ${r?"#d3d3d3;":""}">${t.asset.name}</span>
|
|
85
|
-
${this.checkboxes?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
86
|
-
<span class="mdc-list-item__graphic">
|
|
87
|
-
${t.expandable?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<div class="mdc-checkbox">
|
|
88
|
-
<or-icon class="mdc-checkbox--parent" icon="${n}"></or-icon>
|
|
89
|
-
</div>`:""}
|
|
90
|
-
<div class="mdc-checkbox">
|
|
91
|
-
${t.selected?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-icon icon="checkbox-marked"></or-icon>`:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-icon icon="checkbox-blank-outline"></or-icon>`}
|
|
92
|
-
</div>
|
|
93
|
-
</span>`:""}
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<ol>
|
|
97
|
-
${!t.children||t.expandable&&!t.expanded?"":t.children.map(t=>this._treeNodeTemplate(t,e+1)).filter(t=>!!t)}
|
|
98
|
-
</ol>
|
|
99
|
-
</li>
|
|
100
|
-
`}static _forEachNodeRecursive(t,e){t&&t.forEach(t=>{e(t),this._forEachNodeRecursive(t.children,e)})}};__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array,reflect:!1})],OrAssetTree.prototype,"assets",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Object})],OrAssetTree.prototype,"assetInfos",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"_assetIdsOverride",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"rootAssets",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"rootAssetIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Object})],OrAssetTree.prototype,"dataProvider",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"readonly",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"disabled",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"disableSubscribe",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"selectedIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showDeselectBtn",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showSortBtn",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:String})],OrAssetTree.prototype,"sortBy",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"expandAllNodes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"expandedIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"checkboxes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({attribute:!1})],OrAssetTree.prototype,"_nodes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_filter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#clearIconContainer")],OrAssetTree.prototype,"_clearIconContainer",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#filterInput")],OrAssetTree.prototype,"_filterInput",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_filterSettingOpen",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_assetTypes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#attributeNameFilter")],OrAssetTree.prototype,"_attributeNameFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#attributeValueFilter")],OrAssetTree.prototype,"_attributeValueFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_assetTypeFilter",void 0),OrAssetTree=OrAssetTree_1=__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Mo)("or-asset-tree")],OrAssetTree)},7987:function(t,e,n){"use strict";var i=n(7138),r=n(7308),o=n(4297),a=n(6505),l=n(9357),c=n(2730),d=n(9329),s=n(6801),m=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},p=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};class u extends CustomEvent{constructor(t){super(u.NAME,{bubbles:!0,composed:!0,detail:t})}}u.NAME="or-add-asset-changed";let f=class extends i.oi{static get styles(){return(0,i.iv)`
|
|
101
|
-
:host{
|
|
102
|
-
border-style: solid;
|
|
103
|
-
border-color: var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
104
|
-
border-width: 1px 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
#name-wrapper {
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
margin-top: 12px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
#toggle-parent-selector,
|
|
114
|
-
#remove-parent {
|
|
115
|
-
flex: 0 0 50px;
|
|
116
|
-
margin: 4px 0 0 5px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
#name-input,
|
|
120
|
-
#parent-wrapper {
|
|
121
|
-
margin: 10px 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
#parent-wrapper {
|
|
125
|
-
display: flex;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
#parent {
|
|
129
|
-
flex: 1 1 auto;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
#parent-selector {
|
|
133
|
-
max-width: 250px;
|
|
134
|
-
border-left: 1px solid var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
#mdc-dialog-form-add {
|
|
138
|
-
display: flex;
|
|
139
|
-
height: 100%;
|
|
140
|
-
max-height: 600px;
|
|
141
|
-
width: 1000px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.msg {
|
|
145
|
-
display: flex;
|
|
146
|
-
justify-content: center;
|
|
147
|
-
align-items: center;
|
|
148
|
-
text-align: center;
|
|
149
|
-
height: 100%;
|
|
150
|
-
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
151
|
-
font-size: 14px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
#asset-type-option-container {
|
|
155
|
-
padding: 15px;
|
|
156
|
-
flex: 1 1 auto;
|
|
157
|
-
overflow: auto;
|
|
158
|
-
max-width: 100%;
|
|
159
|
-
font-size: 16px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
#type-list {
|
|
163
|
-
width: 260px;
|
|
164
|
-
overflow: auto;
|
|
165
|
-
text-transform: capitalize;
|
|
166
|
-
border-right: 1px solid var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
#type-title {
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
margin: 9px 4px;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
#type-description {
|
|
176
|
-
text-transform: capitalize;
|
|
177
|
-
color: var(--or-app-color3, ${(0,i.$m)(s.DefaultColor3)});
|
|
178
|
-
margin-left: 10px;
|
|
179
|
-
font-size: 18px;
|
|
180
|
-
font-weight: bold;
|
|
181
|
-
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.heading,
|
|
185
|
-
.mdc-list-group__subheader {
|
|
186
|
-
text-transform: uppercase;
|
|
187
|
-
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
188
|
-
font-weight: bolder;
|
|
189
|
-
line-height: 1em;
|
|
190
|
-
color: var(--or-app-color3, ${(0,i.$m)(s.DefaultColor3)});
|
|
191
|
-
letter-spacing: 0.025em;
|
|
192
|
-
font-size: 14px;
|
|
193
|
-
margin: 20px 0 10px;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.mdc-list-group__subheader {
|
|
197
|
-
margin: 20px 0 0 16px;
|
|
198
|
-
}
|
|
199
|
-
`}constructor(){super(),this.selectedAttributes=[],this.showParentAssetSelector=!1,this.selectedChildAssetType="",this.name="New Asset",this.addEventListener(l.OrAssetTreeSelectionEvent.NAME,t=>{this.parent=t.detail.newNodes[0].asset})}render(){let t=t=>t.map(t=>({styleMap:{"--or-icon-fill":t.colour?"#"+t.colour:"unset"},icon:t.icon,text:s.Util.getAssetTypeLabel(t),value:t.name,data:t})).sort(s.Util.sortByString(t=>t.text)),e=t(this.agentTypes),n=t(this.assetTypes),r=[];e.length>0&&r.push({heading:d.i18next.t("agents"),list:(0,i.dy)`<or-mwc-list @or-mwc-list-changed="${t=>{1===t.detail.length&&this.onTypeChanged(!0,t.detail[0])}}" .listItems="${e}" id="agent-list"></or-mwc-list>`}),n.length>0&&r.push({heading:d.i18next.t("assets"),list:(0,i.dy)`<or-mwc-list @or-mwc-list-changed="${t=>{1===t.detail.length&&this.onTypeChanged(!1,t.detail[0])}}" .listItems="${n}" id="asset-list"></or-mwc-list>`});let o=this.parent?this.parent.name+" ("+this.parent.id+")":d.i18next.t("none");return(0,i.dy)`
|
|
200
|
-
<div class="col" style="height: 100%;">
|
|
201
|
-
<form id="mdc-dialog-form-add" class="row">
|
|
202
|
-
<div id="type-list" class="col">
|
|
203
|
-
${(0,c.v4)(r)}
|
|
204
|
-
</div>
|
|
205
|
-
<div id="asset-type-option-container" class="col">
|
|
206
|
-
${!this.selectedType?(0,i.dy)`<div class="msg"><or-translate value="noAssetTypeSelected"></or-translate></div>`:this.getTypeTemplate(this.selectedType,o)}
|
|
207
|
-
</div>
|
|
208
|
-
${!this.showParentAssetSelector?(0,i.dy)``:(0,i.dy)`<or-asset-tree id="parent-selector" class="col" .showDeselectBtn="${!1}" .showSortBtn="${!1}" selectedNodes readonly></or-asset-tree>`}
|
|
209
|
-
</form>
|
|
210
|
-
</div>
|
|
211
|
-
`}getTypeTemplate(t,e){var n,r;if(!t.name)return!1;let l=o.AssetModelUtil.getAssetTypeInfo(t.name),c=null==(n=null==l?void 0:l.attributeDescriptors)?void 0:n.filter(t=>!t.optional),m=null==(r=null==l?void 0:l.attributeDescriptors)?void 0:r.filter(t=>!!t.optional);return(0,i.dy)`
|
|
212
|
-
<div id="type-title">
|
|
213
|
-
<or-icon style="--or-icon-fill: ${t.colour?"#"+t.colour:"unset"}" id="type-icon" .icon="${t.icon}"></or-icon>
|
|
214
|
-
<or-translate id="type-description" .value="${s.Util.getAssetTypeLabel(t)}"></or-translate>
|
|
215
|
-
</div>
|
|
216
|
-
<div id="name-wrapper">
|
|
217
|
-
<or-mwc-input id="name-input" .type="${a.n$.TEXT}" min="1" max="1023" required .label="${d.i18next.t("name")}" .value="${this.name}" @or-mwc-input-changed="${t=>this.onNameChanged(t.detail.value)}"></or-mwc-input>
|
|
218
|
-
<div id="parent-wrapper">
|
|
219
|
-
<or-mwc-input id="parent" .type="${a.n$.TEXT}" readonly .label="${d.i18next.t("parent")}" .value="${e}" @click="${()=>this._onToggleParentAssetSelector()}"></or-mwc-input>
|
|
220
|
-
<or-mwc-input id="remove-parent" ?disabled="${!this.parent}" type="${a.n$.BUTTON}" icon="close" @or-mwc-input-changed="${()=>this._onDeselectClicked()}"></or-mwc-input>
|
|
221
|
-
<or-mwc-input id="toggle-parent-selector" icon="${this.showParentAssetSelector?"pencil-off":"pencil"}" type="${a.n$.BUTTON}" @or-mwc-input-changed="${()=>this._onToggleParentAssetSelector()}"></or-mwc-input>
|
|
222
|
-
</div>
|
|
223
|
-
</div>
|
|
224
|
-
|
|
225
|
-
${!c?(0,i.dy)``:(0,i.dy)`
|
|
226
|
-
<div>
|
|
227
|
-
<div class="heading">${d.i18next.t("attribute_plural")}</div>
|
|
228
|
-
<div style="display: grid">
|
|
229
|
-
${c.sort(s.Util.sortByString(t=>t.name)).map(t=>(0,i.dy)`
|
|
230
|
-
<or-mwc-input .type="${a.n$.CHECKBOX}" .label="${s.Util.getAttributeLabel(void 0,t,void 0,!0)}"
|
|
231
|
-
.disabled="${!0}" .value="${!0}"></or-mwc-input>
|
|
232
|
-
`)}
|
|
233
|
-
</div>
|
|
234
|
-
`}
|
|
235
|
-
|
|
236
|
-
${!m?(0,i.dy)``:(0,i.dy)`
|
|
237
|
-
<div>
|
|
238
|
-
<div class="heading">${d.i18next.t("optional_attributes")}</div>
|
|
239
|
-
<div style="display: grid">
|
|
240
|
-
${m.sort(s.Util.sortByString(t=>t.name)).map(t=>(0,i.dy)`
|
|
241
|
-
<or-mwc-input .type="${a.n$.CHECKBOX}" .label="${s.Util.getAttributeLabel(void 0,t,void 0,!0)}"
|
|
242
|
-
.value="${this.selectedAttributes.find(e=>e===t)}"
|
|
243
|
-
@or-mwc-input-changed="${e=>e.detail.value?this.selectedAttributes.push(t):this.selectedAttributes.splice(this.selectedAttributes.findIndex(e=>e===t),1)}"></or-mwc-input>
|
|
244
|
-
`)}
|
|
245
|
-
</div>
|
|
246
|
-
</div>
|
|
247
|
-
`}
|
|
248
|
-
`}onNameChanged(t){this.name=t,this.onModified()}onTypeChanged(t,e){return p(this,void 0,void 0,function*(){yield this.updateComplete,this.selectedAttributes=[],this.selectedType=e.data;let n=t?this.assetList:this.agentList;n&&(n.values=void 0),this.onModified()})}onModified(){this.dispatchEvent(new u({name:this.name,descriptor:this.selectedType}))}_onToggleParentAssetSelector(){this.showParentAssetSelector=!this.showParentAssetSelector}_onDeselectClicked(){this.parent=void 0}};m([(0,r.Cb)({attribute:!1})],f.prototype,"config",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"agentTypes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"assetTypes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"parent",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedType",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedAttributes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"showParentAssetSelector",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedChildAssetType",void 0),m([(0,r.IO)("#name-input")],f.prototype,"nameInput",void 0),m([(0,r.IO)("#agent-list")],f.prototype,"agentList",void 0),m([(0,r.IO)("#asset-list")],f.prototype,"assetList",void 0),m([(0,r.IO)("#parent-asset-list")],f.prototype,"parentAssetList",void 0),m([(0,r.Mo)("or-add-asset-dialog")],f)},6748:function(t,e,n){"use strict";n.d(e,{o:()=>l});var i=n(7138),r=n(6801),o="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",a="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";let l=(0,i.iv)`
|
|
249
|
-
|
|
250
|
-
:host {
|
|
251
|
-
--internal-or-asset-tree-header-color: var(--or-asset-tree-header-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
252
|
-
--internal-or-asset-tree-header-text-color: var(--or-asset-tree-header-text-color, var(--or-app-color8, ${(0,i.$m)(r.DefaultColor8)}));
|
|
253
|
-
--internal-or-asset-tree-header-menu-background-color: var(--or-asset-tree-header-menu-background-color, var(--internal-or-asset-tree-header-text-color));
|
|
254
|
-
--internal-or-asset-tree-header-menu-text-color: var(--or-asset-tree-header-menu-text-color, inherit);
|
|
255
|
-
--internal-or-asset-tree-header-height: var(--or-asset-tree-header-height, 48px);
|
|
256
|
-
--internal-or-asset-tree-background-color: var(--or-asset-tree-background-color, var(--or-app-color1, ${(0,i.$m)(r.DefaultColor1)}));
|
|
257
|
-
--internal-or-asset-tree-text-color: var(--or-asset-tree-text-color, inherit);
|
|
258
|
-
--internal-or-asset-tree-item-height: var(--or-asset-tree-item-height, 24px);
|
|
259
|
-
--internal-or-asset-tree-item-padding: var(--or-asset-tree-item-padding, 10px);
|
|
260
|
-
--internal-or-asset-tree-selected-background-color: var(--or-asset-tree-selected-background-color, var(--or-app-color2, ${(0,i.$m)(r.DefaultColor2)}));
|
|
261
|
-
--internal-or-asset-tree-selected-color: var(--or-asset-tree-selected-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
262
|
-
--internal-or-asset-tree-button-color: var(--or-asset-tree-button-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
263
|
-
--internal-or-asset-tree-line-color: var(--or-asset-tree-line-color, var(--or-app-color5, ${(0,i.$m)(r.DefaultColor5)}));
|
|
264
|
-
|
|
265
|
-
display: flex;
|
|
266
|
-
flex-direction: column;
|
|
267
|
-
height: 100%;
|
|
268
|
-
width: 100%;
|
|
269
|
-
background-color: var(--internal-or-asset-tree-background-color);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
*[hidden] {
|
|
273
|
-
display: none;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
button {
|
|
277
|
-
background-color: var(--internal-or-asset-tree-button-color);
|
|
278
|
-
color: var(--internal-or-asset-tree-background-color);
|
|
279
|
-
--or-icon-width: 20px;
|
|
280
|
-
--or-icon-height: 20px;
|
|
281
|
-
--or-icon-fill: var(--internal-or-asset-tree-background-color);
|
|
282
|
-
border: none;
|
|
283
|
-
padding: 0 6px;
|
|
284
|
-
display: inline-block;
|
|
285
|
-
cursor: pointer;
|
|
286
|
-
opacity: 0.8;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
button:focus, button:hover {
|
|
290
|
-
outline: 0;
|
|
291
|
-
opacity: 1;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
#header {
|
|
295
|
-
background-color: var(--internal-or-asset-tree-header-color);
|
|
296
|
-
display: flex;
|
|
297
|
-
align-items: center;
|
|
298
|
-
width: 100%;
|
|
299
|
-
height: var(--internal-or-asset-tree-header-height);
|
|
300
|
-
border-bottom: 1px solid ${(0,i.$m)(r.DefaultColor5)};
|
|
301
|
-
z-index: 1000;
|
|
302
|
-
line-height: var(--internal-or-asset-tree-header-height);
|
|
303
|
-
color: var(--internal-or-asset-tree-header-text-color);
|
|
304
|
-
--or-icon-fill: var(--internal-or-asset-tree-header-text-color);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
#title-container {
|
|
308
|
-
flex: 1 0 auto;
|
|
309
|
-
flex-direction: row;
|
|
310
|
-
text-transform: capitalize;
|
|
311
|
-
padding-left: 15px;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
#title {
|
|
315
|
-
font-weight: 500;
|
|
316
|
-
font-size: 16px;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
#realm-picker {
|
|
320
|
-
outline: none;
|
|
321
|
-
margin-left: 5px;
|
|
322
|
-
text-transform: none;
|
|
323
|
-
font-size: 14px;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
#header-btns {
|
|
327
|
-
display: flex;
|
|
328
|
-
flex-direction: row;
|
|
329
|
-
padding-right: 5px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
#list-container {
|
|
333
|
-
flex: 1 1 auto;
|
|
334
|
-
overflow: auto;
|
|
335
|
-
font-size: 14px;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
#list {
|
|
339
|
-
margin: 0;
|
|
340
|
-
color: var(--internal-or-asset-tree-text-color);
|
|
341
|
-
padding: 0;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
#list, ol {
|
|
345
|
-
list-style-type: none;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
li ol {
|
|
349
|
-
padding: 0;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
#list li:not([data-expanded]) > ol {
|
|
353
|
-
display: none;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
#list li[data-selected] > .node-container, #list li > .node-container:hover {
|
|
357
|
-
background-color: var(--internal-or-asset-tree-selected-background-color);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
#list li[data-selected] > .node-container {
|
|
361
|
-
border-left-color: var(--internal-or-asset-tree-selected-color);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.asset-list-element .over {
|
|
365
|
-
background-color: ${(0,i.$m)(r.DefaultColor5)};
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.in-between-element {
|
|
369
|
-
position: relative;
|
|
370
|
-
height: 2px;
|
|
371
|
-
}
|
|
372
|
-
.in-between-element.over {
|
|
373
|
-
padding: 5px 0;
|
|
374
|
-
margin: -5px 0;
|
|
375
|
-
}
|
|
376
|
-
.end-element {
|
|
377
|
-
height: 44px;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.node-container {
|
|
381
|
-
display: flex;
|
|
382
|
-
border-left: 4px solid transparent;
|
|
383
|
-
user-select: none;
|
|
384
|
-
cursor: pointer;
|
|
385
|
-
height: var(--internal-or-asset-tree-item-height);
|
|
386
|
-
line-height: var(--internal-or-asset-tree-item-height);
|
|
387
|
-
padding-top: var(--internal-or-asset-tree-item-padding);
|
|
388
|
-
padding-bottom: var(--internal-or-asset-tree-item-padding);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.node-container > * {
|
|
392
|
-
flex: 0 0 auto;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.expander {
|
|
396
|
-
width: 36px;
|
|
397
|
-
height: 100%;
|
|
398
|
-
display: inline-block;
|
|
399
|
-
background-repeat: no-repeat;
|
|
400
|
-
background-size: 18px;
|
|
401
|
-
background-position: center;
|
|
402
|
-
|
|
403
|
-
margin-left: -4px;
|
|
404
|
-
border-left: 4px solid transparent;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.expander[data-expandable] {
|
|
408
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='rgb(204, 204, 204)' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(a)}'/%3E%3C/svg%3E");
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.expander[data-expandable]:hover {
|
|
412
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(a)}'/%3E%3C/svg%3E");
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
li[data-expanded] > .node-container .expander {
|
|
416
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(o)}'/%3E%3C/svg%3E") !important;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.node-name {
|
|
420
|
-
margin: -4px 0;
|
|
421
|
-
flex: 1 0 auto;
|
|
422
|
-
display: flex;
|
|
423
|
-
align-items: center;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.node-name > span {
|
|
427
|
-
vertical-align: middle;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
.node-name > or-icon {
|
|
431
|
-
--or-icon-width: 18px;
|
|
432
|
-
--or-icon-height: 18px;
|
|
433
|
-
margin-right: 8px;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
#loading {
|
|
437
|
-
flex: 1 0 auto;
|
|
438
|
-
display: inline-flex;
|
|
439
|
-
align-items: center;
|
|
440
|
-
text-align: center;
|
|
441
|
-
margin: 0 auto;
|
|
442
|
-
font-size: 14px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
@media only screen and (min-width: 768px){
|
|
446
|
-
.expander {
|
|
447
|
-
width: 26px;
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
.mdc-list-item__graphic {
|
|
452
|
-
margin-left: auto;
|
|
453
|
-
display: flex;
|
|
454
|
-
margin-right: 5px;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.mdc-checkbox {
|
|
458
|
-
display: flex;
|
|
459
|
-
height: 100%;
|
|
460
|
-
align-items: center;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.mdc-checkbox or-icon {
|
|
464
|
-
height: 15px;
|
|
465
|
-
width: auto;
|
|
466
|
-
color: var(--internal-or-asset-tree-line-color);
|
|
467
|
-
}
|
|
468
|
-
.mdc-checkbox or-icon.mdc-checkbox--parent {
|
|
469
|
-
height: 17px;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.mdc-checkbox or-icon[icon="checkbox-marked"],
|
|
473
|
-
.mdc-checkbox or-icon[icon="checkbox-multiple-marked"],
|
|
474
|
-
.mdc-checkbox or-icon[icon="checkbox-multiple-marked-outline"] {
|
|
475
|
-
color: var(--internal-or-asset-tree-selected-color);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
#asset-tree-filter {
|
|
479
|
-
display: flex;
|
|
480
|
-
align-items: center;
|
|
481
|
-
position: relative;
|
|
482
|
-
background-color: var(--internal-or-asset-tree-selected-background-color);
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
#filterInput {
|
|
486
|
-
padding: 7px 12px 7px 7px;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
#filterAssetTypeDownIcon {
|
|
490
|
-
width: 16px;
|
|
491
|
-
height: 16px;
|
|
492
|
-
position: absolute;
|
|
493
|
-
right: 20px;
|
|
494
|
-
padding-right: 14px;
|
|
495
|
-
cursor: pointer;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
#filterSettingsIcon {
|
|
499
|
-
cursor: pointer;
|
|
500
|
-
margin-right: 12px;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
#asset-tree-filter-setting {
|
|
504
|
-
position: absolute;
|
|
505
|
-
background-color: var(--internal-or-asset-tree-background-color);
|
|
506
|
-
top: calc(var(--internal-or-asset-tree-header-height) + var(--internal-or-header-height, 50px) - 1px);
|
|
507
|
-
display: none;
|
|
508
|
-
width: 300px;
|
|
509
|
-
z-index: 100;
|
|
510
|
-
box-shadow: rgb(0 0 0 / 21%) 0px 1px 3px 0px;
|
|
511
|
-
box-sizing: border-box;
|
|
512
|
-
padding: 10px;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
#asset-tree-filter-setting .advanced-filter {
|
|
516
|
-
display: flex;
|
|
517
|
-
flex-direction: column;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
#asset-tree-filter-setting.visible {
|
|
521
|
-
display: block;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.filterAssetType {
|
|
525
|
-
display: flex;
|
|
526
|
-
align-items: center;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
#clearIconContainer.visible {
|
|
530
|
-
display: block;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
#noAssetsFound {
|
|
534
|
-
flex: 1 0 auto;
|
|
535
|
-
display: inline-flex;
|
|
536
|
-
align-items: center;
|
|
537
|
-
text-align: center;
|
|
538
|
-
margin: 0 auto;
|
|
539
|
-
font-size: 14px;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
.filterMatching {
|
|
543
|
-
color: #808080;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.draggable {
|
|
547
|
-
cursor: pointer;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
.draggable:active[draggable="true"] {
|
|
551
|
-
cursor: grabbing;
|
|
552
|
-
}
|
|
553
|
-
`},5839:function(t,e,n){"use strict";n.d(e,{iq:()=>M,gs:()=>N,vC:()=>P,w:()=>D});var i=n(7138),r=n(7308),o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function a(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function c(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var d=n(1872),s="mdc-dom-focus-sentinel",m=function(){function t(t,e){void 0===e&&(e={}),this.root=t,this.options=e,this.elFocusedBeforeTrapFocus=null}return t.prototype.trapFocus=function(){var t=this.getFocusableElements(this.root);if(0===t.length)throw Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root,t),this.options.skipInitialFocus||this.focusInitialElement(t,this.options.initialFocusEl)},t.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+s)).forEach(function(t){t.parentElement.removeChild(t)}),this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},t.prototype.wrapTabFocus=function(t,e){var n=this.createSentinel(),i=this.createSentinel();n.addEventListener("focus",function(){e.length>0&&e[e.length-1].focus()}),i.addEventListener("focus",function(){e.length>0&&e[0].focus()}),t.insertBefore(n,t.children[0]),t.appendChild(i)},t.prototype.focusInitialElement=function(t,e){var n=0;e&&(n=Math.max(t.indexOf(e),0)),t[n].focus()},t.prototype.getFocusableElements=function(t){return[].slice.call(t.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(t){var e="true"===t.getAttribute("aria-disabled")||null!=t.getAttribute("disabled")||null!=t.getAttribute("hidden")||"true"===t.getAttribute("aria-hidden"),n=t.tabIndex>=0&&t.getBoundingClientRect().width>0&&!t.classList.contains(s)&&!e,i=!1;if(n){var r=getComputedStyle(t);i="none"===r.display||"hidden"===r.visibility}return n&&!i})},t.prototype.createSentinel=function(){var t=document.createElement("div");return t.setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true"),t.classList.add(s),t},t}(),p=n(2584),u=n(6645),f=n(4327),h={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked"},g={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:"textarea, .mdc-menu .mdc-list-item",SURFACE_SELECTOR:".mdc-dialog__surface"},b={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150},_=function(t){function e(n){var i=t.call(this,l(l({},e.defaultAdapter),n))||this;return i.isOpen_=!1,i.animationFrame_=0,i.animationTimer_=0,i.layoutFrame_=0,i.escapeKeyAction_=g.CLOSE_ACTION,i.scrimClickAction_=g.CLOSE_ACTION,i.autoStackButtons_=!0,i.areButtonsStacked_=!1,i.suppressDefaultPressSelector=g.SUPPRESS_DEFAULT_PRESS_SELECTOR,i}return a(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return h},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return b},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.hasClass(h.STACKED)&&this.setAutoStackButtons(!1)},e.prototype.destroy=function(){this.isOpen_&&this.close(g.DESTROY_ACTION),this.animationTimer_&&(clearTimeout(this.animationTimer_),this.handleAnimationTimerEnd_()),this.layoutFrame_&&(cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=0)},e.prototype.open=function(){var t=this;this.isOpen_=!0,this.adapter.notifyOpening(),this.adapter.addClass(h.OPENING),this.runNextAnimationFrame_(function(){t.adapter.addClass(h.OPEN),t.adapter.addBodyClass(h.SCROLL_LOCK),t.layout(),t.animationTimer_=setTimeout(function(){t.handleAnimationTimerEnd_(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()},b.DIALOG_ANIMATION_OPEN_TIME_MS)})},e.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.isOpen_&&(this.isOpen_=!1,this.adapter.notifyClosing(t),this.adapter.addClass(h.CLOSING),this.adapter.removeClass(h.OPEN),this.adapter.removeBodyClass(h.SCROLL_LOCK),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout(function(){e.adapter.releaseFocus(),e.handleAnimationTimerEnd_(),e.adapter.notifyClosed(t)},b.DIALOG_ANIMATION_CLOSE_TIME_MS))},e.prototype.isOpen=function(){return this.isOpen_},e.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction_},e.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction_=t},e.prototype.getScrimClickAction=function(){return this.scrimClickAction_},e.prototype.setScrimClickAction=function(t){this.scrimClickAction_=t},e.prototype.getAutoStackButtons=function(){return this.autoStackButtons_},e.prototype.setAutoStackButtons=function(t){this.autoStackButtons_=t},e.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},e.prototype.setSuppressDefaultPressSelector=function(t){this.suppressDefaultPressSelector=t},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.handleClick=function(t){if(this.adapter.eventTargetMatches(t.target,g.SCRIM_SELECTOR)&&""!==this.scrimClickAction_)this.close(this.scrimClickAction_);else{var e=this.adapter.getActionFromEvent(t);e&&this.close(e)}},e.prototype.handleKeydown=function(t){var e="Enter"===t.key||13===t.keyCode;if(e&&!this.adapter.getActionFromEvent(t)){var n=t.composedPath?t.composedPath()[0]:t.target,i=!this.adapter.eventTargetMatches(n,this.suppressDefaultPressSelector);e&&i&&this.adapter.clickDefaultButton()}},e.prototype.handleDocumentKeydown=function(t){("Escape"===t.key||27===t.keyCode)&&""!==this.escapeKeyAction_&&this.close(this.escapeKeyAction_)},e.prototype.layoutInternal_=function(){this.autoStackButtons_&&this.detectStackedButtons_(),this.detectScrollableContent_()},e.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter.removeClass(h.OPENING),this.adapter.removeClass(h.CLOSING)},e.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},e.prototype.detectStackedButtons_=function(){this.adapter.removeClass(h.STACKED);var t=this.adapter.areButtonsStacked();t&&this.adapter.addClass(h.STACKED),t!==this.areButtonsStacked_&&(this.adapter.reverseButtons(),this.areButtonsStacked_=t)},e.prototype.detectScrollableContent_=function(){this.adapter.removeClass(h.SCROLLABLE),this.adapter.isContentScrollable()&&this.adapter.addClass(h.SCROLLABLE)},e}(f.K);function v(t,e,n){return e(t,{initialFocusEl:n})}function y(t){return!!t&&t.scrollHeight>t.offsetHeight}function x(t){var e=new Set;return[].forEach.call(t,function(t){return e.add(t.offsetTop)}),e.size>1}var w=_.strings,k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!0,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(t,e){return new m(t,e)});var e,n,i=this.root.querySelector(w.CONTAINER_SELECTOR);if(!i)throw Error("Dialog component requires a "+w.CONTAINER_SELECTOR+" container element");this.container_=i,this.content_=this.root.querySelector(w.CONTENT_SELECTOR),this.buttons_=[].slice.call(this.root.querySelectorAll(w.BUTTON_SELECTOR)),this.defaultButton_=this.root.querySelector("["+w.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory_=t,this.buttonRipples_=[];try{for(var r=c(this.buttons_),o=r.next();!o.done;o=r.next()){var a=o.value;this.buttonRipples_.push(new u.F(a))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.initialSyncWithDOM=function(){var t=this;this.focusTrap_=v(this.container_,this.focusTrapFactory_,this.getInitialFocusEl_()||void 0),this.handleClick_=this.foundation.handleClick.bind(this.foundation),this.handleKeydown_=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown_=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleLayout_=this.layout.bind(this);var e=["resize","orientationchange"];this.handleOpening_=function(){e.forEach(function(e){return window.addEventListener(e,t.handleLayout_)}),document.addEventListener("keydown",t.handleDocumentKeydown_)},this.handleClosing_=function(){e.forEach(function(e){return window.removeEventListener(e,t.handleLayout_)}),document.removeEventListener("keydown",t.handleDocumentKeydown_)},this.listen("click",this.handleClick_),this.listen("keydown",this.handleKeydown_),this.listen(w.OPENING_EVENT,this.handleOpening_),this.listen(w.CLOSING_EVENT,this.handleClosing_)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(w.OPENING_EVENT,this.handleOpening_),this.unlisten(w.CLOSING_EVENT,this.handleClosing_),this.handleClosing_(),this.buttonRipples_.forEach(function(t){return t.destroy()}),t.prototype.destroy.call(this)},e.prototype.layout=function(){this.foundation.layout()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new _({addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(e){return t.root.classList.add(e)},areButtonsStacked:function(){return x(t.buttons_)},clickDefaultButton:function(){return t.defaultButton_&&t.defaultButton_.click()},eventTargetMatches:function(t,e){return!!t&&(0,p.wB)(t,e)},getActionFromEvent:function(t){if(!t.target)return"";var e=(0,p.oq)(t.target,"["+w.ACTION_ATTRIBUTE+"]");return e&&e.getAttribute(w.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return t.getInitialFocusEl_()},hasClass:function(e){return t.root.classList.contains(e)},isContentScrollable:function(){return y(t.content_)},notifyClosed:function(e){return t.emit(w.CLOSED_EVENT,e?{action:e}:{})},notifyClosing:function(e){return t.emit(w.CLOSING_EVENT,e?{action:e}:{})},notifyOpened:function(){return t.emit(w.OPENED_EVENT,{})},notifyOpening:function(){return t.emit(w.OPENING_EVENT,{})},releaseFocus:function(){return t.focusTrap_.releaseFocus()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(e){return t.root.classList.remove(e)},reverseButtons:function(){t.buttons_.reverse(),t.buttons_.forEach(function(t){t.parentElement.appendChild(t)})},trapFocus:function(){return t.focusTrap_.trapFocus()}})},e.prototype.getInitialFocusEl_=function(){return this.root.querySelector("["+w.INITIAL_FOCUS_ATTRIBUTE+"]")},e}(d.B),E=n(9329),A=n(6505),C=n(6801),T=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},I=function(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,l)}c((i=i.apply(t,e||[])).next())})};let S=n(9253),O=n(3041);class L extends CustomEvent{constructor(){super(L.NAME,{bubbles:!0,composed:!0})}}L.NAME="or-mwc-dialog-opened";class R extends CustomEvent{constructor(t){super(R.NAME,{detail:t,bubbles:!0,composed:!0})}}function N(t,e){return I(this,void 0,void 0,function*(){return z("error",(0,i.dy)`
|
|
554
|
-
<div>
|
|
555
|
-
<p><or-translate value="errorOccurred"></or-translate>
|
|
556
|
-
${t?(0,i.dy)`
|
|
557
|
-
:</p>
|
|
558
|
-
<p>
|
|
559
|
-
<or-translate value="error"></or-translate>
|
|
560
|
-
<span> = </span>
|
|
561
|
-
<or-translate .value="${t}"></or-translate>
|
|
562
|
-
`:""}
|
|
563
|
-
</p>
|
|
564
|
-
</div>`,void 0,e)})}function D(t,e,n,r){return I(this,void 0,void 0,function*(){let o=new C.Util.Deferred;return P(new M().setContent("string"==typeof e?(0,i.dy)`<p>${e}</p>`:e).setActions([{actionName:"cancel",content:"cancel",default:!0,action:()=>o.resolve(!1)},{actionName:"ok",content:n||E.i18next.t("ok"),action:()=>o.resolve(!0)}]).setHeading(t).setStyles((0,i.dy)`
|
|
565
|
-
<style>
|
|
566
|
-
.mdc-dialog__content {
|
|
567
|
-
white-space: pre-wrap
|
|
568
|
-
}
|
|
569
|
-
</style>
|
|
570
|
-
`),r),yield o.promise})}function z(t,e,n,r){return I(this,void 0,void 0,function*(){let o=new C.Util.Deferred;return P(new M().setContent("string"==typeof e?(0,i.dy)`<p>${e}</p>`:e).setActions([{actionName:"ok",default:!0,content:n||E.i18next.t("ok"),action:()=>o.resolve(!0)}]).setHeading(t),r),yield o.promise})}function P(t,e){return e||(e=M.DialogHostElement||document.body),t.setOpen(!0),t.addEventListener(L.NAME,t=>{t.stopPropagation()}),t.addEventListener(R.NAME,e=>{e.stopPropagation(),window.setTimeout(()=>{t.parentElement&&t.parentElement.removeChild(t)},0)}),e.append(t),t}R.NAME="or-mwc-dialog-closed";let $=(0,i.iv)`
|
|
571
|
-
:host {
|
|
572
|
-
position: relative;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.dialog-container {
|
|
576
|
-
display: flex;
|
|
577
|
-
flex-direction: row;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
.dialog-container > * {
|
|
581
|
-
flex: 1 1 0;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.mdc-list {
|
|
585
|
-
padding: 0 24px
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.mdc-dialog .mdc-dialog__surface {
|
|
589
|
-
outline: none;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
@media (min-width: 1280px) {
|
|
593
|
-
.mdc-dialog .mdc-dialog__surface {
|
|
594
|
-
max-width: 1024px;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
`,M=class extends i.oi{constructor(){super(...arguments),this._open=!1,this._popstateEventBind=t=>this._onBrowserNavigate(t)}static get styles(){return[(0,i.iv)`${(0,i.$m)(S)}`,(0,i.iv)`${(0,i.$m)(O)}`,$]}get isOpen(){return!!this._mdcComponent&&this._mdcComponent.isOpen}setOpen(t){return this._open=!0,this}setHeading(t){return this.heading=t,this}setContent(t){return this.content=t,this}setActions(t){return this.actions=t,this}setDismissAction(t){return this.dismissAction=t,this}setStyles(t){return this.styles=t,this}setAvatar(t){return this.avatar=t,this}open(){this._mdcElem&&!this._mdcComponent&&(this._mdcComponent=new k(this._mdcElem),this._mdcComponent.scrimClickAction=this.dismissAction||null===this.dismissAction?"close":""),this._mdcComponent&&this._mdcComponent.open()}close(t){this._mdcComponent&&this._mdcComponent.close(t)}connectedCallback(){super.connectedCallback(),window.addEventListener("popstate",this._popstateEventBind)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("popstate",this._popstateEventBind),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){return(0,i.dy)`
|
|
598
|
-
${"string"==typeof this.styles?(0,i.dy)`<style>${this.styles}</style>`:this.styles||""}
|
|
599
|
-
|
|
600
|
-
<div id="dialog"
|
|
601
|
-
class="mdc-dialog"
|
|
602
|
-
role="alertdialog"
|
|
603
|
-
aria-modal="true"
|
|
604
|
-
aria-labelledby="dialog-title"
|
|
605
|
-
aria-describedby="dialog-content"
|
|
606
|
-
@MDCDialog:opened="${()=>this._onDialogOpened()}"
|
|
607
|
-
@MDCDialog:closed="${t=>this._onDialogClosed(t.detail.action)}">
|
|
608
|
-
<div class="mdc-dialog__container">
|
|
609
|
-
<div class="mdc-dialog__surface" tabindex="0">
|
|
610
|
-
${"string"==typeof this.heading?(0,i.dy)`<h2 class="mdc-dialog__title" id="dialog-title"><or-translate value="${this.heading}"></or-translate></h2>`:this.heading?(0,i.dy)`<span class="mdc-dialog__title" id="dialog-title">${this.heading}</span>`:""}
|
|
611
|
-
${this.content?(0,i.dy)`
|
|
612
|
-
<div class="dialog-container mdc-dialog__content" id="dialog-content">
|
|
613
|
-
${"function"==typeof this.content?this.content():this.content}
|
|
614
|
-
</div>
|
|
615
|
-
<footer class="mdc-dialog__actions">
|
|
616
|
-
${this.actions?this.actions.map(t=>(0,i.dy)`
|
|
617
|
-
<div class="mdc-button mdc-dialog__button" ?data-mdc-dialog-button-default="${t.default}" data-mdc-dialog-action="${t.disabled?void 0:t.actionName}">
|
|
618
|
-
${"string"==typeof t.content?(0,i.dy)`<or-mwc-input .type="${A.n$.BUTTON}" @or-mwc-input-changed="${t=>{t.currentTarget.disabled&&t.stopPropagation()}}" .disabled="${t.disabled}" .label="${t.content}"></or-mwc-input>`:t.content}
|
|
619
|
-
</div>`):""}
|
|
620
|
-
</footer>
|
|
621
|
-
`:(0,i.dy)`
|
|
622
|
-
<ul class="mdc-list ${this.avatar?"mdc-list--avatar-list":""}">
|
|
623
|
-
${!this.actions?"":this.actions.map((t,e)=>(0,i.dy)`<li class="mdc-list-item" data-mdc-dialog-action="${t.actionName}"><span class="mdc-list-item__text">${t.content}</span></li>`)}
|
|
624
|
-
</ul>
|
|
625
|
-
`}
|
|
626
|
-
</div>
|
|
627
|
-
</div>
|
|
628
|
-
<div class="mdc-dialog__scrim"></div>
|
|
629
|
-
</div>
|
|
630
|
-
`}updated(t){super.updated(t),t.has("_open")&&this._open&&this.open()}_onDialogOpened(){this.dispatchEvent(new L)}_onDialogClosed(t){if("close"===t&&this.dismissAction&&this.dismissAction.action)this.dismissAction.action(this);else if(t&&this.actions){let e=this.actions.find(e=>e.actionName===t);e&&e.action&&e.action(this)}this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0),this.dispatchEvent(new R(t))}_onBrowserNavigate(t){this.close("close")}};T([(0,r.Cb)({type:String})],M.prototype,"heading",void 0),T([(0,r.Cb)({type:Object,attribute:!1})],M.prototype,"content",void 0),T([(0,r.Cb)({type:Array,attribute:!1})],M.prototype,"actions",void 0),T([(0,r.Cb)({type:Object,attribute:!1})],M.prototype,"dismissAction",void 0),T([(0,r.Cb)({type:Boolean})],M.prototype,"avatar",void 0),T([(0,r.Cb)()],M.prototype,"styles",void 0),T([(0,r.Cb)({attribute:!1})],M.prototype,"_open",void 0),T([(0,r.IO)("#dialog")],M.prototype,"_mdcElem",void 0),M=T([(0,r.Mo)("or-mwc-dialog")],M)},6505:function(t,e,n){"use strict";n.d(e,{n$:()=>o});var i,r,o,a=n(7138),l=n(7308);n(6883);var c=n(4648),d=n(1934),s=n(5058),m=n(9069),p=n(8821),u=n(5250);class f{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class h{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){var t;null!=(t=this.Y)||(this.Y=new Promise(t=>this.Z=t))}resume(){var t;null==(t=this.Z)||t.call(this),this.Y=this.Z=void 0}}var g=n(9019);let b=t=>!(0,p.pt)(t)&&"function"==typeof t.then,_=0x3fffffff;class v extends u.sR{constructor(){super(...arguments),this._$C_t=_,this._$Cwt=[],this._$Cq=new f(this),this._$CK=new h}render(...t){var e;return null!=(e=t.find(t=>!b(t)))?e:m.Jb}update(t,e){let n=this._$Cwt,i=n.length;this._$Cwt=e;let r=this._$Cq,o=this._$CK;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$C_t);t++){let a=e[t];if(!b(a))return this._$C_t=t,a;t<i&&a===n[t]||(this._$C_t=_,i=0,Promise.resolve(a).then(async t=>{for(;o.get();)await o.get();let e=r.deref();if(void 0!==e){let n=e._$Cwt.indexOf(a);n>-1&&n<e._$C_t&&(e._$C_t=n,e.setValue(t))}}))}return m.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}let y=(0,g.XM)(v);var x=function(t,e){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function w(t,e){function n(){this.constructor=t}x(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var k=function(){return(k=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},E=n(1872),A=n(9364),C=n(2584),T=function(t,e){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function I(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var S=function(){return(S=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},O=n(4327),L={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},R=function(t){function e(n){var i=t.call(this,S(S({},e.defaultAdapter),n))||this;return i.shakeAnimationEndHandler_=function(){return i.handleShakeAnimationEnd_()},i}return I(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return L},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(t){var n=e.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.float=function(t){var n=e.cssClasses,i=n.LABEL_FLOAT_ABOVE,r=n.LABEL_SHAKE;t?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(r))},e.prototype.setRequired=function(t){var n=e.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleShakeAnimationEnd_=function(){var t=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},e}(O.K),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I(e,t),e.attachTo=function(t){return new e(t)},e.prototype.shake=function(t){this.foundation.shake(t)},e.prototype.float=function(t){this.foundation.float(t)},e.prototype.setRequired=function(t){this.foundation.setRequired(t)},e.prototype.getWidth=function(){return this.foundation.getWidth()},e.prototype.getDefaultFoundation=function(){var t=this;return new R({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},getWidth:function(){return(0,C.FL)(t.root)},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)}})},e}(E.B),D=function(t,e){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function z(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var P=function(){return(P=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},$={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},M=function(t){function e(n){var i=t.call(this,P(P({},e.defaultAdapter),n))||this;return i.transitionEndHandler_=function(t){return i.handleTransitionEnd(t)},i}return z(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return $},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler_)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler_)},e.prototype.activate=function(){this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass($.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass($.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass($.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass($.LINE_RIPPLE_ACTIVE),this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING))},e}(O.K),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return z(e,t),e.attachTo=function(t){return new e(t)},e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.setRippleCenter=function(t){this.foundation.setRippleCenter(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new M({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setStyle:function(e,n){return t.root.style.setProperty(e,n)},registerEventHandler:function(e,n){return t.listen(e,n)},deregisterEventHandler:function(e,n){return t.unlisten(e,n)}})},e}(E.B),B=function(t,e){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function U(t,e){function n(){this.constructor=t}B(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var H=function(){return(H=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},j={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},V={NOTCH_ELEMENT_PADDING:8},X={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"},Y=function(t){function e(n){return t.call(this,H(H({},e.defaultAdapter),n))||this}return U(e,t),Object.defineProperty(e,"strings",{get:function(){return j},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return X},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return V},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!0,configurable:!0}),e.prototype.notch=function(t){var n=e.cssClasses.OUTLINE_NOTCHED;t>0&&(t+=V.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(t),this.adapter.addClass(n)},e.prototype.closeNotch=function(){var t=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(t),this.adapter.removeNotchWidthProperty()},e}(O.K),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return U(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.notchElement_=this.root.querySelector(j.NOTCH_ELEMENT_SELECTOR);var t=this.root.querySelector("."+R.cssClasses.ROOT);t?(t.style.transitionDuration="0s",this.root.classList.add(X.OUTLINE_UPGRADED),requestAnimationFrame(function(){t.style.transitionDuration=""})):this.root.classList.add(X.NO_LABEL)},e.prototype.notch=function(t){this.foundation.notch(t)},e.prototype.closeNotch=function(){this.foundation.closeNotch()},e.prototype.getDefaultFoundation=function(){var t=this;return new Y({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNotchWidthProperty:function(e){return t.notchElement_.style.setProperty("width",e+"px")},removeNotchWidthProperty:function(){return t.notchElement_.style.removeProperty("width")}})},e}(E.B),G=n(6645),q=n(1883),W={ROOT:"mdc-text-field-character-counter"},J={ROOT_SELECTOR:"."+W.ROOT},Q=function(t){function e(n){return t.call(this,k(k({},e.defaultAdapter),n))||this}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return W},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return J},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.setCounterValue=function(t,e){t=Math.min(t,e),this.adapter.setContent(t+" / "+e)},e}(O.K),Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new Q({setContent:function(e){t.root.textContent=e}})},e}(E.B),tt={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},te={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"},tn={LABEL_SCALE:.75},ti=["pattern","min","max","required","step","minlength","maxlength"],tr=["color","date","datetime-local","month","range","time","week"],to=["mousedown","touchstart"],ta=["click","keydown"],tl=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,k(k({},e.defaultAdapter),n))||this;return r.isFocused_=!1,r.receivedUserInput_=!1,r.isValid_=!0,r.useNativeValidation_=!0,r.validateOnValueChange_=!0,r.helperText_=i.helperText,r.characterCounter_=i.characterCounter,r.leadingIcon_=i.leadingIcon,r.trailingIcon_=i.trailingIcon,r.inputFocusHandler_=function(){return r.activateFocus()},r.inputBlurHandler_=function(){return r.deactivateFocus()},r.inputInputHandler_=function(){return r.handleInput()},r.setPointerXOffset_=function(t){return r.setTransformOrigin(t)},r.textFieldInteractionHandler_=function(){return r.handleTextFieldInteraction()},r.validationAttributeChangeHandler_=function(t){return r.handleValidationAttributeChange(t)},r}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return te},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return tt},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return tn},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat_",{get:function(){var t=this.getNativeInput_().type;return tr.indexOf(t)>=0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||this.isBadInput_()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.adapter.hasLabel()&&this.getNativeInput_().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler_():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating_(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler_),to.forEach(function(e){t.adapter.registerInputInteractionHandler(e,t.setPointerXOffset_)}),ta.forEach(function(e){t.adapter.registerTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)}),this.validationObserver_=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},e.prototype.destroy=function(){var t=this;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler_),to.forEach(function(e){t.adapter.deregisterInputInteractionHandler(e,t.setPointerXOffset_)}),ta.forEach(function(e){t.adapter.deregisterTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)}),this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver_)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput_=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some(function(t){return ti.indexOf(t)>-1&&(e.styleValidity_(!0),e.adapter.setLabelRequired(e.getNativeInput_().required),!0)}),t.indexOf("maxlength")>-1&&this.setCharacterCounter_(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*tn.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.helperText_&&(this.helperText_.isPersistent()||!this.helperText_.isValidation()||!this.isValid_)&&this.helperText_.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!(this.isDisabled()||this.adapter.hasOutline())){var e=t.touches,n=e?e[0]:t,i=n.target.getBoundingClientRect(),r=n.clientX-i.left;this.adapter.setLineRippleTransformOrigin(r)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity_(t),this.styleFocused_(this.isFocused_),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},e.prototype.getValue=function(){return this.getNativeInput_().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput_().value=t),this.setCharacterCounter_(t.length),this.validateOnValueChange_){var e=this.isValid();this.styleValidity_(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.validateOnValueChange_&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},e.prototype.setValid=function(t){this.isValid_=t,this.styleValidity_(t);var e=!t&&!this.isFocused_&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange_=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange_},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation_=t},e.prototype.isDisabled=function(){return this.getNativeInput_().disabled},e.prototype.setDisabled=function(t){this.getNativeInput_().disabled=t,this.styleDisabled_(t)},e.prototype.setHelperTextContent=function(t){this.helperText_&&this.helperText_.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon_&&this.leadingIcon_.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon_&&this.trailingIcon_.setContent(t)},e.prototype.setCharacterCounter_=function(t){if(this.characterCounter_){var e=this.getNativeInput_().maxLength;if(-1===e)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(t,e)}},e.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},e.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},e.prototype.styleValidity_=function(t){var n=e.cssClasses.INVALID;if(t?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText_){if(this.helperText_.setValidity(t),!this.helperText_.isValidation())return;var i=this.helperText_.isVisible(),r=this.helperText_.getId();i&&r?this.adapter.setInputAttr(tt.ARIA_DESCRIBEDBY,r):this.adapter.removeInputAttr(tt.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused_=function(t){var n=e.cssClasses.FOCUSED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.styleDisabled_=function(t){var n=e.cssClasses,i=n.DISABLED,r=n.INVALID;t?(this.adapter.addClass(i),this.adapter.removeClass(r)):this.adapter.removeClass(i),this.leadingIcon_&&this.leadingIcon_.setDisabled(t),this.trailingIcon_&&this.trailingIcon_.setDisabled(t)},e.prototype.styleFloating_=function(t){var n=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.getNativeInput_=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(O.K),tc={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},td={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+tc.ROOT},ts=function(t){function e(n){return t.call(this,k(k({},e.defaultAdapter),n))||this}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return tc},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return td},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(td.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.isPersistent=function(){return this.adapter.hasClass(tc.HELPER_TEXT_PERSISTENT)},e.prototype.setPersistent=function(t){t?this.adapter.addClass(tc.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(tc.HELPER_TEXT_PERSISTENT)},e.prototype.isValidation=function(){return this.adapter.hasClass(tc.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidation=function(t){t?this.adapter.addClass(tc.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(tc.HELPER_TEXT_VALIDATION_MSG)},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(td.ARIA_HIDDEN)},e.prototype.setValidity=function(t){var e=this.adapter.hasClass(tc.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(tc.HELPER_TEXT_VALIDATION_MSG)&&!t;n?(this.showToScreenReader(),this.adapter.setAttr(td.ROLE,"alert")):this.adapter.removeAttr(td.ROLE),e||n||this.hide_()},e.prototype.hide_=function(){this.adapter.setAttr(td.ARIA_HIDDEN,"true")},e}(O.K),tm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new ts({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(E.B),tp={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},tu={ROOT:"mdc-text-field__icon"},tf=["click","keydown"],th=function(t){function e(n){var i=t.call(this,k(k({},e.defaultAdapter),n))||this;return i.savedTabIndex_=null,i.interactionHandler_=function(t){return i.handleInteraction(t)},i}return w(e,t),Object.defineProperty(e,"strings",{get:function(){return tp},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return tu},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),tf.forEach(function(e){t.adapter.registerInteractionHandler(e,t.interactionHandler_)})},e.prototype.destroy=function(){var t=this;tf.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.interactionHandler_)})},e.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",tp.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&(t.preventDefault(),this.adapter.notifyIconAction())},e}(O.K),tg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this,e={getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(th.strings.ICON_EVENT,{},!0)}};return new th(e)},e}(E.B),tb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,o,a){void 0===t&&(t=function(t,e){return new G.F(t,e)}),void 0===e&&(e=function(t){return new F(t)}),void 0===n&&(n=function(t){return new tm(t)}),void 0===i&&(i=function(t){return new Z(t)}),void 0===r&&(r=function(t){return new tg(t)}),void 0===o&&(o=function(t){return new N(t)}),void 0===a&&(a=function(t){return new K(t)}),this.input_=this.root.querySelector(tt.INPUT_SELECTOR);var l=this.root.querySelector(tt.LABEL_SELECTOR);this.label_=l?o(l):null;var c=this.root.querySelector(tt.LINE_RIPPLE_SELECTOR);this.lineRipple_=c?e(c):null;var d=this.root.querySelector(tt.OUTLINE_SELECTOR);this.outline_=d?a(d):null;var s=ts.strings,m=this.root.nextElementSibling,p=m&&m.classList.contains(te.HELPER_LINE),u=p&&m&&m.querySelector(s.ROOT_SELECTOR);this.helperText_=u?n(u):null;var f=Q.strings,h=this.root.querySelector(f.ROOT_SELECTOR);!h&&p&&m&&(h=m.querySelector(f.ROOT_SELECTOR)),this.characterCounter_=h?i(h):null;var g=this.root.querySelector(tt.LEADING_ICON_SELECTOR);this.leadingIcon_=g?r(g):null;var b=this.root.querySelector(tt.TRAILING_ICON_SELECTOR);this.trailingIcon_=b?r(b):null,this.prefix_=this.root.querySelector(tt.PREFIX_SELECTOR),this.suffix_=this.root.querySelector(tt.SUFFIX_SELECTOR),this.ripple=this.createRipple_(t)},e.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple_&&this.lineRipple_.destroy(),this.helperText_&&this.helperText_.destroy(),this.characterCounter_&&this.characterCounter_.destroy(),this.leadingIcon_&&this.leadingIcon_.destroy(),this.trailingIcon_&&this.trailingIcon_.destroy(),this.label_&&this.label_.destroy(),this.outline_&&this.outline_.destroy(),t.prototype.destroy.call(this)},e.prototype.initialSyncWithDOM=function(){this.disabled=this.input_.disabled},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.input_.required},set:function(t){this.input_.required=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this.input_.pattern},set:function(t){this.input_.pattern=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLength",{get:function(){return this.input_.minLength},set:function(t){this.input_.minLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this.input_.maxLength},set:function(t){t<0?this.input_.removeAttribute("maxLength"):this.input_.maxLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.input_.min},set:function(t){this.input_.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.input_.max},set:function(t){this.input_.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this.input_.step},set:function(t){this.input_.step=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconAriaLabel",{set:function(t){this.foundation.setTrailingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconContent",{set:function(t){this.foundation.setTrailingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useNativeValidation",{set:function(t){this.foundation.setUseNativeValidation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"prefixText",{get:function(){return this.prefix_?this.prefix_.textContent:null},set:function(t){this.prefix_&&(this.prefix_.textContent=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suffixText",{get:function(){return this.suffix_?this.suffix_.textContent:null},set:function(t){this.suffix_&&(this.suffix_.textContent=t)},enumerable:!0,configurable:!0}),e.prototype.focus=function(){this.input_.focus()},e.prototype.layout=function(){var t=this.foundation.shouldFloat;this.foundation.notchOutline(t)},e.prototype.getDefaultFoundation=function(){return new tl(k(k(k(k(k({},this.getRootAdapterMethods_()),this.getInputAdapterMethods_()),this.getLabelAdapterMethods_()),this.getLineRippleAdapterMethods_()),this.getOutlineAdapterMethods_()),this.getFoundationMap_())},e.prototype.getRootAdapterMethods_=function(){var t=this;return{addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},registerTextFieldInteractionHandler:function(e,n){t.listen(e,n)},deregisterTextFieldInteractionHandler:function(e,n){t.unlisten(e,n)},registerValidationAttributeChangeHandler:function(e){var n=function(t){return t.map(function(t){return t.attributeName}).filter(function(t){return t})},i=new MutationObserver(function(t){return e(n(t))}),r={attributes:!0};return i.observe(t.input_,r),i},deregisterValidationAttributeChangeHandler:function(t){t.disconnect()}}},e.prototype.getInputAdapterMethods_=function(){var t=this;return{getNativeInput:function(){return t.input_},setInputAttr:function(e,n){t.input_.setAttribute(e,n)},removeInputAttr:function(e){t.input_.removeAttribute(e)},isFocused:function(){return document.activeElement===t.input_},registerInputInteractionHandler:function(e,n){t.input_.addEventListener(e,n,(0,A.K)())},deregisterInputInteractionHandler:function(e,n){t.input_.removeEventListener(e,n,(0,A.K)())}}},e.prototype.getLabelAdapterMethods_=function(){var t=this;return{floatLabel:function(e){return t.label_&&t.label_.float(e)},getLabelWidth:function(){return t.label_?t.label_.getWidth():0},hasLabel:function(){return!!t.label_},shakeLabel:function(e){return t.label_&&t.label_.shake(e)},setLabelRequired:function(e){return t.label_&&t.label_.setRequired(e)}}},e.prototype.getLineRippleAdapterMethods_=function(){var t=this;return{activateLineRipple:function(){t.lineRipple_&&t.lineRipple_.activate()},deactivateLineRipple:function(){t.lineRipple_&&t.lineRipple_.deactivate()},setLineRippleTransformOrigin:function(e){t.lineRipple_&&t.lineRipple_.setRippleCenter(e)}}},e.prototype.getOutlineAdapterMethods_=function(){var t=this;return{closeOutline:function(){return t.outline_&&t.outline_.closeNotch()},hasOutline:function(){return!!t.outline_},notchOutline:function(e){return t.outline_&&t.outline_.notch(e)}}},e.prototype.getFoundationMap_=function(){return{characterCounter:this.characterCounter_?this.characterCounter_.foundationForTextField:void 0,helperText:this.helperText_?this.helperText_.foundationForTextField:void 0,leadingIcon:this.leadingIcon_?this.leadingIcon_.foundationForTextField:void 0,trailingIcon:this.trailingIcon_?this.trailingIcon_.foundationForTextField:void 0}},e.prototype.createRipple_=function(t){var e=this,n=this.root.classList.contains(te.TEXTAREA),i=this.root.classList.contains(te.OUTLINED);if(n||i)return null;var r=k(k({},G.F.createAdapter(this)),{isSurfaceActive:function(){return C.wB(e.input_,":active")},registerInteractionHandler:function(t,n){return e.input_.addEventListener(t,n,(0,A.K)())},deregisterInteractionHandler:function(t,n){return e.input_.removeEventListener(t,n,(0,A.K)())}});return t(this.root,new q.l(r))},e}(E.B),t_=function(t,e){return(t_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tv(t,e){function n(){this.constructor=t}t_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var ty=function(){return(ty=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},tx={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},tw={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function tk(t){return!!t.document&&"function"==typeof t.document.createElement}function tE(t,e){if(tk(t)&&e in tx){var n=t.document.createElement("div"),i=tx[e],r=i.standard,o=i.prefixed;return r in n.style?r:o}return e}function tA(t,e){if(tk(t)&&e in tw){var n=t.document.createElement("div"),i=tw[e],r=i.standard,o=i.prefixed;return i.cssProperty in n.style?r:o}return e}var tC={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},tT={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},tI={ANIM_END_LATCH_MS:250},tS=function(t){function e(n){var i=t.call(this,ty(ty({},e.defaultAdapter),n))||this;return i.currentCheckState_=tT.TRANSITION_STATE_INIT,i.currentAnimationClass_="",i.animEndLatchTimer_=0,i.enableAnimationEndHandler_=!1,i}return tv(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return tC},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return tT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return tI},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter.addClass(tC.UPGRADED)},e.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},e.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(tC.DISABLED):this.adapter.removeClass(tC.DISABLED)},e.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout(function(){t.adapter.removeClass(t.currentAnimationClass_),t.enableAnimationEndHandler_=!1},tI.ANIM_END_LATCH_MS))},e.prototype.handleChange=function(){this.transitionCheckState_()},e.prototype.transitionCheckState_=function(){if(this.adapter.hasNativeControl()){var t=this.currentCheckState_,e=this.determineCheckState_();if(t!==e){this.updateAriaChecked_();var n=tT.TRANSITION_STATE_UNCHECKED,i=tC.SELECTED;e===n?this.adapter.removeClass(i):this.adapter.addClass(i),this.currentAnimationClass_.length>0&&(clearTimeout(this.animEndLatchTimer_),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(t,e),this.currentCheckState_=e,this.adapter.isAttachedToDOM()&&this.currentAnimationClass_.length>0&&(this.adapter.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0)}}},e.prototype.determineCheckState_=function(){var t=tT.TRANSITION_STATE_INDETERMINATE,e=tT.TRANSITION_STATE_CHECKED,n=tT.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?t:this.adapter.isChecked()?e:n},e.prototype.getTransitionAnimationClass_=function(t,n){var i=tT.TRANSITION_STATE_INIT,r=tT.TRANSITION_STATE_CHECKED,o=tT.TRANSITION_STATE_UNCHECKED,a=e.cssClasses,l=a.ANIM_UNCHECKED_CHECKED,c=a.ANIM_UNCHECKED_INDETERMINATE,d=a.ANIM_CHECKED_UNCHECKED,s=a.ANIM_CHECKED_INDETERMINATE,m=a.ANIM_INDETERMINATE_CHECKED,p=a.ANIM_INDETERMINATE_UNCHECKED;switch(t){case i:if(n===o)return"";return n===r?m:p;case o:return n===r?l:c;case r:return n===o?d:s;default:return n===r?m:p}},e.prototype.updateAriaChecked_=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(tT.ARIA_CHECKED_ATTR,tT.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(tT.ARIA_CHECKED_ATTR)},e}(O.K),tO=["checked","indeterminate"],tL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ripple_=e.createRipple_(),e}return tv(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.nativeControl_.checked=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this.nativeControl_.indeterminate},set:function(t){this.nativeControl_.indeterminate=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.nativeControl_.value},set:function(t){this.nativeControl_.value=t},enumerable:!0,configurable:!0}),e.prototype.initialize=function(){var t=tT.DATA_INDETERMINATE_ATTR;this.nativeControl_.indeterminate="true"===this.nativeControl_.getAttribute(t),this.nativeControl_.removeAttribute(t)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleChange_=function(){return t.foundation.handleChange()},this.handleAnimationEnd_=function(){return t.foundation.handleAnimationEnd()},this.nativeControl_.addEventListener("change",this.handleChange_),this.listen(tA(window,"animationend"),this.handleAnimationEnd_),this.installPropertyChangeHooks_()},e.prototype.destroy=function(){this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.handleChange_),this.unlisten(tA(window,"animationend"),this.handleAnimationEnd_),this.uninstallPropertyChangeHooks_(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new tS({addClass:function(e){return t.root.classList.add(e)},forceLayout:function(){return t.root.offsetWidth},hasNativeControl:function(){return!!t.nativeControl_},isAttachedToDOM:function(){return!!t.root.parentNode},isChecked:function(){return t.checked},isIndeterminate:function(){return t.indeterminate},removeClass:function(e){t.root.classList.remove(e)},removeNativeControlAttr:function(e){t.nativeControl_.removeAttribute(e)},setNativeControlAttr:function(e,n){t.nativeControl_.setAttribute(e,n)},setNativeControlDisabled:function(e){t.nativeControl_.disabled=e}})},e.prototype.createRipple_=function(){var t=this,e=ty(ty({},G.F.createAdapter(this)),{deregisterInteractionHandler:function(e,n){return t.nativeControl_.removeEventListener(e,n,(0,A.K)())},isSurfaceActive:function(){return(0,C.wB)(t.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,n){return t.nativeControl_.addEventListener(e,n,(0,A.K)())}});return new G.F(this.root,new q.l(e))},e.prototype.installPropertyChangeHooks_=function(){var t=this,e=this.nativeControl_,n=Object.getPrototypeOf(e);tO.forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);if(tR(r)){var o=r.get,a={configurable:r.configurable,enumerable:r.enumerable,get:o,set:function(n){r.set.call(e,n),t.foundation.handleChange()}};Object.defineProperty(e,i,a)}})},e.prototype.uninstallPropertyChangeHooks_=function(){var t=this.nativeControl_,e=Object.getPrototypeOf(t);tO.forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);tR(i)&&Object.defineProperty(t,n,i)})},Object.defineProperty(e.prototype,"nativeControl_",{get:function(){var t=tT.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw Error("Checkbox component requires a "+t+" element");return e},enumerable:!0,configurable:!0}),e}(E.B);function tR(t){return!!t&&"function"==typeof t.set}var tN=function(t,e){return(tN=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tD(t,e){function n(){this.constructor=t}tN(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var tz=function(){return(tz=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function tP(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function t$(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(tP(arguments[e]));return t}var tM={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"},tF={ARIA_CHECKED_ATTR:"aria-checked",NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"},tB=function(t){function e(n){return t.call(this,tz(tz({},e.defaultAdapter),n))||this}return tD(e,t),Object.defineProperty(e,"strings",{get:function(){return tF},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return tM},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){},setNativeControlAttr:function(){}}},enumerable:!0,configurable:!0}),e.prototype.setChecked=function(t){this.adapter.setNativeControlChecked(t),this.updateAriaChecked_(t),this.updateCheckedStyling_(t)},e.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(tM.DISABLED):this.adapter.removeClass(tM.DISABLED)},e.prototype.handleChange=function(t){var e=t.target;this.updateAriaChecked_(e.checked),this.updateCheckedStyling_(e.checked)},e.prototype.updateCheckedStyling_=function(t){t?this.adapter.addClass(tM.CHECKED):this.adapter.removeClass(tM.CHECKED)},e.prototype.updateAriaChecked_=function(t){this.adapter.setNativeControlAttr(tF.ARIA_CHECKED_ATTR,""+!!t)},e}(O.K),tU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ripple_=e.createRipple_(),e}return tD(e,t),e.attachTo=function(t){return new e(t)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.changeHandler_)},e.prototype.initialSyncWithDOM=function(){var t=this;this.changeHandler_=function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return(e=t.foundation).handleChange.apply(e,t$(n))},this.nativeControl_.addEventListener("change",this.changeHandler_),this.checked=this.checked},e.prototype.getDefaultFoundation=function(){var t=this;return new tB({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNativeControlChecked:function(e){return t.nativeControl_.checked=e},setNativeControlDisabled:function(e){return t.nativeControl_.disabled=e},setNativeControlAttr:function(e,n){return t.nativeControl_.setAttribute(e,n)}})},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.foundation.setChecked(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.createRipple_=function(){var t=this,e=tB.strings.RIPPLE_SURFACE_SELECTOR,n=this.root.querySelector(e),i=tz(tz({},G.F.createAdapter(this)),{addClass:function(t){return n.classList.add(t)},computeBoundingRect:function(){return n.getBoundingClientRect()},deregisterInteractionHandler:function(e,n){t.nativeControl_.removeEventListener(e,n,(0,A.K)())},isSurfaceActive:function(){return(0,C.wB)(t.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,n){t.nativeControl_.addEventListener(e,n,(0,A.K)())},removeClass:function(t){n.classList.remove(t)},updateCssVariable:function(t,e){n.style.setProperty(t,e)}});return new G.F(this.root,new q.l(i))},Object.defineProperty(e.prototype,"nativeControl_",{get:function(){var t=tB.strings.NATIVE_CONTROL_SELECTOR;return this.root.querySelector(t)},enumerable:!0,configurable:!0}),e}(E.B),tH=function(t,e){return(tH=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tj(t,e){function n(){this.constructor=t}tH(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var tV=function(){return(tV=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},tX="mdc-slider--disabled",tY="mdc-slider--discrete",tK="mdc-slider__input",tG="mdc-slider--range",tq="mdc-slider__thumb",tW="mdc-slider__thumb-knob",tJ="mdc-slider__thumb--top",tQ="mdc-slider__thumb--with-indicator",tZ="mdc-slider--tick-marks",t0="mdc-slider__tick-marks",t1="mdc-slider__tick-mark--active",t2="mdc-slider__tick-mark--inactive",t5="mdc-slider__track",t4="mdc-slider__track--active_fill",t3="mdc-slider__value-indicator-text",t7=1,t8=5,t6="aria-valuetext",t9="disabled",et="min",ee="max",en="value",ei="step",er="MDCSlider:change",eo="MDCSlider:input";!function(t){t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE"}(i||(i={})),function(t){t[t.START=1]="START",t[t.END=2]="END"}(r||(r={}));var ea="undefined"!=typeof window,el=function(t){function e(n){var i=t.call(this,tV(tV({},e.defaultAdapter),n))||this;return i.initialStylesRemoved=!1,i.isDisabled=!1,i.isDiscrete=!1,i.step=t7,i.hasTickMarks=!1,i.isRange=!1,i.thumb=null,i.downEventClientX=null,i.startThumbKnobWidth=0,i.endThumbKnobWidth=0,i}return tj(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},getThumbKnobWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(tX),this.isDiscrete=this.adapter.hasClass(tY),this.hasTickMarks=this.adapter.hasClass(tZ),this.isRange=this.adapter.hasClass(tG);var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(et,this.isRange?r.START:r.END),et),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(ee,r.END),ee),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(en,r.END),en),o=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(en,r.START),en):e;this.validateProperties({min:e,max:n,value:i,valueStart:o}),this.min=e,this.max=n,this.value=i,this.valueStart=o,this.valueBeforeDownEvent=i,this.valueStartBeforeDownEvent=o;var a=this.adapter.getInputAttribute(ei,r.END);if(a&&(this.step=this.convertAttributeValueToNumber(a,ei)),this.step<=0)throw Error("MDCSliderFoundation: step must be a positive number. Current step: "+this.step);this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(r.START)},this.inputEndChangeListener=function(){t.handleInputChange(r.END)},this.inputStartFocusListener=function(){t.handleInputFocus(r.START)},this.inputEndFocusListener=function(){t.handleInputFocus(r.END)},this.inputStartBlurListener=function(){t.handleInputBlur(r.START)},this.inputEndBlurListener=function(){t.handleInputBlur(r.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},e.prototype.destroy=function(){this.deregisterEventHandlers()},e.prototype.getMin=function(){return this.min},e.prototype.getMax=function(){return this.max},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart)throw Error("end thumb value ("+t+") must be >= start thumb value ("+this.valueStart+")");this.updateValue(t,r.END)},e.prototype.getValueStart=function(){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");return this.valueStart},e.prototype.setValueStart=function(t){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value)throw Error("start thumb value ("+t+") must be <= end thumb value ("+this.value+")");this.updateValue(t,r.START)},e.prototype.getStep=function(){return this.step},e.prototype.getDisabled=function(){return this.isDisabled},e.prototype.setDisabled=function(t){this.isDisabled=t,t?(this.adapter.addClass(tX),this.isRange&&this.adapter.setInputAttribute(t9,"",r.START),this.adapter.setInputAttribute(t9,"",r.END)):(this.adapter.removeClass(tX),this.isRange&&this.adapter.removeInputAttribute(t9,r.START),this.adapter.removeInputAttribute(t9,r.END))},e.prototype.getIsRange=function(){return this.isRange},e.prototype.layout=function(t){var e=(void 0===t?{}:t).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(r.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(r.END)),e||this.updateUI()},e.prototype.handleResize=function(){this.layout()},e.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var n=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,n),null!==this.thumb&&(this.handleDragStart(t,n,this.thumb),this.isRange&&n>=this.valueStart&&n<=this.value||this.updateValue(n,this.thumb,{emitInputEvent:!0}))}},e.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX,n=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(e),null!==this.thumb){var i=this.mapClientXOnSliderScale(e);n||(this.handleDragStart(t,i,this.thumb),this.adapter.emitDragStartEvent(i,this.thumb)),this.updateValue(i,this.thumb,{emitInputEvent:!0})}}},e.prototype.handleUp=function(){if(!this.isDisabled&&null!==this.thumb){var t=this.thumb===r.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,e=this.thumb===r.START?this.valueStart:this.value;t!==e&&this.adapter.emitChangeEvent(e,this.thumb),this.adapter.emitDragEndEvent(e,this.thumb),this.thumb=null}},e.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(tQ,r.START),this.adapter.addThumbClass(tQ,r.END))},e.prototype.handleThumbMouseleave=function(){this.isDiscrete&&this.isRange&&(this.adapter.isInputFocused(r.START)||this.adapter.isInputFocused(r.END)||(this.adapter.removeThumbClass(tQ,r.START),this.adapter.removeThumbClass(tQ,r.END)))},e.prototype.handleMousedownOrTouchstart=function(t){var e=this,n="mousedown"===t.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(n,this.moveListener);var i=function(){e.handleUp(),e.adapter.deregisterBodyEventHandler(n,e.moveListener),e.adapter.deregisterEventHandler("mouseup",i),e.adapter.deregisterEventHandler("touchend",i)};this.adapter.registerBodyEventHandler("mouseup",i),this.adapter.registerBodyEventHandler("touchend",i),this.handleDown(t)},e.prototype.handlePointerdown=function(t){this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t)},e.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===r.START?this.setValueStart(e):this.setValue(e)},e.prototype.handleInputFocus=function(t){if(this.isDiscrete&&(this.adapter.addThumbClass(tQ,t),this.isRange)){var e=t===r.START?r.END:r.START;this.adapter.addThumbClass(tQ,e)}},e.prototype.handleInputBlur=function(t){if(this.isDiscrete&&(this.adapter.removeThumbClass(tQ,t),this.isRange)){var e=t===r.START?r.END:r.START;this.adapter.removeThumbClass(tQ,e)}},e.prototype.handleDragStart=function(t,e,n){this.adapter.focusInput(n),t.preventDefault(),this.adapter.emitDragStartEvent(e,n)},e.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return r.END;var n=this.adapter.getThumbBoundingClientRect(r.START),i=this.adapter.getThumbBoundingClientRect(r.END),o=t>=n.left&&t<=n.right,a=t>=i.left&&t<=i.right;return o&&a?null:o?r.START:a?r.END:e<this.valueStart?r.START:e>this.value?r.END:null},e.prototype.getThumbFromMoveEvent=function(t){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-t)<t8?this.thumb:t<this.downEventClientX?this.adapter.isRTL()?r.END:r.START:this.adapter.isRTL()?r.START:r.END},e.prototype.updateUI=function(t){this.updateThumbAndInputAttributes(t),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},e.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===r.START?this.valueStart:this.value,n=String(e);this.adapter.setInputAttribute(en,n,t),this.isRange&&t===r.START?this.adapter.setInputAttribute(et,n,r.END):this.isRange&&t===r.END&&this.adapter.setInputAttribute(ee,n,r.START),this.adapter.getInputValue(t)!==n&&this.adapter.setInputValue(n,t);var i=this.adapter.getValueToAriaValueTextFn();i&&this.adapter.setInputAttribute(t6,i(e),t)}},e.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===r.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===r.START?r.START:r.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,r.START)}},e.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,n=(this.max-this.value)/this.step,r=Array.from({length:t}).fill(i.INACTIVE),o=Array.from({length:e}).fill(i.ACTIVE),a=Array.from({length:n}).fill(i.INACTIVE);this.adapter.updateTickMarks(r.concat(o).concat(a))}},e.prototype.mapClientXOnSliderScale=function(t){var e=(t-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(e=1-e);var n=this.min+e*(this.max-this.min);return n===this.max||n===this.min?n:this.quantize(n)},e.prototype.updateValue=function(t,e,n){var i=void 0===n?{}:n,o=i.emitInputEvent,a=i.emitChangeEvent;if(t=this.clampValue(t,e),this.isRange&&e===r.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),o&&this.adapter.emitInputEvent(e===r.START?this.valueStart:this.value,e),a&&this.adapter.emitChangeEvent(e===r.START?this.valueStart:this.value,e)},e.prototype.quantize=function(t){return Math.round(t/this.step)*this.step},e.prototype.clampValue=function(t,e){return(t=Math.min(Math.max(t,this.min),this.max),this.isRange&&e===r.START&&t>this.value)?this.value:this.isRange&&e===r.END&&t<this.valueStart?this.valueStart:t},e.prototype.updateThumbAndTrackUI=function(t){var e=this,n=this,i=n.max,o=n.min,a=(this.value-this.valueStart)/(i-o),l=a*this.rect.width,c=this.adapter.isRTL(),d=ea?tE(window,"transform"):"transform";if(this.isRange){var s=this.adapter.isRTL()?(i-this.value)/(i-o)*this.rect.width:(this.valueStart-o)/(i-o)*this.rect.width,m=s+l;requestAnimationFrame(function(){!c&&t===r.START||c&&t!==r.START?(e.adapter.setTrackActiveStyleProperty("transform-origin","right"),e.adapter.setTrackActiveStyleProperty("left","unset"),e.adapter.setTrackActiveStyleProperty("right",e.rect.width-m+"px")):(e.adapter.setTrackActiveStyleProperty("transform-origin","left"),e.adapter.setTrackActiveStyleProperty("right","unset"),e.adapter.setTrackActiveStyleProperty("left",s+"px")),e.adapter.setTrackActiveStyleProperty(d,"scaleX("+a+")");var n=c?m:s,i=e.adapter.isRTL()?s:m;t!==r.START&&t&&e.initialStylesRemoved||e.adapter.setThumbStyleProperty(d,"translateX("+n+"px)",r.START),t!==r.END&&t&&e.initialStylesRemoved||e.adapter.setThumbStyleProperty(d,"translateX("+i+"px)",r.END),e.removeInitialStyles(c),e.updateOverlappingThumbsUI(n,i,t)})}else requestAnimationFrame(function(){var t=c?e.rect.width-l:l;e.adapter.setThumbStyleProperty(d,"translateX("+t+"px)",r.END),e.adapter.setTrackActiveStyleProperty(d,"scaleX("+a+")"),e.removeInitialStyles(c)})},e.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,r.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,r.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},e.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=ea?tE(window,"transition"):"transition",n="all 0s ease 0s";this.adapter.setThumbStyleProperty(e,n,r.END),this.isRange&&this.adapter.setThumbStyleProperty(e,n,r.START),this.adapter.setTrackActiveStyleProperty(e,n),requestAnimationFrame(function(){t.adapter.removeThumbStyleProperty(e,r.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,r.START)})}},e.prototype.updateOverlappingThumbsUI=function(t,e,n){var i=!1;if(this.adapter.isRTL()){var o=t-this.startThumbKnobWidth/2;i=e+this.endThumbKnobWidth/2>=o}else i=t+this.startThumbKnobWidth/2>=e-this.endThumbKnobWidth/2;i?(this.adapter.addThumbClass(tJ,n||r.END),this.adapter.removeThumbClass(tJ,n===r.START?r.END:r.START)):(this.adapter.removeThumbClass(tJ,r.START),this.adapter.removeThumbClass(tJ,r.END))},e.prototype.convertAttributeValueToNumber=function(t,e){if(null===t)throw Error("MDCSliderFoundation: `"+e+"` must be non-null.");var n=Number(t);if(isNaN(n))throw Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return n},e.prototype.validateProperties=function(t){var e=t.min,n=t.max,i=t.value,r=t.valueStart;if(e>=n)throw Error("MDCSliderFoundation: min must be strictly less than max. "+("Current: [min: "+e+", max: ")+n+"]");if(this.isRange){if(i<e||i>n||r<e||r>n)throw Error("MDCSliderFoundation: values must be in [min, max] range. "+("Current values: [start value: "+r+", end value: ")+i+"]");if(r>i)throw Error("MDCSliderFoundation: start value must be <= end value. "+("Current values: [start value: "+r+", end value: ")+i+"]")}else if(i<e||i>n)throw Error("MDCSliderFoundation: value must be in [min, max] range. Current value: "+i)},e.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(r.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(r.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(r.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(r.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(r.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(r.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(r.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(r.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(r.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(r.END,"blur",this.inputEndBlurListener)},e.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(r.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(r.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(r.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(r.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(r.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(r.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(r.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(r.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(r.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(r.END,"blur",this.inputEndBlurListener)},e.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},e.SUPPORTS_POINTER_EVENTS=ea&&!!window.PointerEvent,e}(O.K),ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.skipInitialUIUpdate=!1,e.valueToAriaValueTextFn=null,e}return tj(e,t),e.attachTo=function(t,n){return void 0===n&&(n={}),new e(t,void 0,n)},e.prototype.getDefaultFoundation=function(){var t=this;return new el({hasClass:function(e){return t.root.classList.contains(e)},addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},addThumbClass:function(e,n){t.getThumbEl(n).classList.add(e)},removeThumbClass:function(e,n){t.getThumbEl(n).classList.remove(e)},getAttribute:function(e){return t.root.getAttribute(e)},getInputValue:function(e){return t.getInput(e).value},setInputValue:function(e,n){t.getInput(n).value=e},getInputAttribute:function(e,n){return t.getInput(n).getAttribute(e)},setInputAttribute:function(e,n,i){t.getInput(i).setAttribute(e,n)},removeInputAttribute:function(e,n){t.getInput(n).removeAttribute(e)},focusInput:function(e){t.getInput(e).focus()},isInputFocused:function(e){return t.getInput(e)===document.activeElement},getThumbKnobWidth:function(e){return t.getThumbEl(e).querySelector("."+tW).getBoundingClientRect().width},getThumbBoundingClientRect:function(e){return t.getThumbEl(e).getBoundingClientRect()},getBoundingClientRect:function(){return t.root.getBoundingClientRect()},isRTL:function(){return"rtl"===getComputedStyle(t.root).direction},setThumbStyleProperty:function(e,n,i){t.getThumbEl(i).style.setProperty(e,n)},removeThumbStyleProperty:function(e,n){t.getThumbEl(n).style.removeProperty(e)},setTrackActiveStyleProperty:function(e,n){t.trackActive.style.setProperty(e,n)},removeTrackActiveStyleProperty:function(e){t.trackActive.style.removeProperty(e)},setValueIndicatorText:function(e,n){t.getThumbEl(n).querySelector("."+t3).textContent=String(e)},getValueToAriaValueTextFn:function(){return t.valueToAriaValueTextFn},updateTickMarks:function(e){var n=t.root.querySelector("."+t0);n||((n=document.createElement("div")).classList.add(t0),t.root.querySelector("."+t5).appendChild(n)),e.length!==n.children.length?(n.innerHTML="",t.addTickMarks(n,e)):t.updateTickMarks(n,e)},setPointerCapture:function(e){t.root.setPointerCapture(e)},emitChangeEvent:function(e,n){t.emit(er,{value:e,thumb:n})},emitInputEvent:function(e,n){t.emit(eo,{value:e,thumb:n})},emitDragStartEvent:function(e,n){t.getRipple(n).activate()},emitDragEndEvent:function(e,n){t.getRipple(n).deactivate()},registerEventHandler:function(e,n){t.listen(e,n)},deregisterEventHandler:function(e,n){t.unlisten(e,n)},registerThumbEventHandler:function(e,n,i){t.getThumbEl(e).addEventListener(n,i)},deregisterThumbEventHandler:function(e,n,i){t.getThumbEl(e).removeEventListener(n,i)},registerInputEventHandler:function(e,n,i){t.getInput(e).addEventListener(n,i)},deregisterInputEventHandler:function(e,n,i){t.getInput(e).removeEventListener(n,i)},registerBodyEventHandler:function(t,e){document.body.addEventListener(t,e)},deregisterBodyEventHandler:function(t,e){document.body.removeEventListener(t,e)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}})},e.prototype.initialize=function(t){var e=(void 0===t?{}:t).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+tK)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+tq)),this.trackActive=this.root.querySelector("."+t4),this.ripples=this.createRipples(),e&&(this.skipInitialUIUpdate=!0)},e.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getValueStart=function(){return this.foundation.getValueStart()},e.prototype.setValueStart=function(t){this.foundation.setValueStart(t)},e.prototype.getValue=function(){return this.foundation.getValue()},e.prototype.setValue=function(t){this.foundation.setValue(t)},e.prototype.getDisabled=function(){return this.foundation.getDisabled()},e.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},e.prototype.setValueToAriaValueTextFn=function(t){this.valueToAriaValueTextFn=t},e.prototype.getThumbEl=function(t){return t===r.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},e.prototype.getInput=function(t){return t===r.END?this.inputs[this.inputs.length-1]:this.inputs[0]},e.prototype.getRipple=function(t){return t===r.END?this.ripples[this.ripples.length-1]:this.ripples[0]},e.prototype.addTickMarks=function(t,e){for(var n=document.createDocumentFragment(),r=0;r<e.length;r++){var o=document.createElement("div"),a=e[r]===i.ACTIVE?t1:t2;o.classList.add(a),n.appendChild(o)}t.appendChild(n)},e.prototype.updateTickMarks=function(t,e){for(var n=Array.from(t.children),r=0;r<n.length;r++)e[r]===i.ACTIVE?(n[r].classList.add(t1),n[r].classList.remove(t2)):(n[r].classList.add(t2),n[r].classList.remove(t1))},e.prototype.createRipples=function(){for(var t=[],e=[].slice.call(this.root.querySelectorAll("."+tq)),n=function(n){var r=e[n],o=i.inputs[n],a=tV(tV({},G.F.createAdapter(i)),{addClass:function(t){r.classList.add(t)},computeBoundingRect:function(){return r.getBoundingClientRect()},deregisterInteractionHandler:function(t,e){o.removeEventListener(t,e)},isSurfaceActive:function(){return(0,C.wB)(o,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){o.addEventListener(t,e)},removeClass:function(t){r.classList.remove(t)},updateCssVariable:function(t,e){r.style.setProperty(t,e)}}),l=new G.F(r,new q.l(a));l.unbounded=!0,t.push(l)},i=this,r=0;r<e.length;r++)n(r);return t},e}(E.B),ed=function(t,e){return(ed=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function es(t,e){function n(){this.constructor=t}ed(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var em=function(){return(em=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},ep=n(1124),eu=n(4266),ef=n(7838),eh={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},eg={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},eb={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},e_=n(9905),ev=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,em(em({},e.defaultAdapter),n))||this;return r.disabled=!1,r.isMenuOpen=!1,r.useDefaultValidation=!0,r.customValidity=!0,r.lastSelectedIndex=eb.UNSET_INDEX,r.clickDebounceTimeout=0,r.recentlyClicked=!1,r.leadingIcon=i.leadingIcon,r.helperText=i.helperText,r}return es(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eh},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return eb},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eg},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return -1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return -1}}},enumerable:!0,configurable:!0}),e.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},e.prototype.setSelectedIndex=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1),t>=this.adapter.getMenuItemCount()||(t===eb.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},e.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==eb.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(eh.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(eh.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},e.prototype.openMenu=function(){this.adapter.addClass(eh.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.layout=function(){if(this.adapter.hasLabel()){var t=this.getValue().length>0,e=this.adapter.hasClass(eh.FOCUSED),n=t||e,i=this.adapter.hasClass(eh.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(i)}},e.prototype.layoutOptions=function(){var t=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(t,!1,!0)},e.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var t=this.getSelectedIndex(),e=t>=0?t:0;this.adapter.focusMenuItemAtIndex(e)}},e.prototype.handleMenuClosed=function(){this.adapter.removeClass(eh.ACTIVATED),this.isMenuOpen=!1,this.adapter.setSelectAnchorAttr("aria-expanded","false"),this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(eh.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(eh.FOCUSED),this.layout(),this.adapter.activateBottomLine()},e.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},e.prototype.handleClick=function(t){if(!this.disabled&&!this.recentlyClicked){if(this.setClickDebounceTimeout(),this.isMenuOpen)return void this.adapter.closeMenu();this.adapter.setRippleCenter(t),this.openMenu()}},e.prototype.handleKeydown=function(t){if(!this.isMenuOpen&&this.adapter.hasClass(eh.FOCUSED)){var e=(0,e_.ku)(t)===e_.Fn.ENTER,n=(0,e_.ku)(t)===e_.Fn.SPACEBAR,i=(0,e_.ku)(t)===e_.Fn.ARROW_UP,r=(0,e_.ku)(t)===e_.Fn.ARROW_DOWN;if(!n&&t.key&&1===t.key.length||n&&this.adapter.isTypeaheadInProgress()){var o=n?" ":t.key,a=this.adapter.typeaheadMatchItem(o,this.getSelectedIndex());a>=0&&this.setSelectedIndex(a),t.preventDefault();return}(e||n||i||r)&&(i&&this.getSelectedIndex()>0?this.setSelectedIndex(this.getSelectedIndex()-1):r&&this.getSelectedIndex()<this.adapter.getMenuItemCount()-1&&this.setSelectedIndex(this.getSelectedIndex()+1),this.openMenu(),t.preventDefault())}},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()){var e=this.adapter.hasClass(eh.FOCUSED);if(t){var n=eb.LABEL_SCALE,i=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(i)}else e||this.adapter.closeOutline()}},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setUseDefaultValidation=function(t){this.useDefaultValidation=t},e.prototype.setValid=function(t){this.useDefaultValidation||(this.customValidity=t),this.adapter.setSelectAnchorAttr("aria-invalid",(!t).toString()),t?(this.adapter.removeClass(eh.INVALID),this.adapter.removeMenuClass(eh.MENU_INVALID)):(this.adapter.addClass(eh.INVALID),this.adapter.addMenuClass(eh.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(eh.REQUIRED)&&!this.adapter.hasClass(eh.DISABLED)?this.getSelectedIndex()!==eb.UNSET_INDEX&&(0!==this.getSelectedIndex()||!!this.getValue()):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(eh.REQUIRED):this.adapter.removeClass(eh.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",t.toString()),this.adapter.setLabelRequired(t)},e.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},e.prototype.init=function(){var t=this.adapter.getAnchorElement();t&&(this.adapter.setMenuAnchorElement(t),this.adapter.setMenuAnchorCorner(ep.Ns.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(eh.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(eh.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(eh.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(eh.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.syncHelperTextValidity=function(t){if(this.helperText){this.helperText.setValidity(t);var e=this.helperText.isVisible(),n=this.helperText.getId();e&&n?this.adapter.setSelectAnchorAttr(eg.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(eg.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout(function(){t.recentlyClicked=!1},eb.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(O.K),ey={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},ex={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},ew=function(t){function e(n){return t.call(this,em(em({},e.defaultAdapter),n))||this}return es(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return ex},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return ey},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(ey.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.setValidation=function(t){t?this.adapter.addClass(ex.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(ex.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidationMsgPersistent=function(t){t?this.adapter.addClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},e.prototype.setValidity=function(t){if(this.adapter.hasClass(ex.HELPER_TEXT_VALIDATION_MSG)){var e=this.adapter.hasClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT),n=!t||e;if(n){this.showToScreenReader(),t?this.adapter.removeAttr(ey.ROLE):this.adapter.setAttr(ey.ROLE,"alert");return}this.adapter.removeAttr(ey.ROLE),this.hide()}},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(ey.ARIA_HIDDEN)},e.prototype.hide=function(){this.adapter.setAttr(ey.ARIA_HIDDEN,"true")},e}(O.K),ek=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new ew({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(E.B),eE={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},eA=["click","keydown"],eC=function(t){function e(n){var i=t.call(this,em(em({},e.defaultAdapter),n))||this;return i.savedTabIndex_=null,i.interactionHandler_=function(t){return i.handleInteraction(t)},i}return es(e,t),Object.defineProperty(e,"strings",{get:function(){return eE},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),eA.forEach(function(e){t.adapter.registerInteractionHandler(e,t.interactionHandler_)})},e.prototype.destroy=function(){var t=this;eA.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.interactionHandler_)})},e.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",eE.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&this.adapter.notifyIconAction()},e}(O.K),eT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this,e={getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(eC.strings.ICON_EVENT,{},!0)}};return new eC(e)},e}(E.B),eI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,o){if(void 0===t&&(t=function(t){return new N(t)}),void 0===e&&(e=function(t){return new F(t)}),void 0===n&&(n=function(t){return new K(t)}),void 0===i&&(i=function(t){return new eu.g(t)}),void 0===r&&(r=function(t){return new eT(t)}),void 0===o&&(o=function(t){return new ek(t)}),this.selectAnchor=this.root.querySelector(eg.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(eg.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(eg.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw Error("MDCSelect: Missing required element: The following selector must be present: '"+eg.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(eg.ARIA_CONTROLS)){var a=document.getElementById(this.selectAnchor.getAttribute(eg.ARIA_CONTROLS));a&&(this.helperText=o(a))}this.menuSetup(i);var l=this.root.querySelector(eg.LABEL_SELECTOR);this.label=l?t(l):null;var c=this.root.querySelector(eg.LINE_RIPPLE_SELECTOR);this.lineRipple=c?e(c):null;var d=this.root.querySelector(eg.OUTLINE_SELECTOR);this.outline=d?n(d):null;var s=this.root.querySelector(eg.LEADING_ICON_SELECTOR);s&&(this.leadingIcon=r(s)),this.root.classList.contains(eh.OUTLINED)||(this.ripple=this.createRipple())},e.prototype.initialSyncWithDOM=function(){var t=this;if(this.handleFocus=function(){t.foundation.handleFocus()},this.handleBlur=function(){t.foundation.handleBlur()},this.handleClick=function(e){t.selectAnchor.focus(),t.foundation.handleClick(t.getNormalizedXCoordinate(e))},this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleMenuItemAction=function(e){t.foundation.handleMenuItemAction(e.detail.index)},this.handleMenuOpened=function(){t.foundation.handleMenuOpened()},this.handleMenuClosed=function(){t.foundation.handleMenuClosed()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(ep.j2.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(ep.j2.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(ef.j2.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value){this.foundation.setValue(this.hiddenInput.value,!0),this.foundation.layout();return}this.hiddenInput.value=this.value}},e.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(ep.j2.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(ep.j2.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(ef.j2.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(t){this.foundation.setDisabled(t),this.hiddenInput&&(this.hiddenInput.disabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultValidation",{set:function(t){this.foundation.setUseDefaultValidation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(t){this.foundation.setRequired(t)},enumerable:!0,configurable:!0}),e.prototype.layout=function(){this.foundation.layout()},e.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(eg.VALUE_ATTR)||""}),this.hiddenInput&&(this.hiddenInput.value=this.value)},e.prototype.getDefaultFoundation=function(){return new ev(em(em(em(em({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods()),this.getFoundationMap())},e.prototype.menuSetup=function(t){this.menuElement=this.root.querySelector(eg.MENU_SELECTOR),this.menu=t(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(eg.VALUE_ATTR)||""})},e.prototype.createRipple=function(){var t=this,e=em(em({},G.F.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(e,n){t.selectAnchor.addEventListener(e,n)},deregisterInteractionHandler:function(e,n){t.selectAnchor.removeEventListener(e,n)}});return new G.F(this.selectAnchor,new q.l(e))},e.prototype.getSelectAdapterMethods=function(){var t=this;return{getMenuItemAttr:function(t,e){return t.getAttribute(e)},setSelectedText:function(e){t.selectedText.textContent=e},isSelectAnchorFocused:function(){return document.activeElement===t.selectAnchor},getSelectAnchorAttr:function(e){return t.selectAnchor.getAttribute(e)},setSelectAnchorAttr:function(e,n){t.selectAnchor.setAttribute(e,n)},removeSelectAnchorAttr:function(e){t.selectAnchor.removeAttribute(e)},addMenuClass:function(e){t.menuElement.classList.add(e)},removeMenuClass:function(e){t.menuElement.classList.remove(e)},openMenu:function(){t.menu.open=!0},closeMenu:function(){t.menu.open=!1},getAnchorElement:function(){return t.root.querySelector(eg.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(e){t.menu.setAnchorElement(e)},setMenuAnchorCorner:function(e){t.menu.setAnchorCorner(e)},setMenuWrapFocus:function(e){t.menu.wrapFocus=e},getSelectedIndex:function(){var e=t.menu.selectedIndex;return e instanceof Array?e[0]:e},setSelectedIndex:function(e){t.menu.selectedIndex=e},focusMenuItemAtIndex:function(e){t.menu.items[e].focus()},getMenuItemCount:function(){return t.menu.items.length},getMenuItemValues:function(){return t.menuItemValues},getMenuItemTextAtIndex:function(e){return t.menu.getPrimaryTextAtIndex(e)},isTypeaheadInProgress:function(){return t.menu.typeaheadInProgress},typeaheadMatchItem:function(e,n){return t.menu.typeaheadMatchItem(e,n)}}},e.prototype.getCommonAdapterMethods=function(){var t=this;return{addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setRippleCenter:function(e){t.lineRipple&&t.lineRipple.setRippleCenter(e)},activateBottomLine:function(){t.lineRipple&&t.lineRipple.activate()},deactivateBottomLine:function(){t.lineRipple&&t.lineRipple.deactivate()},notifyChange:function(e){var n=t.selectedIndex;t.emit(eg.CHANGE_EVENT,{value:e,index:n},!0),t.hiddenInput&&(t.hiddenInput.value=e)}}},e.prototype.getOutlineAdapterMethods=function(){var t=this;return{hasOutline:function(){return!!t.outline},notchOutline:function(e){t.outline&&t.outline.notch(e)},closeOutline:function(){t.outline&&t.outline.closeNotch()}}},e.prototype.getLabelAdapterMethods=function(){var t=this;return{hasLabel:function(){return!!t.label},floatLabel:function(e){t.label&&t.label.float(e)},getLabelWidth:function(){return t.label?t.label.getWidth():0},setLabelRequired:function(e){t.label&&t.label.setRequired(e)}}},e.prototype.getNormalizedXCoordinate=function(t){var e=t.target.getBoundingClientRect();return(this.isTouchEvent(t)?t.touches[0].clientX:t.clientX)-e.left},e.prototype.isTouchEvent=function(t){return!!t.touches},e.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},e}(E.B),eS=n(2326),eO=function(t,e){return(eO=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function eL(t,e){function n(){this.constructor=t}eO(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var eR=function(){return(eR=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},eN={ROOT:"mdc-form-field"},eD={LABEL_SELECTOR:".mdc-form-field > label"},ez=function(t){function e(n){var i=t.call(this,eR(eR({},e.defaultAdapter),n))||this;return i.click=function(){i.handleClick()},i}return eL(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eN},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eD},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame(function(){t.adapter.deactivateInputRipple()})},e}(O.K),eP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return eL(e,t),e.attachTo=function(t){return new e(t)},e.prototype.labelEl=function(){var t=ez.strings.LABEL_SELECTOR;return this.root.querySelector(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new ez({activateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.activate()},deactivateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.deactivate()},deregisterInteractionHandler:function(e,n){var i=t.labelEl();i&&i.removeEventListener(e,n)},registerInteractionHandler:function(e,n){var i=t.labelEl();i&&i.addEventListener(e,n)}})},e}(E.B),e$=function(t,e){return(e$=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function eM(t,e){function n(){this.constructor=t}e$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var eF=function(){return(eF=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},eB={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},eU={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},eH=function(t){function e(n){var i=t.call(this,eF(eF({},e.defaultAdapter),n))||this;return i.hasToggledAriaLabel=!1,i}return eM(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eB},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eU},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this.adapter.getAttr(eU.DATA_ARIA_LABEL_ON),e=this.adapter.getAttr(eU.DATA_ARIA_LABEL_OFF);if(t&&e){if(null!==this.adapter.getAttr(eU.ARIA_PRESSED))throw Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(eU.ARIA_PRESSED,String(this.isOn()))},e.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},e.prototype.isOn=function(){return this.adapter.hasClass(eB.ICON_BUTTON_ON)},e.prototype.toggle=function(t){if(void 0===t&&(t=!this.isOn()),t?this.adapter.addClass(eB.ICON_BUTTON_ON):this.adapter.removeClass(eB.ICON_BUTTON_ON),this.hasToggledAriaLabel){var e=t?this.adapter.getAttr(eU.DATA_ARIA_LABEL_ON):this.adapter.getAttr(eU.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(eU.ARIA_LABEL,e||"")}else this.adapter.setAttr(eU.ARIA_PRESSED,""+t)},e}(O.K),ej=eH.strings,eV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rippleComponent=e.createRipple(),e}return eM(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new eH({addClass:function(e){return t.root.classList.add(e)},hasClass:function(e){return t.root.classList.contains(e)},notifyChange:function(e){t.emit(ej.CHANGE_EVENT,e)},removeClass:function(e){return t.root.classList.remove(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)}})},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(t){this.foundation.toggle(t)},enumerable:!0,configurable:!0}),e.prototype.createRipple=function(){var t=new G.F(this.root);return t.unbounded=!0,t},e}(E.B),eX=n(6801);n(6243);var eY=n(2730),eK=n(9329);n(6117);var eG=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},eq=function(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,l)}c((i=i.apply(t,e||[])).next())})};let eW=n(7444),eJ=n(4202),eQ=n(6584),eZ=n(9224),e0=n(1174),e1=n(8140),e2=n(2611),e5=n(7229),e4=n(1526),e3=n(5816),e7=n(9439),e8=n(332),e6=n(3041),e9=n(6401),nt=n(172),ne=n(3881);class nn extends CustomEvent{constructor(t,e,n){super(nn.NAME,{detail:{value:t,previousValue:e,enterPressed:n},bubbles:!0,composed:!0})}}function ni(t){return t===o.NUMBER||t===o.BIG_INT||t===o.TELEPHONE||t===o.TEXT||t===o.PASSWORD||t===o.DATE||t===o.DATETIME||t===o.EMAIL||t===o.JSON||t===o.JSON_OBJECT||t===o.MONTH||t===o.TEXTAREA||t===o.TIME||t===o.URL||t===o.WEEK}function nr(t){return ni(t)||t===o.SELECT}nn.NAME="or-mwc-input-changed",function(t){t.BUTTON="button",t.BUTTON_TOGGLE="button-toggle",t.BUTTON_MOMENTARY="button-momentary",t.CHECKBOX="checkbox",t.CHECKBOX_LIST="checkbox-list",t.COLOUR="color",t.DATE="date",t.DATETIME="datetime-local",t.EMAIL="email",t.JSON="json",t.JSON_OBJECT="json-object",t.MONTH="month",t.NUMBER="number",t.BIG_INT="big-int",t.PASSWORD="password",t.RADIO="radio",t.SWITCH="switch",t.RANGE="range",t.TELEPHONE="tel",t.TEXT="text",t.TEXTAREA="textarea",t.TIME="time",t.URL="url",t.WEEK="week",t.SELECT="select",t.LIST="list",t.CRON="cron",t.DURATION="duration",t.DURATION_TIME="duration-time",t.DURATION_PERIOD="duration-period"}(o||(o={}));let no=(0,a.iv)`
|
|
631
|
-
|
|
632
|
-
:host {
|
|
633
|
-
display: inline-block;
|
|
634
|
-
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,a.$m)(eX.DefaultColor4)}));
|
|
635
|
-
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,a.$m)(eX.DefaultColor8)}));
|
|
636
|
-
|
|
637
|
-
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
638
|
-
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
639
|
-
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
:host([hidden]) {
|
|
643
|
-
display: none;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
:host([type=select]) {
|
|
647
|
-
height: 56px;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
#wrapper {
|
|
651
|
-
display: flex;
|
|
652
|
-
align-items: center;
|
|
653
|
-
min-height: 48px;
|
|
654
|
-
height: 100%;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
#wrapper > label {
|
|
658
|
-
white-space: nowrap;
|
|
659
|
-
margin-right: 20px;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
#component {
|
|
663
|
-
max-width: 100%;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.mdc-text-field {
|
|
667
|
-
flex: 1 1 0;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
.mdc-list {
|
|
671
|
-
flex: 1;
|
|
672
|
-
overflow: auto;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.mdc-select__anchor {
|
|
676
|
-
max-width: 100%;
|
|
677
|
-
width: 100%;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.mdc-checkbox-list input {
|
|
681
|
-
display: none;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
.mdc-checkbox-list label {
|
|
685
|
-
display: block;
|
|
686
|
-
border-radius: 50%;
|
|
687
|
-
text-align: center;
|
|
688
|
-
width: 32px;
|
|
689
|
-
line-height: 32px;
|
|
690
|
-
height: 32px;
|
|
691
|
-
cursor: pointer;
|
|
692
|
-
background-color: var(--or-app-color2);
|
|
693
|
-
font-size: 13px;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
input::-webkit-calendar-picker-indicator {
|
|
697
|
-
margin: 0;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
.mdc-checkbox-list .mdc-checkbox {
|
|
701
|
-
padding: 0;
|
|
702
|
-
height: 32px;
|
|
703
|
-
width: 32px;
|
|
704
|
-
}
|
|
705
|
-
.mdc-radio-container {
|
|
706
|
-
display: flex;
|
|
707
|
-
flex-direction: column;
|
|
708
|
-
}
|
|
709
|
-
.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {
|
|
710
|
-
color: var(--mdc-theme-error, #b00020)
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.mdc-checkbox-list input:checked + label {
|
|
714
|
-
color: var(--or-app-color2);
|
|
715
|
-
background-color: var(--mdc-theme-primary);
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.mdc-button--rounded,
|
|
719
|
-
.or-mwc-input--rounded {
|
|
720
|
-
border-radius: 24px !important;
|
|
721
|
-
--mdc-shape-small: 32px;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
#select-searchable {
|
|
725
|
-
background-color: transparent;
|
|
726
|
-
border: 1px solid var(--or-app-color5, ${(0,a.$m)(eX.DefaultColor5)});
|
|
727
|
-
margin: 8px;
|
|
728
|
-
width: calc(100% - 16px);
|
|
729
|
-
border-radius: 4px;
|
|
730
|
-
padding: 4px 16px;
|
|
731
|
-
flex: 0 0 auto;
|
|
732
|
-
align-items: center;
|
|
733
|
-
height: auto;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.mdc-text-field__input::-webkit-calendar-picker-indicator {
|
|
737
|
-
display: block;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
::-webkit-clear-button {display: none;}
|
|
741
|
-
::-webkit-inner-spin-button { display: none; }
|
|
742
|
-
::-webkit-datetime-edit { padding: 0em; }
|
|
743
|
-
::-webkit-datetime-edit-text { padding: 0; }
|
|
744
|
-
|
|
745
|
-
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
746
|
-
color: var(--mdc-theme-primary);
|
|
747
|
-
}
|
|
748
|
-
.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-floating-label::after,
|
|
749
|
-
.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {
|
|
750
|
-
color: var(--mdc-theme-primary);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.mdc-text-field__input.resize-vertical {
|
|
754
|
-
resize: vertical;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
.mdc-text-field, .mdc-text-field-helper-line {
|
|
758
|
-
width: 100%;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.mdc-text-field.dense-comfortable, .mdc-select.dense-comfortable {
|
|
762
|
-
height: 48px;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
.mdc-text-field.dense-compact {
|
|
766
|
-
height: 36px;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.mdc-select:not(.mdc-list) {
|
|
770
|
-
white-space: nowrap;
|
|
771
|
-
display: flex;
|
|
772
|
-
flex-direction: column;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {
|
|
776
|
-
color: var(--mdc-theme-primary);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.mdc-select-helper-text {
|
|
780
|
-
white-space: normal;
|
|
781
|
-
color: rgba(0, 0, 0, 0.6);
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
.mdc-icon-button {
|
|
785
|
-
padding: 0;
|
|
786
|
-
color: var(--internal-or-mwc-input-color);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
/* Give slider min width like select etc. */
|
|
790
|
-
.mdc-slider {
|
|
791
|
-
min-width: 200px;
|
|
792
|
-
flex: 1;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
.mdc-switch {
|
|
796
|
-
margin: 0 24px;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.mdc-switch--full-width {
|
|
800
|
-
margin-left: auto;
|
|
801
|
-
}
|
|
802
|
-
.mdc-button--fullwidth {
|
|
803
|
-
width: 100%;
|
|
804
|
-
}
|
|
805
|
-
#field {
|
|
806
|
-
height: 100%;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.mdc-select__menu .mdc-list .mdc-list-item.mdc-list-item--selected or-icon {
|
|
810
|
-
--or-icon-fill: var(--or-app-color4);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
.mdc-menu__searchable {
|
|
814
|
-
overflow: hidden;
|
|
815
|
-
}
|
|
816
|
-
.mdc-menu__searchable.mdc-menu-surface--open {
|
|
817
|
-
display: flex;
|
|
818
|
-
flex-direction: column-reverse;
|
|
819
|
-
}
|
|
820
|
-
.mdc-menu__searchable.mdc-menu-surface--is-open-below {
|
|
821
|
-
flex-direction: column;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/* Prevent mouse events being fired from inside the or-icon shadowDOM */
|
|
825
|
-
.mdc-list-item__graphic > or-icon {
|
|
826
|
-
pointer-events: none;
|
|
827
|
-
}
|
|
828
|
-
`,na=class extends a.oi{constructor(){super(...arguments),this.readonly=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.multiple=!1,this.searchLabel="search",this.compact=!1,this.comfortable=!1,this.raised=!1,this.action=!1,this.unElevated=!1,this.outlined=!1,this.rounded=!1,this.disableSliderNumberInput=!1,this.fullWidth=!1,this.helperPersistent=!1,this.autoValidate=!1,this.charCounter=!1,this.disabled=!1,this.continuous=!1,this.resizeVertical=!1,this.censored=!1,this.advertised=!1,this._selectedIndex=-1,this.isUiValid=!0}static get styles(){return[(0,a.iv)`${(0,a.$m)(eQ)}`,(0,a.iv)`${(0,a.$m)(eW)}`,(0,a.iv)`${(0,a.$m)(eJ)}`,(0,a.iv)`${(0,a.$m)(eZ)}`,(0,a.iv)`${(0,a.$m)(e0)}`,(0,a.iv)`${(0,a.$m)(e1)}`,(0,a.iv)`${(0,a.$m)(e2)}`,(0,a.iv)`${(0,a.$m)(e5)}`,(0,a.iv)`${(0,a.$m)(e4)}`,(0,a.iv)`${(0,a.$m)(e3)}`,(0,a.iv)`${(0,a.$m)(e7)}`,(0,a.iv)`${(0,a.$m)(e8)}`,(0,a.iv)`${(0,a.$m)(e6)}`,(0,a.iv)`${(0,a.$m)(nt)}`,(0,a.iv)`${(0,a.$m)(e9)}`,(0,a.iv)`${(0,a.$m)(ne)}`,no]}get nativeValue(){if(this._mdcComponent)return this._mdcComponent.value}disconnectedCallback(){var t,e;super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0,null==(t=this._menuObserver)||t.disconnect()),this._mdcComponent2&&(this._mdcComponent2.destroy(),this._mdcComponent2=void 0,null==(e=this._menuObserver)||e.disconnect())}shouldUpdate(t){return t.has("indeterminate")&&this._mdcComponent&&this.type===o.CHECKBOX&&(this._mdcComponent.indeterminate=this.indeterminate),t.has("disabled")&&(this._mdcComponent&&(this._mdcComponent.disabled=this.disabled),this.type===o.RANGE&&this._mdcComponent2&&(this._mdcComponent2.disabled=this.disabled)),t.has("readonly")&&(this._mdcComponent&&(this._mdcComponent.readonly=this.readonly),this.type===o.RANGE&&this._mdcComponent2&&(this._mdcComponent2.readonly=this.readonly)),!this.type&&this.value&&(this.value instanceof Date?this.type=o.DATETIME:"boolean"==typeof this.value?this.type=o.CHECKBOX:"number"==typeof this.value?this.type=o.NUMBER:"string"==typeof this.value?this.type=o.TEXT:this.type=o.JSON),!0}focus(){this.type===o.RANGE&&this._mdcComponent2?this._mdcComponent2.focus():this._mdcComponent&&"function"==typeof this._mdcComponent.focus&&this._mdcComponent.focus()}render(){if(this.type){let
|
|
829
|
-
<div class="mdc-radio-container">
|
|
830
|
-
${
|
|
831
|
-
<div id="field" class="mdc-form-field">
|
|
832
|
-
<div class="mdc-radio">
|
|
833
|
-
<input type="radio"
|
|
834
|
-
id="elem-${t}"
|
|
835
|
-
name="${(0,d.o)(this.name)}"
|
|
836
|
-
value="${t}"
|
|
837
|
-
?checked="${this.value&&this.value.includes(t)}"
|
|
838
|
-
?required="${this.required}"
|
|
839
|
-
?disabled="${this.disabled||this.readonly}"
|
|
840
|
-
@change="${e=>this.onValueChange(e.target,t)}"
|
|
841
|
-
class="mdc-radio__native-control"/>
|
|
842
|
-
<div class="mdc-radio__background">
|
|
843
|
-
<div class="mdc-radio__outer-circle"></div>
|
|
844
|
-
<div class="mdc-radio__inner-circle"></div>
|
|
845
|
-
</div>
|
|
846
|
-
<div class="mdc-radio__ripple"></div>
|
|
847
|
-
</div>
|
|
848
|
-
<label for="elem-${t}"><or-translate value="${e}"></or-translate></label>
|
|
849
|
-
</div>
|
|
850
|
-
|
|
851
|
-
`)):""}
|
|
852
|
-
</div>
|
|
853
|
-
`;case o.SWITCH:let
|
|
854
|
-
<span id="wrapper">
|
|
855
|
-
${this.label?(0,a.dy)`<label for="elem" class="${this.disabled?"mdc-switch--disabled":""}">${this.label}</label>`:""}
|
|
856
|
-
<div id="component" class="mdc-switch ${(0,c.$)(
|
|
857
|
-
<div class="mdc-switch__track"></div>
|
|
858
|
-
<div class="mdc-switch__thumb-underlay">
|
|
859
|
-
<div class="mdc-switch__thumb">
|
|
860
|
-
<input type="checkbox" id="elem" class="mdc-switch__native-control"
|
|
861
|
-
?checked="${this.value}"
|
|
862
|
-
?required="${this.required}"
|
|
863
|
-
?disabled="${this.disabled||this.readonly}"
|
|
864
|
-
@change="${t=>this.onValueChange(t.target,t.target.checked)}"
|
|
865
|
-
role="switch">
|
|
866
|
-
</div>
|
|
867
|
-
</div>
|
|
868
|
-
</div>
|
|
869
|
-
</span>
|
|
870
|
-
`;case o.LIST:let
|
|
871
|
-
<div id="component" class="mdc-list mdc-select ${(0,c.$)(
|
|
872
|
-
<ul class="mdc-list">
|
|
873
|
-
${
|
|
874
|
-
</ul>
|
|
875
|
-
</div>
|
|
876
|
-
`;case o.SELECT:let
|
|
877
|
-
<div id="component"
|
|
878
|
-
class="mdc-select ${(0,c.$)(
|
|
879
|
-
@MDCSelect:change="${t=>eq(this,void 0,void 0,function*(){let e=Array.isArray(
|
|
880
|
-
<div class="mdc-select__anchor" role="button"
|
|
881
|
-
aria-haspopup="listbox"
|
|
882
|
-
aria-expanded="false"
|
|
883
|
-
aria-disabled="${""+(this.disabled||this.readonly)}"
|
|
884
|
-
aria-labelledby="label selected-text">
|
|
885
|
-
${!
|
|
886
|
-
${
|
|
887
|
-
<span class="mdc-select__selected-text-container">
|
|
888
|
-
<span id="selected-text" class="mdc-select__selected-text"></span>
|
|
889
|
-
</span>
|
|
890
|
-
<span class="mdc-select__dropdown-icon">
|
|
891
|
-
<svg
|
|
892
|
-
class="mdc-select__dropdown-icon-graphic"
|
|
893
|
-
viewBox="7 10 10 5">
|
|
894
|
-
<polygon
|
|
895
|
-
class="mdc-select__dropdown-icon-inactive"
|
|
896
|
-
stroke="none"
|
|
897
|
-
fill-rule="evenodd"
|
|
898
|
-
points="7 10 12 15 17 10">
|
|
899
|
-
</polygon>
|
|
900
|
-
<polygon
|
|
901
|
-
class="mdc-select__dropdown-icon-active"
|
|
902
|
-
stroke="none"
|
|
903
|
-
fill-rule="evenodd"
|
|
904
|
-
points="7 15 12 10 17 15">
|
|
905
|
-
</polygon>
|
|
906
|
-
</svg>
|
|
907
|
-
</span>
|
|
908
|
-
${!
|
|
909
|
-
</div>
|
|
910
|
-
<div id="mdc-select-menu" class="mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fixed ${void 0!=this.searchProvider?"mdc-menu__searchable":void 0}" @MDCMenuSurface:closed="${
|
|
911
|
-
${(0,s.g)(void 0!=this.searchProvider,()=>(0,a.dy)`
|
|
912
|
-
<label id="select-searchable" class="mdc-text-field mdc-text-field--filled">
|
|
913
|
-
<span class="mdc-floating-label" style="color: rgba(0, 0, 0, 0.6); text-transform: capitalize; visibility: ${this.searchableValue?"hidden":"visible"}" id="my-label-id">
|
|
914
|
-
<or-translate .value="${this.searchLabel}"></or-translate>
|
|
915
|
-
</span>
|
|
916
|
-
<input class="mdc-text-field__input" type="text"
|
|
917
|
-
@keyup="${t=>this.searchableValue=t.target.value}"
|
|
918
|
-
/>
|
|
919
|
-
</label>
|
|
920
|
-
`)}
|
|
921
|
-
${(0,s.g)(Array.isArray(
|
|
922
|
-
</div>
|
|
923
|
-
${
|
|
924
|
-
<p id="component-helper-text" class="mdc-select-helper-text ${(0,c.$)(
|
|
925
|
-
${
|
|
926
|
-
</p>`:""}
|
|
927
|
-
</div>
|
|
928
|
-
`;case o.BUTTON_TOGGLE:return(0,a.dy)`
|
|
929
|
-
<button id="component" class="mdc-icon-button ${this.value?"mdc-icon-button--on":""}"
|
|
930
|
-
?readonly="${this.readonly}"
|
|
931
|
-
?disabled="${this.disabled}"
|
|
932
|
-
@MDCIconButtonToggle:change="${t=>this.onValueChange(void 0,t.detail.isOn)}">
|
|
933
|
-
${this.icon?(0,a.dy)`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
934
|
-
${this.iconOn?(0,a.dy)`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
935
|
-
</button>
|
|
936
|
-
`;case o.BUTTON:case o.BUTTON_MOMENTARY:{let t=this.type===o.BUTTON_MOMENTARY,
|
|
937
|
-
<button id="component" class="${(0,c.$)(
|
|
938
|
-
?readonly="${this.readonly}"
|
|
939
|
-
?disabled="${this.disabled}"
|
|
940
|
-
@click="${
|
|
941
|
-
@mousedown="${e=>
|
|
942
|
-
${!
|
|
943
|
-
${this.icon?(0,a.dy)`<or-icon class="${
|
|
944
|
-
${this.label?(0,a.dy)`<span class="${this.action?"mdc-fab__label":"mdc-button__label"}"><or-translate .value="${this.label}"></or-translate></span>`:""}
|
|
945
|
-
${!
|
|
946
|
-
</button>
|
|
947
|
-
`}case o.CHECKBOX_LIST:Array.isArray(this.value)||(null===this.value||void 0===this.value?this.value=[]:this.value=[this.value]);let
|
|
948
|
-
<div class="mdc-checkbox-list">
|
|
949
|
-
${
|
|
950
|
-
<div id="field" class="mdc-form-field">
|
|
951
|
-
<div id="component" class="mdc-checkbox">
|
|
952
|
-
<input type="checkbox"
|
|
953
|
-
?checked="${this.value&&this.value.includes(t)}"
|
|
954
|
-
?required="${this.required}"
|
|
955
|
-
name="${t}"
|
|
956
|
-
?disabled="${this.disabled||this.readonly}"
|
|
957
|
-
@change="${e=>{let n=this.value;e.target.checked?n.includes(t)||(n=[t,...n]):n=n.filter(e=>e!==t),this.onValueChange(e.target,n)}}"
|
|
958
|
-
class="mdc-checkbox__native-control" id="elem-${t}"/>
|
|
959
|
-
|
|
960
|
-
<label for="elem-${t}"><or-translate value="${e}"></or-translate></label>
|
|
961
|
-
|
|
962
|
-
</div>
|
|
963
|
-
</div>
|
|
964
|
-
|
|
965
|
-
`)):""}
|
|
966
|
-
</div>
|
|
967
|
-
`;case o.CHECKBOX:let
|
|
968
|
-
<div id="field" class="mdc-form-field">
|
|
969
|
-
<div id="component" class="${(0,c.$)(
|
|
970
|
-
<input type="checkbox"
|
|
971
|
-
id="elem"
|
|
972
|
-
data-indeterminate="${this.indeterminate}"
|
|
973
|
-
?checked="${this.value}"
|
|
974
|
-
?required="${this.required}"
|
|
975
|
-
?disabled="${this.disabled||this.readonly}"
|
|
976
|
-
@change="${t=>this.onValueChange(t.target,t.target.checked)}"
|
|
977
|
-
class="mdc-checkbox__native-control" />
|
|
978
|
-
<div class="mdc-checkbox__background">
|
|
979
|
-
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
|
|
980
|
-
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"></path>
|
|
981
|
-
</svg>
|
|
982
|
-
<div class="mdc-checkbox__mixedmark"></div>
|
|
983
|
-
</div>
|
|
984
|
-
<div class="mdc-checkbox__ripple"></div>
|
|
985
|
-
</div>
|
|
986
|
-
<label class="mdc-checkbox-circle" for="elem">${this.label}</label>
|
|
987
|
-
</div>
|
|
988
|
-
`;case o.COLOUR:return(0,a.dy)`
|
|
989
|
-
<div id="component" style="width: 100%; display: inline-flex; align-items: center; padding: 8px 0;">
|
|
990
|
-
<input type="color" id="elem" style="border: none; height: 31px; width: 31px; padding: 1px 3px; min-height: 22px; min-width: 30px;cursor: pointer" value="${this.value}"
|
|
991
|
-
?disabled="${this.disabled||this.readonly}"
|
|
992
|
-
?required="${this.required}"
|
|
993
|
-
@change="${t=>this.onValueChange(t.target,t.target.value)}"
|
|
994
|
-
/>
|
|
995
|
-
<label style="margin-left: 10px; cursor: pointer" for="elem">${this.label}</label>
|
|
996
|
-
</div>
|
|
997
|
-
`;case o.NUMBER:case o.RANGE:case o.DATE:case o.DATETIME:case o.TIME:case o.MONTH:case o.WEEK:case o.EMAIL:case o.PASSWORD:case o.TELEPHONE:case o.URL:case o.TEXT:case o.TEXTAREA:case o.JSON:case o.JSON_OBJECT:{let
|
|
998
|
-
<textarea id="elem" class="mdc-text-field__input ${this.resizeVertical?"resize-vertical":""}" ?required="${this.required}"
|
|
999
|
-
?readonly="${this.readonly}" ?disabled="${this.disabled}" minlength="${(0,d.o)(this.minLength)}"
|
|
1000
|
-
maxlength="${(0,d.o)(this.maxLength)}" rows="${this.rows?this.rows:5}"
|
|
1001
|
-
cols="${(0,d.o)(this.cols)}" aria-label="${(0,d.o)(
|
|
1002
|
-
aria-labelledby="${(0,d.o)(
|
|
1003
|
-
@change="${t=>this.onValueChange(t.target,t.target.value)}">${s[0]?s[0]:""}</textarea>`:(0,a.dy)`
|
|
1004
|
-
<input type="${
|
|
1005
|
-
class="mdc-text-field__input" ?required="${this.required}" ?readonly="${this.readonly}"
|
|
1006
|
-
?disabled="${this.disabled}" min="${(0,d.o)(s[1])}" max="${(0,d.o)(s[2])}"
|
|
1007
|
-
step="${this.step?this.step:"any"}" minlength="${(0,d.o)(this.minLength)}" pattern="${(0,d.o)(this.pattern)}"
|
|
1008
|
-
maxlength="${(0,d.o)(this.maxLength)}" placeholder="${(0,d.o)(this.placeHolder)}"
|
|
1009
|
-
.value="${null!==s[0]&&void 0!==s[0]?s[0]:""}"
|
|
1010
|
-
@keydown="${t=>{("Enter"===t.code||"NumpadEnter"===t.code)&&this.onValueChange(t.target,t.target.value,!0)}}"
|
|
1011
|
-
@blur="${t=>{""===t.target.value&&this.reportValidity()}}"
|
|
1012
|
-
@change="${t=>this.onValueChange(t.target,t.target.value)}" />`,
|
|
1013
|
-
<label id="${
|
|
1014
|
-
${this.icon?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--leading" style="color: ${this.iconColor?"#"+this.iconColor:"unset"}" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
1015
|
-
${
|
|
1016
|
-
${
|
|
1017
|
-
${
|
|
1018
|
-
${
|
|
1019
|
-
${this.type===o.PASSWORD&&!this.censored?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--trailing" aria-hidden="true" icon=${this.advertised?"eye":"eye-off"} style="pointer-events: auto;" @click=${()=>this.advertised=!this.advertised}></or-icon>`:""}
|
|
1020
|
-
${this.iconTrailing?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--trailing" aria-hidden="true" icon="${this.iconTrailing}"></or-icon>`:""}
|
|
1021
|
-
</label>
|
|
1022
|
-
${
|
|
1023
|
-
<div class="mdc-text-field-helper-line">
|
|
1024
|
-
<div class="mdc-text-field-helper-text ${(0,c.$)(
|
|
1025
|
-
${this.charCounter&&!this.readonly?(0,a.dy)`<div class="mdc-text-field-character-counter"></div>`:""}
|
|
1026
|
-
</div>
|
|
1027
|
-
`:""}
|
|
1028
|
-
`}if(this.type===o.RANGE){let
|
|
1029
|
-
<span id="wrapper">
|
|
1030
|
-
${this.label?(0,a.dy)`<label for="component" class="${this.disabled?"mdc-switch--disabled":""}">${this.label}</label>`:""}
|
|
1031
|
-
<div id="component" class="${(0,c.$)(
|
|
1032
|
-
<input id="elem" class="mdc-slider__input" type="range" min="${(0,d.o)(s[1])}" max="${(0,d.o)(s[2])}" value="${s[0]||s[1]||0}" name="slider" step="${this.step||1}" ?readonly="${this.readonly}" ?disabled="${this.disabled}" aria-label="${(0,d.o)(this.label)}" />
|
|
1033
|
-
<div class="mdc-slider__track">
|
|
1034
|
-
<div class="mdc-slider__track--inactive"></div>
|
|
1035
|
-
<div class="mdc-slider__track--active">
|
|
1036
|
-
<div class="mdc-slider__track--active_fill"></div>
|
|
1037
|
-
</div>
|
|
1038
|
-
</div>
|
|
1039
|
-
<div class="mdc-slider__thumb">
|
|
1040
|
-
${!this.continuous?(0,a.dy)`<div class="mdc-slider__value-indicator-container" aria-hidden="true">
|
|
1041
|
-
<div class="mdc-slider__value-indicator">
|
|
1042
|
-
<span class="mdc-slider__value-indicator-text">
|
|
1043
|
-
50
|
|
1044
|
-
</span>
|
|
1045
|
-
</div>
|
|
1046
|
-
</div>`:""}
|
|
1047
|
-
<div class="mdc-slider__thumb-knob"></div>
|
|
1048
|
-
</div>
|
|
1049
|
-
</div>
|
|
1050
|
-
${
|
|
1051
|
-
</span>
|
|
1052
|
-
`}return
|
|
1053
|
-
<span class="mdc-notched-outline">
|
|
1054
|
-
<span class="mdc-notched-outline__leading"></span>
|
|
1055
|
-
${t?(0,a.dy)`
|
|
1056
|
-
<span class="mdc-notched-outline__notch">
|
|
1057
|
-
${t}
|
|
1058
|
-
</span>
|
|
1059
|
-
`:""}
|
|
1060
|
-
<span class="mdc-notched-outline__trailing"></span>
|
|
1061
|
-
</span>
|
|
1062
|
-
`}setCustomValidity(t){this.errorMessage=t;let e=this.shadowRoot.getElementById("elem");e&&e.setCustomValidity&&e.setCustomValidity(null!=t?t:""),this.reportValidity()}checkValidity(){let t=this.shadowRoot.getElementById("elem"),e=!0;return t&&t.validity&&(e=t.validity.valid),e&&(this.type===o.JSON||this.type===o.JSON_OBJECT)&&void 0!==this.value&&null!==this.value&&""===this._mdcComponent.value&&(e=!1),e}reportValidity(){let t=this.checkValidity();return this.isUiValid=t,this._mdcComponent&&(this._mdcComponent.valid=t),t}onValueChange(t,e,n){var i,r;let a,l=this.value;if("undefined"===e&&(l=null,e=void 0),"null"===e&&(l=void 0,e=null),"string"==typeof e)switch(this.type){case o.CHECKBOX:case o.SWITCH:e="on"===e;break;case o.JSON:case o.JSON_OBJECT:case o.NUMBER:case o.RANGE:if(""===e)e=null;else try{e=JSON.parse(e),this.type===o.JSON_OBJECT&&("object"!=typeof e||Array.isArray(e))&&(e=this.value,a=eK.i18next.t("validation.invalidJSON"))}catch(t){e=this.value,a=this.type===o.JSON||this.type==o.JSON_OBJECT?eK.i18next.t("validation.invalidJSON"):eK.i18next.t("validation.invalidNumber")}break;case o.DATETIME:if(""===e)e=null;else try{e=Date.parse(e)}catch(t){e=this.value,a=eK.i18next.t("validation.invalidDate")}}if(this.value=e,this.setCustomValidity(a),this.reportValidity(),this.type!==o.CHECKBOX_LIST&&e!==l&&(this.type===o.RANGE&&(this._mdcComponent.setValue(e),this._mdcComponent2&&(this._mdcComponent2.value=e)),this.dispatchEvent(new nn(this.value,l,n))),void 0!=this.searchProvider&&this.type===o.SELECT){let t=null==(r=null==(i=this.shadowRoot)?void 0:i.getElementById("select-searchable"))?void 0:r.children[1];t&&(this.searchableValue=void 0,t.value="")}this.type!==o.CHECKBOX_LIST||eX.Util.objectsEqual(e,l,!0)||this.dispatchEvent(new nn(e,l,n))}get valid(){let t=this.shadowRoot.getElementById("elem");return!t||!t.checkValidity||t.checkValidity()}get currentValue(){let t=this.shadowRoot.getElementById("elem");if(t&&t.value)return t.value}resolveOptions(t){let e;return t&&t.length>0&&(e=t.map(t=>{if(Array.isArray(t))return t;{let e=""+t;return[t,eK.i18next.t(e,{defaultValue:eX.Util.camelCaseToSentenceCase(e)})]}})),e}getSelectedTextValue(t){let e=this.value,n=Array.isArray(e)?e:null!=e?[e]:void 0;if(!n)return"";let i=t||this.resolveOptions(this.options);return i&&n?n.map(t=>i.find(([e,n],i)=>t===e)).map(t=>t?t[1]:"").join(", "):""}};eG([(0,l.Cb)({type:Boolean})],na.prototype,"focused",void 0),eG([(0,l.Cb)()],na.prototype,"value",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"type",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"name",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"readonly",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"required",void 0),eG([(0,l.Cb)()],na.prototype,"max",void 0),eG([(0,l.Cb)()],na.prototype,"min",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"step",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"checked",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"indeterminate",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"maxLength",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"minLength",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"rows",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"cols",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"multiple",void 0),eG([(0,l.Cb)({type:String,attribute:!0,reflect:!1})],na.prototype,"pattern",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"placeHolder",void 0),eG([(0,l.Cb)({type:Array})],na.prototype,"options",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"autoSelect",void 0),eG([(0,l.Cb)({type:Object})],na.prototype,"searchProvider",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"searchLabel",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"icon",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconColor",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconOn",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconTrailing",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"compact",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"comfortable",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"raised",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"action",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"unElevated",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"outlined",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"rounded",void 0),eG([(0,l.Cb)({type:Object})],na.prototype,"format",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"disableSliderNumberInput",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"fullWidth",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"helperText",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"helperPersistent",void 0),eG([(0,l.Cb)({type:String,attribute:!0})],na.prototype,"validationMessage",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"autoValidate",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"charCounter",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"label",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"disabled",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"continuous",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"resizeVertical",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"censored",void 0),eG([(0,l.Cb)({type:Boolean,reflect:!0})],na.prototype,"advertised",void 0),eG([(0,l.SB)()],na.prototype,"isUiValid",void 0),eG([(0,l.SB)()],na.prototype,"searchableValue",void 0),eG([(0,l.SB)()],na.prototype,"errorMessage",void 0),
|
|
1063
|
-
<div class="mdc-list-group">
|
|
1064
|
-
${t.map(t=>(0,r.dy)`
|
|
1065
|
-
<h3 class="mdc-list-group__subheader">${t.heading}</h3>
|
|
1066
|
-
${t.list}
|
|
1067
|
-
`)}
|
|
1068
|
-
</div>
|
|
1069
|
-
`}function g(t,e,n,o,a){switch(o=o||"listbox",t){case i.RADIO:o="radiogroup";break;case i.MULTI_CHECKBOX:o="group"}return(0,r.dy)`
|
|
1070
|
-
<ul id="list" class="mdc-list${n?" mdc-list--two-line":""}" role="${(0,l.o)(o)}" @MDCList:action="${t=>a&&a(t)}" aria-hidden="true" aria-orientation="vertical" tabindex="-1">
|
|
1071
|
-
${e}
|
|
1072
|
-
</ul>
|
|
1073
|
-
`}function b(t,e,n,o,c,d){let m,p,u;if(null===t)return(0,r.dy)`<li role="separator" class="mdc-list-divider"></li>`;let f=o===i.MULTI_CHECKBOX||o===i.MULTI_TICK,
|
|
1074
|
-
<span class="mdc-list-item__graphic">
|
|
1075
|
-
<or-icon icon="${
|
|
1076
|
-
</span>
|
|
1077
|
-
`),
|
|
1078
|
-
<span class="mdc-list-item__meta" aria-hidden="true">
|
|
1079
|
-
<or-icon icon="${
|
|
1080
|
-
</span>
|
|
1081
|
-
`),o){case i.SELECT:m=
|
|
1082
|
-
<span class="mdc-list-item__graphic">
|
|
1083
|
-
<div class="mdc-radio">
|
|
1084
|
-
<input class="mdc-radio__native-control" id="radio-item-${e+1}" type="radio" value="${
|
|
1085
|
-
<div class="mdc-radio__background">
|
|
1086
|
-
<div class="mdc-radio__outer-circle"></div>
|
|
1087
|
-
<div class="mdc-radio__inner-circle"></div>
|
|
1088
|
-
</div>
|
|
1089
|
-
</div>
|
|
1090
|
-
</span>
|
|
1091
|
-
`;break;case i.MULTI_CHECKBOX:p=
|
|
1092
|
-
<div class="mdc-checkbox">
|
|
1093
|
-
<input type="checkbox" class="mdc-checkbox__native-control" />
|
|
1094
|
-
<div class="mdc-checkbox__background">
|
|
1095
|
-
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
|
|
1096
|
-
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
|
|
1097
|
-
</svg>
|
|
1098
|
-
<div class="mdc-checkbox__mixedmark"></div>
|
|
1099
|
-
</div>
|
|
1100
|
-
</div>
|
|
1101
|
-
`;break;case i.MULTI_TICK:p=
|
|
1102
|
-
<span class="mdc-list-item__text">
|
|
1103
|
-
<span class="mdc-list-item__primary-text">${c&&
|
|
1104
|
-
<span class="mdc-list-item__secondary-text">${c&&
|
|
1105
|
-
</span>
|
|
1106
|
-
`:o===i.RADIO?(0,r.dy)`<label class="mdc-list-item__text" for="radio-item-${e+1}">${c&&
|
|
1107
|
-
<li @click="${e=>{d&&d(e,t)}}" style="${
|
|
1108
|
-
<span class="mdc-list-item__ripple"></span>
|
|
1109
|
-
${
|
|
1110
|
-
${
|
|
1111
|
-
${
|
|
1112
|
-
</li>
|
|
1113
|
-
`}f.NAME="or-mwc-list-changed",function(t){t.PLAIN="PLAIN",t.SELECT="SELECT",t.RADIO="RADIO",t.MULTI_CHECKBOX="MULTI_CHECKBOX",t.MULTI_TICK="MULTI_TICK"}(i||(i={}));let _=(0,r.iv)`
|
|
1114
|
-
:host {
|
|
1115
|
-
white-space: nowrap;
|
|
1116
|
-
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,r.$m)(d.DefaultColor4)}));
|
|
1117
|
-
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,r.$m)(d.DefaultColor8)}));
|
|
1118
|
-
|
|
1119
|
-
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
1120
|
-
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
1121
|
-
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
.mdc-list-item__graphic {
|
|
1125
|
-
margin-right: 16px;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
a {
|
|
1129
|
-
text-decoration: none;
|
|
1130
|
-
color: rgba(0, 0, 0, 0.87);
|
|
1131
|
-
}
|
|
1132
|
-
`,v=class extends r.oi{static get styles(){return[(0,r.iv)`${(0,r.$m)(p)}`,(0,r.iv)`${(0,r.$m)(u)}`,_]}constructor(){super(),this.type=i.SELECT}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}shouldUpdate(t){if(this._mdcComponent&&t.has("values")&&!d.Util.objectsEqual(this.values,t.get("values"))){let t=this.values?Array.isArray(this.values)?this.values:[this.values]:[];this.setSelectedItems(this.values&&this.listItems?this.listItems.filter(e=>e&&(null==t?void 0:t.includes(e.value))):void 0)}return!0}render(){let t=this.listItems?(0,r.dy)`${this.listItems.map((t,e)=>b(t,e,Array.isArray(this.values)?this.values:this.values?[this.values]:[],this.type))}`:(0,r.dy)``,e=this.listItems&&this.listItems.some(t=>t&&!!t.secondaryText);return g(this.type,t,e,void 0,t=>this._onSelected(t))}firstUpdated(t){super.firstUpdated(t),this._mdcElem&&(this._mdcComponent=new c.e(this._mdcElem),(this.type===i.SELECT||this.type===i.RADIO)&&(this._mdcComponent.singleSelection=!0))}get selectedItems(){if(!this._mdcComponent)return[];let t=Array.isArray(this._mdcComponent.selectedIndex)?this._mdcComponent.selectedIndex:[this._mdcComponent.selectedIndex],e=this.listItems?this.listItems.filter(t=>null!==t):[];return t.map(t=>e[t])}setSelectedItems(t){if(!this._mdcComponent||!this.listItems)return;if(!t){this._mdcComponent.selectedIndex=-1;return}let e=(!Array.isArray(t)?[t]:t).map(t=>"string"==typeof t?t:t.value),n=this.listItems.filter(t=>null!==t).reduce((t,n,i)=>(n&&e.includes(n.value)&&t.push(i),t),[]);this._mdcComponent.selectedIndex=this.type===i.MULTI_CHECKBOX?n:n.length>=1?n[0]:-1}_onSelected(t){this.values=this.selectedItems.map(t=>t.value),t.stopPropagation(),this.dispatchEvent(new f(this.selectedItems))}};m([(0,o.Cb)({type:Array})],v.prototype,"listItems",void 0),m([(0,o.Cb)({type:Array})],v.prototype,"values",void 0),m([(0,o.Cb)({type:String,attribute:!0})],v.prototype,"type",void 0),m([(0,o.IO)("#wrapper")],v.prototype,"_wrapperElem",void 0),m([(0,o.IO)("#list")],v.prototype,"_mdcElem",void 0),
|
|
1133
|
-
<span>
|
|
1134
|
-
<span @click="${
|
|
1135
|
-
${e?(0,i.dy)`<or-mwc-menu ?multiselect="${a}" @or-mwc-menu-closed="${()=>{o&&o()}}" @or-mwc-menu-changed="${t=>{r&&r(t.detail)}}" .translateValues="${l}" .values="${n}" .menuItems="${e}" .midHeight="${c}" .fullWidth="${d}" id="${s}" ${(0,m.i)(t=>u=t)}></or-mwc-menu>`:""}
|
|
1136
|
-
</span>
|
|
1137
|
-
`}h.NAME="or-mwc-menu-closed";let _=(0,i.iv)`
|
|
1138
|
-
:host {
|
|
1139
|
-
white-space: nowrap;
|
|
1140
|
-
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,i.$m)(l.DefaultColor4)}));
|
|
1141
|
-
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,i.$m)(l.DefaultColor8)}));
|
|
1142
|
-
|
|
1143
|
-
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
1144
|
-
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
1145
|
-
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
.mdc-list-item__graphic {
|
|
1149
|
-
margin-right: 16px;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
a {
|
|
1153
|
-
text-decoration: none;
|
|
1154
|
-
color: rgba(0, 0, 0, 0.87);
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
.mdc-menu-surface-mid-height {
|
|
1158
|
-
max-height: calc(45vh - 32px) !important;
|
|
1159
|
-
}
|
|
1160
|
-
.mdc-menu-surface-full-width {
|
|
1161
|
-
width: 100%;
|
|
1162
|
-
}
|
|
1163
|
-
`,v=class extends i.oi{static get styles(){return[(0,i.iv)`${(0,i.$m)(c)}`,(0,i.iv)`${(0,i.$m)(u)}`,(0,i.iv)`${(0,i.$m)(d)}`,_]}open(){this._mdcComponent.open=!0}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){if(!this.menuItems||0===this.menuItems.length)return(0,i.dy)``;let t=this.getItemsTemplate(this.menuItems,this.translateValues),e=this.menuItems&&this.menuItems.some(t=>t&&!Array.isArray(t)&&!!t.secondaryText),n={"mdc-menu-surface-mid-height":+!!this.midHeight,"mdc-menu-surface-full-width":+!!this.fullWidth};return(0,i.dy)`
|
|
1164
|
-
<div id="wrapper" class="mdc-menu-surface--anchor">
|
|
1165
|
-
<div class="mdc-menu mdc-menu-surface ${(0,o.$)(n)}" id="menu" @MDCMenuSurface:closed="${this._onMenuClosed}">
|
|
1166
|
-
${(0,s.A6)(s.RH.MULTI_TICK,t,e,"menu")}
|
|
1167
|
-
</div>
|
|
1168
|
-
</div>
|
|
1169
|
-
`}getItemsTemplate(t,e){let n=this.multiSelect?s.RH.MULTI_TICK:s.RH.PLAIN;return(0,i.dy)`
|
|
1170
|
-
${t.map((t,r)=>Array.isArray(t)?(0,i.dy)`
|
|
1171
|
-
<li>
|
|
1172
|
-
<ul class="mdc-menu__selection-group">
|
|
1173
|
-
${this.getItemsTemplate(t,e)}
|
|
1174
|
-
</ul>
|
|
1175
|
-
</li>
|
|
1176
|
-
`:(0,s.aL)(t,r,Array.isArray(this.values)?this.values:this.values?[this.values]:[],n,e,(t,e)=>this._itemClicked(t,e)))}`}firstUpdated(t){super.firstUpdated(t),this._mdcElem&&(this._mdcComponent=new a.g(this._mdcElem),this._mdcComponent.menuSurface_.foundation.handleBodyClick=function(t){let e=t.composedPath()[0];this.adapter.isElementInContainer(e)||this.close()},this._mdcComponent.quickOpen=!0)}updated(t){t.has("visible")&&(this._mdcComponent.open=this.visible||!1)}_onMenuClosed(){this.dispatchEvent(new h)}_itemClicked(t,e){t.stopPropagation();let n=e.value;if(this.multiSelect){Array.isArray(this.values)||(this.values=this.values?[this.values]:[]);let t=this.values.findIndex(t=>t===n);t>=0?this.values.splice(t,1):this.values.push(n),this.requestUpdate()}else this.values=n,this._mdcComponent.open=!1;this.dispatchEvent(new f(this.values))}};p([(0,r.Cb)({type:Array})],v.prototype,"menuItems",void 0),p([(0,r.Cb)({type:Array})],v.prototype,"values",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"multiSelect",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"visible",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"translateValues",void 0),p([(0,r.Cb)({type:Boolean,attribute:!1})],v.prototype,"midHeight",void 0),p([(0,r.Cb)({type:Boolean,attribute:!1})],v.prototype,"fullWidth",void 0),p([(0,r.IO)("#wrapper")],v.prototype,"_wrapperElem",void 0),p([(0,r.IO)("#menu")],v.prototype,"_mdcElem",void 0),v=p([(0,r.Mo)("or-mwc-menu")],v)},6445:function(t,e,n){"use strict";n.d(e,{OV:()=>z});var i=n(7138),r=n(7308),o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function a(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},c=n(1872),d=n(2584),s={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",OPENING:"mdc-snackbar--opening"},m={ACTION_SELECTOR:".mdc-snackbar__action",ARIA_LIVE_LABEL_TEXT_ATTR:"data-mdc-snackbar-label-text",CLOSED_EVENT:"MDCSnackbar:closed",CLOSING_EVENT:"MDCSnackbar:closing",DISMISS_SELECTOR:".mdc-snackbar__dismiss",LABEL_SELECTOR:".mdc-snackbar__label",OPENED_EVENT:"MDCSnackbar:opened",OPENING_EVENT:"MDCSnackbar:opening",REASON_ACTION:"action",REASON_DISMISS:"dismiss",SURFACE_SELECTOR:".mdc-snackbar__surface"},p={DEFAULT_AUTO_DISMISS_TIMEOUT_MS:5e3,INDETERMINATE:-1,MAX_AUTO_DISMISS_TIMEOUT_MS:1e4,MIN_AUTO_DISMISS_TIMEOUT_MS:4e3,SNACKBAR_ANIMATION_CLOSE_TIME_MS:75,SNACKBAR_ANIMATION_OPEN_TIME_MS:150,ARIA_LIVE_DELAY_MS:1e3},u=n(4327),f=s.OPENING,h=s.OPEN,g=s.CLOSING,b=m.REASON_ACTION,_=m.REASON_DISMISS,v=function(t){function e(n){var i=t.call(this,l(l({},e.defaultAdapter),n))||this;return i.isOpen_=!1,i.animationFrame_=0,i.animationTimer_=0,i.autoDismissTimer_=0,i.autoDismissTimeoutMs_=p.DEFAULT_AUTO_DISMISS_TIMEOUT_MS,i.closeOnEscape_=!0,i}return a(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},announce:function(){},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},removeClass:function(){}}},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.clearAutoDismissTimer_(),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=0,this.adapter.removeClass(f),this.adapter.removeClass(h),this.adapter.removeClass(g)},e.prototype.open=function(){var t=this;this.clearAutoDismissTimer_(),this.isOpen_=!0,this.adapter.notifyOpening(),this.adapter.removeClass(g),this.adapter.addClass(f),this.adapter.announce(),this.runNextAnimationFrame_(function(){t.adapter.addClass(h),t.animationTimer_=setTimeout(function(){var e=t.getTimeoutMs();t.handleAnimationTimerEnd_(),t.adapter.notifyOpened(),e!==p.INDETERMINATE&&(t.autoDismissTimer_=setTimeout(function(){t.close(_)},e))},p.SNACKBAR_ANIMATION_OPEN_TIME_MS)})},e.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.isOpen_&&(cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,this.clearAutoDismissTimer_(),this.isOpen_=!1,this.adapter.notifyClosing(t),this.adapter.addClass(s.CLOSING),this.adapter.removeClass(s.OPEN),this.adapter.removeClass(s.OPENING),clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout(function(){e.handleAnimationTimerEnd_(),e.adapter.notifyClosed(t)},p.SNACKBAR_ANIMATION_CLOSE_TIME_MS))},e.prototype.isOpen=function(){return this.isOpen_},e.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs_},e.prototype.setTimeoutMs=function(t){var e=p.MIN_AUTO_DISMISS_TIMEOUT_MS,n=p.MAX_AUTO_DISMISS_TIMEOUT_MS,i=p.INDETERMINATE;if(t===p.INDETERMINATE||t<=n&&t>=e)this.autoDismissTimeoutMs_=t;else throw Error("\n timeoutMs must be an integer in the range "+e+"–"+n+"\n (or "+i+" to disable), but got '"+t+"'")},e.prototype.getCloseOnEscape=function(){return this.closeOnEscape_},e.prototype.setCloseOnEscape=function(t){this.closeOnEscape_=t},e.prototype.handleKeyDown=function(t){("Escape"===t.key||27===t.keyCode)&&this.getCloseOnEscape()&&this.close(_)},e.prototype.handleActionButtonClick=function(t){this.close(b)},e.prototype.handleActionIconClick=function(t){this.close(_)},e.prototype.clearAutoDismissTimer_=function(){clearTimeout(this.autoDismissTimer_),this.autoDismissTimer_=0},e.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter.removeClass(s.OPENING),this.adapter.removeClass(s.CLOSING)},e.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},e}(u.K),y=p.ARIA_LIVE_DELAY_MS,x=m.ARIA_LIVE_LABEL_TEXT_ATTR;function w(t,e){void 0===e&&(e=t);var n=t.getAttribute("aria-live"),i=e.textContent.trim();i&&n&&(t.setAttribute("aria-live","off"),e.textContent="",e.innerHTML='<span style="display: inline-block; width: 0; height: 1px;"> </span>',e.setAttribute(x,i),setTimeout(function(){t.setAttribute("aria-live",n),e.removeAttribute(x),e.textContent=i},y))}var k=m.SURFACE_SELECTOR,E=m.LABEL_SELECTOR,A=m.ACTION_SELECTOR,C=m.DISMISS_SELECTOR,T=m.OPENING_EVENT,I=m.OPENED_EVENT,S=m.CLOSING_EVENT,O=m.CLOSED_EVENT,L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(){return w}),this.announce_=t()},e.prototype.initialSyncWithDOM=function(){var t=this;this.surfaceEl_=this.root.querySelector(k),this.labelEl_=this.root.querySelector(E),this.actionEl_=this.root.querySelector(A),this.handleKeyDown_=function(e){return t.foundation.handleKeyDown(e)},this.handleSurfaceClick_=function(e){var n=e.target;t.isActionButton_(n)?t.foundation.handleActionButtonClick(e):t.isActionIcon_(n)&&t.foundation.handleActionIconClick(e)},this.registerKeyDownHandler_(this.handleKeyDown_),this.registerSurfaceClickHandler_(this.handleSurfaceClick_)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.deregisterKeyDownHandler_(this.handleKeyDown_),this.deregisterSurfaceClickHandler_(this.handleSurfaceClick_)},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new v({addClass:function(e){return t.root.classList.add(e)},announce:function(){return t.announce_(t.labelEl_)},notifyClosed:function(e){return t.emit(O,e?{reason:e}:{})},notifyClosing:function(e){return t.emit(S,e?{reason:e}:{})},notifyOpened:function(){return t.emit(I,{})},notifyOpening:function(){return t.emit(T,{})},removeClass:function(e){return t.root.classList.remove(e)}})},Object.defineProperty(e.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelText",{get:function(){return this.labelEl_.textContent},set:function(t){this.labelEl_.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"actionButtonText",{get:function(){return this.actionEl_.textContent},set:function(t){this.actionEl_.textContent=t},enumerable:!0,configurable:!0}),e.prototype.registerKeyDownHandler_=function(t){this.listen("keydown",t)},e.prototype.deregisterKeyDownHandler_=function(t){this.unlisten("keydown",t)},e.prototype.registerSurfaceClickHandler_=function(t){this.surfaceEl_.addEventListener("click",t)},e.prototype.deregisterSurfaceClickHandler_=function(t){this.surfaceEl_.removeEventListener("click",t)},e.prototype.isActionButton_=function(t){return!!(0,d.oq)(t,A)},e.prototype.isActionIcon_=function(t){return!!(0,d.oq)(t,C)},e}(c.B),R=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a};let N=n(8313);class D extends CustomEvent{constructor(t){super(D.NAME,{detail:t,bubbles:!0,composed:!0})}}function z(t,e,n,i){t||(t=P.DialogHostElement||document.body);let r=new P;return r.text=e,r.buttonText=n,r.buttonAction=i,r.isOpen=!0,r.addEventListener(D.NAME,t=>{t.stopPropagation(),t.detail.opened||window.setTimeout(()=>{r.parentElement&&r.parentElement.removeChild(r)},0)}),t.append(r),r}D.NAME="or-mwc-snackbar-changed";let P=class extends i.oi{constructor(){super(...arguments),this._open=!1}static get styles(){return[(0,i.iv)`${(0,i.$m)(N)}`,(0,i.iv)`
|
|
1177
|
-
`]}get isOpen(){return!!this._mdcComponent&&this._mdcComponent.isOpen}set isOpen(t){this._open=!0}open(){this._mdcElem&&!this._mdcComponent&&(this._mdcComponent=new L(this._mdcElem),this._mdcComponent.timeoutMs=this.timeout||4e3),this._mdcComponent&&this._mdcComponent.open()}close(t){this._mdcComponent&&this._mdcComponent.close(t)}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){return(0,i.dy)`
|
|
1178
|
-
<div id="mdc-snackbar" class="mdc-snackbar" @MDCSnackbar:opened="${()=>this.onOpen()}"
|
|
1179
|
-
@MDCSnackbar:closed="${t=>this.onClose(t.detail.reason)}">
|
|
1180
|
-
<div class="mdc-snackbar__surface" role="status" aria-relevant="additions">
|
|
1181
|
-
<div class="mdc-snackbar__label" aria-atomic="false">
|
|
1182
|
-
<or-translate value="${this.text}"></or-translate>
|
|
1183
|
-
</div>
|
|
1184
|
-
${!this.buttonText?(0,i.dy)``:(0,i.dy)`
|
|
1185
|
-
<div class="mdc-snackbar__actions" aria-atomic="true">
|
|
1186
|
-
<or-mwc-input type="button" class="mdc-button mdc-snackbar__action" label="${this.buttonText}">
|
|
1187
|
-
</or-mwc-input>
|
|
1188
|
-
</div>
|
|
1189
|
-
`}
|
|
1190
|
-
</div>
|
|
1191
|
-
</div>
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("ORTranslate"),require("ORCore"),require("ORModel"),require("ORIcon")):"function"==typeof define&&define.amd?define(["ORTranslate","ORCore","ORModel","ORIcon"],e):"object"==typeof exports?exports.ORAssetTree=e(require("ORTranslate"),require("ORCore"),require("ORModel"),require("ORIcon")):t.ORAssetTree=e(t.ORTranslate,t.ORCore,t.ORModel,t.ORIcon)}(self,(__WEBPACK_EXTERNAL_MODULE__9329__,__WEBPACK_EXTERNAL_MODULE__6801__,__WEBPACK_EXTERNAL_MODULE__4297__,__WEBPACK_EXTERNAL_MODULE__6243__)=>(()=>{var __webpack_modules__={1872:function(t,e,n){"use strict";n.d(e,{B:()=>a});function i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function r(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(i(arguments[e]));return t}var o=n(4327),a=function(){function t(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];this.root=t,this.initialize.apply(this,r(n)),this.foundation=void 0===e?this.getDefaultFoundation():e,this.foundation.init(),this.initialSyncWithDOM()}return t.attachTo=function(e){return new t(e,new o.K({}))},t.prototype.initialize=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},t.prototype.getDefaultFoundation=function(){throw Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},t.prototype.initialSyncWithDOM=function(){},t.prototype.destroy=function(){this.foundation.destroy()},t.prototype.listen=function(t,e,n){this.root.addEventListener(t,e,n)},t.prototype.unlisten=function(t,e,n){this.root.removeEventListener(t,e,n)},t.prototype.emit=function(t,e,n){var i;void 0===n&&(n=!1),"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:n,detail:e}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,n,!1,e),this.root.dispatchEvent(i)},t}()},4327:function(t,e,n){"use strict";n.d(e,{K:()=>i});var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},9364:function(t,e,n){"use strict";function i(t){return void 0===t&&(t=window),!!r(t)&&{passive:!0}}function r(t){void 0===t&&(t=window);var e=!1;try{var n={get passive(){return e=!0,!1}},i=function(){};t.document.addEventListener("test",i,n),t.document.removeEventListener("test",i,n)}catch(t){e=!1}return e}n.d(e,{K:()=>i})},9905:function(t,e,n){"use strict";n.d(e,{Fn:()=>i,ku:()=>y});var i={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape"},r=new Set;r.add(i.BACKSPACE),r.add(i.ENTER),r.add(i.SPACEBAR),r.add(i.PAGE_UP),r.add(i.PAGE_DOWN),r.add(i.END),r.add(i.HOME),r.add(i.ARROW_LEFT),r.add(i.ARROW_UP),r.add(i.ARROW_RIGHT),r.add(i.ARROW_DOWN),r.add(i.DELETE),r.add(i.ESCAPE);var o=8,a=13,l=32,c=33,d=34,s=35,m=36,p=37,u=38,f=39,h=40,g=46,b=27,_=new Map;_.set(o,i.BACKSPACE),_.set(a,i.ENTER),_.set(l,i.SPACEBAR),_.set(c,i.PAGE_UP),_.set(d,i.PAGE_DOWN),_.set(s,i.END),_.set(m,i.HOME),_.set(p,i.ARROW_LEFT),_.set(u,i.ARROW_UP),_.set(f,i.ARROW_RIGHT),_.set(h,i.ARROW_DOWN),_.set(g,i.DELETE),_.set(b,i.ESCAPE);var v=new Set;function y(t){var e=t.key;if(r.has(e))return e;var n=_.get(t.keyCode);return n||i.UNKNOWN}v.add(i.PAGE_UP),v.add(i.PAGE_DOWN),v.add(i.END),v.add(i.HOME),v.add(i.ARROW_LEFT),v.add(i.ARROW_UP),v.add(i.ARROW_RIGHT),v.add(i.ARROW_DOWN)},2584:function(t,e,n){"use strict";function i(t,e){if(t.closest)return t.closest(e);for(var n=t;n;){if(r(n,e))return n;n=n.parentElement}return null}function r(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}function o(t){var e=t;if(null!==e.offsetParent)return e.scrollWidth;var n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var i=n.scrollWidth;return document.documentElement.removeChild(n),i}n.d(e,{FL:()=>o,oq:()=>i,wB:()=>r})},2326:function(t,e,n){"use strict";n.d(e,{e:()=>c});var i=n(2093),r=n(1872),o=n(2584),a=n(3164),l=n(7066),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),Object.defineProperty(e.prototype,"vertical",{set:function(t){this.foundation.setVerticalOrientation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listElements",{get:function(){return[].slice.call(this.root.querySelectorAll("."+a.UX.LIST_ITEM_CLASS))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{set:function(t){this.foundation.setWrapFocus(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.foundation.setHasTypeahead(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.foundation.setSingleSelection(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t)},enumerable:!0,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.handleClick_=this.handleClickEvent_.bind(this),this.handleKeydown_=this.handleKeydownEvent_.bind(this),this.focusInEventListener_=this.handleFocusInEvent_.bind(this),this.focusOutEventListener_=this.handleFocusOutEvent_.bind(this),this.listen("keydown",this.handleKeydown_),this.listen("click",this.handleClick_),this.listen("focusin",this.focusInEventListener_),this.listen("focusout",this.focusOutEventListener_),this.layout(),this.initializeListType()},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown_),this.unlisten("click",this.handleClick_),this.unlisten("focusin",this.focusInEventListener_),this.unlisten("focusout",this.focusOutEventListener_)},e.prototype.layout=function(){var t=this.root.getAttribute(a.j2.ARIA_ORIENTATION);this.vertical=t!==a.j2.ARIA_ORIENTATION_HORIZONTAL,[].slice.call(this.root.querySelectorAll(".mdc-list-item:not([tabindex])")).forEach(function(t){t.setAttribute("tabindex","-1")}),[].slice.call(this.root.querySelectorAll(a.j2.FOCUSABLE_CHILD_ELEMENTS)).forEach(function(t){return t.setAttribute("tabindex","-1")}),this.foundation.layout()},e.prototype.getPrimaryText=function(t){var e=t.querySelector("."+a.UX.LIST_ITEM_PRIMARY_TEXT_CLASS);if(e)return e.textContent||"";var n=t.querySelector("."+a.UX.LIST_ITEM_TEXT_CLASS);return n&&n.textContent||""},e.prototype.initializeListType=function(){var t=this,e=this.root.querySelectorAll(a.j2.ARIA_ROLE_CHECKBOX_SELECTOR),n=this.root.querySelector(a.j2.ARIA_CHECKED_RADIO_SELECTOR);if(e.length){var i=this.root.querySelectorAll(a.j2.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=[].map.call(i,function(e){return t.listElements.indexOf(e)})}else n&&(this.selectedIndex=this.listElements.indexOf(n))},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.typeaheadMatchItem=function(t,e){return this.foundation.typeaheadMatchItem(t,e,!0)},e.prototype.getDefaultFoundation=function(){var t=this,e={addClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.add(n)},focusItemAtIndex:function(e){var n=t.listElements[e];n&&n.focus()},getAttributeForElementIndex:function(e,n){return t.listElements[e].getAttribute(n)},getFocusedElementIndex:function(){return t.listElements.indexOf(document.activeElement)},getListItemCount:function(){return t.listElements.length},getPrimaryTextAtIndex:function(e){return t.getPrimaryText(t.listElements[e])},hasCheckboxAtIndex:function(e){return!!t.listElements[e].querySelector(a.j2.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(e){return!!t.listElements[e].querySelector(a.j2.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(e){return t.listElements[e].querySelector(a.j2.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return t.root!==document.activeElement&&t.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===t.root},listItemAtIndexHasClass:function(e,n){return t.listElements[e].classList.contains(n)},notifyAction:function(e){t.emit(a.j2.ACTION_EVENT,{index:e},!0)},removeClassForElementIndex:function(e,n){var i=t.listElements[e];i&&i.classList.remove(n)},setAttributeForElementIndex:function(e,n,i){var r=t.listElements[e];r&&r.setAttribute(n,i)},setCheckedCheckboxOrRadioAtIndex:function(e,n){var i=t.listElements[e].querySelector(a.j2.CHECKBOX_RADIO_SELECTOR);i.checked=n;var r=document.createEvent("Event");r.initEvent("change",!0,!0),i.dispatchEvent(r)},setTabIndexForListItemChildren:function(e,n){var i=t.listElements[e];[].slice.call(i.querySelectorAll(a.j2.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach(function(t){return t.setAttribute("tabindex",n)})}};return new l.I(e)},e.prototype.getListItemIndex_=function(t){var e=t.target,n=(0,o.oq)(e,"."+a.UX.LIST_ITEM_CLASS+", ."+a.UX.ROOT);return n&&(0,o.wB)(n,"."+a.UX.LIST_ITEM_CLASS)?this.listElements.indexOf(n):-1},e.prototype.handleFocusInEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation.handleFocusIn(t,e)},e.prototype.handleFocusOutEvent_=function(t){var e=this.getListItemIndex_(t);this.foundation.handleFocusOut(t,e)},e.prototype.handleKeydownEvent_=function(t){var e=this.getListItemIndex_(t),n=t.target;this.foundation.handleKeydown(t,n.classList.contains(a.UX.LIST_ITEM_CLASS),e)},e.prototype.handleClickEvent_=function(t){var e=this.getListItemIndex_(t),n=t.target,i=!(0,o.wB)(n,a.j2.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(e,i)},e}(r.B)},3164:function(t,e,n){"use strict";n.d(e,{KT:()=>o,UX:()=>i,j2:()=>r});var i={LIST_ITEM_ACTIVATED_CLASS:"mdc-list-item--activated",LIST_ITEM_CLASS:"mdc-list-item",LIST_ITEM_DISABLED_CLASS:"mdc-list-item--disabled",LIST_ITEM_SELECTED_CLASS:"mdc-list-item--selected",LIST_ITEM_TEXT_CLASS:"mdc-list-item__text",LIST_ITEM_PRIMARY_TEXT_CLASS:"mdc-list-item__primary-text",ROOT:"mdc-list"},r={ACTION_EVENT:"MDCList:action",ARIA_CHECKED:"aria-checked",ARIA_CHECKED_CHECKBOX_SELECTOR:'[role="checkbox"][aria-checked="true"]',ARIA_CHECKED_RADIO_SELECTOR:'[role="radio"][aria-checked="true"]',ARIA_CURRENT:"aria-current",ARIA_DISABLED:"aria-disabled",ARIA_ORIENTATION:"aria-orientation",ARIA_ORIENTATION_HORIZONTAL:"horizontal",ARIA_ROLE_CHECKBOX_SELECTOR:'[role="checkbox"]',ARIA_SELECTED:"aria-selected",CHECKBOX_RADIO_SELECTOR:'input[type="checkbox"], input[type="radio"]',CHECKBOX_SELECTOR:'input[type="checkbox"]',CHILD_ELEMENTS_TO_TOGGLE_TABINDEX:"\n ."+i.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+i.LIST_ITEM_CLASS+" a\n ",FOCUSABLE_CHILD_ELEMENTS:"\n ."+i.LIST_ITEM_CLASS+" button:not(:disabled),\n ."+i.LIST_ITEM_CLASS+" a,\n ."+i.LIST_ITEM_CLASS+' input[type="radio"]:not(:disabled),\n .'+i.LIST_ITEM_CLASS+' input[type="checkbox"]:not(:disabled)\n ',RADIO_SELECTOR:'input[type="radio"]'},o={UNSET_INDEX:-1,TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS:300}},7066:function(t,e,n){"use strict";n.d(e,{I:()=>_});var i=n(2093),r=n(4327),o=n(9905),a=n(3164),l=["input","button","textarea","select"],c=function(t){var e=t.target;if(e){var n=(""+e.tagName).toLowerCase();-1===l.indexOf(n)&&t.preventDefault()}};function d(){return{bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""}}function s(t,e){for(var n=new Map,i=0;i<t;i++){var r=e(i).trim();if(r){var o=r[0].toLowerCase();n.has(o)||n.set(o,[]),n.get(o).push({text:r.toLowerCase(),index:i})}}return n.forEach(function(t){t.sort(function(t,e){return t.index-e.index})}),n}function m(t,e){var n,i=t.nextChar,r=t.focusItemAtIndex,o=t.sortedIndexByFirstChar,l=t.focusedItemIndex,c=t.skipFocus,d=t.isItemAtIndexDisabled;return clearTimeout(e.bufferClearTimeout),e.bufferClearTimeout=setTimeout(function(){h(e)},a.KT.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),e.typeaheadBuffer=e.typeaheadBuffer+i,-1===(n=1===e.typeaheadBuffer.length?p(o,l,d,e):u(o,d,e))||c||r(n),n}function p(t,e,n,i){var r,o=i.typeaheadBuffer[0],a=t.get(o);if(!a)return -1;if(o===i.currentFirstChar&&a[i.sortedIndexCursor].index===e){i.sortedIndexCursor=(i.sortedIndexCursor+1)%a.length;var l=a[i.sortedIndexCursor].index;if(!n(l))return l}i.currentFirstChar=o;var c=-1;for(r=0;r<a.length;r++)if(!n(a[r].index)){c=r;break}for(;r<a.length;r++)if(a[r].index>e&&!n(a[r].index)){c=r;break}return -1!==c?(i.sortedIndexCursor=c,a[i.sortedIndexCursor].index):-1}function u(t,e,n){var i=n.typeaheadBuffer[0],r=t.get(i);if(!r)return -1;var o=r[n.sortedIndexCursor];if(0===o.text.lastIndexOf(n.typeaheadBuffer,0)&&!e(o.index))return o.index;for(var a=(n.sortedIndexCursor+1)%r.length,l=-1;a!==n.sortedIndexCursor;){var c=r[a],d=0===c.text.lastIndexOf(n.typeaheadBuffer,0),s=!e(c.index);if(d&&s){l=a;break}a=(a+1)%r.length}return -1!==l?(n.sortedIndexCursor=l,r[n.sortedIndexCursor].index):-1}function f(t){return t.typeaheadBuffer.length>0}function h(t){t.typeaheadBuffer=""}function g(t,e){var n=t.event,i=t.isTargetListItem,r=t.focusedItemIndex,a=t.focusItemAtIndex,l=t.sortedIndexByFirstChar,d=t.isItemAtIndexDisabled,s="ArrowLeft"===(0,o.ku)(n),p="ArrowUp"===(0,o.ku)(n),u="ArrowRight"===(0,o.ku)(n),h="ArrowDown"===(0,o.ku)(n),g="Home"===(0,o.ku)(n),b="End"===(0,o.ku)(n),_="Enter"===(0,o.ku)(n),v="Spacebar"===(0,o.ku)(n);if(s||p||u||h||g||b||_)return -1;if(!v&&1===n.key.length){c(n);var y={focusItemAtIndex:a,focusedItemIndex:r,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:l,skipFocus:!1,isItemAtIndexDisabled:d};return m(y,e)}if(!v)return -1;if(i&&c(n),i&&f(e)){var y={focusItemAtIndex:a,focusedItemIndex:r,nextChar:" ",sortedIndexByFirstChar:l,skipFocus:!1,isItemAtIndexDisabled:d};return m(y,e)}return -1}function b(t){return t instanceof Array}var _=function(t){function e(n){var r=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),n))||this;return r.wrapFocus_=!1,r.isVertical_=!0,r.isSingleSelectionList_=!1,r.selectedIndex_=a.KT.UNSET_INDEX,r.focusedItemIndex=a.KT.UNSET_INDEX,r.useActivatedClass_=!1,r.useSelectedAttr_=!1,r.ariaCurrentAttrValue_=null,r.isCheckboxList_=!1,r.isRadioList_=!1,r.hasTypeahead=!1,r.typeaheadState=d(),r.sortedIndexByFirstChar=new Map,r}return(0,i.ZT)(e,t),Object.defineProperty(e,"strings",{get:function(){return a.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return a.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return a.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!0,configurable:!0}),e.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList_=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList_=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},e.prototype.setWrapFocus=function(t){this.wrapFocus_=t},e.prototype.setVerticalOrientation=function(t){this.isVertical_=t},e.prototype.setSingleSelection=function(t){this.isSingleSelectionList_=t,t&&this.maybeInitializeSingleSelection()},e.prototype.maybeInitializeSingleSelection=function(){for(var t=0;t<this.adapter.getListItemCount();t++){var e=this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_SELECTED_CLASS),n=this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_ACTIVATED_CLASS);if(e||n){n&&this.setUseActivatedClass(!0),this.isSingleSelectionList_=!0,this.selectedIndex_=t;return}}},e.prototype.setHasTypeahead=function(t){this.hasTypeahead=t,t&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},e.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&f(this.typeaheadState)},e.prototype.setUseActivatedClass=function(t){this.useActivatedClass_=t},e.prototype.setUseSelectedAttribute=function(t){this.useSelectedAttr_=t},e.prototype.getSelectedIndex=function(){return this.selectedIndex_},e.prototype.setSelectedIndex=function(t){this.isIndexValid_(t)&&(this.isCheckboxList_?this.setCheckboxAtIndex_(t):this.isRadioList_?this.setRadioAtIndex_(t):this.setSingleSelectionAtIndex_(t))},e.prototype.handleFocusIn=function(t,e){e>=0&&(this.focusedItemIndex=e,this.adapter.setAttributeForElementIndex(e,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(e,"0"))},e.prototype.handleFocusOut=function(t,e){var n=this;e>=0&&(this.adapter.setAttributeForElementIndex(e,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(e,"-1")),setTimeout(function(){n.adapter.isFocusInsideList()||n.setTabindexToFirstSelectedOrFocusedItem()},0)},e.prototype.handleKeydown=function(t,e,n){var i=this,r="ArrowLeft"===(0,o.ku)(t),l="ArrowUp"===(0,o.ku)(t),d="ArrowRight"===(0,o.ku)(t),s="ArrowDown"===(0,o.ku)(t),m="Home"===(0,o.ku)(t),p="End"===(0,o.ku)(t),u="Enter"===(0,o.ku)(t),f="Spacebar"===(0,o.ku)(t),h="A"===t.key||"a"===t.key;if(this.adapter.isRootFocused()){if(l||p?(t.preventDefault(),this.focusLastElement()):(s||m)&&(t.preventDefault(),this.focusFirstElement()),this.hasTypeahead){var b={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:-1,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}};g(b,this.typeaheadState)}return}var _=this.adapter.getFocusedElementIndex();if(-1!==_||!((_=n)<0)){if(this.isVertical_&&s||!this.isVertical_&&d)c(t),this.focusNextElement(_);else if(this.isVertical_&&l||!this.isVertical_&&r)c(t),this.focusPrevElement(_);else if(m)c(t),this.focusFirstElement();else if(p)c(t),this.focusLastElement();else if(h&&t.ctrlKey&&this.isCheckboxList_)t.preventDefault(),this.toggleAll(this.selectedIndex_===a.KT.UNSET_INDEX?[]:this.selectedIndex_);else if((u||f)&&e){var v=t.target;if(v&&"A"===v.tagName&&u||(c(t),this.adapter.listItemAtIndexHasClass(_,a.UX.LIST_ITEM_DISABLED_CLASS)))return;this.isTypeaheadInProgress()||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(_),this.adapter.notifyAction(_))}if(this.hasTypeahead){var b={event:t,focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}};g(b,this.typeaheadState)}}},e.prototype.handleClick=function(t,e){t!==a.KT.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)||(this.isSelectableList_()&&this.setSelectedIndexOnAction_(t,e),this.adapter.notifyAction(t)))},e.prototype.focusNextElement=function(t){var e=this.adapter.getListItemCount(),n=t+1;if(n>=e)if(!this.wrapFocus_)return t;else n=0;return this.focusItemAtIndex(n),n},e.prototype.focusPrevElement=function(t){var e=t-1;if(e<0)if(!this.wrapFocus_)return t;else e=this.adapter.getListItemCount()-1;return this.focusItemAtIndex(e),e},e.prototype.focusFirstElement=function(){return this.focusItemAtIndex(0),0},e.prototype.focusLastElement=function(){var t=this.adapter.getListItemCount()-1;return this.focusItemAtIndex(t),t},e.prototype.focusInitialElement=function(){var t=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(t),t},e.prototype.setEnabled=function(t,e){this.isIndexValid_(t)&&(e?(this.adapter.removeClassForElementIndex(t,a.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,a.j2.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(t,a.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(t,a.j2.ARIA_DISABLED,"true")))},e.prototype.setSingleSelectionAtIndex_=function(t){if(this.selectedIndex_!==t){var e=a.UX.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass_&&(e=a.UX.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex_,e),this.setAriaForSingleSelectionAtIndex_(t),this.setTabindexAtIndex(t),t!==a.KT.UNSET_INDEX&&this.adapter.addClassForElementIndex(t,e),this.selectedIndex_=t}},e.prototype.setAriaForSingleSelectionAtIndex_=function(t){this.selectedIndex_===a.KT.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(t,a.j2.ARIA_CURRENT));var e=null!==this.ariaCurrentAttrValue_,n=e?a.j2.ARIA_CURRENT:a.j2.ARIA_SELECTED;if(this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,n,"false"),t!==a.KT.UNSET_INDEX){var i=e?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(t,n,i)}},e.prototype.getSelectionAttribute=function(){return this.useSelectedAttr_?a.j2.ARIA_SELECTED:a.j2.ARIA_CHECKED},e.prototype.setRadioAtIndex_=function(t){var e=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(t,!0),this.selectedIndex_!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,e,"false"),this.adapter.setAttributeForElementIndex(t,e,"true"),this.selectedIndex_=t},e.prototype.setCheckboxAtIndex_=function(t){for(var e=this.getSelectionAttribute(),n=0;n<this.adapter.getListItemCount();n++){var i=!1;t.indexOf(n)>=0&&(i=!0),this.adapter.setCheckedCheckboxOrRadioAtIndex(n,i),this.adapter.setAttributeForElementIndex(n,e,i?"true":"false")}this.selectedIndex_=t},e.prototype.setTabindexAtIndex=function(t){this.focusedItemIndex===a.KT.UNSET_INDEX&&0!==t?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex>=0&&this.focusedItemIndex!==t&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex_ instanceof Array||this.selectedIndex_===t||this.adapter.setAttributeForElementIndex(this.selectedIndex_,"tabindex","-1"),t!==a.KT.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(t,"tabindex","0")},e.prototype.isSelectableList_=function(){return this.isSingleSelectionList_||this.isCheckboxList_||this.isRadioList_},e.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var t=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(t)},e.prototype.getFirstSelectedOrFocusedItemIndex=function(){var t=this.focusedItemIndex>=0?this.focusedItemIndex:0;return this.isSelectableList_()&&("number"==typeof this.selectedIndex_&&this.selectedIndex_!==a.KT.UNSET_INDEX?t=this.selectedIndex_:b(this.selectedIndex_)&&this.selectedIndex_.length>0&&(t=this.selectedIndex_.reduce(function(t,e){return Math.min(t,e)}))),t},e.prototype.isIndexValid_=function(t){var e=this;if(t instanceof Array){if(!this.isCheckboxList_)throw Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===t.length||t.some(function(t){return e.isIndexInRange_(t)})}if("number"!=typeof t)return!1;if(this.isCheckboxList_)throw Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+t);return this.isIndexInRange_(t)||this.isSingleSelectionList_&&t===a.KT.UNSET_INDEX},e.prototype.isIndexInRange_=function(t){var e=this.adapter.getListItemCount();return t>=0&&t<e},e.prototype.setSelectedIndexOnAction_=function(t,e){void 0===e&&(e=!0),this.isCheckboxList_?this.toggleCheckboxAtIndex_(t,e):this.setSelectedIndex(t)},e.prototype.toggleCheckboxAtIndex_=function(t,e){var n=this.getSelectionAttribute(),i=this.adapter.isCheckboxCheckedAtIndex(t);e&&(i=!i,this.adapter.setCheckedCheckboxOrRadioAtIndex(t,i)),this.adapter.setAttributeForElementIndex(t,n,i?"true":"false");var r=this.selectedIndex_===a.KT.UNSET_INDEX?[]:this.selectedIndex_.slice();i?r.push(t):r=r.filter(function(e){return e!==t}),this.selectedIndex_=r},e.prototype.focusItemAtIndex=function(t){this.adapter.focusItemAtIndex(t),this.focusedItemIndex=t},e.prototype.toggleAll=function(t){var e=this.adapter.getListItemCount();if(t.length===e)this.setCheckboxAtIndex_([]);else{for(var n=[],i=0;i<e;i++)(!this.adapter.listItemAtIndexHasClass(i,a.UX.LIST_ITEM_DISABLED_CLASS)||t.indexOf(i)>-1)&&n.push(i);this.setCheckboxAtIndex_(n)}},e.prototype.typeaheadMatchItem=function(t,e,n){var i=this;return void 0===n&&(n=!1),m({focusItemAtIndex:function(t){i.focusItemAtIndex(t)},focusedItemIndex:e||this.focusedItemIndex,nextChar:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(t){return i.adapter.listItemAtIndexHasClass(t,a.UX.LIST_ITEM_DISABLED_CLASS)}},this.typeaheadState)},e.prototype.typeaheadInitSortedIndex=function(){return s(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},e.prototype.clearTypeaheadBuffer=function(){h(this.typeaheadState)},e}(r.K)},2093:function(t,e,n){"use strict";n.d(e,{ZT:()=>r,pi:()=>o});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}},1124:function(t,e,n){"use strict";n.d(e,{HX:()=>i,KT:()=>l,Ns:()=>r,UX:()=>o,j2:()=>a});var i,r,o={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},a={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:'button:not(:disabled), [href]:not([aria-disabled="true"]), input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'},l={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(t){t[t.BOTTOM=1]="BOTTOM",t[t.CENTER=2]="CENTER",t[t.RIGHT=4]="RIGHT",t[t.FLIP_RTL=8]="FLIP_RTL"}(i||(i={})),function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=4]="TOP_RIGHT",t[t.BOTTOM_LEFT=1]="BOTTOM_LEFT",t[t.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",t[t.TOP_START=8]="TOP_START",t[t.TOP_END=12]="TOP_END",t[t.BOTTOM_START=9]="BOTTOM_START",t[t.BOTTOM_END=13]="BOTTOM_END"}(r||(r={}))},4266:function(t,e,n){"use strict";n.d(e,{g:()=>k});var i,r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},l=n(1872),c=n(2584),d=n(2326),s=n(3164),m=n(7066),p=function(t,e){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function u(t,e){function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var f=function(){return(f=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function h(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var g=n(1124),b=n(4327),_=function(t){function e(n){var i=t.call(this,f(f({},e.defaultAdapter),n))||this;return i.isSurfaceOpen=!1,i.isQuickOpen=!1,i.isHoistedElement=!1,i.isFixedPosition=!1,i.openAnimationEndTimerId=0,i.closeAnimationEndTimerId=0,i.animationRequestId=0,i.anchorCorner=g.Ns.TOP_START,i.originCorner=g.Ns.TOP_START,i.anchorMargin={top:0,right:0,bottom:0,left:0},i.position={x:0,y:0},i}return u(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return g.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return g.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return g.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"Corner",{get:function(){return g.Ns},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=e.cssClasses,n=t.ROOT,i=t.OPEN;if(!this.adapter.hasClass(n))throw Error(n+" class required in root element.");this.adapter.hasClass(i)&&(this.isSurfaceOpen=!0)},e.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},e.prototype.setAnchorCorner=function(t){this.anchorCorner=t},e.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^g.HX.RIGHT},e.prototype.setAnchorMargin=function(t){this.anchorMargin.top=t.top||0,this.anchorMargin.right=t.right||0,this.anchorMargin.bottom=t.bottom||0,this.anchorMargin.left=t.left||0},e.prototype.setIsHoisted=function(t){this.isHoistedElement=t},e.prototype.setFixedPosition=function(t){this.isFixedPosition=t},e.prototype.setAbsolutePosition=function(t,e){this.position.x=this.isFinite(t)?t:0,this.position.y=this.isFinite(e)?e:0},e.prototype.setQuickOpen=function(t){this.isQuickOpen=t},e.prototype.isOpen=function(){return this.isSurfaceOpen},e.prototype.open=function(){var t=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(e.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(e.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame(function(){t.adapter.addClass(e.cssClasses.OPEN),t.dimensions=t.adapter.getInnerDimensions(),t.autoposition(),t.openAnimationEndTimerId=setTimeout(function(){t.openAnimationEndTimerId=0,t.adapter.removeClass(e.cssClasses.ANIMATING_OPEN),t.adapter.notifyOpen()},g.KT.TRANSITION_OPEN_DURATION)}),this.isSurfaceOpen=!0))},e.prototype.close=function(t){var n=this;void 0===t&&(t=!1),this.isSurfaceOpen&&(this.isQuickOpen?(this.isSurfaceOpen=!1,t||this.maybeRestoreFocus(),this.adapter.removeClass(e.cssClasses.OPEN),this.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),this.adapter.notifyClose()):(this.adapter.addClass(e.cssClasses.ANIMATING_CLOSED),requestAnimationFrame(function(){n.adapter.removeClass(e.cssClasses.OPEN),n.adapter.removeClass(e.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout(function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(e.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()},g.KT.TRANSITION_CLOSE_DURATION)}),this.isSurfaceOpen=!1,t||this.maybeRestoreFocus()))},e.prototype.handleBodyClick=function(t){var e=t.target;this.adapter.isElementInContainer(e)||this.close()},e.prototype.handleKeydown=function(t){var e=t.keyCode;("Escape"===t.key||27===e)&&this.close()},e.prototype.autoposition=function(){this.measurements=this.getAutoLayoutmeasurements();var t,n=this.getoriginCorner(),i=this.getMenuSurfaceMaxHeight(n),r=this.hasBit(n,g.HX.BOTTOM)?"bottom":"top",o=this.hasBit(n,g.HX.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset(n),l=this.getVerticalOriginOffset(n),c=this.measurements,d=c.anchorSize,s=c.surfaceSize,m=((t={})[o]=a,t[r]=l,t);d.width/s.width>g.KT.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(m),this.adapter.setTransformOrigin(o+" "+r),this.adapter.setPosition(m),this.adapter.setMaxHeight(i?i+"px":""),this.hasBit(n,g.HX.BOTTOM)||this.adapter.addClass(e.cssClasses.IS_OPEN_BELOW)},e.prototype.getAutoLayoutmeasurements=function(){var t=this.adapter.getAnchorDimensions(),e=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),i=this.adapter.getWindowScroll();return t||(t={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:t,bodySize:e,surfaceSize:this.dimensions,viewportDistance:{top:t.top,right:n.width-t.right,bottom:n.height-t.bottom,left:t.left},viewportSize:n,windowScroll:i}},e.prototype.getoriginCorner=function(){var t,n,i,r,o=this.originCorner,a=this.measurements,l=a.viewportDistance,c=a.anchorSize,d=a.surfaceSize,s=e.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,g.HX.BOTTOM)?(t=l.top-s+c.height+this.anchorMargin.bottom,n=l.bottom-s-this.anchorMargin.bottom):(t=l.top-s+this.anchorMargin.top,n=l.bottom-s+c.height-this.anchorMargin.top),!(n-d.height>0)&&t>=n&&(o=this.setBit(o,g.HX.BOTTOM));var m=this.adapter.isRtl(),p=this.hasBit(this.anchorCorner,g.HX.FLIP_RTL),u=this.hasBit(this.anchorCorner,g.HX.RIGHT)||this.hasBit(o,g.HX.RIGHT),f=!1;(f=m&&p?!u:u)?(i=l.left+c.width+this.anchorMargin.right,r=l.right-this.anchorMargin.right):(i=l.left+this.anchorMargin.left,r=l.right+c.width-this.anchorMargin.left);var h=i-d.width>0,b=r-d.width>0,_=this.hasBit(o,g.HX.FLIP_RTL)&&this.hasBit(o,g.HX.RIGHT);return b&&_&&m||!h&&_?o=this.unsetBit(o,g.HX.RIGHT):(h&&f&&m||h&&!f&&u||!b&&i>=r)&&(o=this.setBit(o,g.HX.RIGHT)),o},e.prototype.getMenuSurfaceMaxHeight=function(t){var n=this.measurements.viewportDistance,i=0,r=this.hasBit(t,g.HX.BOTTOM),o=this.hasBit(this.anchorCorner,g.HX.BOTTOM),a=e.numbers.MARGIN_TO_EDGE;return r?(i=n.top+this.anchorMargin.top-a,o||(i+=this.measurements.anchorSize.height)):(i=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-a,o&&(i-=this.measurements.anchorSize.height)),i},e.prototype.getHorizontalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,g.HX.RIGHT),i=this.hasBit(this.anchorCorner,g.HX.RIGHT);if(n){var r=i?e.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?r-(this.measurements.viewportSize.width-this.measurements.bodySize.width):r}return i?e.width-this.anchorMargin.right:this.anchorMargin.left},e.prototype.getVerticalOriginOffset=function(t){var e=this.measurements.anchorSize,n=this.hasBit(t,g.HX.BOTTOM),i=this.hasBit(this.anchorCorner,g.HX.BOTTOM),r=0;return n?i?e.height-this.anchorMargin.top:-this.anchorMargin.bottom:i?e.height+this.anchorMargin.bottom:this.anchorMargin.top},e.prototype.adjustPositionForHoistedElement=function(t){var e,n,i=this.measurements,r=i.windowScroll,o=i.viewportDistance,a=Object.keys(t);try{for(var l=h(a),c=l.next();!c.done;c=l.next()){var d=c.value,s=t[d]||0;s+=o[d],this.isFixedPosition||("top"===d?s+=r.y:"bottom"===d?s-=r.y:"left"===d?s+=r.x:s-=r.x),t[d]=s}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}},e.prototype.maybeRestoreFocus=function(){var t=this.adapter.isFocused(),e=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(t||e)&&this.adapter.restoreFocus()},e.prototype.hasBit=function(t,e){return!!(t&e)},e.prototype.setBit=function(t,e){return t|e},e.prototype.unsetBit=function(t,e){return t^e},e.prototype.isFinite=function(t){return"number"==typeof t&&isFinite(t)},e}(b.K);function v(t,e){return void 0===e&&(e=!1),(void 0===i||e)&&(i="transform"in t.document.createElement("div").style?"transform":"webkitTransform"),i}var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){var t=this,e=this.root.parentElement;this.anchorElement=e&&e.classList.contains(g.UX.ANCHOR)?e:null,this.root.classList.contains(g.UX.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleBodyClick=function(e){t.foundation.handleBodyClick(e)},this.registerBodyClickListener=function(){document.body.addEventListener("click",t.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",t.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(g.j2.OPENED_EVENT,this.registerBodyClickListener),this.listen(g.j2.CLOSED_EVENT,this.deregisterBodyClickListener)},e.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(g.j2.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(g.j2.CLOSED_EVENT,this.deregisterBodyClickListener),t.prototype.destroy.call(this)},e.prototype.isOpen=function(){return this.foundation.isOpen()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=!1),this.foundation.close(t)},Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.foundation.setQuickOpen(t)},enumerable:!0,configurable:!0}),e.prototype.setIsHoisted=function(t){this.foundation.setIsHoisted(t)},e.prototype.setMenuSurfaceAnchorElement=function(t){this.anchorElement=t},e.prototype.setFixedPosition=function(t){t?this.root.classList.add(g.UX.FIXED):this.root.classList.remove(g.UX.FIXED),this.foundation.setFixedPosition(t)},e.prototype.setAbsolutePosition=function(t,e){this.foundation.setAbsolutePosition(t,e),this.setIsHoisted(!0)},e.prototype.setAnchorCorner=function(t){this.foundation.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.foundation.setAnchorMargin(t)},e.prototype.getDefaultFoundation=function(){var t=this,e={addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},hasAnchor:function(){return!!t.anchorElement},notifyClose:function(){return t.emit(_.strings.CLOSED_EVENT,{})},notifyOpen:function(){return t.emit(_.strings.OPENED_EVENT,{})},isElementInContainer:function(e){return t.root.contains(e)},isRtl:function(){return"rtl"===getComputedStyle(t.root).getPropertyValue("direction")},setTransformOrigin:function(e){var n=v(window)+"-origin";t.root.style.setProperty(n,e)},isFocused:function(){return document.activeElement===t.root},saveFocus:function(){t.previousFocus=document.activeElement},restoreFocus:function(){t.root.contains(document.activeElement)&&t.previousFocus&&t.previousFocus.focus&&t.previousFocus.focus()},getInnerDimensions:function(){return{width:t.root.offsetWidth,height:t.root.offsetHeight}},getAnchorDimensions:function(){return t.anchorElement?t.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(e){var n=t.root;n.style.left="left"in e?e.left+"px":"",n.style.right="right"in e?e.right+"px":"",n.style.top="top"in e?e.top+"px":"",n.style.bottom="bottom"in e?e.bottom+"px":""},setMaxHeight:function(e){t.root.style.maxHeight=e}};return new _(e)},e}(l.B),x=n(7838),w=function(t){function e(n){var i=t.call(this,a(a({},e.defaultAdapter),n))||this;return i.closeAnimationEndTimerId_=0,i.defaultFocusState_=x.yM.LIST_ROOT,i}return o(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return x.UX},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return x.j2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return x.KT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return -1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return -1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.closeAnimationEndTimerId_&&clearTimeout(this.closeAnimationEndTimerId_),this.adapter.closeSurface()},e.prototype.handleKeydown=function(t){var e=t.key,n=t.keyCode;("Tab"===e||9===n)&&this.adapter.closeSurface(!0)},e.prototype.handleItemAction=function(t){var e=this,n=this.adapter.getElementIndex(t);n<0||(this.adapter.notifySelected({index:n}),this.adapter.closeSurface(),this.closeAnimationEndTimerId_=setTimeout(function(){var n=e.adapter.getElementIndex(t);n>=0&&e.adapter.isSelectableItemAtIndex(n)&&e.setSelectedIndex(n)},_.numbers.TRANSITION_CLOSE_DURATION))},e.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case x.yM.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case x.yM.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case x.yM.NONE:break;default:this.adapter.focusListRoot()}},e.prototype.setDefaultFocusState=function(t){this.defaultFocusState_=t},e.prototype.setSelectedIndex=function(t){if(this.validatedIndex_(t),!this.adapter.isSelectableItemAtIndex(t))throw Error("MDCMenuFoundation: No selection group at specified index.");var e=this.adapter.getSelectedSiblingOfItemAtIndex(t);e>=0&&(this.adapter.removeAttributeFromElementAtIndex(e,x.j2.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(e,x.UX.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(t,x.UX.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_CHECKED_ATTR,"true")},e.prototype.setEnabled=function(t,e){this.validatedIndex_(t),e?(this.adapter.removeClassFromElementAtIndex(t,s.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(t,s.UX.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(t,x.j2.ARIA_DISABLED_ATTR,"true"))},e.prototype.validatedIndex_=function(t){var e=this.adapter.getMenuItemCount();if(!(t>=0&&t<e))throw Error("MDCMenuFoundation: No list item at specified index.")},e}(b.K),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e){void 0===t&&(t=function(t){return new y(t)}),void 0===e&&(e=function(t){return new d.e(t)}),this.menuSurfaceFactory_=t,this.listFactory_=e},e.prototype.initialSyncWithDOM=function(){var t=this;this.menuSurface_=this.menuSurfaceFactory_(this.root);var e=this.root.querySelector(x.j2.LIST_SELECTOR);e?(this.list_=this.listFactory_(e),this.list_.wrapFocus=!0):this.list_=null,this.handleKeydown_=function(e){return t.foundation.handleKeydown(e)},this.handleItemAction_=function(e){return t.foundation.handleItemAction(t.items[e.detail.index])},this.handleMenuSurfaceOpened_=function(){return t.foundation.handleMenuSurfaceOpened()},this.menuSurface_.listen(_.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.listen("keydown",this.handleKeydown_),this.listen(m.I.strings.ACTION_EVENT,this.handleItemAction_)},e.prototype.destroy=function(){this.list_&&this.list_.destroy(),this.menuSurface_.destroy(),this.menuSurface_.unlisten(_.strings.OPENED_EVENT,this.handleMenuSurfaceOpened_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(m.I.strings.ACTION_EVENT,this.handleItemAction_),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"open",{get:function(){return this.menuSurface_.isOpen()},set:function(t){t?this.menuSurface_.open():this.menuSurface_.close()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapFocus",{get:function(){return!!this.list_&&this.list_.wrapFocus},set:function(t){this.list_&&(this.list_.wrapFocus=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasTypeahead",{set:function(t){this.list_&&(this.list_.hasTypeahead=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"typeaheadInProgress",{get:function(){return!!this.list_&&this.list_.typeaheadInProgress},enumerable:!0,configurable:!0}),e.prototype.typeaheadMatchItem=function(t,e){return this.list_?this.list_.typeaheadMatchItem(t,e):-1},e.prototype.layout=function(){this.list_&&this.list_.layout()},Object.defineProperty(e.prototype,"items",{get:function(){return this.list_?this.list_.listElements:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"singleSelection",{set:function(t){this.list_&&(this.list_.singleSelection=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.list_?this.list_.selectedIndex:s.KT.UNSET_INDEX},set:function(t){this.list_&&(this.list_.selectedIndex=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"quickOpen",{set:function(t){this.menuSurface_.quickOpen=t},enumerable:!0,configurable:!0}),e.prototype.setDefaultFocusState=function(t){this.foundation.setDefaultFocusState(t)},e.prototype.setAnchorCorner=function(t){this.menuSurface_.setAnchorCorner(t)},e.prototype.setAnchorMargin=function(t){this.menuSurface_.setAnchorMargin(t)},e.prototype.setSelectedIndex=function(t){this.foundation.setSelectedIndex(t)},e.prototype.setEnabled=function(t,e){this.foundation.setEnabled(t,e)},e.prototype.getOptionByIndex=function(t){return t<this.items.length?this.items[t]:null},e.prototype.getPrimaryTextAtIndex=function(t){var e=this.getOptionByIndex(t);return e&&this.list_&&this.list_.getPrimaryText(e)||""},e.prototype.setFixedPosition=function(t){this.menuSurface_.setFixedPosition(t)},e.prototype.setIsHoisted=function(t){this.menuSurface_.setIsHoisted(t)},e.prototype.setAbsolutePosition=function(t,e){this.menuSurface_.setAbsolutePosition(t,e)},e.prototype.setAnchorElement=function(t){this.menuSurface_.anchorElement=t},e.prototype.getDefaultFoundation=function(){var t=this;return new w({addClassToElementAtIndex:function(e,n){t.items[e].classList.add(n)},removeClassFromElementAtIndex:function(e,n){t.items[e].classList.remove(n)},addAttributeToElementAtIndex:function(e,n,i){t.items[e].setAttribute(n,i)},removeAttributeFromElementAtIndex:function(e,n){t.items[e].removeAttribute(n)},elementContainsClass:function(t,e){return t.classList.contains(e)},closeSurface:function(e){return t.menuSurface_.close(e)},getElementIndex:function(e){return t.items.indexOf(e)},notifySelected:function(e){return t.emit(x.j2.SELECTED_EVENT,{index:e.index,item:t.items[e.index]})},getMenuItemCount:function(){return t.items.length},focusItemAtIndex:function(e){return t.items[e].focus()},focusListRoot:function(){return t.root.querySelector(x.j2.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(e){return!!(0,c.oq)(t.items[e],"."+x.UX.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(e){var n=(0,c.oq)(t.items[e],"."+x.UX.MENU_SELECTION_GROUP).querySelector("."+x.UX.MENU_SELECTED_LIST_ITEM);return n?t.items.indexOf(n):-1}})},e}(l.B)},7838:function(t,e,n){"use strict";n.d(e,{KT:()=>a,UX:()=>r,j2:()=>o,yM:()=>i});var i,r={MENU_SELECTED_LIST_ITEM:"mdc-menu-item--selected",MENU_SELECTION_GROUP:"mdc-menu__selection-group",ROOT:"mdc-menu"},o={ARIA_CHECKED_ATTR:"aria-checked",ARIA_DISABLED_ATTR:"aria-disabled",CHECKBOX_SELECTOR:'input[type="checkbox"]',LIST_SELECTOR:".mdc-list",SELECTED_EVENT:"MDCMenu:selected"},a={FOCUS_ROOT_INDEX:-1};!function(t){t[t.NONE=0]="NONE",t[t.LIST_ROOT=1]="LIST_ROOT",t[t.FIRST_ITEM=2]="FIRST_ITEM",t[t.LAST_ITEM=3]="LAST_ITEM"}(i||(i={}))},6645:function(t,e,n){"use strict";n.d(e,{F:()=>d});var i=n(4322),r=n(1872),o=n(9364),a=n(2584),l=n(1883),c=n(5749),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.disabled=!1,e}return(0,i.ZT)(e,t),e.attachTo=function(t,n){void 0===n&&(n={isUnbounded:void 0});var i=new e(t);return void 0!==n.isUnbounded&&(i.unbounded=n.isUnbounded),i},e.createAdapter=function(t){return{addClass:function(e){return t.root.classList.add(e)},browserSupportsCssVars:function(){return c.x(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(e){return t.root.contains(e)},deregisterDocumentInteractionHandler:function(t,e){return document.documentElement.removeEventListener(t,e,(0,o.K)())},deregisterInteractionHandler:function(e,n){return t.root.removeEventListener(e,n,(0,o.K)())},deregisterResizeHandler:function(t){return window.removeEventListener("resize",t)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.wB)(t.root,":active")},isSurfaceDisabled:function(){return!!t.disabled},isUnbounded:function(){return!!t.unbounded},registerDocumentInteractionHandler:function(t,e){return document.documentElement.addEventListener(t,e,(0,o.K)())},registerInteractionHandler:function(e,n){return t.root.addEventListener(e,n,(0,o.K)())},registerResizeHandler:function(t){return window.addEventListener("resize",t)},removeClass:function(e){return t.root.classList.remove(e)},updateCssVariable:function(e,n){return t.root.style.setProperty(e,n)}}},Object.defineProperty(e.prototype,"unbounded",{get:function(){return!!this.unbounded_},set:function(t){this.unbounded_=!!t,this.setUnbounded_()},enumerable:!0,configurable:!0}),e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getDefaultFoundation=function(){return new l.l(e.createAdapter(this))},e.prototype.initialSyncWithDOM=function(){var t=this.root;this.unbounded="mdcRippleIsUnbounded"in t.dataset},e.prototype.setUnbounded_=function(){this.foundation.setUnbounded(!!this.unbounded_)},e}(r.B)},1883:function(t,e,n){"use strict";n.d(e,{l:()=>p});var i=n(4322),r=n(4327),o={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},a={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},l={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},c=n(5749),d=["touchstart","pointerdown","mousedown","keydown"],s=["touchend","pointerup","mouseup","contextmenu"],m=[],p=function(t){function e(n){var r=t.call(this,(0,i.pi)((0,i.pi)({},e.defaultAdapter),n))||this;return r.activationAnimationHasEnded_=!1,r.activationTimer_=0,r.fgDeactivationRemovalTimer_=0,r.fgScale_="0",r.frame_={width:0,height:0},r.initialSize_=0,r.layoutFrame_=0,r.maxRadius_=0,r.unboundedCoords_={left:0,top:0},r.activationState_=r.defaultActivationState_(),r.activationTimerCallback_=function(){r.activationAnimationHasEnded_=!0,r.runDeactivationUXLogicIfReady_()},r.activateHandler_=function(t){return r.activate_(t)},r.deactivateHandler_=function(){return r.deactivate_()},r.focusHandler_=function(){return r.handleFocus()},r.blurHandler_=function(){return r.handleBlur()},r.resizeHandler_=function(){return r.layout()},r}return(0,i.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return o},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return a},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return l},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this,n=this.supportsPressRipple_();if(this.registerRootHandlers_(n),n){var i=e.cssClasses,r=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(o),t.layoutInternal_())})}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var n=e.cssClasses,i=n.ROOT,r=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(i),t.adapter.removeClass(r),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},e.prototype.activate=function(t){this.activate_(t)},e.prototype.deactivate=function(){this.deactivate_()},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.setUnbounded=function(t){var n=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)})},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)})},e.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers_=function(t){var e=this;t&&(d.forEach(function(t){e.adapter.registerInteractionHandler(t,e.activateHandler_)}),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},e.prototype.registerDeactivationHandlers_=function(t){var e=this;"keydown"===t.type?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):s.forEach(function(t){e.adapter.registerDocumentInteractionHandler(t,e.deactivateHandler_)})},e.prototype.deregisterRootHandlers_=function(){var t=this;d.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},e.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),s.forEach(function(e){t.adapter.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})},e.prototype.removeCssVars_=function(){var t=this,n=e.strings;Object.keys(n).forEach(function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(n[e],null)})},e.prototype.activate_=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var i=this.previousActivationEvent_;if(!(i&&void 0!==t&&i.type!==t.type)){n.isActivated=!0,n.isProgrammatic=void 0===t,n.activationEvent=t,n.wasActivatedByPointer=!n.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type);var r=void 0!==t&&m.length>0&&m.some(function(t){return e.adapter.containsEventTarget(t)});if(r)return void this.resetActivationState_();void 0!==t&&(m.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){m=[],!n.wasElementMadeActive&&void 0!==t&&(" "===t.key||32===t.keyCode)&&(n.wasElementMadeActive=e.checkElementMadeActive_(t),n.wasElementMadeActive&&e.animateActivation_()),n.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())})}}}},e.prototype.checkElementMadeActive_=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation_=function(){var t=this,n=e.strings,i=n.VAR_FG_TRANSLATE_START,r=n.VAR_FG_TRANSLATE_END,o=e.cssClasses,a=o.FG_DEACTIVATION,l=o.FG_ACTIVATION,c=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var d="",s="";if(!this.adapter.isUnbounded()){var m=this.getFgTranslationCoordinates_(),p=m.startPoint,u=m.endPoint;d=p.x+"px, "+p.y+"px",s=u.x+"px, "+u.y+"px"}this.adapter.updateCssVariable(i,d),this.adapter.updateCssVariable(r,s),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(l),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},c)},e.prototype.getFgTranslationCoordinates_=function(){var t,e=this.activationState_,n=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?(0,c.Y)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:t.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},e.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,n=e.cssClasses.FG_DEACTIVATION,i=this.activationState_,r=i.hasDeactivationUXRun,o=i.isActivated;(r||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter.removeClass(n)},l.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses_=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},e.numbers.TAP_DELAY_MS)},e.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var n=(0,i.pi)({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(n)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(n),t.resetActivationState_()}))}},e.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},e.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter.computeBoundingRect();var n=Math.max(this.frame_.height,this.frame_.width),i=function(){return Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2))+e.numbers.PADDING};this.maxRadius_=this.adapter.isUnbounded()?n:i();var r=Math.floor(n*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize_=r-1:this.initialSize_=r,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},e.prototype.updateLayoutCssVars_=function(){var t=e.strings,n=t.VAR_FG_SIZE,i=t.VAR_LEFT,r=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize_+"px"),this.adapter.updateCssVariable(o,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(i,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords_.top+"px"))},e}(r.K)},4322:function(t,e,n){"use strict";n.d(e,{ZT:()=>r,pi:()=>o});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}},5749:function(t,e,n){"use strict";var i;function r(t,e){void 0===e&&(e=!1);var n=t.CSS,r=i;if("boolean"==typeof i&&!e)return i;if(!(n&&"function"==typeof n.supports))return!1;var o=n.supports("--css-vars","yes"),a=n.supports("(--css-vars: yes)")&&n.supports("color","#00000000");return r=o||a,e||(i=r),r}function o(t,e,n){if(!t)return{x:0,y:0};var i,r,o=e.x,a=e.y,l=o+n.left,c=a+n.top;if("touchstart"===t.type){var d=t;i=d.changedTouches[0].pageX-l,r=d.changedTouches[0].pageY-c}else{var s=t;i=s.pageX-l,r=s.pageY-c}return{x:i,y:r}}n.d(e,{Y:()=>o,x:()=>r})},7737:function(t,e,n){"use strict";var i=n(1528),r=n(3235),o=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?r(n):n}},3235:function(t,e,n){"use strict";var i=n(7156),r=n(1528),o=n(1427),a=n(682),l=r("%Function.prototype.apply%"),c=r("%Function.prototype.call%"),d=r("%Reflect.apply%",!0)||i.call(c,l),s=r("%Object.defineProperty%",!0),m=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=d(i,c,arguments);return o(e,1+m(0,t.length-(arguments.length-1)),!0)};var p=function(){return d(i,l,arguments)};s?s(t.exports,"apply",{value:p}):t.exports.apply=p},1427:function(t,e,n){"use strict";var i=n(1528),r=n(7892),o=n(2320)(),a=n(1455),l=n(682),c=i("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||c(e)!==e)throw new l("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,d=!0;if("length"in t&&a){var s=a(t,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(d=!1)}return(i||d||!n)&&(o?r(t,"length",e,!0,!0):r(t,"length",e)),t}},7892:function(t,e,n){"use strict";var i=n(2320)(),r=n(1528),o=i&&r("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(t){o=!1}var a=n(4332),l=n(682),c=n(1455);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new l("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new l("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new l("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new l("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new l("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new l("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,s=arguments.length>6&&arguments[6],m=!!c&&c(t,e);if(o)o(t,e,{configurable:null===d&&m?m.configurable:!d,enumerable:null===i&&m?m.enumerable:!i,value:n,writable:null===r&&m?m.writable:!r});else if(!s&&(i||r||d))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=n}},5727:function(t){"use strict";t.exports=EvalError},4772:function(t){"use strict";t.exports=Error},511:function(t){"use strict";t.exports=RangeError},5912:function(t){"use strict";t.exports=ReferenceError},4332:function(t){"use strict";t.exports=SyntaxError},682:function(t){"use strict";t.exports=TypeError},4834:function(t){"use strict";t.exports=URIError},2521:function(t){"use strict";var e="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,r="[object Function]",o=function(t,e){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var r=0;r<e.length;r+=1)n[r+t.length]=e[r];return n},a=function(t,e){for(var n=[],i=e||0,r=0;i<t.length;i+=1,r+=1)n[r]=t[i];return n},l=function(t,e){for(var n="",i=0;i<t.length;i+=1)n+=t[i],i+1<t.length&&(n+=e);return n};t.exports=function(t){var c,d=this;if("function"!=typeof d||n.apply(d)!==r)throw TypeError(e+d);for(var s=a(arguments,1),m=function(){if(this instanceof c){var e=d.apply(this,o(s,arguments));return Object(e)===e?e:this}return d.apply(t,o(s,arguments))},p=i(0,d.length-s.length),u=[],f=0;f<p;f++)u[f]="$"+f;if(c=Function("binder","return function ("+l(u,",")+"){ return binder.apply(this,arguments); }")(m),d.prototype){var h=function(){};h.prototype=d.prototype,c.prototype=new h,h.prototype=null}return c}},7156:function(t,e,n){"use strict";var i=n(2521);t.exports=Function.prototype.bind||i},1528:function(t,e,n){"use strict";var i,r=n(4772),o=n(5727),a=n(511),l=n(5912),c=n(4332),d=n(682),s=n(4834),m=Function,p=function(t){try{return m('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var f=function(){throw new d},h=u?function(){try{return arguments.callee,f}catch(t){try{return u(arguments,"callee").get}catch(t){return f}}}():f,g=n(465)(),b=n(1209)(),_=Object.getPrototypeOf||(b?function(t){return t.__proto__}:null),v={},y="undefined"!=typeof Uint8Array&&_?_(Uint8Array):i,x={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":g&&_?_([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&_?_(_([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&_?_(new Map()[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&_?_(new Set()[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&_?_(""[Symbol.iterator]()):i,"%Symbol%":g?Symbol:i,"%SyntaxError%":c,"%ThrowTypeError%":h,"%TypedArray%":y,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":s,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet};if(_)try{null.error}catch(t){var w=_(_(t));x["%Error.prototype%"]=w}var k=function t(e){var n;if("%AsyncFunction%"===e)n=p("async function () {}");else if("%GeneratorFunction%"===e)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=p("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&_&&(n=_(r.prototype))}return x[e]=n,n},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},A=n(7156),C=n(5673),T=A.call(Function.call,Array.prototype.concat),I=A.call(Function.apply,Array.prototype.splice),S=A.call(Function.call,String.prototype.replace),O=A.call(Function.call,String.prototype.slice),L=A.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,D=function(t){var e=O(t,0,1),n=O(t,-1);if("%"===e&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return S(t,R,function(t,e,n,r){i[i.length]=n?S(r,N,"$1"):e||t}),i},z=function(t,e){var n,i=t;if(C(E,i)&&(i="%"+(n=E[i])[0]+"%"),C(x,i)){var r=x[i];if(r===v&&(r=k(i)),void 0===r&&!e)throw new d("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:r}}throw new c("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new d('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(t),i=n.length>0?n[0]:"",r=z("%"+i+"%",e),o=r.name,a=r.value,l=!1,s=r.alias;s&&(i=s[0],I(n,T([0,1],s)));for(var m=1,p=!0;m<n.length;m+=1){var f=n[m],h=O(f,0,1),g=O(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&p||(l=!0),i+="."+f,C(x,o="%"+i+"%"))a=x[o];else if(null!=a){if(!(f in a)){if(!e)throw new d("base intrinsic for "+t+" exists, but the property is not available.");return}if(u&&m+1>=n.length){var b=u(a,f);a=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:a[f]}else p=C(a,f),a=a[f];p&&!l&&(x[o]=a)}}return a}},1455:function(t,e,n){"use strict";var i=n(1528)("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(t){i=null}t.exports=i},2320:function(t,e,n){"use strict";var i=n(1528)("%Object.defineProperty%",!0),r=function(){if(i)try{return i({},"a",{value:1}),!0}catch(t){}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==i([],"length",{value:1}).length}catch(t){return!0}},t.exports=r},1209:function(t){"use strict";var e={foo:{}},n=Object;t.exports=function(){return({__proto__:e}).foo===e.foo&&!(({__proto__:null})instanceof n)}},465:function(t,e,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,r=n(6073);t.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&r()}},6073:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(e in t[e]=i,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},5673:function(t,e,n){"use strict";var i=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=n(7156).call(i,r)},3970:function(t,e,n){var i="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"==typeof r.get?r.get:null,a=i&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=l&&c&&"function"==typeof c.get?c.get:null,s=l&&Set.prototype.forEach,m="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,u="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,x=String.prototype.toLowerCase,w=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,A=Array.prototype.slice,C=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O?"object":"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,N=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function D(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-C(-t):C(t);if(i!==t){var r=String(i),o=_.call(e,r.length+1);return v.call(r,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,n,"$&_")}var z=n(8734),P=z.custom,$=K(P)?P:null;function M(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function F(t){return v.call(String(t),/"/g,""")}function B(t){return"[object Array]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function U(t){return"[object Date]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function H(t){return"[object RegExp]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function j(t){return"[object Error]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function V(t){return"[object String]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function X(t){return"[object Number]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function Y(t){return"[object Boolean]"===J(t)&&(!L||!("object"==typeof t&&L in t))}function K(t){if(O)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!S)return!1;try{return S.call(t),!0}catch(t){}return!1}function G(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}t.exports=function t(e,i,r,l){var c=i||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&" "!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=c.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return ta(e,c);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return p?D(e,u):u}if("bigint"==typeof e){var h=String(e)+"n";return p?D(e,h):h}var g=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=g&&g>0&&"object"==typeof e)return B(e)?"[Array]":"[Object]";var b=tp(c,r);if(void 0===l)l=[];else if(Z(l,e)>=0)return"[Circular]";function y(e,n,i){if(n&&(l=A.call(l)).push(n),i){var o={depth:c.depth};return W(c,"quoteStyle")&&(o.quoteStyle=c.quoteStyle),t(e,o,r+1,l)}return t(e,c,r+1,l)}if("function"==typeof e&&!H(e)){var w=Q(e),C=tf(e,y);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(C.length>0?" { "+E.call(C,", ")+" }":"")}if(K(e)){var I=O?v.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):S.call(e);return"object"!=typeof e||O?I:tc(I)}if(to(e)){for(var P="<"+x.call(String(e.nodeName)),q=e.attributes||[],tl=0;tl<q.length;tl++)P+=" "+q[tl].name+"="+M(F(q[tl].value),"double",c);return P+=">",e.childNodes&&e.childNodes.length&&(P+="..."),P+="</"+x.call(String(e.nodeName))+">"}if(B(e)){if(0===e.length)return"[]";var th=tf(e,y);return b&&!tm(th)?"["+tu(th,b)+"]":"[ "+E.call(th,", ")+" ]"}if(j(e)){var tg=tf(e,y);return"cause"in Error.prototype||!("cause"in e)||R.call(e,"cause")?0===tg.length?"["+String(e)+"]":"{ ["+String(e)+"] "+E.call(tg,", ")+" }":"{ ["+String(e)+"] "+E.call(k.call("[cause]: "+y(e.cause),tg),", ")+" }"}if("object"==typeof e&&m){if($&&"function"==typeof e[$]&&z)return z(e,{depth:g-r});else if("symbol"!==m&&"function"==typeof e.inspect)return e.inspect()}if(tt(e)){var tb=[];return a&&a.call(e,function(t,n){tb.push(y(n,e,!0)+" => "+y(t,e))}),ts("Map",o.call(e),tb,b)}if(ti(e)){var t_=[];return s&&s.call(e,function(t){t_.push(y(t,e))}),ts("Set",d.call(e),t_,b)}if(te(e))return td("WeakMap");if(tr(e))return td("WeakSet");if(tn(e))return td("WeakRef");if(X(e))return tc(y(Number(e)));if(G(e))return tc(y(T.call(e)));if(Y(e))return tc(f.call(e));if(V(e))return tc(y(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if(e===n.g)return"{ [object globalThis] }";if(!U(e)&&!H(e)){var tv=tf(e,y),ty=N?N(e)===Object.prototype:e instanceof Object||e.constructor===Object,tx=e instanceof Object?"":"null prototype",tw=!ty&&L&&Object(e)===e&&L in e?_.call(J(e),8,-1):tx?"Object":"",tk=(ty||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(tw||tx?"["+E.call(k.call([],tw||[],tx||[]),": ")+"] ":"");return 0===tv.length?tk+"{}":b?tk+"{"+tu(tv,b)+"}":tk+"{ "+E.call(tv,", ")+" }"}return String(e)};var q=Object.prototype.hasOwnProperty||function(t){return t in this};function W(t,e){return q.call(t,e)}function J(t){return h.call(t)}function Q(t){if(t.name)return t.name;var e=b.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Z(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return -1}function tt(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{d.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}function te(t){if(!m||!t||"object"!=typeof t)return!1;try{m.call(t,m);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}function tn(t){if(!u||!t||"object"!=typeof t)return!1;try{return u.call(t),!0}catch(t){}return!1}function ti(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}function tr(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{m.call(t,m)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}function to(t){return!!t&&"object"==typeof t&&(!!("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}function ta(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return ta(_.call(t,0,e.maxStringLength),e)+i}return M(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tl),"single",e)}function tl(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+y.call(e.toString(16))}function tc(t){return"Object("+t+")"}function td(t){return t+" { ? }"}function ts(t,e,n,i){return t+" ("+e+") {"+(i?tu(n,i):E.call(n,", "))+"}"}function tm(t){for(var e=0;e<t.length;e++)if(Z(t[e],"\n")>=0)return!1;return!0}function tp(t,e){var n;if(" "===t.indent)n=" ";else{if("number"!=typeof t.indent||!(t.indent>0))return null;n=E.call(Array(t.indent+1)," ")}return{base:n,prev:E.call(Array(e+1),n)}}function tu(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+E.call(t,","+n)+"\n"+e.prev}function tf(t,e){var n,i=B(t),r=[];if(i){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=W(t,o)?e(t[o],t):""}var a="function"==typeof I?I(t):[];if(O){n={};for(var l=0;l<a.length;l++)n["$"+a[l]]=a[l]}for(var c in t)if(W(t,c)&&(!i||String(Number(c))!==c||!(c<t.length)))if(O&&n["$"+c]instanceof Symbol)continue;else w.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t));if("function"==typeof I)for(var d=0;d<a.length;d++)R.call(t,a[d])&&r.push("["+e(a[d])+"]: "+e(t[a[d]],t));return r}},2490:function(t){"use strict";var e=String.prototype.replace,n=/%20/g,i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:i}},3348:function(t,e,n){"use strict";var i=n(7530),r=n(8429);t.exports={formats:n(2490),parse:r,stringify:i}},8429:function(t,e,n){"use strict";var i=n(3422),r=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},c=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},d="utf8=%26%2310003%3B",s="utf8=%E2%9C%93",m=function(t,e){var n={__proto__:null},m=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,u=m.split(e.delimiter,p),f=-1,h=e.charset;if(e.charsetSentinel)for(g=0;g<u.length;++g)0===u[g].indexOf("utf8=")&&(u[g]===s?h="utf-8":u[g]===d&&(h="iso-8859-1"),f=g,g=u.length);for(g=0;g<u.length;++g)if(g!==f){var g,b,_,v=u[g],y=v.indexOf("]="),x=-1===y?v.indexOf("="):y+1;-1===x?(b=e.decoder(v,a.decoder,h,"key"),_=e.strictNullHandling?null:""):(b=e.decoder(v.slice(0,x),a.decoder,h,"key"),_=i.maybeMap(c(v.slice(x+1),e),function(t){return e.decoder(t,a.decoder,h,"value")})),_&&e.interpretNumericEntities&&"iso-8859-1"===h&&(_=l(_)),v.indexOf("[]=")>-1&&(_=o(_)?[_]:_),r.call(n,b)?n[b]=i.combine(n[b],_):n[b]=_}return n},p=function(t,e,n,i){for(var r=i?e:c(e,n),o=t.length-1;o>=0;--o){var a,l=t[o];if("[]"===l&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var d="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,s=parseInt(d,10);n.parseArrays||""!==d?!isNaN(s)&&l!==d&&String(s)===d&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(a=[])[s]=r:"__proto__"!==d&&(a[d]=r):a={0:r}}r=a}return r},u=function(t,e,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,c=n.depth>0&&a.exec(o),d=c?o.slice(0,c.index):o,s=[];if(d){if(!n.plainObjects&&r.call(Object.prototype,d)&&!n.allowPrototypes)return;s.push(d)}for(var m=0;n.depth>0&&null!==(c=l.exec(o))&&m<n.depth;){if(m+=1,!n.plainObjects&&r.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+o.slice(c.index)+"]"),p(s,e,n,i)}},f=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||i.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}};t.exports=function(t,e){var n=f(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?m(t,n):t,o=n.plainObjects?Object.create(null):{},a=Object.keys(r),l=0;l<a.length;++l){var c=a[l],d=u(c,r[c],n,"string"==typeof t);o=i.merge(o,d,n)}return!0===n.allowSparse?o:i.compact(o)}},7530:function(t,e,n){"use strict";var i=n(2538),r=n(3422),o=n(2490),a=Object.prototype.hasOwnProperty,l={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,d=Array.prototype.push,s=function(t,e){d.apply(t,c(e)?e:[e])},m=Date.prototype.toISOString,p=o.default,u={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(t){return m.call(t)},skipNulls:!1,strictNullHandling:!1},f=function(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"symbol"==typeof t||"bigint"==typeof t},h={},g=function t(e,n,o,a,l,d,m,p,g,b,_,v,y,x,w,k){for(var E,A=e,C=k,T=0,I=!1;void 0!==(C=C.get(h))&&!I;){var S=C.get(e);if(T+=1,void 0!==S)if(S===T)throw RangeError("Cyclic object value");else I=!0;void 0===C.get(h)&&(T=0)}if("function"==typeof p?A=p(n,A):A instanceof Date?A=_(A):"comma"===o&&c(A)&&(A=r.maybeMap(A,function(t){return t instanceof Date?_(t):t})),null===A){if(l)return m&&!x?m(n,u.encoder,w,"key",v):n;A=""}if(f(A)||r.isBuffer(A))return m?[y(x?n:m(n,u.encoder,w,"key",v))+"="+y(m(A,u.encoder,w,"value",v))]:[y(n)+"="+y(String(A))];var O=[];if(void 0===A)return O;if("comma"===o&&c(A))x&&m&&(A=r.maybeMap(A,m)),E=[{value:A.length>0?A.join(",")||null:void 0}];else if(c(p))E=p;else{var L=Object.keys(A);E=g?L.sort(g):L}for(var R=a&&c(A)&&1===A.length?n+"[]":n,N=0;N<E.length;++N){var D=E[N],z="object"==typeof D&&void 0!==D.value?D.value:A[D];if(!d||null!==z){var P=c(A)?"function"==typeof o?o(R,D):R:R+(b?"."+D:"["+D+"]");k.set(e,T);var $=i();$.set(h,k),s(O,t(z,P,o,a,l,d,"comma"===o&&x&&c(A)?null:m,p,g,b,_,v,y,x,w,$))}}return O},b=function(t){if(!t)return u;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw TypeError("Encoder has to be a function.");var e=t.charset||u.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw TypeError("Unknown format option provided.");n=t.format}var i=o.formatters[n],r=u.filter;return("function"==typeof t.filter||c(t.filter))&&(r=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:u.addQueryPrefix,allowDots:void 0===t.allowDots?u.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:u.charsetSentinel,delimiter:void 0===t.delimiter?u.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:u.encode,encoder:"function"==typeof t.encoder?t.encoder:u.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:u.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:u.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:u.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:u.strictNullHandling}};t.exports=function(t,e){var n,r,o,a=t,d=b(e);"function"==typeof d.filter?a=(r=d.filter)("",a):c(d.filter)&&(n=r=d.filter);var m=[];if("object"!=typeof a||null===a)return"";o=e&&e.arrayFormat in l?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var p=l[o];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u="comma"===p&&e&&e.commaRoundTrip;n||(n=Object.keys(a)),d.sort&&n.sort(d.sort);for(var f=i(),h=0;h<n.length;++h){var _=n[h];d.skipNulls&&null===a[_]||s(m,g(a[_],_,p,u,d.strictNullHandling,d.skipNulls,d.encode?d.encoder:null,d.filter,d.sort,d.allowDots,d.serializeDate,d.format,d.formatter,d.encodeValuesOnly,d.charset,f))}var v=m.join(d.delimiter),y=!0===d.addQueryPrefix?"?":"";return d.charsetSentinel&&("iso-8859-1"===d.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},3422:function(t,e,n){"use strict";var i=n(2490),r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),l=function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var i=[],r=0;r<n.length;++r)void 0!==n[r]&&i.push(n[r]);e.obj[e.prop]=i}}},c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},i=0;i<t.length;++i)void 0!==t[i]&&(n[i]=t[i]);return n},d=function t(e,n,i){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return(o(e)&&!o(n)&&(a=c(e,i)),o(e)&&o(n))?(n.forEach(function(n,o){if(r.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,i):e.push(n)}else e[o]=n}),e):Object.keys(n).reduce(function(e,o){var a=n[o];return r.call(e,o)?e[o]=t(e[o],a,i):e[o]=a,e},a)};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]=e[n],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],i=0;i<e.length;++i)for(var r=e[i],o=r.obj[r.prop],a=Object.keys(o),c=0;c<a.length;++c){var d=a[c],s=o[d];"object"==typeof s&&null!==s&&-1===n.indexOf(s)&&(e.push({obj:o,prop:d}),n.push(s))}return l(e),t},decode:function(t,e,n){var i=t.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(t){return i}},encode:function(t,e,n,r,o){if(0===t.length)return t;var l=t;if("symbol"==typeof t?l=Symbol.prototype.toString.call(t):"string"!=typeof t&&(l=String(t)),"iso-8859-1"===n)return escape(l).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var c="",d=0;d<l.length;++d){var s=l.charCodeAt(d);if(45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||o===i.RFC1738&&(40===s||41===s)){c+=l.charAt(d);continue}if(s<128){c+=a[s];continue}if(s<2048){c+=a[192|s>>6]+a[128|63&s];continue}if(s<55296||s>=57344){c+=a[224|s>>12]+a[128|s>>6&63]+a[128|63&s];continue}d+=1,c+=a[240|(s=65536+((1023&s)<<10|1023&l.charCodeAt(d)))>>18]+a[128|s>>12&63]+a[128|s>>6&63]+a[128|63&s]}return c},isBuffer:function(t){return!!t&&"object"==typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(e(t[i]));return n}return e(t)},merge:d}},2538:function(t,e,n){"use strict";var i=n(1528),r=n(7737),o=n(3970),a=n(682),l=i("%WeakMap%",!0),c=i("%Map%",!0),d=r("WeakMap.prototype.get",!0),s=r("WeakMap.prototype.set",!0),m=r("WeakMap.prototype.has",!0),p=r("Map.prototype.get",!0),u=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),h=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n},g=function(t,e){var n=h(t,e);return n&&n.value},b=function(t,e,n){var i=h(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}},_=function(t,e){return!!h(t,e)};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new a("Side channel does not contain "+o(t))},get:function(i){if(l&&i&&("object"==typeof i||"function"==typeof i)){if(t)return d(t,i)}else if(c){if(e)return p(e,i)}else if(n)return g(n,i)},has:function(i){if(l&&i&&("object"==typeof i||"function"==typeof i)){if(t)return m(t,i)}else if(c){if(e)return f(e,i)}else if(n)return _(n,i);return!1},set:function(i,r){l&&i&&("object"==typeof i||"function"==typeof i)?(t||(t=new l),s(t,i,r)):c?(e||(e=new c),u(e,i,r)):(n||(n={key:{},next:null}),b(n,i,r))}};return i}},9357:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{OrAssetTree:()=>OrAssetTree,OrAssetTreeAddEvent:()=>OrAssetTreeAddEvent,OrAssetTreeAssetEvent:()=>OrAssetTreeAssetEvent,OrAssetTreeChangeParentEvent:()=>OrAssetTreeChangeParentEvent,OrAssetTreeFilter:()=>OrAssetTreeFilter,OrAssetTreeRequestAddEvent:()=>OrAssetTreeRequestAddEvent,OrAssetTreeRequestDeleteEvent:()=>OrAssetTreeRequestDeleteEvent,OrAssetTreeRequestSelectionEvent:()=>OrAssetTreeRequestSelectionEvent,OrAssetTreeSelectionEvent:()=>OrAssetTreeSelectionEvent,OrAssetTreeToggleExpandEvent:()=>OrAssetTreeToggleExpandEvent,getAssetTypes:()=>getAssetTypes,style:()=>_style__WEBPACK_IMPORTED_MODULE_6__.o});var OrAssetTree_1,FilterElementType,lit__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7138),lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7308),_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6505),_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(6243),_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__),_openremote_model__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4297),_openremote_model__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_openremote_model__WEBPACK_IMPORTED_MODULE_4__),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9329),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__),_style__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6748),_openremote_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6801),_openremote_core__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_openremote_core__WEBPACK_IMPORTED_MODULE_7__),qs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(3348),qs__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_8__),_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(5320),_openremote_or_mwc_components_or_mwc_list__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(2730),_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5839),_or_add_asset_dialog__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7987),_openremote_or_mwc_components_or_mwc_snackbar__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(6445),lit_directives_when_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(5058),__decorate=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},__awaiter=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};class OrAssetTreeRequestSelectionEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestSelectionEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestSelectionEvent.NAME="or-asset-tree-request-selection";class OrAssetTreeSelectionEvent extends CustomEvent{constructor(t){super(OrAssetTreeSelectionEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeSelectionEvent.NAME="or-asset-tree-selection";class OrAssetTreeChangeParentEvent extends CustomEvent{constructor(t,e){super(OrAssetTreeChangeParentEvent.NAME,{bubbles:!0,composed:!0,detail:{parentId:t,assetIds:e}})}}OrAssetTreeChangeParentEvent.NAME="or-asset-tree-change-parent";class OrAssetTreeToggleExpandEvent extends CustomEvent{constructor(t){super(OrAssetTreeToggleExpandEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeToggleExpandEvent.NAME="or-asset-tree-expand",function(t){t[t.SEARCH_FILTER=0]="SEARCH_FILTER",t[t.ASSET_TYPE=1]="ASSET_TYPE",t[t.ATTRIBUTE_NAME=2]="ATTRIBUTE_NAME",t[t.ATTRIBUTE_VALUE=3]="ATTRIBUTE_VALUE"}(FilterElementType||(FilterElementType={}));class OrAssetTreeRequestAddEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestAddEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestAddEvent.NAME="or-asset-tree-request-add";class OrAssetTreeAddEvent extends CustomEvent{constructor(t){super(OrAssetTreeAddEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeAddEvent.NAME="or-asset-tree-add";class OrAssetTreeRequestDeleteEvent extends CustomEvent{constructor(t){super(OrAssetTreeRequestDeleteEvent.NAME,{bubbles:!0,composed:!0,detail:{allow:!0,detail:t}})}}OrAssetTreeRequestDeleteEvent.NAME="or-asset-tree-request-delete";class OrAssetTreeAssetEvent extends CustomEvent{constructor(t){super(OrAssetTreeAssetEvent.NAME,{bubbles:!0,composed:!0,detail:t})}}OrAssetTreeAssetEvent.NAME="or-asset-tree-asset-event";class OrAssetTreeFilter{constructor(){this.asset=void 0,this.assetType=[],this.attribute=[],this.attributeValue=[]}}let getAssetTypes=()=>__awaiter(void 0,void 0,void 0,function*(){let t=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.queryAssets({select:{attributes:[]},recursive:!0});if(t&&t.data)return t.data.map(t=>t.type)}),OrAssetTree=OrAssetTree_1=class OrAssetTree extends(0,_openremote_core__WEBPACK_IMPORTED_MODULE_7__.subscribe)(_openremote_core__WEBPACK_IMPORTED_MODULE_7___default())(lit__WEBPACK_IMPORTED_MODULE_0__.oi){constructor(){super(...arguments),this.readonly=!1,this.disabled=!1,this.disableSubscribe=!1,this.showDeselectBtn=!0,this.showSortBtn=!0,this.showFilter=!0,this.sortBy="name",this.expandAllNodes=!1,this.expandedIds=[],this.checkboxes=!1,this._loading=!1,this._connected=!1,this._selectedNodes=[],this._expandedNodes=[],this._filter=new OrAssetTreeFilter,this._searchInputTimer=void 0,this._filterSettingOpen=!1,this._assetTypes=[],this._uniqueAssetTypes=[],this._dragDropParentId=null,this._expandTimer=void 0,this._latestSelected=void 0,this.assetsChildren={}}static get styles(){return[_style__WEBPACK_IMPORTED_MODULE_6__.o]}get selectedNodes(){return this._selectedNodes?[...this._selectedNodes]:[]}set selectedNodes(t){this.selectedIds=t.map(t=>t.asset.id)}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this.requestUpdate()}refresh(){this._nodes=void 0}isAncestorSelected(t){if(!this.selectedIds||!t.parent)return!1;for(;t.parent;)if(t=t.parent,this.selectedIds.includes(t.asset.id))return!0;return!1}mapDescriptors(t,e){let n=t.map(t=>({styleMap:{"--or-icon-fill":t.colour?"#"+t.colour:"unset"},icon:t.icon,text:_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.getAssetTypeLabel(t),value:t.name,data:t})).sort(_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByString(t=>t.text));return e&&n.splice(0,0,e),n}getSelectHeader(){return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input style="width:100%;" ?disabled="${this._loading}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeLabel")}" iconTrailing="menu-down" iconColor="rgba(0, 0, 0, 0.87)" icon="selection-ellipse" value="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeNone")}"></or-mwc-input>`}getSelectedHeader(t){return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input style="width:100%;" ?disabled="${this._loading}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeLabel")}" .iconColor="${t.colour}" iconTrailing="menu-down" icon="${t.icon}" value="${_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.getAssetTypeLabel(t)}"></or-mwc-input>`}assetTypeSelect(){if(!this._assetTypeFilter)return this.getSelectHeader();{let t=this._assetTypes.find(t=>t.name===this._assetTypeFilter);return t?this.getSelectedHeader(t):this.getSelectHeader()}}atLeastOneNodeToBeShown(){var t;let e=!1;return null==(t=this._nodes)||t.forEach(t=>{t.hidden||(e=!0)}),e}render(){let t=this._canAdd();return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
2
|
+
<div id="header">
|
|
3
|
+
<div id="title-container">
|
|
4
|
+
<or-translate id="title" value="asset_plural"></or-translate>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div id="header-btns">
|
|
8
|
+
<or-mwc-input ?hidden="${!this.selectedIds||0===this.selectedIds.length||!this.showDeselectBtn}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="close" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deselect")}" @or-mwc-input-changed="${()=>this._onDeselectClicked()}"></or-mwc-input>
|
|
9
|
+
<or-mwc-input ?hidden="${this._isReadonly()||!this.selectedIds||1!==this.selectedIds.length||!t}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="content-copy" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("duplicate")}" @or-mwc-input-changed="${()=>this._onCopyClicked()}"></or-mwc-input>
|
|
10
|
+
<or-mwc-input ?hidden="${this._isReadonly()||!this.selectedIds||0===this.selectedIds.length||this._gatewayDescendantIsSelected()}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="delete" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("delete")}" @or-mwc-input-changed="${()=>this._onDeleteClicked()}"></or-mwc-input>
|
|
11
|
+
<or-mwc-input ?hidden="${this._isReadonly()||!t}" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" icon="plus" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("addAsset")}" @or-mwc-input-changed="${()=>this._onAddClicked()}"></or-mwc-input>
|
|
12
|
+
|
|
13
|
+
${(0,_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__.qJ)((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" ?hidden="${!this.showSortBtn}" icon="sort-variant" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("sort")}" ></or-mwc-input>`,["name","type","createdOn"].map(t=>({value:t,text:_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t(t)})),this.sortBy,t=>this._onSortClicked(t))}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
${(0,lit_directives_when_js__WEBPACK_IMPORTED_MODULE_14__.g)(this.showFilter,()=>(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
18
|
+
<div id="asset-tree-filter">
|
|
19
|
+
<or-mwc-input id="filterInput"
|
|
20
|
+
?disabled="${this._loading}"
|
|
21
|
+
style="width: 100%;"
|
|
22
|
+
type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
23
|
+
placeholder="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.filter")}..."
|
|
24
|
+
compact="true"
|
|
25
|
+
outlined="true"
|
|
26
|
+
@input="${t=>{this._onFilterInputEvent(t)}}"
|
|
27
|
+
@or-mwc-input-changed="${t=>{this._onFilterInput(t.detail.value||void 0,!0)}}">
|
|
28
|
+
</or-mwc-input>
|
|
29
|
+
<or-icon id="filterSettingsIcon" icon="${this._filterSettingOpen?"window-close":"tune"}" title="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t(this._filterSettingOpen?"filter.close":"filter.open")}" @click="${()=>{if(this._filterSettingOpen)this._filterSettingOpen=!1;else{if(this._filterSettingOpen=!0,0===this._assetTypes.length){let t=this._getAllowedChildTypes(this._selectedNodes[0]);this._assetTypes=t.filter(t=>"asset"===t.descriptorType)}this._filter.attribute.length>0&&(this._attributeNameFilter.value=this._filter.attribute[0]),this._filter.attributeValue.length>0&&this._filter.attribute.length>0&&(this._attributeValueFilter.disabled=!1,this._attributeValueFilter.value=this._filter.attributeValue[0]),this._filter.assetType.length>0?this._assetTypeFilter=this._filter.assetType[0]:this._assetTypeFilter=""}}}"></or-icon>
|
|
30
|
+
</div>
|
|
31
|
+
<div id="asset-tree-filter-setting" class="${this._filterSettingOpen?"visible":""}">
|
|
32
|
+
<div class="advanced-filter">
|
|
33
|
+
${this._assetTypes.length>0?(0,_openremote_or_mwc_components_or_mwc_menu__WEBPACK_IMPORTED_MODULE_9__.qJ)(this.assetTypeSelect(),this.mapDescriptors(this._assetTypes,{text:_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.assetTypeMenuNone"),value:"",icon:"selection-ellipse"}),void 0,t=>{this._assetTypeFilter=t},void 0,!1,!0,!0):(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)``}
|
|
34
|
+
<or-mwc-input id="attributeNameFilter" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.attributeLabel")}"
|
|
35
|
+
|
|
36
|
+
.type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
37
|
+
style="margin-top: 10px;"
|
|
38
|
+
?disabled="${this._loading}"
|
|
39
|
+
@input="${t=>{this._shouldEnableAttrTypeEvent(t)}}"
|
|
40
|
+
@or-mwc-input-changed="${t=>{this._shouldEnableAttrType(t.detail.value||void 0)}}"></or-mwc-input>
|
|
41
|
+
<or-mwc-input id="attributeValueFilter" .label="${_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("filter.attributeValueLabel")}"
|
|
42
|
+
|
|
43
|
+
.type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.TEXT}"
|
|
44
|
+
style="margin-top: 10px;"
|
|
45
|
+
disabled></or-mwc-input>
|
|
46
|
+
<div style="margin-top: 10px;">
|
|
47
|
+
<or-mwc-input style="float:left;" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="filter.clear" @or-mwc-input-changed="${()=>{this._filterInput.value=void 0,this._attributeValueFilter.value=void 0,this._attributeNameFilter.value=void 0,this._attributeValueFilter.disabled=!0,this._assetTypeFilter="",this._filter=new OrAssetTreeFilter,this._doFiltering()}}"></or-mwc-input>
|
|
48
|
+
<or-mwc-input style="float: right;" type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="filter.action" raised @or-mwc-input-changed="${()=>{this._filterFromSettings()}}"></or-mwc-input>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
`)}
|
|
53
|
+
|
|
54
|
+
${!this._nodes?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
55
|
+
<span id="loading"><or-translate value="loading"></or-translate></span>`:0===this._nodes.length||!this.atLeastOneNodeToBeShown()?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<span id="noAssetsFound"><or-translate value="noAssetsFound"></or-translate></span>`:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
56
|
+
<div id="list-container">
|
|
57
|
+
<ol id="list">
|
|
58
|
+
${this._nodes.map(t=>this._treeNodeTemplate(t,0)).filter(t=>!!t)}
|
|
59
|
+
<li class="asset-list-element">
|
|
60
|
+
<div class="end-element" node-asset-id="${""}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}"></div>
|
|
61
|
+
</li>
|
|
62
|
+
</ol>
|
|
63
|
+
</div>
|
|
64
|
+
`}
|
|
65
|
+
|
|
66
|
+
<div id="footer">
|
|
67
|
+
|
|
68
|
+
</div>
|
|
69
|
+
`}_isReadonly(){return this.readonly||!_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().hasRole("write:assets")}shouldUpdate(t){let e=super.shouldUpdate(t);return((t.has("assets")||t.has("rootAssets")||t.has("rootAssetIds"))&&(this._nodes=void 0),this._nodes)?(t.has("selectedIds")&&!_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.objectsEqual(t.get("selectedIds"),this.selectedIds)&&this._updateSelectedNodes(),t.has("sortBy")&&this._updateSort(this._nodes,this._getSortFunction()),t.has("disabledSubscribe")&&this.disableSubscribe&&this._removeEventSubscriptions(),e):(this._loadAssets(),!0)}_updateSelectedNodes(){let t=[],e=[];OrAssetTree_1._forEachNodeRecursive(this._nodes,n=>{if(this.selectedIds&&this.selectedIds.indexOf(n.asset.id)>=0){t.push(n.asset.id),e.push(n),n.selected=!0;let i=n.parent;for(;i;)i.expanded=!0,i=i.parent}else n.selected=!1;if(this.checkboxes){let e=n.parent;for(;e;){let n=[];OrAssetTree_1._forEachNodeRecursive(e.children,t=>{n.push(t)}),e.someChildrenSelected=!1,e.allChildrenSelected=!1,n.every(e=>t.includes(e.asset.id))?e.allChildrenSelected=!0:n.some(e=>t.includes(e.asset.id))&&(e.someChildrenSelected=!0),e=e.parent}}}),this.selectedIds=t;let n=this._selectedNodes;this._selectedNodes=e,this.dispatchEvent(new OrAssetTreeSelectionEvent({oldNodes:n,newNodes:e}))}_updateSort(t,e){t&&(t.sort(e),t.forEach(t=>this._updateSort(t.children,e)))}_toggleExpander(t,e,n=!1){e&&e.expandable&&(e.expanded=!e.expanded,e.expanded?this._expandedNodes.push(e):this._expandedNodes=this._expandedNodes.filter(t=>t!==e),t.parentElement.parentElement.parentElement.toggleAttribute("data-expanded"),n||this.dispatchEvent(new OrAssetTreeToggleExpandEvent({node:e})),this.requestUpdate())}_buildPaths(t){let e=[];return t.asset&&t.asset.id?(e.push(t.asset.id),t.children.length>0&&t.expanded&&t.children.forEach(t=>{e=e.concat(this._buildPaths(t))}),e):[]}_findNode(t,e){if(t.asset&&t.asset.id){if(t.asset.id===e)return t;if(t.children.length>0&&t.expanded){let n;return t.children.forEach(t=>{n||(n=this._findNode(t,e))}),n}return}}_findNodeFromAssetId(t){if(this._nodes){let e;return this._nodes.forEach(n=>{e||(e=this._findNode(n,t))}),e}}_onNodeClicked(t,e){var n,i,r,o;if(t&&t.defaultPrevented)return;t&&t.preventDefault();let a=t&&t.target.className.indexOf("expander")>=0,l=t&&(null==(i=null==(n=t.target)?void 0:n.icon)?void 0:i.includes("checkbox-multiple"));if(a)this._toggleExpander(t.target,e);else{let n=!0;if(e&&this.config&&(null==(r=this.config.select)?void 0:r.types)&&(n=this.config.select.types.indexOf(e.asset.type)>=0),!n&&!l)return;let i=[];if(e){let n=this.selectedNodes.indexOf(e),r=!0,a=!0,c=!this._isReadonly()&&(!this.config||!this.config.select||!this.config.select.multiSelect);if((this.checkboxes||c&&t&&(t.ctrlKey||t.shiftKey||t.metaKey))&&(a=!1,n>=0&&this.selectedIds&&this.selectedIds.length>1&&(r=!1)),l){i=[...this.selectedNodes];let t=[];OrAssetTree_1._forEachNodeRecursive(e.children,e=>{var n,i;let r=!0;e&&(null==(i=null==(n=this.config)?void 0:n.select)?void 0:i.types)&&(r=this.config.select.types.indexOf(e.asset.type)>=0),r&&t.push(e)}),i=e.allChildrenSelected?i.filter(e=>!t.map(t=>t.asset.id).includes(e.asset.id)):i.concat(t)}else if(a)this._latestSelected=Object.assign({},e),i=[e];else if(r){if(n<0){if(t&&t.shiftKey){let t=[];if(null==(o=this._nodes)||o.forEach(e=>{t=t.concat(this._buildPaths(e))}),this._latestSelected&&this._latestSelected.asset&&this._latestSelected.asset.id&&e.asset&&e.asset.id){let n=this._latestSelected.asset.id,r=e.asset.id,o=t.findIndex(t=>t.includes(n)),a=t.findIndex(t=>t.includes(r)),l=-1,c=-1;o>a?(l=a,c=o):(l=o,c=a);let d=t.slice(l,c+1),s=[];d.forEach(t=>{let e=this._findNodeFromAssetId(t);e&&s.push(e)}),i=(i=[...this.selectedNodes]).concat(s)}}else(i=[...this.selectedNodes]).push(e);this._latestSelected=Object.assign({},e)}}else n>=0&&(1===(i=[...this.selectedNodes]).length&&(this._latestSelected=void 0),i.splice(n,1))}_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestSelectionEvent({oldNodes:this.selectedNodes,newNodes:i})).then(t=>{t.allow&&(this.selectedNodes=t.detail.newNodes)})}}_onDeselectClicked(){this._onNodeClicked(null,null)}parseFromInputFilter(t){let e=this._filterInput.value;t&&(e=t);let n=new OrAssetTreeFilter;if(e){let t=e,i=e.match(/(attribute\:)(\"[^"]+\")\S*/g);i&&(i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf("attribute:"),o=e.toString().substring(r+10+1,e.toString().length-1);n.attribute.push(o),n.attributeValue.push("")}),this._attributeValueFilter.disabled=!1),(i=e.match(/(type\:)\S+/g))&&i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf("type:"),o=e.toString().substring(r+5);n.assetType.push(o)}),(i=e.match(/(\"[^\"]+\")\:(([^\"\s]+)|(\"[^\"]+\"))/g))&&i.length>0&&i.forEach((e,i)=>{t=t.replace(e,"");let r=e.toString().indexOf('":'),o=e.toString().substring(r+2),a=e.toString().substring(1,r);'"'===o[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),n.attribute.push(a),n.attributeValue.push(o)}),n.asset=t&&t.length>0?t.trim():void 0}return n}formatFilter(t){let e=t.asset?t.asset:"",n=t.asset?" ":"",i=[];return t.assetType.length>0&&t.assetType.forEach(t=>{e+=n+"type:"+t,n=" "}),t.attribute.length>0&&t.attributeValue.length>0&&t.attributeValue.forEach((r,o)=>{i.push(t.attribute[o]),e+=n+'"'+t.attribute[o]+'":'+r,n=" "}),t.attribute.length>0&&0===t.attributeValue.length&&t.attribute.forEach(t=>{i.includes(t)||(e+=n+'attribute:"'+t+'"',n=" ")}),e}_shouldEnableAttrTypeEvent(t){let e;t.composedPath()&&(e=t.composedPath()[0].value||void 0),this._shouldEnableAttrType(e)}_shouldEnableAttrType(t){t?this._attributeValueFilter.disabled=!1:this._attributeValueFilter.disabled=!0}applySettingFields(t){if(this._assetTypeFilter?t.assetType=[this._assetTypeFilter]:t.assetType=[],this._attributeNameFilter.value?t.attribute=[this._attributeNameFilter.value]:t.attribute=[],this._attributeNameFilter.value&&this._attributeValueFilter.value){let e=this._attributeValueFilter.value;e.includes(" ")&&(e='"'+e+'"'),t.attributeValue=[e]}else t.attributeValue=[];return t}_filterFromSettings(){let t=this.parseFromInputFilter(),e=this.applySettingFields(t);this._filter=e;let n=this.formatFilter(this._filter);this._filterInput.value=n,this._filterSettingOpen=!1,this._doFiltering()}_onFilterInputEvent(t){let e;t.composedPath()&&(e=t.composedPath()[0].value||void 0),this._onFilterInput(e,!1)}_onFilterInput(t,e){let n=this.parseFromInputFilter(t);_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.objectsEqual(this._filter,n,!0)||(this._filter=n,this._searchInputTimer&&clearTimeout(this._searchInputTimer),e?this._doFiltering():this._searchInputTimer=window.setTimeout(()=>{this._doFiltering()},350))}_doFiltering(){return __awaiter(this,void 0,void 0,function*(){if(this._searchInputTimer&&(clearTimeout(this._searchInputTimer),this._searchInputTimer=void 0),this.isConnected&&this._nodes){if(!this._filter.asset&&!this._filter.attribute&&!this._filter.assetType&&!this._filter.attributeValue){OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.notMatchingFilter=!1,t.hidden=!1}),this.requestUpdate("_nodes");return}if(this.disabled=!0,this._filter.asset||this._filter.assetType||this._filter.attribute){let t=!1;this._filter.attribute&&(t=!0),this.getMatcher(t).then(t=>{this._nodes&&(this._nodes.forEach(e=>{this.filterTreeNode(e,t)}),this.disabled=!1)})}}})}getMatcher(t){return t?this.getMatcherFromQuery():this.getSimpleNameMatcher()}getSimpleNameMatcher(){return __awaiter(this,void 0,void 0,function*(){return t=>{let e=!0;return this._filter.asset&&(e=e&&t.name.toLowerCase().includes(this._filter.asset.toLowerCase())),this._filter.assetType.length>0&&(e=e&&t.type.toLowerCase()===this._filter.assetType[0].toLowerCase()),e}})}getMatcherFromQuery(){return __awaiter(this,void 0,void 0,function*(){let response,foundAssetIds,assetCond,attributeCond,assetTypeCond;this._filter.asset&&(assetCond=[{predicateType:"string",match:"CONTAINS",value:this._filter.asset,caseSensitive:!1}]),this._filter.assetType.length>0&&(assetTypeCond=this._filter.assetType),this._filter.attribute.length>0&&(attributeCond={operator:"AND",items:this._filter.attribute.map(t=>({name:{predicateType:"string",match:"EXACT",value:_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sentenceCaseToCamelCase(t),caseSensitive:!1}}))});let query={select:{attributes:attributeCond?void 0:[]},names:assetCond,types:assetTypeCond,attributes:attributeCond};try{foundAssetIds=(response=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.queryAssets(query)).data.map(t=>t.id)}catch(e){this._filter.assetType.forEach(t=>{-1===this._assetTypes.findIndex(e=>e.name===t)&&(0,_openremote_or_mwc_components_or_mwc_snackbar__WEBPACK_IMPORTED_MODULE_13__.OV)(void 0,"filter.assetTypeDoesNotExist","dismiss")}),foundAssetIds=[]}return asset=>{let attrValueCheck=!0;if(this._filter.attribute.length>0&&this._filter.attributeValue.length>0&&foundAssetIds.includes(asset.id)){let attributeVal=[];this._filter.attributeValue.forEach((t,e)=>{t.length>0&&attributeVal.push([this._filter.attribute[e],t])});let matchingAsset=response.data.find(t=>t.id===asset.id);if(matchingAsset&&matchingAsset.attributes)for(let attributeValIndex=0;attributeValIndex<attributeVal.length;attributeValIndex++){let currentAttributeVal=attributeVal[attributeValIndex],atLeastOneAttributeMatchValue=!1;Object.keys(matchingAsset.attributes).forEach(key=>{let attr=matchingAsset.attributes[key];if(attr.name.toLowerCase()===currentAttributeVal[0].toLowerCase()&&attr.value)switch(attr.type){case"number":case"integer":case"long":case"bigInteger":case"bigNumber":case"positiveInteger":case"negativeInteger":case"positiveNumber":case"negativeNumber":let value=currentAttributeVal[1];currentAttributeVal[1].startsWith("=")&&"="!==currentAttributeVal[1][1]&&(value="="+value),/^[0-9]+$/.test(currentAttributeVal[1])&&(value="=="+value);let resultNumberEval=eval(attr.value+value);resultNumberEval&&(atLeastOneAttributeMatchValue=!0);break;case"text":if(attr.value){let unparsedValue=currentAttributeVal[1],multicharString="*",parsedValue=unparsedValue.replace(multicharString,".*");parsedValue=parsedValue.replace(/"/g,""),-1!=attr.value.toLowerCase().indexOf(parsedValue.toLowerCase())&&(atLeastOneAttributeMatchValue=!0)}}}),attrValueCheck=atLeastOneAttributeMatchValue}}return foundAssetIds.includes(asset.id)&&attrValueCheck}})}isAnyFilter(){return void 0!==this._filter.asset||this._filter.assetType.length>0||this._filter.attribute.length>0}filterTreeNode(t,e,n=!1){let i=e(t.asset);t.notMatchingFilter=!i;let r=t.children.map(t=>this.filterTreeNode(t,e,i)).some(t=>t);return i=i||r,t.expanded=r&&t.children.length>0&&this.isAnyFilter(),t.hidden=!i&&!n,i}_onCopyClicked(){return __awaiter(this,void 0,void 0,function*(){if(1===this._selectedNodes.length)try{let t=yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.get(this._selectedNodes[0].asset.id);if(!t.data)throw Error("API returned an invalid response when retrieving the source asset");let e=JSON.parse(JSON.stringify(t.data));e.name+=" copy",delete e.id,delete e.path,delete e.createdOn,delete e.version,_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestAddEvent({sourceAsset:this._selectedNodes[0].asset,asset:e})).then(t=>{t.allow&&this.dispatchEvent(new OrAssetTreeAddEvent(t.detail))})}catch(t){console.error("Failed to copy asset",t),(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)("Failed to copy asset")}})}_onAddClicked(){let t,e=this._getAllowedChildTypes(this._selectedNodes[0]),n=e.filter(t=>"agent"===t.descriptorType),i=e.filter(t=>"asset"===t.descriptorType),r=this._selectedNodes&&1===this._selectedNodes.length?this._selectedNodes[0].asset:void 0,o=e=>{let n=!!e.detail.name&&e.detail.name.trim().length>0&&e.detail.name.trim().length<1024;t.shadowRoot.getElementById("add-btn").disabled=!e.detail.descriptor||!n};t=(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.vC)(new _openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.iq().setHeading(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("addAsset")).setContent((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
70
|
+
<or-add-asset-dialog id="add-panel" .config="${this.config}" .agentTypes="${n}" .assetTypes="${i}" .parent="${r}" @or-add-asset-changed="${o}"></or-add-asset-dialog>
|
|
71
|
+
`).setActions([{actionName:"cancel",content:"cancel"},{actionName:"add",content:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-mwc-input id="add-btn" class="button" .type="${_openremote_or_mwc_components_or_mwc_input__WEBPACK_IMPORTED_MODULE_2__.n$.BUTTON}" label="add" disabled></or-mwc-input>`,action:()=>{let e=t.shadowRoot.getElementById("add-panel"),n=e.selectedType,i=e.selectedAttributes,r=e.name.trim(),o=e.parent;if(!n)return;let a={name:r,type:n.name,realm:_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().displayRealm},l=_openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetTypeInfo(n.name);if(!l)return;l.attributeDescriptors&&(a.attributes={},l.attributeDescriptors.filter(t=>!t.optional).forEach(t=>{a.attributes[t.name]={name:t.name,type:t.type,meta:t.meta?Object.assign({},t.meta):void 0}})),i&&(null==i||i.forEach(t=>{a.attributes[t.name]={name:t.name,type:t.type,meta:t.meta?Object.assign({},t.meta):void 0}})),this.selectedIds&&(a.parentId=o?o.id:void 0);let c={asset:a};_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestAddEvent(c)).then(t=>{t.allow&&this.dispatchEvent(new OrAssetTreeAddEvent(t.detail))})}}]).setStyles((0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
72
|
+
<style>
|
|
73
|
+
.mdc-dialog__content {
|
|
74
|
+
padding: 0 !important;
|
|
75
|
+
}
|
|
76
|
+
</style>
|
|
77
|
+
`).setDismissAction(null))}_gatewayDescendantIsSelected(){return this._selectedNodes.some(t=>{var e;let n=null==t?void 0:t.parent;for(;n;){if((null==(e=n.asset)?void 0:e.type)==="GatewayAsset")return!0;n=n.parent}return!1})}_onDeleteClicked(){this._selectedNodes.length>0&&_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.dispatchCancellableEvent(this,new OrAssetTreeRequestDeleteEvent(this._selectedNodes)).then(t=>{t.allow&&this._doDelete()})}_onSortClicked(t){this.sortBy=t}_doDelete(){if(!this._selectedNodes||0===this._selectedNodes.length)return;let t=new Set,e=this._selectedNodes.filter(e=>{var n;return(null==(n=e.asset)?void 0:n.type)!=="GatewayAsset"||(t.add(e.asset),!1)});OrAssetTree_1._forEachNodeRecursive(e,e=>{var n;let i=e.parent,r=!0;for(;i&&r;)"GatewayAsset"===(null==(n=null==i?void 0:i.asset)?void 0:n.type)&&(r=!1),i=i.parent;r&&t.add(e.asset)});let n=Array.from(t).map(t=>t.id),i=Array.from(t).map(t=>t.name),r=()=>{this.disabled=!0,_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().rest.api.AssetResource.delete({assetId:n},{paramsSerializer:t=>qs__WEBPACK_IMPORTED_MODULE_8___default().stringify(t,{arrayFormat:"repeat"})}).then(t=>{this.refresh(),this.disabled=!1,204!==t.status&&(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsFailed"))}).catch(t=>{this.refresh(),this.disabled=!1,(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.gs)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsFailed"))})};(0,_openremote_or_mwc_components_or_mwc_dialog__WEBPACK_IMPORTED_MODULE_11__.w)(_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssets"),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("deleteAssetsConfirm",{assetNames:i.join(",\n- ")}),_openremote_or_translate__WEBPACK_IMPORTED_MODULE_5__.i18next.t("delete")).then(t=>{t&&r()})}_canAdd(){var t;if(this._selectedNodes&&this._selectedNodes.length>1)return!1;let e=this._selectedNodes?this._selectedNodes[0]:void 0;return!((null==(t=null==e?void 0:e.asset)?void 0:t.type)==="GatewayAsset"||this._gatewayDescendantIsSelected())&&this._getAllowedChildTypes(e).length>0}_getAllowedChildTypes(t){let e,n;if(this.config&&this.config.add){if(this.config.add.typesProvider){let e=this.config.add.typesProvider(t);if(e)return e}if(this.config.add.typesParent){let i;!t&&this.config.add.typesParent.none?i=this.config.add.typesParent.none:t&&this.config.add.typesParent.assetTypes&&(i=this.config.add.typesParent.assetTypes[t.asset.type]),i||(i=this.config.add.typesParent.default),i&&(e=i.include,n=i.exclude||[])}}return _openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetDescriptors().filter(t=>(!e||e.some(e=>_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.stringMatch(e,t.name)))&&(!n||!n.some(e=>_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.stringMatch(e,t.name))))}_getSortFunction(){return"createdOn"===this.sortBy?_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByNumber(t=>t.asset[this.sortBy]):_openremote_core__WEBPACK_IMPORTED_MODULE_7__.Util.sortByString(t=>t.asset[this.sortBy])}_loadAssets(){let t=this._getSortFunction();if(this.assets)this._loading=!1,this._buildTreeNodes(this.assets,t);else{if(!this._connected||this._loading)return;if(this._loading=!0,this.dataProvider)this.dataProvider().then(e=>{this._loading=!1,this._buildTreeNodes(e,t)});else{let e={realm:{name:_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().displayRealm},select:{attributes:[]}};this.assetIds?(e.ids=this.assetIds,e.recursive=!0):this.rootAssets?(e.ids=this.rootAssets.map(t=>t.id),e.recursive=!0):this.rootAssetIds&&(e.ids=this.rootAssetIds,e.recursive=!0),this._sendEventWithReply({eventType:"read-assets",assetQuery:e}).then(e=>{this._loading=!1,this._buildTreeNodes(e.assets,t)})}}}_addEventSubscriptions(){return __awaiter(this,void 0,void 0,function*(){this.disableSubscribe||(this._subscriptionIds=[(yield _openremote_core__WEBPACK_IMPORTED_MODULE_7___default().getEventProvider().subscribeAssetEvents(void 0,!1,t=>this._onEvent(t)))])})}onEventsConnect(){this._connected=!0,this._loadAssets()}onEventsDisconnect(){this._connected=!1,this._nodes=void 0}getNodes(){return this._nodes||[]}_onEvent(t){if("assets"===t.eventType){let e=t;this._buildTreeNodes(e.assets,this._getSortFunction());return}if("asset"===t.eventType){let e=t;if("READ"===e.cause||"UPDATE"===e.cause&&!(e.updatedProperties.includes("name")||e.updatedProperties.includes("parentId")))return;let n=[];"DELETE"!==e.cause&&n.push(e.asset),this._nodes&&OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.asset.id!==e.asset.id&&n.push(t.asset)}),this._buildTreeNodes(n,this._getSortFunction()),this._filterInput.value&&this._doFiltering(),this.dispatchEvent(new OrAssetTreeAssetEvent(e))}}_buildTreeNodes(t,e){if(t&&0!==t.length){let n,i;_openremote_core__WEBPACK_IMPORTED_MODULE_7___default().isRestrictedUser()&&t.forEach(e=>{if(e.parentId&&e.path&&void 0===t.find(t=>t.id===e.parentId)){let n=null;for(let i=0;i<e.path.length;i++){let r=e.path[i];e.id!==r&&void 0!==t.find(t=>t.id===r)&&(n=r)}e.reparentId=n}}),this.rootAssetIds?n=this.rootAssetIds:this.rootAssets&&(n=this.rootAssets.map(t=>t.id)),i=n?t.filter(t=>n.indexOf(t.id)>=0||null===t.reparentId).map(t=>({asset:t})):t.filter(t=>!t.parentId||null===t.reparentId).map(t=>({asset:t})),this.assetsChildren={},t.forEach(t=>{t.parentId&&(this.assetsChildren[t.parentId]||(this.assetsChildren[t.parentId]=[]),this.assetsChildren[t.parentId].push({asset:t})),t.reparentId&&(this.assetsChildren[t.reparentId]||(this.assetsChildren[t.reparentId]=[]),this.assetsChildren[t.reparentId].push({asset:t}))}),i.sort(e),i.forEach(n=>this._buildChildTreeNodes(n,t,e)),this._nodes=i;let r=[];this._expandedNodes.forEach(t=>{OrAssetTree_1._forEachNodeRecursive(this._nodes,e=>{if(e.asset&&t&&t.asset&&e.asset.id===t.asset.id){e.expanded=!0,r.push(e);let t=e.parent;for(;t;)t.expanded=!0,t=t.parent,0>r.indexOf(t)&&r.push(t)}})}),this._expandedNodes=r}else this._nodes=[];this.selectedIds&&this.selectedIds.length>0&&this._updateSelectedNodes(),this.expandAllNodes&&OrAssetTree_1._forEachNodeRecursive(this._nodes,t=>{t.children&&t.children.length>0&&(t.expanded=!0)})}_buildChildTreeNodes(t,e,n){let i=this.assetsChildren[t.asset.id];t.children=i?i.sort(n):[],t.children.length>0&&(t.expandable=!0),t.children.forEach(i=>{i.parent=t,this._buildChildTreeNodes(i,e,n)})}_onDragStart(t){this._dragDropParentId=null;let e=t.currentTarget.getAttribute("node-asset-id");this.selectedIds||(this.selectedIds=[]),e&&this.selectedIds&&!this.selectedIds.includes(e)&&(t.ctrlKey||t.shiftKey||(this.selectedIds=[]),this.selectedIds.push(e))}_onDragEnd(t){let e=t.x,n=t.y;if(null!==this.shadowRoot){let t=this.shadowRoot.getElementById("list");if(t){let i=t.getBoundingClientRect().top,r=t.getBoundingClientRect().bottom,o=t.getBoundingClientRect().left,a=t.getBoundingClientRect().right;if(e<o||e>a||n>r||n<i)return}}this.selectedIds&&this.dispatchEvent(new OrAssetTreeChangeParentEvent(!this._dragDropParentId?void 0:this._dragDropParentId,this.selectedIds))}isExpandable(t){return!!(this._nodes&&this.shadowRoot&&this.shadowRoot.querySelector('[node-asset-id="'+t+'"] > .node-name > [data-expandable]'))||!1}_onDragOver(t){let e=t.currentTarget;e.classList.add("over");let n=e.getAttribute("node-asset-id");n&&this.isExpandable(n)&&!this._expandTimer&&(this._expandTimer=window.setTimeout(()=>{this.expandNode(n)},1e3))}expandNode(t){var e;if(this.shadowRoot&&t&&t===this._dragDropParentId){let n=this._findNodeFromAssetId(t),i=null==(e=this.shadowRoot)?void 0:e.querySelector('[node-asset-id="'+t+'"]');i&&n&&!n.expanded&&this._toggleExpander(i.firstElementChild.firstElementChild,n,!0)}}_onDragEnter(t){let e=t.currentTarget;e.classList.add("over");let n=e.getAttribute("node-asset-id");this._dragDropParentId=n}_onDragLeave(t){t.currentTarget.classList.remove("over"),clearTimeout(this._expandTimer),this._expandTimer=void 0}_treeNodeTemplate(t,e){let n,i=_openremote_model__WEBPACK_IMPORTED_MODULE_4__.AssetModelUtil.getAssetDescriptor(t.asset.type);if(n=t.allChildrenSelected?"checkbox-multiple-marked":t.someChildrenSelected?"checkbox-multiple-marked-outline":"checkbox-multiple-blank-outline",t.hidden)return(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)``;let r=!1;return t.asset&&t.notMatchingFilter&&(r=!0),t.expanded&&0===t.children.length&&(t.expanded=!1),this.expandedIds&&-1!==this.expandedIds.findIndex(e=>e===t.asset.id)&&(t.expanded=!0),(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
78
|
+
<li class="asset-list-element" ?data-selected="${t.selected}" ?data-expanded="${t.expanded}" @click="${e=>this._onNodeClicked(e,t)}">
|
|
79
|
+
<div class="in-between-element" node-asset-id="${t.parent?t.parent.asset?t.parent.asset.id:"":void 0}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}"></div>
|
|
80
|
+
<div class="node-container draggable" node-asset-id="${t.asset?t.asset.id:""}" draggable="${!this._isReadonly()}" @dragleave=${t=>{this._onDragLeave(t)}} @dragenter="${t=>this._onDragEnter(t)}" @dragstart="${t=>this._onDragStart(t)}" @dragend="${t=>this._onDragEnd(t)}" @dragover="${t=>this._onDragOver(t)}" style="padding-left: ${22*e}px">
|
|
81
|
+
<div class="node-name">
|
|
82
|
+
<div class="expander" ?data-expandable="${t.expandable}"></div>
|
|
83
|
+
${(0,_openremote_or_icon__WEBPACK_IMPORTED_MODULE_3__.getAssetDescriptorIconTemplate)(i,void 0,void 0,r?"d3d3d3":void 0)}
|
|
84
|
+
<span style="color: ${r?"#d3d3d3;":""}">${t.asset.name}</span>
|
|
85
|
+
${this.checkboxes?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`
|
|
86
|
+
<span class="mdc-list-item__graphic">
|
|
87
|
+
${t.expandable?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<div class="mdc-checkbox">
|
|
88
|
+
<or-icon class="mdc-checkbox--parent" icon="${n}"></or-icon>
|
|
89
|
+
</div>`:""}
|
|
90
|
+
<div class="mdc-checkbox">
|
|
91
|
+
${t.selected?(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-icon icon="checkbox-marked"></or-icon>`:(0,lit__WEBPACK_IMPORTED_MODULE_0__.dy)`<or-icon icon="checkbox-blank-outline"></or-icon>`}
|
|
92
|
+
</div>
|
|
93
|
+
</span>`:""}
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<ol>
|
|
97
|
+
${!t.children||t.expandable&&!t.expanded?"":t.children.map(t=>this._treeNodeTemplate(t,e+1)).filter(t=>!!t)}
|
|
98
|
+
</ol>
|
|
99
|
+
</li>
|
|
100
|
+
`}static _forEachNodeRecursive(t,e){t&&t.forEach(t=>{e(t),this._forEachNodeRecursive(t.children,e)})}};__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array,reflect:!1})],OrAssetTree.prototype,"assets",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Object})],OrAssetTree.prototype,"assetInfos",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"_assetIdsOverride",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"rootAssets",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"rootAssetIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Object})],OrAssetTree.prototype,"dataProvider",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"readonly",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"disabled",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"disableSubscribe",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"selectedIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showDeselectBtn",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showSortBtn",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"showFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:String})],OrAssetTree.prototype,"sortBy",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"expandAllNodes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Array})],OrAssetTree.prototype,"expandedIds",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({type:Boolean})],OrAssetTree.prototype,"checkboxes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Cb)({attribute:!1})],OrAssetTree.prototype,"_nodes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_filter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#clearIconContainer")],OrAssetTree.prototype,"_clearIconContainer",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#filterInput")],OrAssetTree.prototype,"_filterInput",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_filterSettingOpen",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_assetTypes",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#attributeNameFilter")],OrAssetTree.prototype,"_attributeNameFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.IO)("#attributeValueFilter")],OrAssetTree.prototype,"_attributeValueFilter",void 0),__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.SB)()],OrAssetTree.prototype,"_assetTypeFilter",void 0),OrAssetTree=OrAssetTree_1=__decorate([(0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.Mo)("or-asset-tree")],OrAssetTree)},7987:function(t,e,n){"use strict";var i=n(7138),r=n(7308),o=n(4297),a=n(6505),l=n(9357),c=n(2730),d=n(9329),s=n(6801),m=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},p=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};class u extends CustomEvent{constructor(t){super(u.NAME,{bubbles:!0,composed:!0,detail:t})}}u.NAME="or-add-asset-changed";let f=class extends i.oi{static get styles(){return(0,i.iv)`
|
|
101
|
+
:host{
|
|
102
|
+
border-style: solid;
|
|
103
|
+
border-color: var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
104
|
+
border-width: 1px 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
#name-wrapper {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: column;
|
|
110
|
+
margin-top: 12px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
#toggle-parent-selector,
|
|
114
|
+
#remove-parent {
|
|
115
|
+
flex: 0 0 50px;
|
|
116
|
+
margin: 4px 0 0 5px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#name-input,
|
|
120
|
+
#parent-wrapper {
|
|
121
|
+
margin: 10px 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
#parent-wrapper {
|
|
125
|
+
display: flex;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
#parent {
|
|
129
|
+
flex: 1 1 auto;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
#parent-selector {
|
|
133
|
+
max-width: 250px;
|
|
134
|
+
border-left: 1px solid var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
#mdc-dialog-form-add {
|
|
138
|
+
display: flex;
|
|
139
|
+
height: 100%;
|
|
140
|
+
max-height: 600px;
|
|
141
|
+
width: 1000px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.msg {
|
|
145
|
+
display: flex;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
align-items: center;
|
|
148
|
+
text-align: center;
|
|
149
|
+
height: 100%;
|
|
150
|
+
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
151
|
+
font-size: 14px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
#asset-type-option-container {
|
|
155
|
+
padding: 15px;
|
|
156
|
+
flex: 1 1 auto;
|
|
157
|
+
overflow: auto;
|
|
158
|
+
max-width: 100%;
|
|
159
|
+
font-size: 16px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
#type-list {
|
|
163
|
+
width: 260px;
|
|
164
|
+
overflow: auto;
|
|
165
|
+
text-transform: capitalize;
|
|
166
|
+
border-right: 1px solid var(--or-app-color5, ${(0,i.$m)(s.DefaultColor5)});
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
#type-title {
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
margin: 9px 4px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#type-description {
|
|
176
|
+
text-transform: capitalize;
|
|
177
|
+
color: var(--or-app-color3, ${(0,i.$m)(s.DefaultColor3)});
|
|
178
|
+
margin-left: 10px;
|
|
179
|
+
font-size: 18px;
|
|
180
|
+
font-weight: bold;
|
|
181
|
+
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.heading,
|
|
185
|
+
.mdc-list-group__subheader {
|
|
186
|
+
text-transform: uppercase;
|
|
187
|
+
font-family: "Segoe UI", Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
188
|
+
font-weight: bolder;
|
|
189
|
+
line-height: 1em;
|
|
190
|
+
color: var(--or-app-color3, ${(0,i.$m)(s.DefaultColor3)});
|
|
191
|
+
letter-spacing: 0.025em;
|
|
192
|
+
font-size: 14px;
|
|
193
|
+
margin: 20px 0 10px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.mdc-list-group__subheader {
|
|
197
|
+
margin: 20px 0 0 16px;
|
|
198
|
+
}
|
|
199
|
+
`}constructor(){super(),this.selectedAttributes=[],this.showParentAssetSelector=!1,this.selectedChildAssetType="",this.name="New Asset",this.addEventListener(l.OrAssetTreeSelectionEvent.NAME,t=>{this.parent=t.detail.newNodes[0].asset})}render(){let t=t=>t.map(t=>({styleMap:{"--or-icon-fill":t.colour?"#"+t.colour:"unset"},icon:t.icon,text:s.Util.getAssetTypeLabel(t),value:t.name,data:t})).sort(s.Util.sortByString(t=>t.text)),e=t(this.agentTypes),n=t(this.assetTypes),r=[];e.length>0&&r.push({heading:d.i18next.t("agents"),list:(0,i.dy)`<or-mwc-list @or-mwc-list-changed="${t=>{1===t.detail.length&&this.onTypeChanged(!0,t.detail[0])}}" .listItems="${e}" id="agent-list"></or-mwc-list>`}),n.length>0&&r.push({heading:d.i18next.t("assets"),list:(0,i.dy)`<or-mwc-list @or-mwc-list-changed="${t=>{1===t.detail.length&&this.onTypeChanged(!1,t.detail[0])}}" .listItems="${n}" id="asset-list"></or-mwc-list>`});let o=this.parent?this.parent.name+" ("+this.parent.id+")":d.i18next.t("none");return(0,i.dy)`
|
|
200
|
+
<div class="col" style="height: 100%;">
|
|
201
|
+
<form id="mdc-dialog-form-add" class="row">
|
|
202
|
+
<div id="type-list" class="col">
|
|
203
|
+
${(0,c.v4)(r)}
|
|
204
|
+
</div>
|
|
205
|
+
<div id="asset-type-option-container" class="col">
|
|
206
|
+
${!this.selectedType?(0,i.dy)`<div class="msg"><or-translate value="noAssetTypeSelected"></or-translate></div>`:this.getTypeTemplate(this.selectedType,o)}
|
|
207
|
+
</div>
|
|
208
|
+
${!this.showParentAssetSelector?(0,i.dy)``:(0,i.dy)`<or-asset-tree id="parent-selector" class="col" .showDeselectBtn="${!1}" .showSortBtn="${!1}" selectedNodes readonly></or-asset-tree>`}
|
|
209
|
+
</form>
|
|
210
|
+
</div>
|
|
211
|
+
`}getTypeTemplate(t,e){var n,r;if(!t.name)return!1;let l=o.AssetModelUtil.getAssetTypeInfo(t.name),c=null==(n=null==l?void 0:l.attributeDescriptors)?void 0:n.filter(t=>!t.optional),m=null==(r=null==l?void 0:l.attributeDescriptors)?void 0:r.filter(t=>!!t.optional);return(0,i.dy)`
|
|
212
|
+
<div id="type-title">
|
|
213
|
+
<or-icon style="--or-icon-fill: ${t.colour?"#"+t.colour:"unset"}" id="type-icon" .icon="${t.icon}"></or-icon>
|
|
214
|
+
<or-translate id="type-description" .value="${s.Util.getAssetTypeLabel(t)}"></or-translate>
|
|
215
|
+
</div>
|
|
216
|
+
<div id="name-wrapper">
|
|
217
|
+
<or-mwc-input id="name-input" .type="${a.n$.TEXT}" min="1" max="1023" required .label="${d.i18next.t("name")}" .value="${this.name}" @or-mwc-input-changed="${t=>this.onNameChanged(t.detail.value)}"></or-mwc-input>
|
|
218
|
+
<div id="parent-wrapper">
|
|
219
|
+
<or-mwc-input id="parent" .type="${a.n$.TEXT}" readonly .label="${d.i18next.t("parent")}" .value="${e}" @click="${()=>this._onToggleParentAssetSelector()}"></or-mwc-input>
|
|
220
|
+
<or-mwc-input id="remove-parent" ?disabled="${!this.parent}" type="${a.n$.BUTTON}" icon="close" @or-mwc-input-changed="${()=>this._onDeselectClicked()}"></or-mwc-input>
|
|
221
|
+
<or-mwc-input id="toggle-parent-selector" icon="${this.showParentAssetSelector?"pencil-off":"pencil"}" type="${a.n$.BUTTON}" @or-mwc-input-changed="${()=>this._onToggleParentAssetSelector()}"></or-mwc-input>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
${!c?(0,i.dy)``:(0,i.dy)`
|
|
226
|
+
<div>
|
|
227
|
+
<div class="heading">${d.i18next.t("attribute_plural")}</div>
|
|
228
|
+
<div style="display: grid">
|
|
229
|
+
${c.sort(s.Util.sortByString(t=>t.name)).map(t=>(0,i.dy)`
|
|
230
|
+
<or-mwc-input .type="${a.n$.CHECKBOX}" .label="${s.Util.getAttributeLabel(void 0,t,void 0,!0)}"
|
|
231
|
+
.disabled="${!0}" .value="${!0}"></or-mwc-input>
|
|
232
|
+
`)}
|
|
233
|
+
</div>
|
|
234
|
+
`}
|
|
235
|
+
|
|
236
|
+
${!m?(0,i.dy)``:(0,i.dy)`
|
|
237
|
+
<div>
|
|
238
|
+
<div class="heading">${d.i18next.t("optional_attributes")}</div>
|
|
239
|
+
<div style="display: grid">
|
|
240
|
+
${m.sort(s.Util.sortByString(t=>t.name)).map(t=>(0,i.dy)`
|
|
241
|
+
<or-mwc-input .type="${a.n$.CHECKBOX}" .label="${s.Util.getAttributeLabel(void 0,t,void 0,!0)}"
|
|
242
|
+
.value="${this.selectedAttributes.find(e=>e===t)}"
|
|
243
|
+
@or-mwc-input-changed="${e=>e.detail.value?this.selectedAttributes.push(t):this.selectedAttributes.splice(this.selectedAttributes.findIndex(e=>e===t),1)}"></or-mwc-input>
|
|
244
|
+
`)}
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
`}
|
|
248
|
+
`}onNameChanged(t){this.name=t,this.onModified()}onTypeChanged(t,e){return p(this,void 0,void 0,function*(){yield this.updateComplete,this.selectedAttributes=[],this.selectedType=e.data;let n=t?this.assetList:this.agentList;n&&(n.values=void 0),this.onModified()})}onModified(){this.dispatchEvent(new u({name:this.name,descriptor:this.selectedType}))}_onToggleParentAssetSelector(){this.showParentAssetSelector=!this.showParentAssetSelector}_onDeselectClicked(){this.parent=void 0}};m([(0,r.Cb)({attribute:!1})],f.prototype,"config",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"agentTypes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"assetTypes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"parent",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedType",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedAttributes",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"showParentAssetSelector",void 0),m([(0,r.Cb)({attribute:!1})],f.prototype,"selectedChildAssetType",void 0),m([(0,r.IO)("#name-input")],f.prototype,"nameInput",void 0),m([(0,r.IO)("#agent-list")],f.prototype,"agentList",void 0),m([(0,r.IO)("#asset-list")],f.prototype,"assetList",void 0),m([(0,r.IO)("#parent-asset-list")],f.prototype,"parentAssetList",void 0),m([(0,r.Mo)("or-add-asset-dialog")],f)},6748:function(t,e,n){"use strict";n.d(e,{o:()=>l});var i=n(7138),r=n(6801),o="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",a="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";let l=(0,i.iv)`
|
|
249
|
+
|
|
250
|
+
:host {
|
|
251
|
+
--internal-or-asset-tree-header-color: var(--or-asset-tree-header-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
252
|
+
--internal-or-asset-tree-header-text-color: var(--or-asset-tree-header-text-color, var(--or-app-color8, ${(0,i.$m)(r.DefaultColor8)}));
|
|
253
|
+
--internal-or-asset-tree-header-menu-background-color: var(--or-asset-tree-header-menu-background-color, var(--internal-or-asset-tree-header-text-color));
|
|
254
|
+
--internal-or-asset-tree-header-menu-text-color: var(--or-asset-tree-header-menu-text-color, inherit);
|
|
255
|
+
--internal-or-asset-tree-header-height: var(--or-asset-tree-header-height, 48px);
|
|
256
|
+
--internal-or-asset-tree-background-color: var(--or-asset-tree-background-color, var(--or-app-color1, ${(0,i.$m)(r.DefaultColor1)}));
|
|
257
|
+
--internal-or-asset-tree-text-color: var(--or-asset-tree-text-color, inherit);
|
|
258
|
+
--internal-or-asset-tree-item-height: var(--or-asset-tree-item-height, 24px);
|
|
259
|
+
--internal-or-asset-tree-item-padding: var(--or-asset-tree-item-padding, 10px);
|
|
260
|
+
--internal-or-asset-tree-selected-background-color: var(--or-asset-tree-selected-background-color, var(--or-app-color2, ${(0,i.$m)(r.DefaultColor2)}));
|
|
261
|
+
--internal-or-asset-tree-selected-color: var(--or-asset-tree-selected-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
262
|
+
--internal-or-asset-tree-button-color: var(--or-asset-tree-button-color, var(--or-app-color4, ${(0,i.$m)(r.DefaultColor4)}));
|
|
263
|
+
--internal-or-asset-tree-line-color: var(--or-asset-tree-line-color, var(--or-app-color5, ${(0,i.$m)(r.DefaultColor5)}));
|
|
264
|
+
|
|
265
|
+
display: flex;
|
|
266
|
+
flex-direction: column;
|
|
267
|
+
height: 100%;
|
|
268
|
+
width: 100%;
|
|
269
|
+
background-color: var(--internal-or-asset-tree-background-color);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
*[hidden] {
|
|
273
|
+
display: none;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
button {
|
|
277
|
+
background-color: var(--internal-or-asset-tree-button-color);
|
|
278
|
+
color: var(--internal-or-asset-tree-background-color);
|
|
279
|
+
--or-icon-width: 20px;
|
|
280
|
+
--or-icon-height: 20px;
|
|
281
|
+
--or-icon-fill: var(--internal-or-asset-tree-background-color);
|
|
282
|
+
border: none;
|
|
283
|
+
padding: 0 6px;
|
|
284
|
+
display: inline-block;
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
opacity: 0.8;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
button:focus, button:hover {
|
|
290
|
+
outline: 0;
|
|
291
|
+
opacity: 1;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
#header {
|
|
295
|
+
background-color: var(--internal-or-asset-tree-header-color);
|
|
296
|
+
display: flex;
|
|
297
|
+
align-items: center;
|
|
298
|
+
width: 100%;
|
|
299
|
+
height: var(--internal-or-asset-tree-header-height);
|
|
300
|
+
border-bottom: 1px solid ${(0,i.$m)(r.DefaultColor5)};
|
|
301
|
+
z-index: 1000;
|
|
302
|
+
line-height: var(--internal-or-asset-tree-header-height);
|
|
303
|
+
color: var(--internal-or-asset-tree-header-text-color);
|
|
304
|
+
--or-icon-fill: var(--internal-or-asset-tree-header-text-color);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
#title-container {
|
|
308
|
+
flex: 1 0 auto;
|
|
309
|
+
flex-direction: row;
|
|
310
|
+
text-transform: capitalize;
|
|
311
|
+
padding-left: 15px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
#title {
|
|
315
|
+
font-weight: 500;
|
|
316
|
+
font-size: 16px;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
#realm-picker {
|
|
320
|
+
outline: none;
|
|
321
|
+
margin-left: 5px;
|
|
322
|
+
text-transform: none;
|
|
323
|
+
font-size: 14px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
#header-btns {
|
|
327
|
+
display: flex;
|
|
328
|
+
flex-direction: row;
|
|
329
|
+
padding-right: 5px;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
#list-container {
|
|
333
|
+
flex: 1 1 auto;
|
|
334
|
+
overflow: auto;
|
|
335
|
+
font-size: 14px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
#list {
|
|
339
|
+
margin: 0;
|
|
340
|
+
color: var(--internal-or-asset-tree-text-color);
|
|
341
|
+
padding: 0;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
#list, ol {
|
|
345
|
+
list-style-type: none;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
li ol {
|
|
349
|
+
padding: 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
#list li:not([data-expanded]) > ol {
|
|
353
|
+
display: none;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
#list li[data-selected] > .node-container, #list li > .node-container:hover {
|
|
357
|
+
background-color: var(--internal-or-asset-tree-selected-background-color);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
#list li[data-selected] > .node-container {
|
|
361
|
+
border-left-color: var(--internal-or-asset-tree-selected-color);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.asset-list-element .over {
|
|
365
|
+
background-color: ${(0,i.$m)(r.DefaultColor5)};
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.in-between-element {
|
|
369
|
+
position: relative;
|
|
370
|
+
height: 2px;
|
|
371
|
+
}
|
|
372
|
+
.in-between-element.over {
|
|
373
|
+
padding: 5px 0;
|
|
374
|
+
margin: -5px 0;
|
|
375
|
+
}
|
|
376
|
+
.end-element {
|
|
377
|
+
height: 44px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.node-container {
|
|
381
|
+
display: flex;
|
|
382
|
+
border-left: 4px solid transparent;
|
|
383
|
+
user-select: none;
|
|
384
|
+
cursor: pointer;
|
|
385
|
+
height: var(--internal-or-asset-tree-item-height);
|
|
386
|
+
line-height: var(--internal-or-asset-tree-item-height);
|
|
387
|
+
padding-top: var(--internal-or-asset-tree-item-padding);
|
|
388
|
+
padding-bottom: var(--internal-or-asset-tree-item-padding);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.node-container > * {
|
|
392
|
+
flex: 0 0 auto;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.expander {
|
|
396
|
+
width: 36px;
|
|
397
|
+
height: 100%;
|
|
398
|
+
display: inline-block;
|
|
399
|
+
background-repeat: no-repeat;
|
|
400
|
+
background-size: 18px;
|
|
401
|
+
background-position: center;
|
|
402
|
+
|
|
403
|
+
margin-left: -4px;
|
|
404
|
+
border-left: 4px solid transparent;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.expander[data-expandable] {
|
|
408
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='rgb(204, 204, 204)' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(a)}'/%3E%3C/svg%3E");
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.expander[data-expandable]:hover {
|
|
412
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(a)}'/%3E%3C/svg%3E");
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
li[data-expanded] > .node-container .expander {
|
|
416
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${(0,i.$m)(o)}'/%3E%3C/svg%3E") !important;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.node-name {
|
|
420
|
+
margin: -4px 0;
|
|
421
|
+
flex: 1 0 auto;
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.node-name > span {
|
|
427
|
+
vertical-align: middle;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.node-name > or-icon {
|
|
431
|
+
--or-icon-width: 18px;
|
|
432
|
+
--or-icon-height: 18px;
|
|
433
|
+
margin-right: 8px;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
#loading {
|
|
437
|
+
flex: 1 0 auto;
|
|
438
|
+
display: inline-flex;
|
|
439
|
+
align-items: center;
|
|
440
|
+
text-align: center;
|
|
441
|
+
margin: 0 auto;
|
|
442
|
+
font-size: 14px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
@media only screen and (min-width: 768px){
|
|
446
|
+
.expander {
|
|
447
|
+
width: 26px;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.mdc-list-item__graphic {
|
|
452
|
+
margin-left: auto;
|
|
453
|
+
display: flex;
|
|
454
|
+
margin-right: 5px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.mdc-checkbox {
|
|
458
|
+
display: flex;
|
|
459
|
+
height: 100%;
|
|
460
|
+
align-items: center;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.mdc-checkbox or-icon {
|
|
464
|
+
height: 15px;
|
|
465
|
+
width: auto;
|
|
466
|
+
color: var(--internal-or-asset-tree-line-color);
|
|
467
|
+
}
|
|
468
|
+
.mdc-checkbox or-icon.mdc-checkbox--parent {
|
|
469
|
+
height: 17px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.mdc-checkbox or-icon[icon="checkbox-marked"],
|
|
473
|
+
.mdc-checkbox or-icon[icon="checkbox-multiple-marked"],
|
|
474
|
+
.mdc-checkbox or-icon[icon="checkbox-multiple-marked-outline"] {
|
|
475
|
+
color: var(--internal-or-asset-tree-selected-color);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
#asset-tree-filter {
|
|
479
|
+
display: flex;
|
|
480
|
+
align-items: center;
|
|
481
|
+
position: relative;
|
|
482
|
+
background-color: var(--internal-or-asset-tree-selected-background-color);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
#filterInput {
|
|
486
|
+
padding: 7px 12px 7px 7px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
#filterAssetTypeDownIcon {
|
|
490
|
+
width: 16px;
|
|
491
|
+
height: 16px;
|
|
492
|
+
position: absolute;
|
|
493
|
+
right: 20px;
|
|
494
|
+
padding-right: 14px;
|
|
495
|
+
cursor: pointer;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
#filterSettingsIcon {
|
|
499
|
+
cursor: pointer;
|
|
500
|
+
margin-right: 12px;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
#asset-tree-filter-setting {
|
|
504
|
+
position: absolute;
|
|
505
|
+
background-color: var(--internal-or-asset-tree-background-color);
|
|
506
|
+
top: calc(var(--internal-or-asset-tree-header-height) + var(--internal-or-header-height, 50px) - 1px);
|
|
507
|
+
display: none;
|
|
508
|
+
width: 300px;
|
|
509
|
+
z-index: 100;
|
|
510
|
+
box-shadow: rgb(0 0 0 / 21%) 0px 1px 3px 0px;
|
|
511
|
+
box-sizing: border-box;
|
|
512
|
+
padding: 10px;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
#asset-tree-filter-setting .advanced-filter {
|
|
516
|
+
display: flex;
|
|
517
|
+
flex-direction: column;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
#asset-tree-filter-setting.visible {
|
|
521
|
+
display: block;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.filterAssetType {
|
|
525
|
+
display: flex;
|
|
526
|
+
align-items: center;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
#clearIconContainer.visible {
|
|
530
|
+
display: block;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
#noAssetsFound {
|
|
534
|
+
flex: 1 0 auto;
|
|
535
|
+
display: inline-flex;
|
|
536
|
+
align-items: center;
|
|
537
|
+
text-align: center;
|
|
538
|
+
margin: 0 auto;
|
|
539
|
+
font-size: 14px;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.filterMatching {
|
|
543
|
+
color: #808080;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.draggable {
|
|
547
|
+
cursor: pointer;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.draggable:active[draggable="true"] {
|
|
551
|
+
cursor: grabbing;
|
|
552
|
+
}
|
|
553
|
+
`},5839:function(t,e,n){"use strict";n.d(e,{iq:()=>M,gs:()=>N,vC:()=>P,w:()=>D});var i=n(7138),r=n(7308),o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function a(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function c(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var d=n(1872),s="mdc-dom-focus-sentinel",m=function(){function t(t,e){void 0===e&&(e={}),this.root=t,this.options=e,this.elFocusedBeforeTrapFocus=null}return t.prototype.trapFocus=function(){var t=this.getFocusableElements(this.root);if(0===t.length)throw Error("FocusTrap: Element must have at least one focusable child.");this.elFocusedBeforeTrapFocus=document.activeElement instanceof HTMLElement?document.activeElement:null,this.wrapTabFocus(this.root,t),this.options.skipInitialFocus||this.focusInitialElement(t,this.options.initialFocusEl)},t.prototype.releaseFocus=function(){[].slice.call(this.root.querySelectorAll("."+s)).forEach(function(t){t.parentElement.removeChild(t)}),this.elFocusedBeforeTrapFocus&&this.elFocusedBeforeTrapFocus.focus()},t.prototype.wrapTabFocus=function(t,e){var n=this.createSentinel(),i=this.createSentinel();n.addEventListener("focus",function(){e.length>0&&e[e.length-1].focus()}),i.addEventListener("focus",function(){e.length>0&&e[0].focus()}),t.insertBefore(n,t.children[0]),t.appendChild(i)},t.prototype.focusInitialElement=function(t,e){var n=0;e&&(n=Math.max(t.indexOf(e),0)),t[n].focus()},t.prototype.getFocusableElements=function(t){return[].slice.call(t.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(t){var e="true"===t.getAttribute("aria-disabled")||null!=t.getAttribute("disabled")||null!=t.getAttribute("hidden")||"true"===t.getAttribute("aria-hidden"),n=t.tabIndex>=0&&t.getBoundingClientRect().width>0&&!t.classList.contains(s)&&!e,i=!1;if(n){var r=getComputedStyle(t);i="none"===r.display||"hidden"===r.visibility}return n&&!i})},t.prototype.createSentinel=function(){var t=document.createElement("div");return t.setAttribute("tabindex","0"),t.setAttribute("aria-hidden","true"),t.classList.add(s),t},t}(),p=n(2584),u=n(6645),f=n(4327),h={CLOSING:"mdc-dialog--closing",OPEN:"mdc-dialog--open",OPENING:"mdc-dialog--opening",SCROLLABLE:"mdc-dialog--scrollable",SCROLL_LOCK:"mdc-dialog-scroll-lock",STACKED:"mdc-dialog--stacked"},g={ACTION_ATTRIBUTE:"data-mdc-dialog-action",BUTTON_DEFAULT_ATTRIBUTE:"data-mdc-dialog-button-default",BUTTON_SELECTOR:".mdc-dialog__button",CLOSED_EVENT:"MDCDialog:closed",CLOSE_ACTION:"close",CLOSING_EVENT:"MDCDialog:closing",CONTAINER_SELECTOR:".mdc-dialog__container",CONTENT_SELECTOR:".mdc-dialog__content",DESTROY_ACTION:"destroy",INITIAL_FOCUS_ATTRIBUTE:"data-mdc-dialog-initial-focus",OPENED_EVENT:"MDCDialog:opened",OPENING_EVENT:"MDCDialog:opening",SCRIM_SELECTOR:".mdc-dialog__scrim",SUPPRESS_DEFAULT_PRESS_SELECTOR:"textarea, .mdc-menu .mdc-list-item",SURFACE_SELECTOR:".mdc-dialog__surface"},b={DIALOG_ANIMATION_CLOSE_TIME_MS:75,DIALOG_ANIMATION_OPEN_TIME_MS:150},_=function(t){function e(n){var i=t.call(this,l(l({},e.defaultAdapter),n))||this;return i.isOpen_=!1,i.animationFrame_=0,i.animationTimer_=0,i.layoutFrame_=0,i.escapeKeyAction_=g.CLOSE_ACTION,i.scrimClickAction_=g.CLOSE_ACTION,i.autoStackButtons_=!0,i.areButtonsStacked_=!1,i.suppressDefaultPressSelector=g.SUPPRESS_DEFAULT_PRESS_SELECTOR,i}return a(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return h},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return g},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return b},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addBodyClass:function(){},addClass:function(){},areButtonsStacked:function(){return!1},clickDefaultButton:function(){},eventTargetMatches:function(){return!1},getActionFromEvent:function(){return""},getInitialFocusEl:function(){return null},hasClass:function(){return!1},isContentScrollable:function(){return!1},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},releaseFocus:function(){},removeBodyClass:function(){},removeClass:function(){},reverseButtons:function(){},trapFocus:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.hasClass(h.STACKED)&&this.setAutoStackButtons(!1)},e.prototype.destroy=function(){this.isOpen_&&this.close(g.DESTROY_ACTION),this.animationTimer_&&(clearTimeout(this.animationTimer_),this.handleAnimationTimerEnd_()),this.layoutFrame_&&(cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=0)},e.prototype.open=function(){var t=this;this.isOpen_=!0,this.adapter.notifyOpening(),this.adapter.addClass(h.OPENING),this.runNextAnimationFrame_(function(){t.adapter.addClass(h.OPEN),t.adapter.addBodyClass(h.SCROLL_LOCK),t.layout(),t.animationTimer_=setTimeout(function(){t.handleAnimationTimerEnd_(),t.adapter.trapFocus(t.adapter.getInitialFocusEl()),t.adapter.notifyOpened()},b.DIALOG_ANIMATION_OPEN_TIME_MS)})},e.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.isOpen_&&(this.isOpen_=!1,this.adapter.notifyClosing(t),this.adapter.addClass(h.CLOSING),this.adapter.removeClass(h.OPEN),this.adapter.removeBodyClass(h.SCROLL_LOCK),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout(function(){e.adapter.releaseFocus(),e.handleAnimationTimerEnd_(),e.adapter.notifyClosed(t)},b.DIALOG_ANIMATION_CLOSE_TIME_MS))},e.prototype.isOpen=function(){return this.isOpen_},e.prototype.getEscapeKeyAction=function(){return this.escapeKeyAction_},e.prototype.setEscapeKeyAction=function(t){this.escapeKeyAction_=t},e.prototype.getScrimClickAction=function(){return this.scrimClickAction_},e.prototype.setScrimClickAction=function(t){this.scrimClickAction_=t},e.prototype.getAutoStackButtons=function(){return this.autoStackButtons_},e.prototype.setAutoStackButtons=function(t){this.autoStackButtons_=t},e.prototype.getSuppressDefaultPressSelector=function(){return this.suppressDefaultPressSelector},e.prototype.setSuppressDefaultPressSelector=function(t){this.suppressDefaultPressSelector=t},e.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},e.prototype.handleClick=function(t){if(this.adapter.eventTargetMatches(t.target,g.SCRIM_SELECTOR)&&""!==this.scrimClickAction_)this.close(this.scrimClickAction_);else{var e=this.adapter.getActionFromEvent(t);e&&this.close(e)}},e.prototype.handleKeydown=function(t){var e="Enter"===t.key||13===t.keyCode;if(e&&!this.adapter.getActionFromEvent(t)){var n=t.composedPath?t.composedPath()[0]:t.target,i=!this.adapter.eventTargetMatches(n,this.suppressDefaultPressSelector);e&&i&&this.adapter.clickDefaultButton()}},e.prototype.handleDocumentKeydown=function(t){("Escape"===t.key||27===t.keyCode)&&""!==this.escapeKeyAction_&&this.close(this.escapeKeyAction_)},e.prototype.layoutInternal_=function(){this.autoStackButtons_&&this.detectStackedButtons_(),this.detectScrollableContent_()},e.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter.removeClass(h.OPENING),this.adapter.removeClass(h.CLOSING)},e.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},e.prototype.detectStackedButtons_=function(){this.adapter.removeClass(h.STACKED);var t=this.adapter.areButtonsStacked();t&&this.adapter.addClass(h.STACKED),t!==this.areButtonsStacked_&&(this.adapter.reverseButtons(),this.areButtonsStacked_=t)},e.prototype.detectScrollableContent_=function(){this.adapter.removeClass(h.SCROLLABLE),this.adapter.isContentScrollable()&&this.adapter.addClass(h.SCROLLABLE)},e}(f.K);function v(t,e,n){return e(t,{initialFocusEl:n})}function y(t){return!!t&&t.scrollHeight>t.offsetHeight}function x(t){var e=new Set;return[].forEach.call(t,function(t){return e.add(t.offsetTop)}),e.size>1}var w=_.strings,k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"escapeKeyAction",{get:function(){return this.foundation.getEscapeKeyAction()},set:function(t){this.foundation.setEscapeKeyAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrimClickAction",{get:function(){return this.foundation.getScrimClickAction()},set:function(t){this.foundation.setScrimClickAction(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoStackButtons",{get:function(){return this.foundation.getAutoStackButtons()},set:function(t){this.foundation.setAutoStackButtons(t)},enumerable:!0,configurable:!0}),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(t,e){return new m(t,e)});var e,n,i=this.root.querySelector(w.CONTAINER_SELECTOR);if(!i)throw Error("Dialog component requires a "+w.CONTAINER_SELECTOR+" container element");this.container_=i,this.content_=this.root.querySelector(w.CONTENT_SELECTOR),this.buttons_=[].slice.call(this.root.querySelectorAll(w.BUTTON_SELECTOR)),this.defaultButton_=this.root.querySelector("["+w.BUTTON_DEFAULT_ATTRIBUTE+"]"),this.focusTrapFactory_=t,this.buttonRipples_=[];try{for(var r=c(this.buttons_),o=r.next();!o.done;o=r.next()){var a=o.value;this.buttonRipples_.push(new u.F(a))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},e.prototype.initialSyncWithDOM=function(){var t=this;this.focusTrap_=v(this.container_,this.focusTrapFactory_,this.getInitialFocusEl_()||void 0),this.handleClick_=this.foundation.handleClick.bind(this.foundation),this.handleKeydown_=this.foundation.handleKeydown.bind(this.foundation),this.handleDocumentKeydown_=this.foundation.handleDocumentKeydown.bind(this.foundation),this.handleLayout_=this.layout.bind(this);var e=["resize","orientationchange"];this.handleOpening_=function(){e.forEach(function(e){return window.addEventListener(e,t.handleLayout_)}),document.addEventListener("keydown",t.handleDocumentKeydown_)},this.handleClosing_=function(){e.forEach(function(e){return window.removeEventListener(e,t.handleLayout_)}),document.removeEventListener("keydown",t.handleDocumentKeydown_)},this.listen("click",this.handleClick_),this.listen("keydown",this.handleKeydown_),this.listen(w.OPENING_EVENT,this.handleOpening_),this.listen(w.CLOSING_EVENT,this.handleClosing_)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick_),this.unlisten("keydown",this.handleKeydown_),this.unlisten(w.OPENING_EVENT,this.handleOpening_),this.unlisten(w.CLOSING_EVENT,this.handleClosing_),this.handleClosing_(),this.buttonRipples_.forEach(function(t){return t.destroy()}),t.prototype.destroy.call(this)},e.prototype.layout=function(){this.foundation.layout()},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new _({addBodyClass:function(t){return document.body.classList.add(t)},addClass:function(e){return t.root.classList.add(e)},areButtonsStacked:function(){return x(t.buttons_)},clickDefaultButton:function(){return t.defaultButton_&&t.defaultButton_.click()},eventTargetMatches:function(t,e){return!!t&&(0,p.wB)(t,e)},getActionFromEvent:function(t){if(!t.target)return"";var e=(0,p.oq)(t.target,"["+w.ACTION_ATTRIBUTE+"]");return e&&e.getAttribute(w.ACTION_ATTRIBUTE)},getInitialFocusEl:function(){return t.getInitialFocusEl_()},hasClass:function(e){return t.root.classList.contains(e)},isContentScrollable:function(){return y(t.content_)},notifyClosed:function(e){return t.emit(w.CLOSED_EVENT,e?{action:e}:{})},notifyClosing:function(e){return t.emit(w.CLOSING_EVENT,e?{action:e}:{})},notifyOpened:function(){return t.emit(w.OPENED_EVENT,{})},notifyOpening:function(){return t.emit(w.OPENING_EVENT,{})},releaseFocus:function(){return t.focusTrap_.releaseFocus()},removeBodyClass:function(t){return document.body.classList.remove(t)},removeClass:function(e){return t.root.classList.remove(e)},reverseButtons:function(){t.buttons_.reverse(),t.buttons_.forEach(function(t){t.parentElement.appendChild(t)})},trapFocus:function(){return t.focusTrap_.trapFocus()}})},e.prototype.getInitialFocusEl_=function(){return this.root.querySelector("["+w.INITIAL_FOCUS_ATTRIBUTE+"]")},e}(d.B),E=n(9329),A=n(6505),C=n(6801),T=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},I=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};let S=n(9253),O=n(3041);class L extends CustomEvent{constructor(){super(L.NAME,{bubbles:!0,composed:!0})}}L.NAME="or-mwc-dialog-opened";class R extends CustomEvent{constructor(t){super(R.NAME,{detail:t,bubbles:!0,composed:!0})}}function N(t,e){return I(this,void 0,void 0,function*(){return z("error",(0,i.dy)`
|
|
554
|
+
<div>
|
|
555
|
+
<p><or-translate value="errorOccurred"></or-translate>
|
|
556
|
+
${t?(0,i.dy)`
|
|
557
|
+
:</p>
|
|
558
|
+
<p>
|
|
559
|
+
<or-translate value="error"></or-translate>
|
|
560
|
+
<span> = </span>
|
|
561
|
+
<or-translate .value="${t}"></or-translate>
|
|
562
|
+
`:""}
|
|
563
|
+
</p>
|
|
564
|
+
</div>`,void 0,e)})}function D(t,e,n,r){return I(this,void 0,void 0,function*(){let o=new C.Util.Deferred;return P(new M().setContent("string"==typeof e?(0,i.dy)`<p>${e}</p>`:e).setActions([{actionName:"cancel",content:"cancel",default:!0,action:()=>o.resolve(!1)},{actionName:"ok",content:n||E.i18next.t("ok"),action:()=>o.resolve(!0)}]).setHeading(t).setStyles((0,i.dy)`
|
|
565
|
+
<style>
|
|
566
|
+
.mdc-dialog__content {
|
|
567
|
+
white-space: pre-wrap
|
|
568
|
+
}
|
|
569
|
+
</style>
|
|
570
|
+
`),r),yield o.promise})}function z(t,e,n,r){return I(this,void 0,void 0,function*(){let o=new C.Util.Deferred;return P(new M().setContent("string"==typeof e?(0,i.dy)`<p>${e}</p>`:e).setActions([{actionName:"ok",default:!0,content:n||E.i18next.t("ok"),action:()=>o.resolve(!0)}]).setHeading(t),r),yield o.promise})}function P(t,e){return e||(e=M.DialogHostElement||document.body),t.setOpen(!0),t.addEventListener(L.NAME,t=>{t.stopPropagation()}),t.addEventListener(R.NAME,e=>{e.stopPropagation(),window.setTimeout(()=>{t.parentElement&&t.parentElement.removeChild(t)},0)}),e.append(t),t}R.NAME="or-mwc-dialog-closed";let $=(0,i.iv)`
|
|
571
|
+
:host {
|
|
572
|
+
position: relative;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.dialog-container {
|
|
576
|
+
display: flex;
|
|
577
|
+
flex-direction: row;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.dialog-container > * {
|
|
581
|
+
flex: 1 1 0;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.mdc-list {
|
|
585
|
+
padding: 0 24px
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
.mdc-dialog .mdc-dialog__surface {
|
|
589
|
+
outline: none;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@media (min-width: 1280px) {
|
|
593
|
+
.mdc-dialog .mdc-dialog__surface {
|
|
594
|
+
max-width: 1024px;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
`,M=class extends i.oi{constructor(){super(...arguments),this._open=!1,this._popstateEventBind=t=>this._onBrowserNavigate(t)}static get styles(){return[(0,i.iv)`${(0,i.$m)(S)}`,(0,i.iv)`${(0,i.$m)(O)}`,$]}get isOpen(){return!!this._mdcComponent&&this._mdcComponent.isOpen}setOpen(t){return this._open=!0,this}setHeading(t){return this.heading=t,this}setContent(t){return this.content=t,this}setActions(t){return this.actions=t,this}setDismissAction(t){return this.dismissAction=t,this}setStyles(t){return this.styles=t,this}setAvatar(t){return this.avatar=t,this}open(){this._mdcElem&&!this._mdcComponent&&(this._mdcComponent=new k(this._mdcElem),this._mdcComponent.scrimClickAction=this.dismissAction||null===this.dismissAction?"close":""),this._mdcComponent&&this._mdcComponent.open()}close(t){this._mdcComponent&&this._mdcComponent.close(t)}connectedCallback(){super.connectedCallback(),window.addEventListener("popstate",this._popstateEventBind)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("popstate",this._popstateEventBind),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){return(0,i.dy)`
|
|
598
|
+
${"string"==typeof this.styles?(0,i.dy)`<style>${this.styles}</style>`:this.styles||""}
|
|
599
|
+
|
|
600
|
+
<div id="dialog"
|
|
601
|
+
class="mdc-dialog"
|
|
602
|
+
role="alertdialog"
|
|
603
|
+
aria-modal="true"
|
|
604
|
+
aria-labelledby="dialog-title"
|
|
605
|
+
aria-describedby="dialog-content"
|
|
606
|
+
@MDCDialog:opened="${()=>this._onDialogOpened()}"
|
|
607
|
+
@MDCDialog:closed="${t=>this._onDialogClosed(t.detail.action)}">
|
|
608
|
+
<div class="mdc-dialog__container">
|
|
609
|
+
<div class="mdc-dialog__surface" tabindex="0">
|
|
610
|
+
${"string"==typeof this.heading?(0,i.dy)`<h2 class="mdc-dialog__title" id="dialog-title"><or-translate value="${this.heading}"></or-translate></h2>`:this.heading?(0,i.dy)`<span class="mdc-dialog__title" id="dialog-title">${this.heading}</span>`:""}
|
|
611
|
+
${this.content?(0,i.dy)`
|
|
612
|
+
<div class="dialog-container mdc-dialog__content" id="dialog-content">
|
|
613
|
+
${"function"==typeof this.content?this.content():this.content}
|
|
614
|
+
</div>
|
|
615
|
+
<footer class="mdc-dialog__actions">
|
|
616
|
+
${this.actions?this.actions.map(t=>(0,i.dy)`
|
|
617
|
+
<div class="mdc-button mdc-dialog__button" ?data-mdc-dialog-button-default="${t.default}" data-mdc-dialog-action="${t.disabled?void 0:t.actionName}">
|
|
618
|
+
${"string"==typeof t.content?(0,i.dy)`<or-mwc-input .type="${A.n$.BUTTON}" @or-mwc-input-changed="${t=>{t.currentTarget.disabled&&t.stopPropagation()}}" .disabled="${t.disabled}" .label="${t.content}"></or-mwc-input>`:t.content}
|
|
619
|
+
</div>`):""}
|
|
620
|
+
</footer>
|
|
621
|
+
`:(0,i.dy)`
|
|
622
|
+
<ul class="mdc-list ${this.avatar?"mdc-list--avatar-list":""}">
|
|
623
|
+
${!this.actions?"":this.actions.map((t,e)=>(0,i.dy)`<li class="mdc-list-item" data-mdc-dialog-action="${t.actionName}"><span class="mdc-list-item__text">${t.content}</span></li>`)}
|
|
624
|
+
</ul>
|
|
625
|
+
`}
|
|
626
|
+
</div>
|
|
627
|
+
</div>
|
|
628
|
+
<div class="mdc-dialog__scrim"></div>
|
|
629
|
+
</div>
|
|
630
|
+
`}updated(t){super.updated(t),t.has("_open")&&this._open&&this.open()}_onDialogOpened(){this.dispatchEvent(new L)}_onDialogClosed(t){if("close"===t&&this.dismissAction&&this.dismissAction.action)this.dismissAction.action(this);else if(t&&this.actions){let e=this.actions.find(e=>e.actionName===t);e&&e.action&&e.action(this)}this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0),this.dispatchEvent(new R(t))}_onBrowserNavigate(t){this.close("close")}};T([(0,r.Cb)({type:String})],M.prototype,"heading",void 0),T([(0,r.Cb)({type:Object,attribute:!1})],M.prototype,"content",void 0),T([(0,r.Cb)({type:Array,attribute:!1})],M.prototype,"actions",void 0),T([(0,r.Cb)({type:Object,attribute:!1})],M.prototype,"dismissAction",void 0),T([(0,r.Cb)({type:Boolean})],M.prototype,"avatar",void 0),T([(0,r.Cb)()],M.prototype,"styles",void 0),T([(0,r.Cb)({attribute:!1})],M.prototype,"_open",void 0),T([(0,r.IO)("#dialog")],M.prototype,"_mdcElem",void 0),M=T([(0,r.Mo)("or-mwc-dialog")],M)},6505:function(t,e,n){"use strict";n.d(e,{n$:()=>o});var i,r,o,a=n(7138),l=n(7308);n(6883);var c=n(4648),d=n(1934),s=n(5058),m=n(9069),p=n(8821),u=n(5250);class f{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class h{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){var t;null!=(t=this.Y)||(this.Y=new Promise(t=>this.Z=t))}resume(){var t;null==(t=this.Z)||t.call(this),this.Y=this.Z=void 0}}var g=n(9019);let b=t=>!(0,p.pt)(t)&&"function"==typeof t.then,_=0x3fffffff;class v extends u.sR{constructor(){super(...arguments),this._$C_t=_,this._$Cwt=[],this._$Cq=new f(this),this._$CK=new h}render(...t){var e;return null!=(e=t.find(t=>!b(t)))?e:m.Jb}update(t,e){let n=this._$Cwt,i=n.length;this._$Cwt=e;let r=this._$Cq,o=this._$CK;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$C_t);t++){let a=e[t];if(!b(a))return this._$C_t=t,a;t<i&&a===n[t]||(this._$C_t=_,i=0,Promise.resolve(a).then(async t=>{for(;o.get();)await o.get();let e=r.deref();if(void 0!==e){let n=e._$Cwt.indexOf(a);n>-1&&n<e._$C_t&&(e._$C_t=n,e.setValue(t))}}))}return m.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}let y=(0,g.XM)(v);var x=function(t,e){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function w(t,e){function n(){this.constructor=t}x(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var k=function(){return(k=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},E=n(1872),A=n(9364),C=n(2584),T=function(t,e){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function I(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var S=function(){return(S=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},O=n(4327),L={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"},R=function(t){function e(n){var i=t.call(this,S(S({},e.defaultAdapter),n))||this;return i.shakeAnimationEndHandler_=function(){return i.handleShakeAnimationEnd_()},i}return I(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return L},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler_)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler_)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(t){var n=e.cssClasses.LABEL_SHAKE;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.float=function(t){var n=e.cssClasses,i=n.LABEL_FLOAT_ABOVE,r=n.LABEL_SHAKE;t?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(r))},e.prototype.setRequired=function(t){var n=e.cssClasses.LABEL_REQUIRED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.handleShakeAnimationEnd_=function(){var t=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(t)},e}(O.K),N=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return I(e,t),e.attachTo=function(t){return new e(t)},e.prototype.shake=function(t){this.foundation.shake(t)},e.prototype.float=function(t){this.foundation.float(t)},e.prototype.setRequired=function(t){this.foundation.setRequired(t)},e.prototype.getWidth=function(){return this.foundation.getWidth()},e.prototype.getDefaultFoundation=function(){var t=this;return new R({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},getWidth:function(){return(0,C.FL)(t.root)},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)}})},e}(E.B),D=function(t,e){return(D=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function z(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var P=function(){return(P=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},$={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"},M=function(t){function e(n){var i=t.call(this,P(P({},e.defaultAdapter),n))||this;return i.transitionEndHandler_=function(t){return i.handleTransitionEnd(t)},i}return z(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return $},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler_)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler_)},e.prototype.activate=function(){this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass($.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(t){this.adapter.setStyle("transform-origin",t+"px center")},e.prototype.deactivate=function(){this.adapter.addClass($.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(t){var e=this.adapter.hasClass($.LINE_RIPPLE_DEACTIVATING);"opacity"===t.propertyName&&e&&(this.adapter.removeClass($.LINE_RIPPLE_ACTIVE),this.adapter.removeClass($.LINE_RIPPLE_DEACTIVATING))},e}(O.K),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return z(e,t),e.attachTo=function(t){return new e(t)},e.prototype.activate=function(){this.foundation.activate()},e.prototype.deactivate=function(){this.foundation.deactivate()},e.prototype.setRippleCenter=function(t){this.foundation.setRippleCenter(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new M({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setStyle:function(e,n){return t.root.style.setProperty(e,n)},registerEventHandler:function(e,n){return t.listen(e,n)},deregisterEventHandler:function(e,n){return t.unlisten(e,n)}})},e}(E.B),B=function(t,e){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function U(t,e){function n(){this.constructor=t}B(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var H=function(){return(H=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},j={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},V={NOTCH_ELEMENT_PADDING:8},X={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"},Y=function(t){function e(n){return t.call(this,H(H({},e.defaultAdapter),n))||this}return U(e,t),Object.defineProperty(e,"strings",{get:function(){return j},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return X},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return V},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!0,configurable:!0}),e.prototype.notch=function(t){var n=e.cssClasses.OUTLINE_NOTCHED;t>0&&(t+=V.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(t),this.adapter.addClass(n)},e.prototype.closeNotch=function(){var t=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(t),this.adapter.removeNotchWidthProperty()},e}(O.K),K=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return U(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){this.notchElement_=this.root.querySelector(j.NOTCH_ELEMENT_SELECTOR);var t=this.root.querySelector("."+R.cssClasses.ROOT);t?(t.style.transitionDuration="0s",this.root.classList.add(X.OUTLINE_UPGRADED),requestAnimationFrame(function(){t.style.transitionDuration=""})):this.root.classList.add(X.NO_LABEL)},e.prototype.notch=function(t){this.foundation.notch(t)},e.prototype.closeNotch=function(){this.foundation.closeNotch()},e.prototype.getDefaultFoundation=function(){var t=this;return new Y({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNotchWidthProperty:function(e){return t.notchElement_.style.setProperty("width",e+"px")},removeNotchWidthProperty:function(){return t.notchElement_.style.removeProperty("width")}})},e}(E.B),G=n(6645),q=n(1883),W={ROOT:"mdc-text-field-character-counter"},J={ROOT_SELECTOR:"."+W.ROOT},Q=function(t){function e(n){return t.call(this,k(k({},e.defaultAdapter),n))||this}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return W},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return J},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.setCounterValue=function(t,e){t=Math.min(t,e),this.adapter.setContent(t+" / "+e)},e}(O.K),Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new Q({setContent:function(e){t.root.textContent=e}})},e}(E.B),tt={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},te={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon"},tn={LABEL_SCALE:.75},ti=["pattern","min","max","required","step","minlength","maxlength"],tr=["color","date","datetime-local","month","range","time","week"],to=["mousedown","touchstart"],ta=["click","keydown"],tl=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,k(k({},e.defaultAdapter),n))||this;return r.isFocused_=!1,r.receivedUserInput_=!1,r.isValid_=!0,r.useNativeValidation_=!0,r.validateOnValueChange_=!0,r.helperText_=i.helperText,r.characterCounter_=i.characterCounter,r.leadingIcon_=i.leadingIcon,r.trailingIcon_=i.trailingIcon,r.inputFocusHandler_=function(){return r.activateFocus()},r.inputBlurHandler_=function(){return r.deactivateFocus()},r.inputInputHandler_=function(){return r.handleInput()},r.setPointerXOffset_=function(t){return r.setTransformOrigin(t)},r.textFieldInteractionHandler_=function(){return r.handleTextFieldInteraction()},r.validationAttributeChangeHandler_=function(t){return r.handleValidationAttributeChange(t)},r}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return te},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return tt},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return tn},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat_",{get:function(){var t=this.getNativeInput_().type;return tr.indexOf(t)>=0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat_||this.isFocused_||!!this.getValue()||this.isBadInput_()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused_&&!this.isValid()&&!!this.getValue()},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.adapter.hasLabel()&&this.getNativeInput_().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler_():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating_(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler_),to.forEach(function(e){t.adapter.registerInputInteractionHandler(e,t.setPointerXOffset_)}),ta.forEach(function(e){t.adapter.registerTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)}),this.validationObserver_=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_),this.setCharacterCounter_(this.getValue().length)},e.prototype.destroy=function(){var t=this;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler_),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler_),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler_),to.forEach(function(e){t.adapter.deregisterInputInteractionHandler(e,t.setPointerXOffset_)}),ta.forEach(function(e){t.adapter.deregisterTextFieldInteractionHandler(e,t.textFieldInteractionHandler_)}),this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver_)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput_=!0)},e.prototype.handleValidationAttributeChange=function(t){var e=this;t.some(function(t){return ti.indexOf(t)>-1&&(e.styleValidity_(!0),e.adapter.setLabelRequired(e.getNativeInput_().required),!0)}),t.indexOf("maxlength")>-1&&this.setCharacterCounter_(this.getValue().length)},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(t){var e=this.adapter.getLabelWidth()*tn.LABEL_SCALE;this.adapter.notchOutline(e)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused_=!0,this.styleFocused_(this.isFocused_),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.helperText_&&(this.helperText_.isPersistent()||!this.helperText_.isValidation()||!this.isValid_)&&this.helperText_.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!(this.isDisabled()||this.adapter.hasOutline())){var e=t.touches,n=e?e[0]:t,i=n.target.getBoundingClientRect(),r=n.clientX-i.left;this.adapter.setLineRippleTransformOrigin(r)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setCharacterCounter_(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput_||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused_=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity_(t),this.styleFocused_(this.isFocused_),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput_=!1)},e.prototype.getValue=function(){return this.getNativeInput_().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput_().value=t),this.setCharacterCounter_(t.length),this.validateOnValueChange_){var e=this.isValid();this.styleValidity_(e)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating_(this.shouldFloat),this.validateOnValueChange_&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation_?this.isNativeInputValid_():this.isValid_},e.prototype.setValid=function(t){this.isValid_=t,this.styleValidity_(t);var e=!t&&!this.isFocused_&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(e)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange_=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange_},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation_=t},e.prototype.isDisabled=function(){return this.getNativeInput_().disabled},e.prototype.setDisabled=function(t){this.getNativeInput_().disabled=t,this.styleDisabled_(t)},e.prototype.setHelperTextContent=function(t){this.helperText_&&this.helperText_.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon_&&this.leadingIcon_.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon_&&this.leadingIcon_.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon_&&this.trailingIcon_.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon_&&this.trailingIcon_.setContent(t)},e.prototype.setCharacterCounter_=function(t){if(this.characterCounter_){var e=this.getNativeInput_().maxLength;if(-1===e)throw Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter_.setCounterValue(t,e)}},e.prototype.isBadInput_=function(){return this.getNativeInput_().validity.badInput||!1},e.prototype.isNativeInputValid_=function(){return this.getNativeInput_().validity.valid},e.prototype.styleValidity_=function(t){var n=e.cssClasses.INVALID;if(t?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText_){if(this.helperText_.setValidity(t),!this.helperText_.isValidation())return;var i=this.helperText_.isVisible(),r=this.helperText_.getId();i&&r?this.adapter.setInputAttr(tt.ARIA_DESCRIBEDBY,r):this.adapter.removeInputAttr(tt.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused_=function(t){var n=e.cssClasses.FOCUSED;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.styleDisabled_=function(t){var n=e.cssClasses,i=n.DISABLED,r=n.INVALID;t?(this.adapter.addClass(i),this.adapter.removeClass(r)):this.adapter.removeClass(i),this.leadingIcon_&&this.leadingIcon_.setDisabled(t),this.trailingIcon_&&this.trailingIcon_.setDisabled(t)},e.prototype.styleFloating_=function(t){var n=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(n):this.adapter.removeClass(n)},e.prototype.getNativeInput_=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}(O.K),tc={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},td={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+tc.ROOT},ts=function(t){function e(n){return t.call(this,k(k({},e.defaultAdapter),n))||this}return w(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return tc},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return td},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(td.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.isPersistent=function(){return this.adapter.hasClass(tc.HELPER_TEXT_PERSISTENT)},e.prototype.setPersistent=function(t){t?this.adapter.addClass(tc.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(tc.HELPER_TEXT_PERSISTENT)},e.prototype.isValidation=function(){return this.adapter.hasClass(tc.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidation=function(t){t?this.adapter.addClass(tc.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(tc.HELPER_TEXT_VALIDATION_MSG)},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(td.ARIA_HIDDEN)},e.prototype.setValidity=function(t){var e=this.adapter.hasClass(tc.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(tc.HELPER_TEXT_VALIDATION_MSG)&&!t;n?(this.showToScreenReader(),this.adapter.setAttr(td.ROLE,"alert")):this.adapter.removeAttr(td.ROLE),e||n||this.hide_()},e.prototype.hide_=function(){this.adapter.setAttr(td.ARIA_HIDDEN,"true")},e}(O.K),tm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new ts({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(E.B),tp={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},tu={ROOT:"mdc-text-field__icon"},tf=["click","keydown"],th=function(t){function e(n){var i=t.call(this,k(k({},e.defaultAdapter),n))||this;return i.savedTabIndex_=null,i.interactionHandler_=function(t){return i.handleInteraction(t)},i}return w(e,t),Object.defineProperty(e,"strings",{get:function(){return tp},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return tu},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),tf.forEach(function(e){t.adapter.registerInteractionHandler(e,t.interactionHandler_)})},e.prototype.destroy=function(){var t=this;tf.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.interactionHandler_)})},e.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",tp.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&(t.preventDefault(),this.adapter.notifyIconAction())},e}(O.K),tg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this,e={getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(th.strings.ICON_EVENT,{},!0)}};return new th(e)},e}(E.B),tb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,o,a){void 0===t&&(t=function(t,e){return new G.F(t,e)}),void 0===e&&(e=function(t){return new F(t)}),void 0===n&&(n=function(t){return new tm(t)}),void 0===i&&(i=function(t){return new Z(t)}),void 0===r&&(r=function(t){return new tg(t)}),void 0===o&&(o=function(t){return new N(t)}),void 0===a&&(a=function(t){return new K(t)}),this.input_=this.root.querySelector(tt.INPUT_SELECTOR);var l=this.root.querySelector(tt.LABEL_SELECTOR);this.label_=l?o(l):null;var c=this.root.querySelector(tt.LINE_RIPPLE_SELECTOR);this.lineRipple_=c?e(c):null;var d=this.root.querySelector(tt.OUTLINE_SELECTOR);this.outline_=d?a(d):null;var s=ts.strings,m=this.root.nextElementSibling,p=m&&m.classList.contains(te.HELPER_LINE),u=p&&m&&m.querySelector(s.ROOT_SELECTOR);this.helperText_=u?n(u):null;var f=Q.strings,h=this.root.querySelector(f.ROOT_SELECTOR);!h&&p&&m&&(h=m.querySelector(f.ROOT_SELECTOR)),this.characterCounter_=h?i(h):null;var g=this.root.querySelector(tt.LEADING_ICON_SELECTOR);this.leadingIcon_=g?r(g):null;var b=this.root.querySelector(tt.TRAILING_ICON_SELECTOR);this.trailingIcon_=b?r(b):null,this.prefix_=this.root.querySelector(tt.PREFIX_SELECTOR),this.suffix_=this.root.querySelector(tt.SUFFIX_SELECTOR),this.ripple=this.createRipple_(t)},e.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple_&&this.lineRipple_.destroy(),this.helperText_&&this.helperText_.destroy(),this.characterCounter_&&this.characterCounter_.destroy(),this.leadingIcon_&&this.leadingIcon_.destroy(),this.trailingIcon_&&this.trailingIcon_.destroy(),this.label_&&this.label_.destroy(),this.outline_&&this.outline_.destroy(),t.prototype.destroy.call(this)},e.prototype.initialSyncWithDOM=function(){this.disabled=this.input_.disabled},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.input_.required},set:function(t){this.input_.required=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this.input_.pattern},set:function(t){this.input_.pattern=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLength",{get:function(){return this.input_.minLength},set:function(t){this.input_.minLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this.input_.maxLength},set:function(t){t<0?this.input_.removeAttribute("maxLength"):this.input_.maxLength=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"min",{get:function(){return this.input_.min},set:function(t){this.input_.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this.input_.max},set:function(t){this.input_.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this.input_.step},set:function(t){this.input_.step=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconAriaLabel",{set:function(t){this.foundation.setTrailingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trailingIconContent",{set:function(t){this.foundation.setTrailingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useNativeValidation",{set:function(t){this.foundation.setUseNativeValidation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"prefixText",{get:function(){return this.prefix_?this.prefix_.textContent:null},set:function(t){this.prefix_&&(this.prefix_.textContent=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suffixText",{get:function(){return this.suffix_?this.suffix_.textContent:null},set:function(t){this.suffix_&&(this.suffix_.textContent=t)},enumerable:!0,configurable:!0}),e.prototype.focus=function(){this.input_.focus()},e.prototype.layout=function(){var t=this.foundation.shouldFloat;this.foundation.notchOutline(t)},e.prototype.getDefaultFoundation=function(){return new tl(k(k(k(k(k({},this.getRootAdapterMethods_()),this.getInputAdapterMethods_()),this.getLabelAdapterMethods_()),this.getLineRippleAdapterMethods_()),this.getOutlineAdapterMethods_()),this.getFoundationMap_())},e.prototype.getRootAdapterMethods_=function(){var t=this;return{addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},registerTextFieldInteractionHandler:function(e,n){t.listen(e,n)},deregisterTextFieldInteractionHandler:function(e,n){t.unlisten(e,n)},registerValidationAttributeChangeHandler:function(e){var n=function(t){return t.map(function(t){return t.attributeName}).filter(function(t){return t})},i=new MutationObserver(function(t){return e(n(t))}),r={attributes:!0};return i.observe(t.input_,r),i},deregisterValidationAttributeChangeHandler:function(t){t.disconnect()}}},e.prototype.getInputAdapterMethods_=function(){var t=this;return{getNativeInput:function(){return t.input_},setInputAttr:function(e,n){t.input_.setAttribute(e,n)},removeInputAttr:function(e){t.input_.removeAttribute(e)},isFocused:function(){return document.activeElement===t.input_},registerInputInteractionHandler:function(e,n){t.input_.addEventListener(e,n,(0,A.K)())},deregisterInputInteractionHandler:function(e,n){t.input_.removeEventListener(e,n,(0,A.K)())}}},e.prototype.getLabelAdapterMethods_=function(){var t=this;return{floatLabel:function(e){return t.label_&&t.label_.float(e)},getLabelWidth:function(){return t.label_?t.label_.getWidth():0},hasLabel:function(){return!!t.label_},shakeLabel:function(e){return t.label_&&t.label_.shake(e)},setLabelRequired:function(e){return t.label_&&t.label_.setRequired(e)}}},e.prototype.getLineRippleAdapterMethods_=function(){var t=this;return{activateLineRipple:function(){t.lineRipple_&&t.lineRipple_.activate()},deactivateLineRipple:function(){t.lineRipple_&&t.lineRipple_.deactivate()},setLineRippleTransformOrigin:function(e){t.lineRipple_&&t.lineRipple_.setRippleCenter(e)}}},e.prototype.getOutlineAdapterMethods_=function(){var t=this;return{closeOutline:function(){return t.outline_&&t.outline_.closeNotch()},hasOutline:function(){return!!t.outline_},notchOutline:function(e){return t.outline_&&t.outline_.notch(e)}}},e.prototype.getFoundationMap_=function(){return{characterCounter:this.characterCounter_?this.characterCounter_.foundationForTextField:void 0,helperText:this.helperText_?this.helperText_.foundationForTextField:void 0,leadingIcon:this.leadingIcon_?this.leadingIcon_.foundationForTextField:void 0,trailingIcon:this.trailingIcon_?this.trailingIcon_.foundationForTextField:void 0}},e.prototype.createRipple_=function(t){var e=this,n=this.root.classList.contains(te.TEXTAREA),i=this.root.classList.contains(te.OUTLINED);if(n||i)return null;var r=k(k({},G.F.createAdapter(this)),{isSurfaceActive:function(){return C.wB(e.input_,":active")},registerInteractionHandler:function(t,n){return e.input_.addEventListener(t,n,(0,A.K)())},deregisterInteractionHandler:function(t,n){return e.input_.removeEventListener(t,n,(0,A.K)())}});return t(this.root,new q.l(r))},e}(E.B),t_=function(t,e){return(t_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tv(t,e){function n(){this.constructor=t}t_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var ty=function(){return(ty=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},tx={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}},tw={animationend:{cssProperty:"animation",prefixed:"webkitAnimationEnd",standard:"animationend"},animationiteration:{cssProperty:"animation",prefixed:"webkitAnimationIteration",standard:"animationiteration"},animationstart:{cssProperty:"animation",prefixed:"webkitAnimationStart",standard:"animationstart"},transitionend:{cssProperty:"transition",prefixed:"webkitTransitionEnd",standard:"transitionend"}};function tk(t){return!!t.document&&"function"==typeof t.document.createElement}function tE(t,e){if(tk(t)&&e in tx){var n=t.document.createElement("div"),i=tx[e],r=i.standard,o=i.prefixed;return r in n.style?r:o}return e}function tA(t,e){if(tk(t)&&e in tw){var n=t.document.createElement("div"),i=tw[e],r=i.standard,o=i.prefixed;return i.cssProperty in n.style?r:o}return e}var tC={ANIM_CHECKED_INDETERMINATE:"mdc-checkbox--anim-checked-indeterminate",ANIM_CHECKED_UNCHECKED:"mdc-checkbox--anim-checked-unchecked",ANIM_INDETERMINATE_CHECKED:"mdc-checkbox--anim-indeterminate-checked",ANIM_INDETERMINATE_UNCHECKED:"mdc-checkbox--anim-indeterminate-unchecked",ANIM_UNCHECKED_CHECKED:"mdc-checkbox--anim-unchecked-checked",ANIM_UNCHECKED_INDETERMINATE:"mdc-checkbox--anim-unchecked-indeterminate",BACKGROUND:"mdc-checkbox__background",CHECKED:"mdc-checkbox--checked",CHECKMARK:"mdc-checkbox__checkmark",CHECKMARK_PATH:"mdc-checkbox__checkmark-path",DISABLED:"mdc-checkbox--disabled",INDETERMINATE:"mdc-checkbox--indeterminate",MIXEDMARK:"mdc-checkbox__mixedmark",NATIVE_CONTROL:"mdc-checkbox__native-control",ROOT:"mdc-checkbox",SELECTED:"mdc-checkbox--selected",UPGRADED:"mdc-checkbox--upgraded"},tT={ARIA_CHECKED_ATTR:"aria-checked",ARIA_CHECKED_INDETERMINATE_VALUE:"mixed",DATA_INDETERMINATE_ATTR:"data-indeterminate",NATIVE_CONTROL_SELECTOR:".mdc-checkbox__native-control",TRANSITION_STATE_CHECKED:"checked",TRANSITION_STATE_INDETERMINATE:"indeterminate",TRANSITION_STATE_INIT:"init",TRANSITION_STATE_UNCHECKED:"unchecked"},tI={ANIM_END_LATCH_MS:250},tS=function(t){function e(n){var i=t.call(this,ty(ty({},e.defaultAdapter),n))||this;return i.currentCheckState_=tT.TRANSITION_STATE_INIT,i.currentAnimationClass_="",i.animEndLatchTimer_=0,i.enableAnimationEndHandler_=!1,i}return tv(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return tC},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return tT},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return tI},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},forceLayout:function(){},hasNativeControl:function(){return!1},isAttachedToDOM:function(){return!1},isChecked:function(){return!1},isIndeterminate:function(){return!1},removeClass:function(){},removeNativeControlAttr:function(){},setNativeControlAttr:function(){},setNativeControlDisabled:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.currentCheckState_=this.determineCheckState_(),this.updateAriaChecked_(),this.adapter.addClass(tC.UPGRADED)},e.prototype.destroy=function(){clearTimeout(this.animEndLatchTimer_)},e.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(tC.DISABLED):this.adapter.removeClass(tC.DISABLED)},e.prototype.handleAnimationEnd=function(){var t=this;this.enableAnimationEndHandler_&&(clearTimeout(this.animEndLatchTimer_),this.animEndLatchTimer_=setTimeout(function(){t.adapter.removeClass(t.currentAnimationClass_),t.enableAnimationEndHandler_=!1},tI.ANIM_END_LATCH_MS))},e.prototype.handleChange=function(){this.transitionCheckState_()},e.prototype.transitionCheckState_=function(){if(this.adapter.hasNativeControl()){var t=this.currentCheckState_,e=this.determineCheckState_();if(t!==e){this.updateAriaChecked_();var n=tT.TRANSITION_STATE_UNCHECKED,i=tC.SELECTED;e===n?this.adapter.removeClass(i):this.adapter.addClass(i),this.currentAnimationClass_.length>0&&(clearTimeout(this.animEndLatchTimer_),this.adapter.forceLayout(),this.adapter.removeClass(this.currentAnimationClass_)),this.currentAnimationClass_=this.getTransitionAnimationClass_(t,e),this.currentCheckState_=e,this.adapter.isAttachedToDOM()&&this.currentAnimationClass_.length>0&&(this.adapter.addClass(this.currentAnimationClass_),this.enableAnimationEndHandler_=!0)}}},e.prototype.determineCheckState_=function(){var t=tT.TRANSITION_STATE_INDETERMINATE,e=tT.TRANSITION_STATE_CHECKED,n=tT.TRANSITION_STATE_UNCHECKED;return this.adapter.isIndeterminate()?t:this.adapter.isChecked()?e:n},e.prototype.getTransitionAnimationClass_=function(t,n){var i=tT.TRANSITION_STATE_INIT,r=tT.TRANSITION_STATE_CHECKED,o=tT.TRANSITION_STATE_UNCHECKED,a=e.cssClasses,l=a.ANIM_UNCHECKED_CHECKED,c=a.ANIM_UNCHECKED_INDETERMINATE,d=a.ANIM_CHECKED_UNCHECKED,s=a.ANIM_CHECKED_INDETERMINATE,m=a.ANIM_INDETERMINATE_CHECKED,p=a.ANIM_INDETERMINATE_UNCHECKED;switch(t){case i:if(n===o)return"";return n===r?m:p;case o:return n===r?l:c;case r:return n===o?d:s;default:return n===r?m:p}},e.prototype.updateAriaChecked_=function(){this.adapter.isIndeterminate()?this.adapter.setNativeControlAttr(tT.ARIA_CHECKED_ATTR,tT.ARIA_CHECKED_INDETERMINATE_VALUE):this.adapter.removeNativeControlAttr(tT.ARIA_CHECKED_ATTR)},e}(O.K),tO=["checked","indeterminate"],tL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ripple_=e.createRipple_(),e}return tv(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.nativeControl_.checked=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this.nativeControl_.indeterminate},set:function(t){this.nativeControl_.indeterminate=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.nativeControl_.value},set:function(t){this.nativeControl_.value=t},enumerable:!0,configurable:!0}),e.prototype.initialize=function(){var t=tT.DATA_INDETERMINATE_ATTR;this.nativeControl_.indeterminate="true"===this.nativeControl_.getAttribute(t),this.nativeControl_.removeAttribute(t)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleChange_=function(){return t.foundation.handleChange()},this.handleAnimationEnd_=function(){return t.foundation.handleAnimationEnd()},this.nativeControl_.addEventListener("change",this.handleChange_),this.listen(tA(window,"animationend"),this.handleAnimationEnd_),this.installPropertyChangeHooks_()},e.prototype.destroy=function(){this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.handleChange_),this.unlisten(tA(window,"animationend"),this.handleAnimationEnd_),this.uninstallPropertyChangeHooks_(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new tS({addClass:function(e){return t.root.classList.add(e)},forceLayout:function(){return t.root.offsetWidth},hasNativeControl:function(){return!!t.nativeControl_},isAttachedToDOM:function(){return!!t.root.parentNode},isChecked:function(){return t.checked},isIndeterminate:function(){return t.indeterminate},removeClass:function(e){t.root.classList.remove(e)},removeNativeControlAttr:function(e){t.nativeControl_.removeAttribute(e)},setNativeControlAttr:function(e,n){t.nativeControl_.setAttribute(e,n)},setNativeControlDisabled:function(e){t.nativeControl_.disabled=e}})},e.prototype.createRipple_=function(){var t=this,e=ty(ty({},G.F.createAdapter(this)),{deregisterInteractionHandler:function(e,n){return t.nativeControl_.removeEventListener(e,n,(0,A.K)())},isSurfaceActive:function(){return(0,C.wB)(t.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,n){return t.nativeControl_.addEventListener(e,n,(0,A.K)())}});return new G.F(this.root,new q.l(e))},e.prototype.installPropertyChangeHooks_=function(){var t=this,e=this.nativeControl_,n=Object.getPrototypeOf(e);tO.forEach(function(i){var r=Object.getOwnPropertyDescriptor(n,i);if(tR(r)){var o=r.get,a={configurable:r.configurable,enumerable:r.enumerable,get:o,set:function(n){r.set.call(e,n),t.foundation.handleChange()}};Object.defineProperty(e,i,a)}})},e.prototype.uninstallPropertyChangeHooks_=function(){var t=this.nativeControl_,e=Object.getPrototypeOf(t);tO.forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);tR(i)&&Object.defineProperty(t,n,i)})},Object.defineProperty(e.prototype,"nativeControl_",{get:function(){var t=tT.NATIVE_CONTROL_SELECTOR,e=this.root.querySelector(t);if(!e)throw Error("Checkbox component requires a "+t+" element");return e},enumerable:!0,configurable:!0}),e}(E.B);function tR(t){return!!t&&"function"==typeof t.set}var tN=function(t,e){return(tN=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tD(t,e){function n(){this.constructor=t}tN(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var tz=function(){return(tz=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function tP(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function t$(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(tP(arguments[e]));return t}var tM={CHECKED:"mdc-switch--checked",DISABLED:"mdc-switch--disabled"},tF={ARIA_CHECKED_ATTR:"aria-checked",NATIVE_CONTROL_SELECTOR:".mdc-switch__native-control",RIPPLE_SURFACE_SELECTOR:".mdc-switch__thumb-underlay"},tB=function(t){function e(n){return t.call(this,tz(tz({},e.defaultAdapter),n))||this}return tD(e,t),Object.defineProperty(e,"strings",{get:function(){return tF},enumerable:!0,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return tM},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNativeControlChecked:function(){},setNativeControlDisabled:function(){},setNativeControlAttr:function(){}}},enumerable:!0,configurable:!0}),e.prototype.setChecked=function(t){this.adapter.setNativeControlChecked(t),this.updateAriaChecked_(t),this.updateCheckedStyling_(t)},e.prototype.setDisabled=function(t){this.adapter.setNativeControlDisabled(t),t?this.adapter.addClass(tM.DISABLED):this.adapter.removeClass(tM.DISABLED)},e.prototype.handleChange=function(t){var e=t.target;this.updateAriaChecked_(e.checked),this.updateCheckedStyling_(e.checked)},e.prototype.updateCheckedStyling_=function(t){t?this.adapter.addClass(tM.CHECKED):this.adapter.removeClass(tM.CHECKED)},e.prototype.updateAriaChecked_=function(t){this.adapter.setNativeControlAttr(tF.ARIA_CHECKED_ATTR,""+!!t)},e}(O.K),tU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ripple_=e.createRipple_(),e}return tD(e,t),e.attachTo=function(t){return new e(t)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.ripple_.destroy(),this.nativeControl_.removeEventListener("change",this.changeHandler_)},e.prototype.initialSyncWithDOM=function(){var t=this;this.changeHandler_=function(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return(e=t.foundation).handleChange.apply(e,t$(n))},this.nativeControl_.addEventListener("change",this.changeHandler_),this.checked=this.checked},e.prototype.getDefaultFoundation=function(){var t=this;return new tB({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},setNativeControlChecked:function(e){return t.nativeControl_.checked=e},setNativeControlDisabled:function(e){return t.nativeControl_.disabled=e},setNativeControlAttr:function(e,n){return t.nativeControl_.setAttribute(e,n)}})},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.ripple_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this.nativeControl_.checked},set:function(t){this.foundation.setChecked(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.nativeControl_.disabled},set:function(t){this.foundation.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.createRipple_=function(){var t=this,e=tB.strings.RIPPLE_SURFACE_SELECTOR,n=this.root.querySelector(e),i=tz(tz({},G.F.createAdapter(this)),{addClass:function(t){return n.classList.add(t)},computeBoundingRect:function(){return n.getBoundingClientRect()},deregisterInteractionHandler:function(e,n){t.nativeControl_.removeEventListener(e,n,(0,A.K)())},isSurfaceActive:function(){return(0,C.wB)(t.nativeControl_,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,n){t.nativeControl_.addEventListener(e,n,(0,A.K)())},removeClass:function(t){n.classList.remove(t)},updateCssVariable:function(t,e){n.style.setProperty(t,e)}});return new G.F(this.root,new q.l(i))},Object.defineProperty(e.prototype,"nativeControl_",{get:function(){var t=tB.strings.NATIVE_CONTROL_SELECTOR;return this.root.querySelector(t)},enumerable:!0,configurable:!0}),e}(E.B),tH=function(t,e){return(tH=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function tj(t,e){function n(){this.constructor=t}tH(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var tV=function(){return(tV=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},tX="mdc-slider--disabled",tY="mdc-slider--discrete",tK="mdc-slider__input",tG="mdc-slider--range",tq="mdc-slider__thumb",tW="mdc-slider__thumb-knob",tJ="mdc-slider__thumb--top",tQ="mdc-slider__thumb--with-indicator",tZ="mdc-slider--tick-marks",t0="mdc-slider__tick-marks",t1="mdc-slider__tick-mark--active",t2="mdc-slider__tick-mark--inactive",t5="mdc-slider__track",t4="mdc-slider__track--active_fill",t3="mdc-slider__value-indicator-text",t7=1,t8=5,t6="aria-valuetext",t9="disabled",et="min",ee="max",en="value",ei="step",er="MDCSlider:change",eo="MDCSlider:input";!function(t){t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE"}(i||(i={})),function(t){t[t.START=1]="START",t[t.END=2]="END"}(r||(r={}));var ea="undefined"!=typeof window,el=function(t){function e(n){var i=t.call(this,tV(tV({},e.defaultAdapter),n))||this;return i.initialStylesRemoved=!1,i.isDisabled=!1,i.isDiscrete=!1,i.step=t7,i.hasTickMarks=!1,i.isRange=!1,i.thumb=null,i.downEventClientX=null,i.startThumbKnobWidth=0,i.endThumbKnobWidth=0,i}return tj(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},getThumbKnobWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(tX),this.isDiscrete=this.adapter.hasClass(tY),this.hasTickMarks=this.adapter.hasClass(tZ),this.isRange=this.adapter.hasClass(tG);var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(et,this.isRange?r.START:r.END),et),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(ee,r.END),ee),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(en,r.END),en),o=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(en,r.START),en):e;this.validateProperties({min:e,max:n,value:i,valueStart:o}),this.min=e,this.max=n,this.value=i,this.valueStart=o,this.valueBeforeDownEvent=i,this.valueStartBeforeDownEvent=o;var a=this.adapter.getInputAttribute(ei,r.END);if(a&&(this.step=this.convertAttributeValueToNumber(a,ei)),this.step<=0)throw Error("MDCSliderFoundation: step must be a positive number. Current step: "+this.step);this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(r.START)},this.inputEndChangeListener=function(){t.handleInputChange(r.END)},this.inputStartFocusListener=function(){t.handleInputFocus(r.START)},this.inputEndFocusListener=function(){t.handleInputFocus(r.END)},this.inputStartBlurListener=function(){t.handleInputBlur(r.START)},this.inputEndBlurListener=function(){t.handleInputBlur(r.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},e.prototype.destroy=function(){this.deregisterEventHandlers()},e.prototype.getMin=function(){return this.min},e.prototype.getMax=function(){return this.max},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart)throw Error("end thumb value ("+t+") must be >= start thumb value ("+this.valueStart+")");this.updateValue(t,r.END)},e.prototype.getValueStart=function(){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");return this.valueStart},e.prototype.setValueStart=function(t){if(!this.isRange)throw Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value)throw Error("start thumb value ("+t+") must be <= end thumb value ("+this.value+")");this.updateValue(t,r.START)},e.prototype.getStep=function(){return this.step},e.prototype.getDisabled=function(){return this.isDisabled},e.prototype.setDisabled=function(t){this.isDisabled=t,t?(this.adapter.addClass(tX),this.isRange&&this.adapter.setInputAttribute(t9,"",r.START),this.adapter.setInputAttribute(t9,"",r.END)):(this.adapter.removeClass(tX),this.isRange&&this.adapter.removeInputAttribute(t9,r.START),this.adapter.removeInputAttribute(t9,r.END))},e.prototype.getIsRange=function(){return this.isRange},e.prototype.layout=function(t){var e=(void 0===t?{}:t).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(r.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(r.END)),e||this.updateUI()},e.prototype.handleResize=function(){this.layout()},e.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var n=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,n),null!==this.thumb&&(this.handleDragStart(t,n,this.thumb),this.isRange&&n>=this.valueStart&&n<=this.value||this.updateValue(n,this.thumb,{emitInputEvent:!0}))}},e.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX,n=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(e),null!==this.thumb){var i=this.mapClientXOnSliderScale(e);n||(this.handleDragStart(t,i,this.thumb),this.adapter.emitDragStartEvent(i,this.thumb)),this.updateValue(i,this.thumb,{emitInputEvent:!0})}}},e.prototype.handleUp=function(){if(!this.isDisabled&&null!==this.thumb){var t=this.thumb===r.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,e=this.thumb===r.START?this.valueStart:this.value;t!==e&&this.adapter.emitChangeEvent(e,this.thumb),this.adapter.emitDragEndEvent(e,this.thumb),this.thumb=null}},e.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(tQ,r.START),this.adapter.addThumbClass(tQ,r.END))},e.prototype.handleThumbMouseleave=function(){this.isDiscrete&&this.isRange&&(this.adapter.isInputFocused(r.START)||this.adapter.isInputFocused(r.END)||(this.adapter.removeThumbClass(tQ,r.START),this.adapter.removeThumbClass(tQ,r.END)))},e.prototype.handleMousedownOrTouchstart=function(t){var e=this,n="mousedown"===t.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(n,this.moveListener);var i=function(){e.handleUp(),e.adapter.deregisterBodyEventHandler(n,e.moveListener),e.adapter.deregisterEventHandler("mouseup",i),e.adapter.deregisterEventHandler("touchend",i)};this.adapter.registerBodyEventHandler("mouseup",i),this.adapter.registerBodyEventHandler("touchend",i),this.handleDown(t)},e.prototype.handlePointerdown=function(t){this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t)},e.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===r.START?this.setValueStart(e):this.setValue(e)},e.prototype.handleInputFocus=function(t){if(this.isDiscrete&&(this.adapter.addThumbClass(tQ,t),this.isRange)){var e=t===r.START?r.END:r.START;this.adapter.addThumbClass(tQ,e)}},e.prototype.handleInputBlur=function(t){if(this.isDiscrete&&(this.adapter.removeThumbClass(tQ,t),this.isRange)){var e=t===r.START?r.END:r.START;this.adapter.removeThumbClass(tQ,e)}},e.prototype.handleDragStart=function(t,e,n){this.adapter.focusInput(n),t.preventDefault(),this.adapter.emitDragStartEvent(e,n)},e.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return r.END;var n=this.adapter.getThumbBoundingClientRect(r.START),i=this.adapter.getThumbBoundingClientRect(r.END),o=t>=n.left&&t<=n.right,a=t>=i.left&&t<=i.right;return o&&a?null:o?r.START:a?r.END:e<this.valueStart?r.START:e>this.value?r.END:null},e.prototype.getThumbFromMoveEvent=function(t){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-t)<t8?this.thumb:t<this.downEventClientX?this.adapter.isRTL()?r.END:r.START:this.adapter.isRTL()?r.START:r.END},e.prototype.updateUI=function(t){this.updateThumbAndInputAttributes(t),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},e.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===r.START?this.valueStart:this.value,n=String(e);this.adapter.setInputAttribute(en,n,t),this.isRange&&t===r.START?this.adapter.setInputAttribute(et,n,r.END):this.isRange&&t===r.END&&this.adapter.setInputAttribute(ee,n,r.START),this.adapter.getInputValue(t)!==n&&this.adapter.setInputValue(n,t);var i=this.adapter.getValueToAriaValueTextFn();i&&this.adapter.setInputAttribute(t6,i(e),t)}},e.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===r.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===r.START?r.START:r.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,r.START)}},e.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,n=(this.max-this.value)/this.step,r=Array.from({length:t}).fill(i.INACTIVE),o=Array.from({length:e}).fill(i.ACTIVE),a=Array.from({length:n}).fill(i.INACTIVE);this.adapter.updateTickMarks(r.concat(o).concat(a))}},e.prototype.mapClientXOnSliderScale=function(t){var e=(t-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(e=1-e);var n=this.min+e*(this.max-this.min);return n===this.max||n===this.min?n:this.quantize(n)},e.prototype.updateValue=function(t,e,n){var i=void 0===n?{}:n,o=i.emitInputEvent,a=i.emitChangeEvent;if(t=this.clampValue(t,e),this.isRange&&e===r.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),o&&this.adapter.emitInputEvent(e===r.START?this.valueStart:this.value,e),a&&this.adapter.emitChangeEvent(e===r.START?this.valueStart:this.value,e)},e.prototype.quantize=function(t){return Math.round(t/this.step)*this.step},e.prototype.clampValue=function(t,e){return(t=Math.min(Math.max(t,this.min),this.max),this.isRange&&e===r.START&&t>this.value)?this.value:this.isRange&&e===r.END&&t<this.valueStart?this.valueStart:t},e.prototype.updateThumbAndTrackUI=function(t){var e=this,n=this,i=n.max,o=n.min,a=(this.value-this.valueStart)/(i-o),l=a*this.rect.width,c=this.adapter.isRTL(),d=ea?tE(window,"transform"):"transform";if(this.isRange){var s=this.adapter.isRTL()?(i-this.value)/(i-o)*this.rect.width:(this.valueStart-o)/(i-o)*this.rect.width,m=s+l;requestAnimationFrame(function(){!c&&t===r.START||c&&t!==r.START?(e.adapter.setTrackActiveStyleProperty("transform-origin","right"),e.adapter.setTrackActiveStyleProperty("left","unset"),e.adapter.setTrackActiveStyleProperty("right",e.rect.width-m+"px")):(e.adapter.setTrackActiveStyleProperty("transform-origin","left"),e.adapter.setTrackActiveStyleProperty("right","unset"),e.adapter.setTrackActiveStyleProperty("left",s+"px")),e.adapter.setTrackActiveStyleProperty(d,"scaleX("+a+")");var n=c?m:s,i=e.adapter.isRTL()?s:m;t!==r.START&&t&&e.initialStylesRemoved||e.adapter.setThumbStyleProperty(d,"translateX("+n+"px)",r.START),t!==r.END&&t&&e.initialStylesRemoved||e.adapter.setThumbStyleProperty(d,"translateX("+i+"px)",r.END),e.removeInitialStyles(c),e.updateOverlappingThumbsUI(n,i,t)})}else requestAnimationFrame(function(){var t=c?e.rect.width-l:l;e.adapter.setThumbStyleProperty(d,"translateX("+t+"px)",r.END),e.adapter.setTrackActiveStyleProperty(d,"scaleX("+a+")"),e.removeInitialStyles(c)})},e.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,r.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,r.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},e.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=ea?tE(window,"transition"):"transition",n="all 0s ease 0s";this.adapter.setThumbStyleProperty(e,n,r.END),this.isRange&&this.adapter.setThumbStyleProperty(e,n,r.START),this.adapter.setTrackActiveStyleProperty(e,n),requestAnimationFrame(function(){t.adapter.removeThumbStyleProperty(e,r.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,r.START)})}},e.prototype.updateOverlappingThumbsUI=function(t,e,n){var i=!1;if(this.adapter.isRTL()){var o=t-this.startThumbKnobWidth/2;i=e+this.endThumbKnobWidth/2>=o}else i=t+this.startThumbKnobWidth/2>=e-this.endThumbKnobWidth/2;i?(this.adapter.addThumbClass(tJ,n||r.END),this.adapter.removeThumbClass(tJ,n===r.START?r.END:r.START)):(this.adapter.removeThumbClass(tJ,r.START),this.adapter.removeThumbClass(tJ,r.END))},e.prototype.convertAttributeValueToNumber=function(t,e){if(null===t)throw Error("MDCSliderFoundation: `"+e+"` must be non-null.");var n=Number(t);if(isNaN(n))throw Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return n},e.prototype.validateProperties=function(t){var e=t.min,n=t.max,i=t.value,r=t.valueStart;if(e>=n)throw Error("MDCSliderFoundation: min must be strictly less than max. "+("Current: [min: "+e+", max: ")+n+"]");if(this.isRange){if(i<e||i>n||r<e||r>n)throw Error("MDCSliderFoundation: values must be in [min, max] range. "+("Current values: [start value: "+r+", end value: ")+i+"]");if(r>i)throw Error("MDCSliderFoundation: start value must be <= end value. "+("Current values: [start value: "+r+", end value: ")+i+"]")}else if(i<e||i>n)throw Error("MDCSliderFoundation: value must be in [min, max] range. Current value: "+i)},e.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(r.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(r.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(r.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(r.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(r.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(r.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(r.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(r.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(r.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(r.END,"blur",this.inputEndBlurListener)},e.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(r.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(r.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(r.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(r.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(r.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(r.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(r.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(r.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(r.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(r.END,"blur",this.inputEndBlurListener)},e.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},e.SUPPORTS_POINTER_EVENTS=ea&&!!window.PointerEvent,e}(O.K),ec=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.skipInitialUIUpdate=!1,e.valueToAriaValueTextFn=null,e}return tj(e,t),e.attachTo=function(t,n){return void 0===n&&(n={}),new e(t,void 0,n)},e.prototype.getDefaultFoundation=function(){var t=this;return new el({hasClass:function(e){return t.root.classList.contains(e)},addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},addThumbClass:function(e,n){t.getThumbEl(n).classList.add(e)},removeThumbClass:function(e,n){t.getThumbEl(n).classList.remove(e)},getAttribute:function(e){return t.root.getAttribute(e)},getInputValue:function(e){return t.getInput(e).value},setInputValue:function(e,n){t.getInput(n).value=e},getInputAttribute:function(e,n){return t.getInput(n).getAttribute(e)},setInputAttribute:function(e,n,i){t.getInput(i).setAttribute(e,n)},removeInputAttribute:function(e,n){t.getInput(n).removeAttribute(e)},focusInput:function(e){t.getInput(e).focus()},isInputFocused:function(e){return t.getInput(e)===document.activeElement},getThumbKnobWidth:function(e){return t.getThumbEl(e).querySelector("."+tW).getBoundingClientRect().width},getThumbBoundingClientRect:function(e){return t.getThumbEl(e).getBoundingClientRect()},getBoundingClientRect:function(){return t.root.getBoundingClientRect()},isRTL:function(){return"rtl"===getComputedStyle(t.root).direction},setThumbStyleProperty:function(e,n,i){t.getThumbEl(i).style.setProperty(e,n)},removeThumbStyleProperty:function(e,n){t.getThumbEl(n).style.removeProperty(e)},setTrackActiveStyleProperty:function(e,n){t.trackActive.style.setProperty(e,n)},removeTrackActiveStyleProperty:function(e){t.trackActive.style.removeProperty(e)},setValueIndicatorText:function(e,n){t.getThumbEl(n).querySelector("."+t3).textContent=String(e)},getValueToAriaValueTextFn:function(){return t.valueToAriaValueTextFn},updateTickMarks:function(e){var n=t.root.querySelector("."+t0);n||((n=document.createElement("div")).classList.add(t0),t.root.querySelector("."+t5).appendChild(n)),e.length!==n.children.length?(n.innerHTML="",t.addTickMarks(n,e)):t.updateTickMarks(n,e)},setPointerCapture:function(e){t.root.setPointerCapture(e)},emitChangeEvent:function(e,n){t.emit(er,{value:e,thumb:n})},emitInputEvent:function(e,n){t.emit(eo,{value:e,thumb:n})},emitDragStartEvent:function(e,n){t.getRipple(n).activate()},emitDragEndEvent:function(e,n){t.getRipple(n).deactivate()},registerEventHandler:function(e,n){t.listen(e,n)},deregisterEventHandler:function(e,n){t.unlisten(e,n)},registerThumbEventHandler:function(e,n,i){t.getThumbEl(e).addEventListener(n,i)},deregisterThumbEventHandler:function(e,n,i){t.getThumbEl(e).removeEventListener(n,i)},registerInputEventHandler:function(e,n,i){t.getInput(e).addEventListener(n,i)},deregisterInputEventHandler:function(e,n,i){t.getInput(e).removeEventListener(n,i)},registerBodyEventHandler:function(t,e){document.body.addEventListener(t,e)},deregisterBodyEventHandler:function(t,e){document.body.removeEventListener(t,e)},registerWindowEventHandler:function(t,e){window.addEventListener(t,e)},deregisterWindowEventHandler:function(t,e){window.removeEventListener(t,e)}})},e.prototype.initialize=function(t){var e=(void 0===t?{}:t).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+tK)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+tq)),this.trackActive=this.root.querySelector("."+t4),this.ripples=this.createRipples(),e&&(this.skipInitialUIUpdate=!0)},e.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},e.prototype.layout=function(){this.foundation.layout()},e.prototype.getValueStart=function(){return this.foundation.getValueStart()},e.prototype.setValueStart=function(t){this.foundation.setValueStart(t)},e.prototype.getValue=function(){return this.foundation.getValue()},e.prototype.setValue=function(t){this.foundation.setValue(t)},e.prototype.getDisabled=function(){return this.foundation.getDisabled()},e.prototype.setDisabled=function(t){this.foundation.setDisabled(t)},e.prototype.setValueToAriaValueTextFn=function(t){this.valueToAriaValueTextFn=t},e.prototype.getThumbEl=function(t){return t===r.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},e.prototype.getInput=function(t){return t===r.END?this.inputs[this.inputs.length-1]:this.inputs[0]},e.prototype.getRipple=function(t){return t===r.END?this.ripples[this.ripples.length-1]:this.ripples[0]},e.prototype.addTickMarks=function(t,e){for(var n=document.createDocumentFragment(),r=0;r<e.length;r++){var o=document.createElement("div"),a=e[r]===i.ACTIVE?t1:t2;o.classList.add(a),n.appendChild(o)}t.appendChild(n)},e.prototype.updateTickMarks=function(t,e){for(var n=Array.from(t.children),r=0;r<n.length;r++)e[r]===i.ACTIVE?(n[r].classList.add(t1),n[r].classList.remove(t2)):(n[r].classList.add(t2),n[r].classList.remove(t1))},e.prototype.createRipples=function(){for(var t=[],e=[].slice.call(this.root.querySelectorAll("."+tq)),n=function(n){var r=e[n],o=i.inputs[n],a=tV(tV({},G.F.createAdapter(i)),{addClass:function(t){r.classList.add(t)},computeBoundingRect:function(){return r.getBoundingClientRect()},deregisterInteractionHandler:function(t,e){o.removeEventListener(t,e)},isSurfaceActive:function(){return(0,C.wB)(o,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(t,e){o.addEventListener(t,e)},removeClass:function(t){r.classList.remove(t)},updateCssVariable:function(t,e){r.style.setProperty(t,e)}}),l=new G.F(r,new q.l(a));l.unbounded=!0,t.push(l)},i=this,r=0;r<e.length;r++)n(r);return t},e}(E.B),ed=function(t,e){return(ed=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function es(t,e){function n(){this.constructor=t}ed(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var em=function(){return(em=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},ep=n(1124),eu=n(4266),ef=n(7838),eh={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},eg={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},eb={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},e_=n(9905),ev=function(t){function e(n,i){void 0===i&&(i={});var r=t.call(this,em(em({},e.defaultAdapter),n))||this;return r.disabled=!1,r.isMenuOpen=!1,r.useDefaultValidation=!0,r.customValidity=!0,r.lastSelectedIndex=eb.UNSET_INDEX,r.clickDebounceTimeout=0,r.recentlyClicked=!1,r.leadingIcon=i.leadingIcon,r.helperText=i.helperText,r}return es(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eh},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return eb},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eg},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return -1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return -1}}},enumerable:!0,configurable:!0}),e.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},e.prototype.setSelectedIndex=function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1),t>=this.adapter.getMenuItemCount()||(t===eb.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(t).trim()),this.adapter.setSelectedIndex(t),e&&this.adapter.closeMenu(),n||this.lastSelectedIndex===t||this.handleChange(),this.lastSelectedIndex=t)},e.prototype.setValue=function(t,e){void 0===e&&(e=!1);var n=this.adapter.getMenuItemValues().indexOf(t);this.setSelectedIndex(n,!1,e)},e.prototype.getValue=function(){var t=this.adapter.getSelectedIndex(),e=this.adapter.getMenuItemValues();return t!==eb.UNSET_INDEX?e[t]:""},e.prototype.getDisabled=function(){return this.disabled},e.prototype.setDisabled=function(t){this.disabled=t,this.disabled?(this.adapter.addClass(eh.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(eh.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},e.prototype.openMenu=function(){this.adapter.addClass(eh.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.layout=function(){if(this.adapter.hasLabel()){var t=this.getValue().length>0,e=this.adapter.hasClass(eh.FOCUSED),n=t||e,i=this.adapter.hasClass(eh.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(i)}},e.prototype.layoutOptions=function(){var t=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(t,!1,!0)},e.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var t=this.getSelectedIndex(),e=t>=0?t:0;this.adapter.focusMenuItemAtIndex(e)}},e.prototype.handleMenuClosed=function(){this.adapter.removeClass(eh.ACTIVATED),this.isMenuOpen=!1,this.adapter.setSelectAnchorAttr("aria-expanded","false"),this.adapter.isSelectAnchorFocused()||this.blur()},e.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(eh.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.handleMenuItemAction=function(t){this.setSelectedIndex(t,!0)},e.prototype.handleFocus=function(){this.adapter.addClass(eh.FOCUSED),this.layout(),this.adapter.activateBottomLine()},e.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},e.prototype.handleClick=function(t){if(!this.disabled&&!this.recentlyClicked){if(this.setClickDebounceTimeout(),this.isMenuOpen)return void this.adapter.closeMenu();this.adapter.setRippleCenter(t),this.openMenu()}},e.prototype.handleKeydown=function(t){if(!this.isMenuOpen&&this.adapter.hasClass(eh.FOCUSED)){var e=(0,e_.ku)(t)===e_.Fn.ENTER,n=(0,e_.ku)(t)===e_.Fn.SPACEBAR,i=(0,e_.ku)(t)===e_.Fn.ARROW_UP,r=(0,e_.ku)(t)===e_.Fn.ARROW_DOWN;if(!n&&t.key&&1===t.key.length||n&&this.adapter.isTypeaheadInProgress()){var o=n?" ":t.key,a=this.adapter.typeaheadMatchItem(o,this.getSelectedIndex());a>=0&&this.setSelectedIndex(a),t.preventDefault();return}(e||n||i||r)&&(i&&this.getSelectedIndex()>0?this.setSelectedIndex(this.getSelectedIndex()-1):r&&this.getSelectedIndex()<this.adapter.getMenuItemCount()-1&&this.setSelectedIndex(this.getSelectedIndex()+1),this.openMenu(),t.preventDefault())}},e.prototype.notchOutline=function(t){if(this.adapter.hasOutline()){var e=this.adapter.hasClass(eh.FOCUSED);if(t){var n=eb.LABEL_SCALE,i=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(i)}else e||this.adapter.closeOutline()}},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setUseDefaultValidation=function(t){this.useDefaultValidation=t},e.prototype.setValid=function(t){this.useDefaultValidation||(this.customValidity=t),this.adapter.setSelectAnchorAttr("aria-invalid",(!t).toString()),t?(this.adapter.removeClass(eh.INVALID),this.adapter.removeMenuClass(eh.MENU_INVALID)):(this.adapter.addClass(eh.INVALID),this.adapter.addMenuClass(eh.MENU_INVALID)),this.syncHelperTextValidity(t)},e.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(eh.REQUIRED)&&!this.adapter.hasClass(eh.DISABLED)?this.getSelectedIndex()!==eb.UNSET_INDEX&&(0!==this.getSelectedIndex()||!!this.getValue()):this.customValidity},e.prototype.setRequired=function(t){t?this.adapter.addClass(eh.REQUIRED):this.adapter.removeClass(eh.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",t.toString()),this.adapter.setLabelRequired(t)},e.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},e.prototype.init=function(){var t=this.adapter.getAnchorElement();t&&(this.adapter.setMenuAnchorElement(t),this.adapter.setMenuAnchorCorner(ep.Ns.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(eh.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(eh.INVALID)),this.layout(),this.layoutOptions()},e.prototype.blur=function(){this.adapter.removeClass(eh.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(eh.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},e.prototype.syncHelperTextValidity=function(t){if(this.helperText){this.helperText.setValidity(t);var e=this.helperText.isVisible(),n=this.helperText.getId();e&&n?this.adapter.setSelectAnchorAttr(eg.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(eg.ARIA_DESCRIBEDBY)}},e.prototype.setClickDebounceTimeout=function(){var t=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout(function(){t.recentlyClicked=!1},eb.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},e}(O.K),ey={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},ex={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},ew=function(t){function e(n){return t.call(this,em(em({},e.defaultAdapter),n))||this}return es(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return ex},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return ey},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this.adapter.getAttr("id")},e.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(ey.ARIA_HIDDEN)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.setValidation=function(t){t?this.adapter.addClass(ex.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(ex.HELPER_TEXT_VALIDATION_MSG)},e.prototype.setValidationMsgPersistent=function(t){t?this.adapter.addClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},e.prototype.setValidity=function(t){if(this.adapter.hasClass(ex.HELPER_TEXT_VALIDATION_MSG)){var e=this.adapter.hasClass(ex.HELPER_TEXT_VALIDATION_MSG_PERSISTENT),n=!t||e;if(n){this.showToScreenReader(),t?this.adapter.removeAttr(ey.ROLE):this.adapter.setAttr(ey.ROLE,"alert");return}this.adapter.removeAttr(ey.ROLE),this.hide()}},e.prototype.showToScreenReader=function(){this.adapter.removeAttr(ey.ARIA_HIDDEN)},e.prototype.hide=function(){this.adapter.setAttr(ey.ARIA_HIDDEN,"true")},e}(O.K),ek=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this;return new ew({addClass:function(e){return t.root.classList.add(e)},removeClass:function(e){return t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e}})},e}(E.B),eE={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},eA=["click","keydown"],eC=function(t){function e(n){var i=t.call(this,em(em({},e.defaultAdapter),n))||this;return i.savedTabIndex_=null,i.interactionHandler_=function(t){return i.handleInteraction(t)},i}return es(e,t),Object.defineProperty(e,"strings",{get:function(){return eE},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this;this.savedTabIndex_=this.adapter.getAttr("tabindex"),eA.forEach(function(e){t.adapter.registerInteractionHandler(e,t.interactionHandler_)})},e.prototype.destroy=function(){var t=this;eA.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.interactionHandler_)})},e.prototype.setDisabled=function(t){this.savedTabIndex_&&(t?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex_),this.adapter.setAttr("role",eE.ICON_ROLE)))},e.prototype.setAriaLabel=function(t){this.adapter.setAttr("aria-label",t)},e.prototype.setContent=function(t){this.adapter.setContent(t)},e.prototype.handleInteraction=function(t){var e="Enter"===t.key||13===t.keyCode;("click"===t.type||e)&&this.adapter.notifyIconAction()},e}(O.K),eT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},Object.defineProperty(e.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!0,configurable:!0}),e.prototype.getDefaultFoundation=function(){var t=this,e={getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)},removeAttr:function(e){return t.root.removeAttribute(e)},setContent:function(e){t.root.textContent=e},registerInteractionHandler:function(e,n){return t.listen(e,n)},deregisterInteractionHandler:function(e,n){return t.unlisten(e,n)},notifyIconAction:function(){return t.emit(eC.strings.ICON_EVENT,{},!0)}};return new eC(e)},e}(E.B),eI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return es(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t,e,n,i,r,o){if(void 0===t&&(t=function(t){return new N(t)}),void 0===e&&(e=function(t){return new F(t)}),void 0===n&&(n=function(t){return new K(t)}),void 0===i&&(i=function(t){return new eu.g(t)}),void 0===r&&(r=function(t){return new eT(t)}),void 0===o&&(o=function(t){return new ek(t)}),this.selectAnchor=this.root.querySelector(eg.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(eg.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(eg.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw Error("MDCSelect: Missing required element: The following selector must be present: '"+eg.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(eg.ARIA_CONTROLS)){var a=document.getElementById(this.selectAnchor.getAttribute(eg.ARIA_CONTROLS));a&&(this.helperText=o(a))}this.menuSetup(i);var l=this.root.querySelector(eg.LABEL_SELECTOR);this.label=l?t(l):null;var c=this.root.querySelector(eg.LINE_RIPPLE_SELECTOR);this.lineRipple=c?e(c):null;var d=this.root.querySelector(eg.OUTLINE_SELECTOR);this.outline=d?n(d):null;var s=this.root.querySelector(eg.LEADING_ICON_SELECTOR);s&&(this.leadingIcon=r(s)),this.root.classList.contains(eh.OUTLINED)||(this.ripple=this.createRipple())},e.prototype.initialSyncWithDOM=function(){var t=this;if(this.handleFocus=function(){t.foundation.handleFocus()},this.handleBlur=function(){t.foundation.handleBlur()},this.handleClick=function(e){t.selectAnchor.focus(),t.foundation.handleClick(t.getNormalizedXCoordinate(e))},this.handleKeydown=function(e){t.foundation.handleKeydown(e)},this.handleMenuItemAction=function(e){t.foundation.handleMenuItemAction(e.detail.index)},this.handleMenuOpened=function(){t.foundation.handleMenuOpened()},this.handleMenuClosed=function(){t.foundation.handleMenuClosed()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(ep.j2.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(ep.j2.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(ef.j2.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value){this.foundation.setValue(this.hiddenInput.value,!0),this.foundation.layout();return}this.hiddenInput.value=this.value}},e.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(ep.j2.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(ep.j2.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(ef.j2.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),t.prototype.destroy.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(t){this.foundation.setValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(t){this.foundation.setSelectedIndex(t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(t){this.foundation.setDisabled(t),this.hiddenInput&&(this.hiddenInput.disabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconAriaLabel",{set:function(t){this.foundation.setLeadingIconAriaLabel(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leadingIconContent",{set:function(t){this.foundation.setLeadingIconContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"helperTextContent",{set:function(t){this.foundation.setHelperTextContent(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultValidation",{set:function(t){this.foundation.setUseDefaultValidation(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(t){this.foundation.setValid(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(t){this.foundation.setRequired(t)},enumerable:!0,configurable:!0}),e.prototype.layout=function(){this.foundation.layout()},e.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(eg.VALUE_ATTR)||""}),this.hiddenInput&&(this.hiddenInput.value=this.value)},e.prototype.getDefaultFoundation=function(){return new ev(em(em(em(em({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods()),this.getFoundationMap())},e.prototype.menuSetup=function(t){this.menuElement=this.root.querySelector(eg.MENU_SELECTOR),this.menu=t(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map(function(t){return t.getAttribute(eg.VALUE_ATTR)||""})},e.prototype.createRipple=function(){var t=this,e=em(em({},G.F.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(e,n){t.selectAnchor.addEventListener(e,n)},deregisterInteractionHandler:function(e,n){t.selectAnchor.removeEventListener(e,n)}});return new G.F(this.selectAnchor,new q.l(e))},e.prototype.getSelectAdapterMethods=function(){var t=this;return{getMenuItemAttr:function(t,e){return t.getAttribute(e)},setSelectedText:function(e){t.selectedText.textContent=e},isSelectAnchorFocused:function(){return document.activeElement===t.selectAnchor},getSelectAnchorAttr:function(e){return t.selectAnchor.getAttribute(e)},setSelectAnchorAttr:function(e,n){t.selectAnchor.setAttribute(e,n)},removeSelectAnchorAttr:function(e){t.selectAnchor.removeAttribute(e)},addMenuClass:function(e){t.menuElement.classList.add(e)},removeMenuClass:function(e){t.menuElement.classList.remove(e)},openMenu:function(){t.menu.open=!0},closeMenu:function(){t.menu.open=!1},getAnchorElement:function(){return t.root.querySelector(eg.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(e){t.menu.setAnchorElement(e)},setMenuAnchorCorner:function(e){t.menu.setAnchorCorner(e)},setMenuWrapFocus:function(e){t.menu.wrapFocus=e},getSelectedIndex:function(){var e=t.menu.selectedIndex;return e instanceof Array?e[0]:e},setSelectedIndex:function(e){t.menu.selectedIndex=e},focusMenuItemAtIndex:function(e){t.menu.items[e].focus()},getMenuItemCount:function(){return t.menu.items.length},getMenuItemValues:function(){return t.menuItemValues},getMenuItemTextAtIndex:function(e){return t.menu.getPrimaryTextAtIndex(e)},isTypeaheadInProgress:function(){return t.menu.typeaheadInProgress},typeaheadMatchItem:function(e,n){return t.menu.typeaheadMatchItem(e,n)}}},e.prototype.getCommonAdapterMethods=function(){var t=this;return{addClass:function(e){t.root.classList.add(e)},removeClass:function(e){t.root.classList.remove(e)},hasClass:function(e){return t.root.classList.contains(e)},setRippleCenter:function(e){t.lineRipple&&t.lineRipple.setRippleCenter(e)},activateBottomLine:function(){t.lineRipple&&t.lineRipple.activate()},deactivateBottomLine:function(){t.lineRipple&&t.lineRipple.deactivate()},notifyChange:function(e){var n=t.selectedIndex;t.emit(eg.CHANGE_EVENT,{value:e,index:n},!0),t.hiddenInput&&(t.hiddenInput.value=e)}}},e.prototype.getOutlineAdapterMethods=function(){var t=this;return{hasOutline:function(){return!!t.outline},notchOutline:function(e){t.outline&&t.outline.notch(e)},closeOutline:function(){t.outline&&t.outline.closeNotch()}}},e.prototype.getLabelAdapterMethods=function(){var t=this;return{hasLabel:function(){return!!t.label},floatLabel:function(e){t.label&&t.label.float(e)},getLabelWidth:function(){return t.label?t.label.getWidth():0},setLabelRequired:function(e){t.label&&t.label.setRequired(e)}}},e.prototype.getNormalizedXCoordinate=function(t){var e=t.target.getBoundingClientRect();return(this.isTouchEvent(t)?t.touches[0].clientX:t.clientX)-e.left},e.prototype.isTouchEvent=function(t){return!!t.touches},e.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},e}(E.B),eS=n(2326),eO=function(t,e){return(eO=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function eL(t,e){function n(){this.constructor=t}eO(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var eR=function(){return(eR=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},eN={ROOT:"mdc-form-field"},eD={LABEL_SELECTOR:".mdc-form-field > label"},ez=function(t){function e(n){var i=t.call(this,eR(eR({},e.defaultAdapter),n))||this;return i.click=function(){i.handleClick()},i}return eL(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eN},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eD},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame(function(){t.adapter.deactivateInputRipple()})},e}(O.K),eP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return eL(e,t),e.attachTo=function(t){return new e(t)},e.prototype.labelEl=function(){var t=ez.strings.LABEL_SELECTOR;return this.root.querySelector(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new ez({activateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.activate()},deactivateInputRipple:function(){t.input&&t.input.ripple&&t.input.ripple.deactivate()},deregisterInteractionHandler:function(e,n){var i=t.labelEl();i&&i.removeEventListener(e,n)},registerInteractionHandler:function(e,n){var i=t.labelEl();i&&i.addEventListener(e,n)}})},e}(E.B),e$=function(t,e){return(e$=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function eM(t,e){function n(){this.constructor=t}e$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var eF=function(){return(eF=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},eB={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},eU={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},eH=function(t){function e(n){var i=t.call(this,eF(eF({},e.defaultAdapter),n))||this;return i.hasToggledAriaLabel=!1,i}return eM(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return eB},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return eU},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!0,configurable:!0}),e.prototype.init=function(){var t=this.adapter.getAttr(eU.DATA_ARIA_LABEL_ON),e=this.adapter.getAttr(eU.DATA_ARIA_LABEL_OFF);if(t&&e){if(null!==this.adapter.getAttr(eU.ARIA_PRESSED))throw Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(eU.ARIA_PRESSED,String(this.isOn()))},e.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},e.prototype.isOn=function(){return this.adapter.hasClass(eB.ICON_BUTTON_ON)},e.prototype.toggle=function(t){if(void 0===t&&(t=!this.isOn()),t?this.adapter.addClass(eB.ICON_BUTTON_ON):this.adapter.removeClass(eB.ICON_BUTTON_ON),this.hasToggledAriaLabel){var e=t?this.adapter.getAttr(eU.DATA_ARIA_LABEL_ON):this.adapter.getAttr(eU.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(eU.ARIA_LABEL,e||"")}else this.adapter.setAttr(eU.ARIA_PRESSED,""+t)},e}(O.K),ej=eH.strings,eV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rippleComponent=e.createRipple(),e}return eM(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},e.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),t.prototype.destroy.call(this)},e.prototype.getDefaultFoundation=function(){var t=this;return new eH({addClass:function(e){return t.root.classList.add(e)},hasClass:function(e){return t.root.classList.contains(e)},notifyChange:function(e){t.emit(ej.CHANGE_EVENT,e)},removeClass:function(e){return t.root.classList.remove(e)},getAttr:function(e){return t.root.getAttribute(e)},setAttr:function(e,n){return t.root.setAttribute(e,n)}})},Object.defineProperty(e.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(t){this.foundation.toggle(t)},enumerable:!0,configurable:!0}),e.prototype.createRipple=function(){var t=new G.F(this.root);return t.unbounded=!0,t},e}(E.B),eX=n(6801);n(6243);var eY=n(2730),eK=n(9329);n(6117);var eG=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},eq=function(t,e,n,i){function r(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,o){function a(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){t.done?n(t.value):r(t.value).then(a,l)}c((i=i.apply(t,e||[])).next())})};let eW=n(7444),eJ=n(4202),eQ=n(6584),eZ=n(9224),e0=n(1174),e1=n(8140),e2=n(2611),e5=n(7229),e4=n(1526),e3=n(5816),e7=n(9439),e8=n(332),e6=n(3041),e9=n(6401),nt=n(172),ne=n(3881);class nn extends CustomEvent{constructor(t,e,n){super(nn.NAME,{detail:{value:t,previousValue:e,enterPressed:n},bubbles:!0,composed:!0})}}function ni(t){return t===o.NUMBER||t===o.BIG_INT||t===o.TELEPHONE||t===o.TEXT||t===o.PASSWORD||t===o.DATE||t===o.DATETIME||t===o.EMAIL||t===o.JSON||t===o.JSON_OBJECT||t===o.MONTH||t===o.TEXTAREA||t===o.TIME||t===o.URL||t===o.WEEK}function nr(t){return ni(t)||t===o.SELECT}nn.NAME="or-mwc-input-changed",function(t){t.BUTTON="button",t.BUTTON_TOGGLE="button-toggle",t.BUTTON_MOMENTARY="button-momentary",t.CHECKBOX="checkbox",t.CHECKBOX_LIST="checkbox-list",t.COLOUR="color",t.DATE="date",t.DATETIME="datetime-local",t.EMAIL="email",t.JSON="json",t.JSON_OBJECT="json-object",t.MONTH="month",t.NUMBER="number",t.BIG_INT="big-int",t.PASSWORD="password",t.RADIO="radio",t.SWITCH="switch",t.RANGE="range",t.TELEPHONE="tel",t.TEXT="text",t.TEXTAREA="textarea",t.TIME="time",t.URL="url",t.WEEK="week",t.SELECT="select",t.LIST="list",t.CRON="cron",t.DURATION="duration",t.DURATION_TIME="duration-time",t.DURATION_PERIOD="duration-period"}(o||(o={}));let no=(0,a.iv)`
|
|
631
|
+
|
|
632
|
+
:host {
|
|
633
|
+
display: inline-block;
|
|
634
|
+
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,a.$m)(eX.DefaultColor4)}));
|
|
635
|
+
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,a.$m)(eX.DefaultColor8)}));
|
|
636
|
+
|
|
637
|
+
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
638
|
+
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
639
|
+
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
:host([hidden]) {
|
|
643
|
+
display: none;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
:host([type=select]) {
|
|
647
|
+
height: 56px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
#wrapper {
|
|
651
|
+
display: flex;
|
|
652
|
+
align-items: center;
|
|
653
|
+
min-height: 48px;
|
|
654
|
+
height: 100%;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
#wrapper > label {
|
|
658
|
+
white-space: nowrap;
|
|
659
|
+
margin-right: 20px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
#component {
|
|
663
|
+
max-width: 100%;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.mdc-text-field {
|
|
667
|
+
flex: 1 1 0;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.mdc-list {
|
|
671
|
+
flex: 1;
|
|
672
|
+
overflow: auto;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.mdc-select__anchor {
|
|
676
|
+
max-width: 100%;
|
|
677
|
+
width: 100%;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.mdc-checkbox-list input {
|
|
681
|
+
display: none;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.mdc-checkbox-list label {
|
|
685
|
+
display: block;
|
|
686
|
+
border-radius: 50%;
|
|
687
|
+
text-align: center;
|
|
688
|
+
width: 32px;
|
|
689
|
+
line-height: 32px;
|
|
690
|
+
height: 32px;
|
|
691
|
+
cursor: pointer;
|
|
692
|
+
background-color: var(--or-app-color2);
|
|
693
|
+
font-size: 13px;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
input::-webkit-calendar-picker-indicator {
|
|
697
|
+
margin: 0;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.mdc-checkbox-list .mdc-checkbox {
|
|
701
|
+
padding: 0;
|
|
702
|
+
height: 32px;
|
|
703
|
+
width: 32px;
|
|
704
|
+
}
|
|
705
|
+
.mdc-radio-container {
|
|
706
|
+
display: flex;
|
|
707
|
+
flex-direction: column;
|
|
708
|
+
}
|
|
709
|
+
.mdc-text-field.mdc-text-field--invalid:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {
|
|
710
|
+
color: var(--mdc-theme-error, #b00020)
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.mdc-checkbox-list input:checked + label {
|
|
714
|
+
color: var(--or-app-color2);
|
|
715
|
+
background-color: var(--mdc-theme-primary);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.mdc-button--rounded,
|
|
719
|
+
.or-mwc-input--rounded {
|
|
720
|
+
border-radius: 24px !important;
|
|
721
|
+
--mdc-shape-small: 32px;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
#select-searchable {
|
|
725
|
+
background-color: transparent;
|
|
726
|
+
border: 1px solid var(--or-app-color5, ${(0,a.$m)(eX.DefaultColor5)});
|
|
727
|
+
margin: 8px;
|
|
728
|
+
width: calc(100% - 16px);
|
|
729
|
+
border-radius: 4px;
|
|
730
|
+
padding: 4px 16px;
|
|
731
|
+
flex: 0 0 auto;
|
|
732
|
+
align-items: center;
|
|
733
|
+
height: auto;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.mdc-text-field__input::-webkit-calendar-picker-indicator {
|
|
737
|
+
display: block;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
::-webkit-clear-button {display: none;}
|
|
741
|
+
::-webkit-inner-spin-button { display: none; }
|
|
742
|
+
::-webkit-datetime-edit { padding: 0em; }
|
|
743
|
+
::-webkit-datetime-edit-text { padding: 0; }
|
|
744
|
+
|
|
745
|
+
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
746
|
+
color: var(--mdc-theme-primary);
|
|
747
|
+
}
|
|
748
|
+
.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-floating-label::after,
|
|
749
|
+
.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {
|
|
750
|
+
color: var(--mdc-theme-primary);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.mdc-text-field__input.resize-vertical {
|
|
754
|
+
resize: vertical;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.mdc-text-field, .mdc-text-field-helper-line {
|
|
758
|
+
width: 100%;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.mdc-text-field.dense-comfortable, .mdc-select.dense-comfortable {
|
|
762
|
+
height: 48px;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.mdc-text-field.dense-compact {
|
|
766
|
+
height: 36px;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.mdc-select:not(.mdc-list) {
|
|
770
|
+
white-space: nowrap;
|
|
771
|
+
display: flex;
|
|
772
|
+
flex-direction: column;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {
|
|
776
|
+
color: var(--mdc-theme-primary);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.mdc-select-helper-text {
|
|
780
|
+
white-space: normal;
|
|
781
|
+
color: rgba(0, 0, 0, 0.6);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.mdc-icon-button {
|
|
785
|
+
padding: 0;
|
|
786
|
+
color: var(--internal-or-mwc-input-color);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/* Give slider min width like select etc. */
|
|
790
|
+
.mdc-slider {
|
|
791
|
+
min-width: 200px;
|
|
792
|
+
flex: 1;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.mdc-switch {
|
|
796
|
+
margin: 0 24px;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.mdc-switch--full-width {
|
|
800
|
+
margin-left: auto;
|
|
801
|
+
}
|
|
802
|
+
.mdc-button--fullwidth {
|
|
803
|
+
width: 100%;
|
|
804
|
+
}
|
|
805
|
+
#field {
|
|
806
|
+
height: 100%;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.mdc-select__menu .mdc-list .mdc-list-item.mdc-list-item--selected or-icon {
|
|
810
|
+
--or-icon-fill: var(--or-app-color4);
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.mdc-menu__searchable {
|
|
814
|
+
overflow: hidden;
|
|
815
|
+
}
|
|
816
|
+
.mdc-menu__searchable.mdc-menu-surface--open {
|
|
817
|
+
display: flex;
|
|
818
|
+
flex-direction: column-reverse;
|
|
819
|
+
}
|
|
820
|
+
.mdc-menu__searchable.mdc-menu-surface--is-open-below {
|
|
821
|
+
flex-direction: column;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/* Prevent mouse events being fired from inside the or-icon shadowDOM */
|
|
825
|
+
.mdc-list-item__graphic > or-icon {
|
|
826
|
+
pointer-events: none;
|
|
827
|
+
}
|
|
828
|
+
`,na=class extends a.oi{constructor(){super(...arguments),this.readonly=!1,this.required=!1,this.checked=!1,this.indeterminate=!1,this.multiple=!1,this.searchLabel="search",this.compact=!1,this.comfortable=!1,this.raised=!1,this.action=!1,this.unElevated=!1,this.outlined=!1,this.rounded=!1,this.disableSliderNumberInput=!1,this.fullWidth=!1,this.helperPersistent=!1,this.autoValidate=!1,this.charCounter=!1,this.disabled=!1,this.continuous=!1,this.resizeVertical=!1,this.censored=!1,this.advertised=!1,this._selectedIndex=-1,this.isUiValid=!0}static get styles(){return[(0,a.iv)`${(0,a.$m)(eQ)}`,(0,a.iv)`${(0,a.$m)(eW)}`,(0,a.iv)`${(0,a.$m)(eJ)}`,(0,a.iv)`${(0,a.$m)(eZ)}`,(0,a.iv)`${(0,a.$m)(e0)}`,(0,a.iv)`${(0,a.$m)(e1)}`,(0,a.iv)`${(0,a.$m)(e2)}`,(0,a.iv)`${(0,a.$m)(e5)}`,(0,a.iv)`${(0,a.$m)(e4)}`,(0,a.iv)`${(0,a.$m)(e3)}`,(0,a.iv)`${(0,a.$m)(e7)}`,(0,a.iv)`${(0,a.$m)(e8)}`,(0,a.iv)`${(0,a.$m)(e6)}`,(0,a.iv)`${(0,a.$m)(nt)}`,(0,a.iv)`${(0,a.$m)(e9)}`,(0,a.iv)`${(0,a.$m)(ne)}`,no]}get nativeValue(){if(this._mdcComponent)return this._mdcComponent.value}disconnectedCallback(){var t,e;super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0,null==(t=this._menuObserver)||t.disconnect()),this._mdcComponent2&&(this._mdcComponent2.destroy(),this._mdcComponent2=void 0,null==(e=this._menuObserver)||e.disconnect())}shouldUpdate(t){return t.has("indeterminate")&&this._mdcComponent&&this.type===o.CHECKBOX&&(this._mdcComponent.indeterminate=this.indeterminate),t.has("disabled")&&(this._mdcComponent&&(this._mdcComponent.disabled=this.disabled),this.type===o.RANGE&&this._mdcComponent2&&(this._mdcComponent2.disabled=this.disabled)),t.has("readonly")&&(this._mdcComponent&&(this._mdcComponent.readonly=this.readonly),this.type===o.RANGE&&this._mdcComponent2&&(this._mdcComponent2.readonly=this.readonly)),!this.type&&this.value&&(this.value instanceof Date?this.type=o.DATETIME:"boolean"==typeof this.value?this.type=o.CHECKBOX:"number"==typeof this.value?this.type=o.NUMBER:"string"==typeof this.value?this.type=o.TEXT:this.type=o.JSON),!0}focus(){this.type===o.RANGE&&this._mdcComponent2?this._mdcComponent2.focus():this._mdcComponent&&"function"==typeof this._mdcComponent.focus&&this._mdcComponent.focus()}render(){var t;if(this.type){let e=!this.fullWidth&&this.label,n=!this.fullWidth&&this.outlined,i=!!this.helperText,r=!this.isUiValid&&(!!this.errorMessage||!!this.validationMessage),l={"mdc-text-field-helper-text--persistent":!r&&this.helperPersistent,"mdc-text-field-helper-text--validation-msg":r},m=null!==this.value&&void 0!==this.value||!1===this.value,p=e?(0,a.dy)`<span class="mdc-floating-label ${m?"mdc-floating-label--float-above":""}" id="label">${this.label}</span>`:void 0;switch(this.type){case o.RADIO:let u=this.resolveOptions(this.options);return this._selectedIndex=-1,(0,a.dy)`
|
|
829
|
+
<div class="mdc-radio-container">
|
|
830
|
+
${u?u.map(([t,e],n)=>(this.value===t&&(this._selectedIndex=n),(0,a.dy)`
|
|
831
|
+
<div id="field" class="mdc-form-field">
|
|
832
|
+
<div class="mdc-radio">
|
|
833
|
+
<input type="radio"
|
|
834
|
+
id="elem-${t}"
|
|
835
|
+
name="${(0,d.o)(this.name)}"
|
|
836
|
+
value="${t}"
|
|
837
|
+
?checked="${this.value&&this.value.includes(t)}"
|
|
838
|
+
?required="${this.required}"
|
|
839
|
+
?disabled="${this.disabled||this.readonly}"
|
|
840
|
+
@change="${e=>this.onValueChange(e.target,t)}"
|
|
841
|
+
class="mdc-radio__native-control"/>
|
|
842
|
+
<div class="mdc-radio__background">
|
|
843
|
+
<div class="mdc-radio__outer-circle"></div>
|
|
844
|
+
<div class="mdc-radio__inner-circle"></div>
|
|
845
|
+
</div>
|
|
846
|
+
<div class="mdc-radio__ripple"></div>
|
|
847
|
+
</div>
|
|
848
|
+
<label for="elem-${t}"><or-translate value="${e}"></or-translate></label>
|
|
849
|
+
</div>
|
|
850
|
+
|
|
851
|
+
`)):""}
|
|
852
|
+
</div>
|
|
853
|
+
`;case o.SWITCH:let f={"mdc-switch--disabled":this.disabled||this.readonly,"mdc-switch--full-width":this.fullWidth,"mdc-switch--checked":this.value};return(0,a.dy)`
|
|
854
|
+
<span id="wrapper">
|
|
855
|
+
${this.label?(0,a.dy)`<label for="elem" class="${this.disabled?"mdc-switch--disabled":""}">${this.label}</label>`:""}
|
|
856
|
+
<div id="component" class="mdc-switch ${(0,c.$)(f)}">
|
|
857
|
+
<div class="mdc-switch__track"></div>
|
|
858
|
+
<div class="mdc-switch__thumb-underlay">
|
|
859
|
+
<div class="mdc-switch__thumb">
|
|
860
|
+
<input type="checkbox" id="elem" class="mdc-switch__native-control"
|
|
861
|
+
?checked="${this.value}"
|
|
862
|
+
?required="${this.required}"
|
|
863
|
+
?disabled="${this.disabled||this.readonly}"
|
|
864
|
+
@change="${t=>this.onValueChange(t.target,t.target.checked)}"
|
|
865
|
+
role="switch">
|
|
866
|
+
</div>
|
|
867
|
+
</div>
|
|
868
|
+
</div>
|
|
869
|
+
</span>
|
|
870
|
+
`;case o.LIST:let h={"mdc-select--outlined":n,"mdc-select--disabled":this.disabled,"mdc-select--required":this.required,"mdc-select--dense":!1,"mdc-select--no-label":!this.label,"mdc-select--with-leading-icon":!!this.icon},g=this.resolveOptions(this.options);return this._selectedIndex=-1,(0,a.dy)`
|
|
871
|
+
<div id="component" class="mdc-list mdc-select ${(0,c.$)(h)}" @MDCList:action="${t=>this.onValueChange(void 0,-1===t.detail.index?void 0:Array.isArray(this.options[t.detail.index])?this.options[t.detail.index][0]:this.options[t.detail.index])}">
|
|
872
|
+
<ul class="mdc-list">
|
|
873
|
+
${g?g.map(([t,e],n)=>(this.value===t&&(this._selectedIndex=n),(0,a.dy)`<li class="${(0,c.$)({"mdc-list-item":!0,"mdc-list-item--selected":this.value===t})}" role="option" data-value="${t}"><or-translate value="${e}"></or-translate></li>`)):""}
|
|
874
|
+
</ul>
|
|
875
|
+
</div>
|
|
876
|
+
`;case o.SELECT:let b,_={"mdc-select--outlined":n,"mdc-select--filled":!n,"mdc-select--disabled":this.disabled||this.readonly,"mdc-select--required":this.required,"mdc-select--dense":!1,"dense-comfortable":this.comfortable,"mdc-select--no-label":!this.label,"mdc-select--with-leading-icon":!!this.icon,"or-mwc-input--rounded":this.rounded};b=void 0!=this.searchProvider?this.searchProvider(this.searchableValue):this.resolveOptions(this.options);let v=(t,e)=>{var n;let i=e.value;if(this.multiple){t.stopPropagation();let e=null!=(n=this._tempValue)?n:Array.isArray(this.value)?[...this.value]:void 0!==this.value?[this.value]:[],r=e.findIndex(t=>t===i);r>=0?e.splice(r,1):e.push(i);let o=t.composedPath()[0].closest("li"),a=o.getElementsByTagName("or-icon")[0];o&&(r>=0?o.classList.remove("mdc-list-item--selected"):o.classList.add("mdc-list-item--selected")),a&&(a.icon=r>=0?"checkbox-blank-outline":"checkbox-marked"),this._tempValue=e}else void 0==this.searchProvider&&Array.isArray(b)||this.onValueChange(void 0,e.value)},x=()=>{var t;let e=null!=(t=this._tempValue)?t:this.value;if(window.setTimeout(()=>{this._mdcComponent&&this._mdcComponent.foundation.adapter.floatLabel(e&&(!Array.isArray(e)||e.length>0))}),!this._tempValue)return;let n=[...this._tempValue];this._tempValue=void 0,this.onValueChange(void 0,n)},w=t=>void 0==this.searchProvider||t&&0!=t.length?(0,eY.A6)(this.multiple?eY.RH.MULTI_TICK:eY.RH.SELECT,(0,a.dy)`${null==t?void 0:t.map(([t,e],n)=>(0,eY.aL)({text:e,value:t},n,Array.isArray(this.value)?this.value:this.value?[this.value]:[],this.multiple?eY.RH.MULTI_TICK:eY.RH.SELECT,!1,v))}`,!1,void 0):(0,a.dy)`<span class="mdc-text-field-helper-line" style="margin: 8px 8px 8px 0;">${eK.i18next.t("noResults")}</span>`;return(0,a.dy)`
|
|
877
|
+
<div id="component"
|
|
878
|
+
class="mdc-select ${(0,c.$)(_)}"
|
|
879
|
+
@MDCSelect:change="${t=>eq(this,void 0,void 0,function*(){let e=Array.isArray(b)?b:yield b;this.onValueChange(void 0,-1===t.detail.index?void 0:Array.isArray(e[t.detail.index])?e[t.detail.index][0]:e[t.detail.index])})}">
|
|
880
|
+
<div class="mdc-select__anchor" role="button"
|
|
881
|
+
aria-haspopup="listbox"
|
|
882
|
+
aria-expanded="false"
|
|
883
|
+
aria-disabled="${""+(this.disabled||this.readonly)}"
|
|
884
|
+
aria-labelledby="label selected-text">
|
|
885
|
+
${!n?(0,a.dy)`<span class="mdc-select__ripple"></span>`:void 0}
|
|
886
|
+
${n?this.renderOutlined(p):p}
|
|
887
|
+
<span class="mdc-select__selected-text-container">
|
|
888
|
+
<span id="selected-text" class="mdc-select__selected-text"></span>
|
|
889
|
+
</span>
|
|
890
|
+
<span class="mdc-select__dropdown-icon">
|
|
891
|
+
<svg
|
|
892
|
+
class="mdc-select__dropdown-icon-graphic"
|
|
893
|
+
viewBox="7 10 10 5">
|
|
894
|
+
<polygon
|
|
895
|
+
class="mdc-select__dropdown-icon-inactive"
|
|
896
|
+
stroke="none"
|
|
897
|
+
fill-rule="evenodd"
|
|
898
|
+
points="7 10 12 15 17 10">
|
|
899
|
+
</polygon>
|
|
900
|
+
<polygon
|
|
901
|
+
class="mdc-select__dropdown-icon-active"
|
|
902
|
+
stroke="none"
|
|
903
|
+
fill-rule="evenodd"
|
|
904
|
+
points="7 15 12 10 17 15">
|
|
905
|
+
</polygon>
|
|
906
|
+
</svg>
|
|
907
|
+
</span>
|
|
908
|
+
${!n?(0,a.dy)`<div class="mdc-line-ripple"></div>`:""}
|
|
909
|
+
</div>
|
|
910
|
+
<div id="mdc-select-menu" class="mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fixed ${void 0!=this.searchProvider?"mdc-menu__searchable":void 0}" @MDCMenuSurface:closed="${x}">
|
|
911
|
+
${(0,s.g)(void 0!=this.searchProvider,()=>(0,a.dy)`
|
|
912
|
+
<label id="select-searchable" class="mdc-text-field mdc-text-field--filled">
|
|
913
|
+
<span class="mdc-floating-label" style="color: rgba(0, 0, 0, 0.6); text-transform: capitalize; visibility: ${this.searchableValue?"hidden":"visible"}" id="my-label-id">
|
|
914
|
+
<or-translate .value="${this.searchLabel}"></or-translate>
|
|
915
|
+
</span>
|
|
916
|
+
<input class="mdc-text-field__input" type="text"
|
|
917
|
+
@keyup="${t=>this.searchableValue=t.target.value}"
|
|
918
|
+
/>
|
|
919
|
+
</label>
|
|
920
|
+
`)}
|
|
921
|
+
${(0,s.g)(Array.isArray(b),()=>w(b),()=>y(new Promise(t=>eq(this,void 0,void 0,function*(){t(w((yield b)))})),(0,a.dy)`<span class="mdc-text-field-helper-line" style="margin: 8px 8px 8px 0;">${eK.i18next.t("loading")}</span>`))}
|
|
922
|
+
</div>
|
|
923
|
+
${i||r?(0,a.dy)`
|
|
924
|
+
<p id="component-helper-text" class="mdc-select-helper-text ${(0,c.$)(l)}" aria-hidden="true">
|
|
925
|
+
${r?this.errorMessage||this.validationMessage:this.helperText}
|
|
926
|
+
</p>`:""}
|
|
927
|
+
</div>
|
|
928
|
+
`;case o.BUTTON_TOGGLE:return(0,a.dy)`
|
|
929
|
+
<button id="component" class="mdc-icon-button ${this.value?"mdc-icon-button--on":""}"
|
|
930
|
+
?readonly="${this.readonly}"
|
|
931
|
+
?disabled="${this.disabled}"
|
|
932
|
+
@MDCIconButtonToggle:change="${t=>this.onValueChange(void 0,t.detail.isOn)}">
|
|
933
|
+
${this.icon?(0,a.dy)`<or-icon class="mdc-icon-button__icon" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
934
|
+
${this.iconOn?(0,a.dy)`<or-icon class="mdc-icon-button__icon mdc-icon-button__icon--on" aria-hidden="true" icon="${this.iconOn}"></or-icon>`:""}
|
|
935
|
+
</button>
|
|
936
|
+
`;case o.BUTTON:case o.BUTTON_MOMENTARY:{let t=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new nn(!0,null))},e=t=>{this.disabled&&t.stopPropagation(),i&&this.dispatchEvent(new nn(!1,!0))},n=t=>{this.disabled&&t.stopPropagation(),i||this.dispatchEvent(new nn(!0,null))},i=this.type===o.BUTTON_MOMENTARY,r=!this.action&&!this.label;!r||this.iconTrailing||this.icon||(this.icon="circle");let l={"mdc-icon-button":r,"mdc-fab":!r&&this.action,"mdc-fab--extended":!r&&this.action&&!!this.label,"mdc-fab--mini":!r&&this.action&&(this.compact||this.comfortable),"mdc-button":!r&&!this.action,"mdc-button--raised":!r&&!this.action&&this.raised,"mdc-button--unelevated":!r&&!this.action&&this.unElevated,"mdc-button--outlined":!r&&!this.action&&(this.outlined||i),"mdc-button--rounded":!r&&!this.action&&this.rounded,"mdc-button--fullwidth":this.fullWidth};return(0,a.dy)`
|
|
937
|
+
<button id="component" class="${(0,c.$)(l)}"
|
|
938
|
+
?readonly="${this.readonly}"
|
|
939
|
+
?disabled="${this.disabled}"
|
|
940
|
+
@click="${t=>n(t)}"
|
|
941
|
+
@mousedown="${e=>t(e)}" @mouseup="${t=>e(t)}">
|
|
942
|
+
${!r?(0,a.dy)`<div class="mdc-button__ripple"></div>`:""}
|
|
943
|
+
${this.icon?(0,a.dy)`<or-icon class="${r?"":this.action?"mdc-fab__icon":"mdc-button__icon"}" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
944
|
+
${this.label?(0,a.dy)`<span class="${this.action?"mdc-fab__label":"mdc-button__label"}"><or-translate .value="${this.label}"></or-translate></span>`:""}
|
|
945
|
+
${!r&&this.iconTrailing?(0,a.dy)`<or-icon class="${this.action?"mdc-fab__icon":"mdc-button__icon"}" aria-hidden="true" icon="${this.iconTrailing}"></or-icon>`:""}
|
|
946
|
+
</button>
|
|
947
|
+
`}case o.CHECKBOX_LIST:Array.isArray(this.value)||(null===this.value||void 0===this.value?this.value=[]:this.value=[this.value]);let k=this.resolveOptions(this.options);return this._selectedIndex=-1,(0,a.dy)`
|
|
948
|
+
<div class="mdc-checkbox-list">
|
|
949
|
+
${k?k.map(([t,e],n)=>(this.value===t&&(this._selectedIndex=n),(0,a.dy)`
|
|
950
|
+
<div id="field" class="mdc-form-field">
|
|
951
|
+
<div id="component" class="mdc-checkbox">
|
|
952
|
+
<input type="checkbox"
|
|
953
|
+
?checked="${this.value&&this.value.includes(t)}"
|
|
954
|
+
?required="${this.required}"
|
|
955
|
+
name="${t}"
|
|
956
|
+
?disabled="${this.disabled||this.readonly}"
|
|
957
|
+
@change="${e=>{let n=this.value;e.target.checked?n.includes(t)||(n=[t,...n]):n=n.filter(e=>e!==t),this.onValueChange(e.target,n)}}"
|
|
958
|
+
class="mdc-checkbox__native-control" id="elem-${t}"/>
|
|
959
|
+
|
|
960
|
+
<label for="elem-${t}"><or-translate value="${e}"></or-translate></label>
|
|
961
|
+
|
|
962
|
+
</div>
|
|
963
|
+
</div>
|
|
964
|
+
|
|
965
|
+
`)):""}
|
|
966
|
+
</div>
|
|
967
|
+
`;case o.CHECKBOX:let E={"mdc-checkbox":!0,"mdc-checkbox--disabled":this.disabled||this.readonly};return(0,a.dy)`
|
|
968
|
+
<div id="field" class="mdc-form-field">
|
|
969
|
+
<div id="component" class="${(0,c.$)(E)}">
|
|
970
|
+
<input type="checkbox"
|
|
971
|
+
id="elem"
|
|
972
|
+
data-indeterminate="${this.indeterminate}"
|
|
973
|
+
?checked="${this.value}"
|
|
974
|
+
?required="${this.required}"
|
|
975
|
+
?disabled="${this.disabled||this.readonly}"
|
|
976
|
+
@change="${t=>this.onValueChange(t.target,t.target.checked)}"
|
|
977
|
+
class="mdc-checkbox__native-control" />
|
|
978
|
+
<div class="mdc-checkbox__background">
|
|
979
|
+
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
|
|
980
|
+
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"></path>
|
|
981
|
+
</svg>
|
|
982
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
|
983
|
+
</div>
|
|
984
|
+
<div class="mdc-checkbox__ripple"></div>
|
|
985
|
+
</div>
|
|
986
|
+
<label class="mdc-checkbox-circle" for="elem">${this.label}</label>
|
|
987
|
+
</div>
|
|
988
|
+
`;case o.COLOUR:return(0,a.dy)`
|
|
989
|
+
<div id="component" style="width: 100%; display: inline-flex; align-items: center; padding: 8px 0;">
|
|
990
|
+
<input type="color" id="elem" style="border: none; height: 31px; width: 31px; padding: 1px 3px; min-height: 22px; min-width: 30px;cursor: pointer" value="${this.value}"
|
|
991
|
+
?disabled="${this.disabled||this.readonly}"
|
|
992
|
+
?required="${this.required}"
|
|
993
|
+
@change="${t=>this.onValueChange(t.target,t.target.value)}"
|
|
994
|
+
/>
|
|
995
|
+
<label style="margin-left: 10px; cursor: pointer" for="elem">${this.label}</label>
|
|
996
|
+
</div>
|
|
997
|
+
`;case o.NUMBER:case o.RANGE:case o.DATE:case o.DATETIME:case o.TIME:case o.MONTH:case o.WEEK:case o.EMAIL:case o.PASSWORD:case o.TELEPHONE:case o.URL:case o.TEXT:case o.TEXTAREA:case o.JSON:case o.JSON_OBJECT:{let e,s=[void 0===this.value||null===this.value?void 0:this.value,this.min,this.max];if(s.some(t=>"string"!=typeof t))if(this.type===o.JSON||this.type===o.JSON_OBJECT)if(void 0!==s[0]){if("string"!=typeof s[0]||null===s[0])try{s[0]=JSON.stringify(s[0],null,2)}catch(t){console.warn("Failed to parse JSON expression for input control"),s[0]=""}}else s[0]="";else{let e=this.format?Object.assign({},this.format):{};switch(this.type){case o.TIME:e.asDate=!0,e.hour12=!1,e.timeStyle=this.step&&this.step<60?"medium":"short";break;case o.DATE:e.asDate=!0,e.momentJsFormat="YYYY-MM-DD";break;case o.WEEK:e.asDate=!0,e.momentJsFormat="YYYY-[W]WW";break;case o.MONTH:e.asDate=!0,e.momentJsFormat="YYYY-MM";break;case o.DATETIME:e.asDate=!0,e.momentJsFormat="YYYY-MM-DDTHH:mm";break;case o.NUMBER:null!=(t=e.maximumFractionDigits)||(e.maximumFractionDigits=20)}e.useGrouping=!1,s=s.map(t=>void 0!==t?eX.Util.getValueAsString(t,()=>e,"en-GB"):void 0)}let u=this.label,f=this.type,h="component";if(this.type===o.RANGE&&(u=void 0,n=!1,i=!1,f=o.NUMBER,h="number"),!(this.type===o.RANGE&&this.disableSliderNumberInput)){this.censored&&(f=o.PASSWORD),this.type===o.PASSWORD&&this.advertised&&(f=o.TEXT);let t={"mdc-text-field":!0,"mdc-text-field--invalid":!this.valid,"mdc-text-field--filled":!n,"mdc-text-field--outlined":n,"mdc-text-field--textarea":f===o.TEXTAREA||f===o.JSON||f===o.JSON_OBJECT,"mdc-text-field--disabled":this.disabled,"mdc-text-field--fullwidth":this.fullWidth&&!n,"dense-comfortable":this.comfortable&&f!==o.TEXTAREA&&f!==o.JSON&&f!==o.JSON_OBJECT,"dense-compact":!this.comfortable&&this.compact,"mdc-text-field--label-floating":m,"mdc-text-field--no-label":!this.label,"mdc-text-field--with-leading-icon":!!this.icon,"mdc-text-field--with-trailing-icon":!!this.iconTrailing,"or-mwc-input--rounded":this.rounded};e=f===o.TEXTAREA||f===o.JSON||f===o.JSON_OBJECT?(0,a.dy)`
|
|
998
|
+
<textarea id="elem" class="mdc-text-field__input ${this.resizeVertical?"resize-vertical":""}" ?required="${this.required}"
|
|
999
|
+
?readonly="${this.readonly}" ?disabled="${this.disabled}" minlength="${(0,d.o)(this.minLength)}"
|
|
1000
|
+
maxlength="${(0,d.o)(this.maxLength)}" rows="${this.rows?this.rows:5}"
|
|
1001
|
+
cols="${(0,d.o)(this.cols)}" aria-label="${(0,d.o)(u)}"
|
|
1002
|
+
aria-labelledby="${(0,d.o)(u?"label":void 0)}"
|
|
1003
|
+
@change="${t=>this.onValueChange(t.target,t.target.value)}">${s[0]?s[0]:""}</textarea>`:(0,a.dy)`
|
|
1004
|
+
<input type="${f}" id="elem" aria-labelledby="${(0,d.o)(u?"label":void 0)}"
|
|
1005
|
+
class="mdc-text-field__input" ?required="${this.required}" ?readonly="${this.readonly}"
|
|
1006
|
+
?disabled="${this.disabled}" min="${(0,d.o)(s[1])}" max="${(0,d.o)(s[2])}"
|
|
1007
|
+
step="${this.step?this.step:"any"}" minlength="${(0,d.o)(this.minLength)}" pattern="${(0,d.o)(this.pattern)}"
|
|
1008
|
+
maxlength="${(0,d.o)(this.maxLength)}" placeholder="${(0,d.o)(this.placeHolder)}"
|
|
1009
|
+
.value="${null!==s[0]&&void 0!==s[0]?s[0]:""}"
|
|
1010
|
+
@keydown="${t=>{("Enter"===t.code||"NumpadEnter"===t.code)&&this.onValueChange(t.target,t.target.value,!0)}}"
|
|
1011
|
+
@blur="${t=>{""===t.target.value&&this.reportValidity()}}"
|
|
1012
|
+
@change="${t=>this.onValueChange(t.target,t.target.value)}" />`,e=(0,a.dy)`
|
|
1013
|
+
<label id="${h}" class="${(0,c.$)(t)}">
|
|
1014
|
+
${this.icon?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--leading" style="color: ${this.iconColor?"#"+this.iconColor:"unset"}" aria-hidden="true" icon="${this.icon}"></or-icon>`:""}
|
|
1015
|
+
${n?"":(0,a.dy)`<span class="mdc-text-field__ripple"></span>`}
|
|
1016
|
+
${e}
|
|
1017
|
+
${n?this.renderOutlined(p):p}
|
|
1018
|
+
${n?"":(0,a.dy)`<span class="mdc-line-ripple"></span>`}
|
|
1019
|
+
${this.type===o.PASSWORD&&!this.censored?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--trailing" aria-hidden="true" icon=${this.advertised?"eye":"eye-off"} style="pointer-events: auto;" @click=${()=>this.advertised=!this.advertised}></or-icon>`:""}
|
|
1020
|
+
${this.iconTrailing?(0,a.dy)`<or-icon class="mdc-text-field__icon mdc-text-field__icon--trailing" aria-hidden="true" icon="${this.iconTrailing}"></or-icon>`:""}
|
|
1021
|
+
</label>
|
|
1022
|
+
${i||r?(0,a.dy)`
|
|
1023
|
+
<div class="mdc-text-field-helper-line">
|
|
1024
|
+
<div class="mdc-text-field-helper-text ${(0,c.$)(l)}">${r?this.errorMessage||this.validationMessage:this.helperText}</div>
|
|
1025
|
+
${this.charCounter&&!this.readonly?(0,a.dy)`<div class="mdc-text-field-character-counter"></div>`:""}
|
|
1026
|
+
</div>
|
|
1027
|
+
`:""}
|
|
1028
|
+
`}if(this.type===o.RANGE){let t={"mdc-slider":!0,"mdc-slider--range":this.continuous,"mdc-slider--discreet":!this.continuous,"mdc-slider--disabled":this.disabled||this.readonly};e=(0,a.dy)`
|
|
1029
|
+
<span id="wrapper">
|
|
1030
|
+
${this.label?(0,a.dy)`<label for="component" class="${this.disabled?"mdc-switch--disabled":""}">${this.label}</label>`:""}
|
|
1031
|
+
<div id="component" class="${(0,c.$)(t)}" @MDCSlider:change="${t=>this.onValueChange(void 0,t.detail.value)}">
|
|
1032
|
+
<input id="elem" class="mdc-slider__input" type="range" min="${(0,d.o)(s[1])}" max="${(0,d.o)(s[2])}" value="${s[0]||s[1]||0}" name="slider" step="${this.step||1}" ?readonly="${this.readonly}" ?disabled="${this.disabled}" aria-label="${(0,d.o)(this.label)}" />
|
|
1033
|
+
<div class="mdc-slider__track">
|
|
1034
|
+
<div class="mdc-slider__track--inactive"></div>
|
|
1035
|
+
<div class="mdc-slider__track--active">
|
|
1036
|
+
<div class="mdc-slider__track--active_fill"></div>
|
|
1037
|
+
</div>
|
|
1038
|
+
</div>
|
|
1039
|
+
<div class="mdc-slider__thumb">
|
|
1040
|
+
${!this.continuous?(0,a.dy)`<div class="mdc-slider__value-indicator-container" aria-hidden="true">
|
|
1041
|
+
<div class="mdc-slider__value-indicator">
|
|
1042
|
+
<span class="mdc-slider__value-indicator-text">
|
|
1043
|
+
50
|
|
1044
|
+
</span>
|
|
1045
|
+
</div>
|
|
1046
|
+
</div>`:""}
|
|
1047
|
+
<div class="mdc-slider__thumb-knob"></div>
|
|
1048
|
+
</div>
|
|
1049
|
+
</div>
|
|
1050
|
+
${e?(0,a.dy)`<div style="min-width: 70px; width: 70px;">${e}</div>`:""}
|
|
1051
|
+
</span>
|
|
1052
|
+
`}return e}}}return(0,a.dy)`<span>INPUT TYPE NOT IMPLEMENTED</span>`}_getFormat(){if(this.format)return this.format}update(t){if(t.has("autoValidate")&&this._mdcComponent){let t=this._mdcComponent;t.foundation&&t.foundation.setValidateOnValueChange&&t.foundation.setValidateOnValueChange(this.autoValidate)}super.update(t)}firstUpdated(t){super.firstUpdated(t),this.autoValidate&&this.reportValidity()}updated(t){var e,n;if(super.updated(t),t.has("type")){let t=this.shadowRoot.getElementById("component");if(this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0),this._mdcComponent2&&(this._mdcComponent2.destroy(),this._mdcComponent2=void 0),t&&this.type){switch(this.type){case o.LIST:let e=new eS.e(t);this._mdcComponent=e,e.selectedIndex=this._selectedIndex;break;case o.SELECT:let n=new eI(t);this._mdcComponent=n,(null===this.value||void 0===this.value)&&(n.selectedIndex=-1),this.multiple&&(this._mdcComponent.foundation.adapter.getSelectedIndex=()=>{if(!Array.isArray(this.value)||0===this.value.length)return -1;let t=this.value[0];return this._mdcComponent.foundation.adapter.getMenuItemValues().indexOf(t)}),n.useDefaultValidation=!this.multiple,n.valid=!this.required||!this.multiple&&n.valid||this.multiple&&Array.isArray(this.value)&&this.value.length>0;let i=this.getSelectedTextValue();this._mdcComponent.foundation.adapter.setSelectedText(i),this._mdcComponent.foundation.adapter.floatLabel(!!i),this._menuObserver||(this._menuObserver=new IntersectionObserver((t,e)=>{var n,i;t[0].target.style.minWidth!=(null==(n=t[0].target.parentElement)?void 0:n.clientWidth)+"px"&&(t[0].target.style.minWidth=(null==(i=t[0].target.parentElement)?void 0:i.clientWidth)+"px")}),this._menuObserver.observe(this.shadowRoot.getElementById("mdc-select-menu")));let r=void 0!==this.searchProvider,a=this.multiple;n.menu.menuSurface_.foundation.handleBodyClick=function(t){let e=t.composedPath()[0];if(this.adapter.isElementInContainer(e)){if(!r)return;else if(e instanceof Element&&!e.className.includes("mdc-list-item"))return;else if(a)return}n.menu.menuSurface_.close()};break;case o.RADIO:case o.CHECKBOX_LIST:case o.COLOUR:break;case o.BUTTON:case o.BUTTON_MOMENTARY:let l=!this.action&&!this.label,c=new G.F(t);l&&(c.unbounded=!0),this._mdcComponent=c;break;case o.BUTTON_TOGGLE:this._mdcComponent=new eV(t);break;case o.CHECKBOX:this._mdcComponent=new tL(t);let d=this.shadowRoot.getElementById("field");if(d){let t=new eP(d);t.input=this._mdcComponent,this._mdcComponent2=t}break;case o.SWITCH:this._mdcComponent=new tU(t);break;case o.RANGE:this._mdcComponent=new ec(t);let s=this.shadowRoot.getElementById("number");if(s){let t=new tb(s);t.useNativeValidation=!1,this._mdcComponent2=t}break;default:let m=new tb(t);m.useNativeValidation=!1,this._mdcComponent=m}this._mdcComponent&&this.focused&&"function"==typeof this._mdcComponent.focus&&this._mdcComponent.focus()}}else{if(this.type===o.SELECT&&this._mdcComponent){t.has("options")&&this._mdcComponent.layoutOptions(),this._mdcComponent.disabled=!!(this.disabled||this.readonly),this._mdcComponent.useDefaultValidation=!this.multiple,this._mdcComponent.valid=!this.required||!this.multiple&&this._mdcComponent.valid||this.multiple&&Array.isArray(this.value)&&this.value.length>0;let e=this.getSelectedTextValue();this._mdcComponent.foundation.adapter.setSelectedText(e),this._mdcComponent.foundation.adapter.floatLabel(!!e)}else if(this.type===o.RANGE&&this._mdcComponent){let t=this._mdcComponent;t.setDisabled(this.disabled||this.readonly),t.setValue(this.value)}else if(this.type===o.SWITCH&&this._mdcComponent)this._mdcComponent.checked=this.value;else if(this.type===o.CHECKBOX&&this._mdcComponent){let t=this._mdcComponent;t.checked=!!this.value,t.disabled=!!(this.disabled||this.readonly)}this._mdcComponent&&(this._mdcComponent.required=!!this.required)}t.has("label")&&(null==(n=null==(e=this._mdcComponent)?void 0:e.layout)||n.call(e)),this.autoValidate&&this.reportValidity()}renderOutlined(t){return(0,a.dy)`
|
|
1053
|
+
<span class="mdc-notched-outline">
|
|
1054
|
+
<span class="mdc-notched-outline__leading"></span>
|
|
1055
|
+
${t?(0,a.dy)`
|
|
1056
|
+
<span class="mdc-notched-outline__notch">
|
|
1057
|
+
${t}
|
|
1058
|
+
</span>
|
|
1059
|
+
`:""}
|
|
1060
|
+
<span class="mdc-notched-outline__trailing"></span>
|
|
1061
|
+
</span>
|
|
1062
|
+
`}setCustomValidity(t){this.errorMessage=t;let e=this.shadowRoot.getElementById("elem");e&&e.setCustomValidity&&e.setCustomValidity(null!=t?t:""),this.reportValidity()}checkValidity(){let t=this.shadowRoot.getElementById("elem"),e=!0;return t&&t.validity&&(e=t.validity.valid),e&&(this.type===o.JSON||this.type===o.JSON_OBJECT)&&void 0!==this.value&&null!==this.value&&""===this._mdcComponent.value&&(e=!1),e}reportValidity(){let t=this.checkValidity();return this.isUiValid=t,this._mdcComponent&&(this._mdcComponent.valid=t),t}onValueChange(t,e,n){var i,r;let a,l=this.value;if("undefined"===e&&(l=null,e=void 0),"null"===e&&(l=void 0,e=null),"string"==typeof e)switch(this.type){case o.CHECKBOX:case o.SWITCH:e="on"===e;break;case o.JSON:case o.JSON_OBJECT:case o.NUMBER:case o.RANGE:if(""===e)e=null;else try{e=JSON.parse(e),this.type===o.JSON_OBJECT&&("object"!=typeof e||Array.isArray(e))&&(e=this.value,a=eK.i18next.t("validation.invalidJSON"))}catch(t){e=this.value,a=this.type===o.JSON||this.type==o.JSON_OBJECT?eK.i18next.t("validation.invalidJSON"):eK.i18next.t("validation.invalidNumber")}break;case o.DATETIME:if(""===e)e=null;else try{e=Date.parse(e)}catch(t){e=this.value,a=eK.i18next.t("validation.invalidDate")}}if(this.value=e,this.setCustomValidity(a),this.reportValidity(),this.type!==o.CHECKBOX_LIST&&e!==l&&(this.type===o.RANGE&&(this._mdcComponent.setValue(e),this._mdcComponent2&&(this._mdcComponent2.value=e)),this.dispatchEvent(new nn(this.value,l,n))),void 0!=this.searchProvider&&this.type===o.SELECT){let t=null==(r=null==(i=this.shadowRoot)?void 0:i.getElementById("select-searchable"))?void 0:r.children[1];t&&(this.searchableValue=void 0,t.value="")}this.type!==o.CHECKBOX_LIST||eX.Util.objectsEqual(e,l,!0)||this.dispatchEvent(new nn(e,l,n))}get valid(){let t=this.shadowRoot.getElementById("elem");return!t||!t.checkValidity||t.checkValidity()}get currentValue(){let t=this.shadowRoot.getElementById("elem");if(t&&t.value)return t.value}resolveOptions(t){let e;return t&&t.length>0&&(e=t.map(t=>{if(Array.isArray(t))return t;{let e=""+t;return[t,eK.i18next.t(e,{defaultValue:eX.Util.camelCaseToSentenceCase(e)})]}})),e}getSelectedTextValue(t){let e=this.value,n=Array.isArray(e)?e:null!=e?[e]:void 0;if(!n)return"";let i=t||this.resolveOptions(this.options);return i&&n?n.map(t=>i.find(([e,n],i)=>t===e)).map(t=>t?t[1]:"").join(", "):""}};eG([(0,l.Cb)({type:Boolean})],na.prototype,"focused",void 0),eG([(0,l.Cb)()],na.prototype,"value",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"type",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"name",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"readonly",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"required",void 0),eG([(0,l.Cb)()],na.prototype,"max",void 0),eG([(0,l.Cb)()],na.prototype,"min",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"step",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"checked",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"indeterminate",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"maxLength",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"minLength",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"rows",void 0),eG([(0,l.Cb)({type:Number})],na.prototype,"cols",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"multiple",void 0),eG([(0,l.Cb)({type:String,attribute:!0,reflect:!1})],na.prototype,"pattern",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"placeHolder",void 0),eG([(0,l.Cb)({type:Array})],na.prototype,"options",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"autoSelect",void 0),eG([(0,l.Cb)({type:Object})],na.prototype,"searchProvider",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"searchLabel",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"icon",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconColor",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconOn",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"iconTrailing",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"compact",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"comfortable",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"raised",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"action",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"unElevated",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"outlined",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"rounded",void 0),eG([(0,l.Cb)({type:Object})],na.prototype,"format",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"disableSliderNumberInput",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"fullWidth",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"helperText",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"helperPersistent",void 0),eG([(0,l.Cb)({type:String,attribute:!0})],na.prototype,"validationMessage",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"autoValidate",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"charCounter",void 0),eG([(0,l.Cb)({type:String})],na.prototype,"label",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"disabled",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"continuous",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"resizeVertical",void 0),eG([(0,l.Cb)({type:Boolean})],na.prototype,"censored",void 0),eG([(0,l.Cb)({type:Boolean,reflect:!0})],na.prototype,"advertised",void 0),eG([(0,l.SB)()],na.prototype,"isUiValid",void 0),eG([(0,l.SB)()],na.prototype,"searchableValue",void 0),eG([(0,l.SB)()],na.prototype,"errorMessage",void 0),eG([(0,l.Mo)("or-mwc-input")],na)},2730:function(t,e,n){"use strict";n.d(e,{A6:()=>g,RH:()=>i,aL:()=>b,v4:()=>h});var i,r=n(7138),o=n(7308),a=n(6117),l=n(1934),c=n(2326),d=n(6801),s=n(9329),m=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a};let p=n(3041),u=n(1526);class f extends CustomEvent{constructor(t){super(f.NAME,{detail:t,bubbles:!0,composed:!0})}}function h(t){return(0,r.dy)`
|
|
1063
|
+
<div class="mdc-list-group">
|
|
1064
|
+
${t.map(t=>(0,r.dy)`
|
|
1065
|
+
<h3 class="mdc-list-group__subheader">${t.heading}</h3>
|
|
1066
|
+
${t.list}
|
|
1067
|
+
`)}
|
|
1068
|
+
</div>
|
|
1069
|
+
`}function g(t,e,n,o,a){switch(o=o||"listbox",t){case i.RADIO:o="radiogroup";break;case i.MULTI_CHECKBOX:o="group"}return(0,r.dy)`
|
|
1070
|
+
<ul id="list" class="mdc-list${n?" mdc-list--two-line":""}" role="${(0,l.o)(o)}" @MDCList:action="${t=>a&&a(t)}" aria-hidden="true" aria-orientation="vertical" tabindex="-1">
|
|
1071
|
+
${e}
|
|
1072
|
+
</ul>
|
|
1073
|
+
`}function b(t,e,n,o,c,d){let m,p,u;if(null===t)return(0,r.dy)`<li role="separator" class="mdc-list-divider"></li>`;let f=t,h=o===i.MULTI_CHECKBOX||o===i.MULTI_TICK,g=f.value,b=o!==i.PLAIN&&n.length>0&&n.some(t=>t===g),_=void 0!==f.text?f.text:f.value,v=f.secondaryText,y="menuitem",x="",w="",k="",E=f.icon,A="mdc-list-item--selected";switch(c=c||t.translate,h&&o===i.MULTI_TICK&&(E=b?"checkbox-marked":"checkbox-blank-outline"),(o===i.MULTI_TICK||E)&&(w=(0,r.dy)`
|
|
1074
|
+
<span class="mdc-list-item__graphic">
|
|
1075
|
+
<or-icon icon="${E}"></or-icon>
|
|
1076
|
+
</span>
|
|
1077
|
+
`),f.trailingIcon&&(k=(0,r.dy)`
|
|
1078
|
+
<span class="mdc-list-item__meta" aria-hidden="true">
|
|
1079
|
+
<or-icon icon="${f.trailingIcon}"></or-icon>
|
|
1080
|
+
</span>
|
|
1081
|
+
`),o){case i.SELECT:m=b?"true":"false",u=b||(!n||0===n.length)&&0===e?"0":void 0,y="option";break;case i.RADIO:p=b?"true":"false",y="radio",w=(0,r.dy)`
|
|
1082
|
+
<span class="mdc-list-item__graphic">
|
|
1083
|
+
<div class="mdc-radio">
|
|
1084
|
+
<input class="mdc-radio__native-control" id="radio-item-${e+1}" type="radio" value="${g}" />
|
|
1085
|
+
<div class="mdc-radio__background">
|
|
1086
|
+
<div class="mdc-radio__outer-circle"></div>
|
|
1087
|
+
<div class="mdc-radio__inner-circle"></div>
|
|
1088
|
+
</div>
|
|
1089
|
+
</div>
|
|
1090
|
+
</span>
|
|
1091
|
+
`;break;case i.MULTI_CHECKBOX:p=b?"true":"false",y="checkbox",w=(0,r.dy)`
|
|
1092
|
+
<div class="mdc-checkbox">
|
|
1093
|
+
<input type="checkbox" class="mdc-checkbox__native-control" />
|
|
1094
|
+
<div class="mdc-checkbox__background">
|
|
1095
|
+
<svg class="mdc-checkbox__checkmark" viewBox="0 0 24 24">
|
|
1096
|
+
<path class="mdc-checkbox__checkmark-path" fill="none" d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
|
|
1097
|
+
</svg>
|
|
1098
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
|
1099
|
+
</div>
|
|
1100
|
+
</div>
|
|
1101
|
+
`;break;case i.MULTI_TICK:p=b?"true":"false",A="mdc-list-item--selected"}return _&&(x=void 0!==v?(0,r.dy)`
|
|
1102
|
+
<span class="mdc-list-item__text">
|
|
1103
|
+
<span class="mdc-list-item__primary-text">${c&&_?(0,r.dy)`<or-translate value="${_}"></or-translate>`:_}</span>
|
|
1104
|
+
<span class="mdc-list-item__secondary-text">${c&&v?(0,r.dy)`<or-translate value="${v}"></or-translate>`:v}</span>
|
|
1105
|
+
</span>
|
|
1106
|
+
`:o===i.RADIO?(0,r.dy)`<label class="mdc-list-item__text" for="radio-item-${e+1}">${c&&_?(0,r.dy)`<or-translate value="${_}"></or-translate>`:_}</label>`:(0,r.dy)`<span class="mdc-list-item__text" title="${c&&_?s.i18next.t(_):_}">${c&&_?(0,r.dy)`<or-translate value="${_}"></or-translate>`:_}</span>`),(0,r.dy)`
|
|
1107
|
+
<li @click="${e=>{d&&d(e,t)}}" style="${f.styleMap?(0,a.V)(f.styleMap):""}" class="mdc-list-item ${b?A:""}" role="${(0,l.o)(y)}" tabindex="${(0,l.o)(u)}" aria-checked="${(0,l.o)(p)}" aria-selected="${(0,l.o)(m)}" data-value="${g}">
|
|
1108
|
+
<span class="mdc-list-item__ripple"></span>
|
|
1109
|
+
${w}
|
|
1110
|
+
${x}
|
|
1111
|
+
${k}
|
|
1112
|
+
</li>
|
|
1113
|
+
`}f.NAME="or-mwc-list-changed",function(t){t.PLAIN="PLAIN",t.SELECT="SELECT",t.RADIO="RADIO",t.MULTI_CHECKBOX="MULTI_CHECKBOX",t.MULTI_TICK="MULTI_TICK"}(i||(i={}));let _=(0,r.iv)`
|
|
1114
|
+
:host {
|
|
1115
|
+
white-space: nowrap;
|
|
1116
|
+
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,r.$m)(d.DefaultColor4)}));
|
|
1117
|
+
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,r.$m)(d.DefaultColor8)}));
|
|
1118
|
+
|
|
1119
|
+
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
1120
|
+
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
1121
|
+
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.mdc-list-item__graphic {
|
|
1125
|
+
margin-right: 16px;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
a {
|
|
1129
|
+
text-decoration: none;
|
|
1130
|
+
color: rgba(0, 0, 0, 0.87);
|
|
1131
|
+
}
|
|
1132
|
+
`,v=class extends r.oi{static get styles(){return[(0,r.iv)`${(0,r.$m)(p)}`,(0,r.iv)`${(0,r.$m)(u)}`,_]}constructor(){super(),this.type=i.SELECT}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}shouldUpdate(t){if(this._mdcComponent&&t.has("values")&&!d.Util.objectsEqual(this.values,t.get("values"))){let t=this.values?Array.isArray(this.values)?this.values:[this.values]:[];this.setSelectedItems(this.values&&this.listItems?this.listItems.filter(e=>e&&(null==t?void 0:t.includes(e.value))):void 0)}return!0}render(){let t=this.listItems?(0,r.dy)`${this.listItems.map((t,e)=>b(t,e,Array.isArray(this.values)?this.values:this.values?[this.values]:[],this.type))}`:(0,r.dy)``,e=this.listItems&&this.listItems.some(t=>t&&!!t.secondaryText);return g(this.type,t,e,void 0,t=>this._onSelected(t))}firstUpdated(t){super.firstUpdated(t),this._mdcElem&&(this._mdcComponent=new c.e(this._mdcElem),(this.type===i.SELECT||this.type===i.RADIO)&&(this._mdcComponent.singleSelection=!0))}get selectedItems(){if(!this._mdcComponent)return[];let t=Array.isArray(this._mdcComponent.selectedIndex)?this._mdcComponent.selectedIndex:[this._mdcComponent.selectedIndex],e=this.listItems?this.listItems.filter(t=>null!==t):[];return t.map(t=>e[t])}setSelectedItems(t){if(!this._mdcComponent||!this.listItems)return;if(!t){this._mdcComponent.selectedIndex=-1;return}let e=(!Array.isArray(t)?[t]:t).map(t=>"string"==typeof t?t:t.value),n=this.listItems.filter(t=>null!==t).reduce((t,n,i)=>(n&&e.includes(n.value)&&t.push(i),t),[]);this._mdcComponent.selectedIndex=this.type===i.MULTI_CHECKBOX?n:n.length>=1?n[0]:-1}_onSelected(t){this.values=this.selectedItems.map(t=>t.value),t.stopPropagation(),this.dispatchEvent(new f(this.selectedItems))}};m([(0,o.Cb)({type:Array})],v.prototype,"listItems",void 0),m([(0,o.Cb)({type:Array})],v.prototype,"values",void 0),m([(0,o.Cb)({type:String,attribute:!0})],v.prototype,"type",void 0),m([(0,o.IO)("#wrapper")],v.prototype,"_wrapperElem",void 0),m([(0,o.IO)("#list")],v.prototype,"_mdcElem",void 0),m([(0,o.Mo)("or-mwc-list")],v)},5320:function(t,e,n){"use strict";n.d(e,{qJ:()=>b});var i=n(7138),r=n(7308),o=n(4648),a=n(4266),l=n(6801),c=n(3041),d=n(6401),s=n(2730),m=n(6883),p=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a};let u=n(172);class f extends CustomEvent{constructor(t){super(f.NAME,{detail:t,bubbles:!0,composed:!0})}}f.NAME="or-mwc-menu-changed";class h extends CustomEvent{constructor(){super(h.NAME,{bubbles:!0,composed:!0})}}function g(t,e){e||(e=document.body);let n=e.getBoundingClientRect();return Object.assign(t.style,{position:"fixed",top:`${n.bottom}px`,left:`${n.left}px`,zIndex:"1000",display:"block"}),t}function b(t,e,n,r,o,a=!1,l=!0,c=!1,d=!1,s="menu",p=!1){let u=null,f=t=>{if(e){if(p&&u){let e=t.currentTarget;g(u,e)}t.currentTarget.parentElement.lastElementChild.open()}};return(0,i.dy)`
|
|
1133
|
+
<span>
|
|
1134
|
+
<span @click="${f}">${t}</span>
|
|
1135
|
+
${e?(0,i.dy)`<or-mwc-menu ?multiselect="${a}" @or-mwc-menu-closed="${()=>{o&&o()}}" @or-mwc-menu-changed="${t=>{r&&r(t.detail)}}" .translateValues="${l}" .values="${n}" .menuItems="${e}" .midHeight="${c}" .fullWidth="${d}" id="${s}" ${(0,m.i)(t=>u=t)}></or-mwc-menu>`:""}
|
|
1136
|
+
</span>
|
|
1137
|
+
`}h.NAME="or-mwc-menu-closed";let _=(0,i.iv)`
|
|
1138
|
+
:host {
|
|
1139
|
+
white-space: nowrap;
|
|
1140
|
+
--internal-or-mwc-input-color: var(--or-mwc-input-color, var(--or-app-color4, ${(0,i.$m)(l.DefaultColor4)}));
|
|
1141
|
+
--internal-or-mwc-input-text-color: var(--or-mwc-input-text-color, var(--or-app-color8, ${(0,i.$m)(l.DefaultColor8)}));
|
|
1142
|
+
|
|
1143
|
+
--mdc-theme-primary: var(--internal-or-mwc-input-color);
|
|
1144
|
+
--mdc-theme-on-primary: var(--internal-or-mwc-input-text-color);
|
|
1145
|
+
--mdc-theme-secondary: var(--internal-or-mwc-input-color);
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.mdc-list-item__graphic {
|
|
1149
|
+
margin-right: 16px;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
a {
|
|
1153
|
+
text-decoration: none;
|
|
1154
|
+
color: rgba(0, 0, 0, 0.87);
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.mdc-menu-surface-mid-height {
|
|
1158
|
+
max-height: calc(45vh - 32px) !important;
|
|
1159
|
+
}
|
|
1160
|
+
.mdc-menu-surface-full-width {
|
|
1161
|
+
width: 100%;
|
|
1162
|
+
}
|
|
1163
|
+
`,v=class extends i.oi{static get styles(){return[(0,i.iv)`${(0,i.$m)(c)}`,(0,i.iv)`${(0,i.$m)(u)}`,(0,i.iv)`${(0,i.$m)(d)}`,_]}open(){this._mdcComponent.open=!0}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){if(!this.menuItems||0===this.menuItems.length)return(0,i.dy)``;let t=this.getItemsTemplate(this.menuItems,this.translateValues),e=this.menuItems&&this.menuItems.some(t=>t&&!Array.isArray(t)&&!!t.secondaryText),n={"mdc-menu-surface-mid-height":+!!this.midHeight,"mdc-menu-surface-full-width":+!!this.fullWidth};return(0,i.dy)`
|
|
1164
|
+
<div id="wrapper" class="mdc-menu-surface--anchor">
|
|
1165
|
+
<div class="mdc-menu mdc-menu-surface ${(0,o.$)(n)}" id="menu" @MDCMenuSurface:closed="${this._onMenuClosed}">
|
|
1166
|
+
${(0,s.A6)(s.RH.MULTI_TICK,t,e,"menu")}
|
|
1167
|
+
</div>
|
|
1168
|
+
</div>
|
|
1169
|
+
`}getItemsTemplate(t,e){let n=this.multiSelect?s.RH.MULTI_TICK:s.RH.PLAIN;return(0,i.dy)`
|
|
1170
|
+
${t.map((t,r)=>Array.isArray(t)?(0,i.dy)`
|
|
1171
|
+
<li>
|
|
1172
|
+
<ul class="mdc-menu__selection-group">
|
|
1173
|
+
${this.getItemsTemplate(t,e)}
|
|
1174
|
+
</ul>
|
|
1175
|
+
</li>
|
|
1176
|
+
`:(0,s.aL)(t,r,Array.isArray(this.values)?this.values:this.values?[this.values]:[],n,e,(t,e)=>this._itemClicked(t,e)))}`}firstUpdated(t){super.firstUpdated(t),this._mdcElem&&(this._mdcComponent=new a.g(this._mdcElem),this._mdcComponent.menuSurface_.foundation.handleBodyClick=function(t){let e=t.composedPath()[0];this.adapter.isElementInContainer(e)||this.close()},this._mdcComponent.quickOpen=!0)}updated(t){t.has("visible")&&(this._mdcComponent.open=this.visible||!1)}_onMenuClosed(){this.dispatchEvent(new h)}_itemClicked(t,e){t.stopPropagation();let n=e.value;if(this.multiSelect){Array.isArray(this.values)||(this.values=this.values?[this.values]:[]);let t=this.values.findIndex(t=>t===n);t>=0?this.values.splice(t,1):this.values.push(n),this.requestUpdate()}else this.values=n,this._mdcComponent.open=!1;this.dispatchEvent(new f(this.values))}};p([(0,r.Cb)({type:Array})],v.prototype,"menuItems",void 0),p([(0,r.Cb)({type:Array})],v.prototype,"values",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"multiSelect",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"visible",void 0),p([(0,r.Cb)({type:Boolean,attribute:!0})],v.prototype,"translateValues",void 0),p([(0,r.Cb)({type:Boolean,attribute:!1})],v.prototype,"midHeight",void 0),p([(0,r.Cb)({type:Boolean,attribute:!1})],v.prototype,"fullWidth",void 0),p([(0,r.IO)("#wrapper")],v.prototype,"_wrapperElem",void 0),p([(0,r.IO)("#menu")],v.prototype,"_mdcElem",void 0),p([(0,r.Mo)("or-mwc-menu")],v)},6445:function(t,e,n){"use strict";n.d(e,{OV:()=>z});var i=n(7138),r=n(7308),o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function a(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var l=function(){return(l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},c=n(1872),d=n(2584),s={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",OPENING:"mdc-snackbar--opening"},m={ACTION_SELECTOR:".mdc-snackbar__action",ARIA_LIVE_LABEL_TEXT_ATTR:"data-mdc-snackbar-label-text",CLOSED_EVENT:"MDCSnackbar:closed",CLOSING_EVENT:"MDCSnackbar:closing",DISMISS_SELECTOR:".mdc-snackbar__dismiss",LABEL_SELECTOR:".mdc-snackbar__label",OPENED_EVENT:"MDCSnackbar:opened",OPENING_EVENT:"MDCSnackbar:opening",REASON_ACTION:"action",REASON_DISMISS:"dismiss",SURFACE_SELECTOR:".mdc-snackbar__surface"},p={DEFAULT_AUTO_DISMISS_TIMEOUT_MS:5e3,INDETERMINATE:-1,MAX_AUTO_DISMISS_TIMEOUT_MS:1e4,MIN_AUTO_DISMISS_TIMEOUT_MS:4e3,SNACKBAR_ANIMATION_CLOSE_TIME_MS:75,SNACKBAR_ANIMATION_OPEN_TIME_MS:150,ARIA_LIVE_DELAY_MS:1e3},u=n(4327),f=s.OPENING,h=s.OPEN,g=s.CLOSING,b=m.REASON_ACTION,_=m.REASON_DISMISS,v=function(t){function e(n){var i=t.call(this,l(l({},e.defaultAdapter),n))||this;return i.isOpen_=!1,i.animationFrame_=0,i.animationTimer_=0,i.autoDismissTimer_=0,i.autoDismissTimeoutMs_=p.DEFAULT_AUTO_DISMISS_TIMEOUT_MS,i.closeOnEscape_=!0,i}return a(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return p},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},announce:function(){},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},removeClass:function(){}}},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.clearAutoDismissTimer_(),cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,clearTimeout(this.animationTimer_),this.animationTimer_=0,this.adapter.removeClass(f),this.adapter.removeClass(h),this.adapter.removeClass(g)},e.prototype.open=function(){var t=this;this.clearAutoDismissTimer_(),this.isOpen_=!0,this.adapter.notifyOpening(),this.adapter.removeClass(g),this.adapter.addClass(f),this.adapter.announce(),this.runNextAnimationFrame_(function(){t.adapter.addClass(h),t.animationTimer_=setTimeout(function(){var e=t.getTimeoutMs();t.handleAnimationTimerEnd_(),t.adapter.notifyOpened(),e!==p.INDETERMINATE&&(t.autoDismissTimer_=setTimeout(function(){t.close(_)},e))},p.SNACKBAR_ANIMATION_OPEN_TIME_MS)})},e.prototype.close=function(t){var e=this;void 0===t&&(t=""),this.isOpen_&&(cancelAnimationFrame(this.animationFrame_),this.animationFrame_=0,this.clearAutoDismissTimer_(),this.isOpen_=!1,this.adapter.notifyClosing(t),this.adapter.addClass(s.CLOSING),this.adapter.removeClass(s.OPEN),this.adapter.removeClass(s.OPENING),clearTimeout(this.animationTimer_),this.animationTimer_=setTimeout(function(){e.handleAnimationTimerEnd_(),e.adapter.notifyClosed(t)},p.SNACKBAR_ANIMATION_CLOSE_TIME_MS))},e.prototype.isOpen=function(){return this.isOpen_},e.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs_},e.prototype.setTimeoutMs=function(t){var e=p.MIN_AUTO_DISMISS_TIMEOUT_MS,n=p.MAX_AUTO_DISMISS_TIMEOUT_MS,i=p.INDETERMINATE;if(t===p.INDETERMINATE||t<=n&&t>=e)this.autoDismissTimeoutMs_=t;else throw Error("\n timeoutMs must be an integer in the range "+e+"–"+n+"\n (or "+i+" to disable), but got '"+t+"'")},e.prototype.getCloseOnEscape=function(){return this.closeOnEscape_},e.prototype.setCloseOnEscape=function(t){this.closeOnEscape_=t},e.prototype.handleKeyDown=function(t){("Escape"===t.key||27===t.keyCode)&&this.getCloseOnEscape()&&this.close(_)},e.prototype.handleActionButtonClick=function(t){this.close(b)},e.prototype.handleActionIconClick=function(t){this.close(_)},e.prototype.clearAutoDismissTimer_=function(){clearTimeout(this.autoDismissTimer_),this.autoDismissTimer_=0},e.prototype.handleAnimationTimerEnd_=function(){this.animationTimer_=0,this.adapter.removeClass(s.OPENING),this.adapter.removeClass(s.CLOSING)},e.prototype.runNextAnimationFrame_=function(t){var e=this;cancelAnimationFrame(this.animationFrame_),this.animationFrame_=requestAnimationFrame(function(){e.animationFrame_=0,clearTimeout(e.animationTimer_),e.animationTimer_=setTimeout(t,0)})},e}(u.K),y=p.ARIA_LIVE_DELAY_MS,x=m.ARIA_LIVE_LABEL_TEXT_ATTR;function w(t,e){void 0===e&&(e=t);var n=t.getAttribute("aria-live"),i=e.textContent.trim();i&&n&&(t.setAttribute("aria-live","off"),e.textContent="",e.innerHTML='<span style="display: inline-block; width: 0; height: 1px;"> </span>',e.setAttribute(x,i),setTimeout(function(){t.setAttribute("aria-live",n),e.removeAttribute(x),e.textContent=i},y))}var k=m.SURFACE_SELECTOR,E=m.LABEL_SELECTOR,A=m.ACTION_SELECTOR,C=m.DISMISS_SELECTOR,T=m.OPENING_EVENT,I=m.OPENED_EVENT,S=m.CLOSING_EVENT,O=m.CLOSED_EVENT,L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.attachTo=function(t){return new e(t)},e.prototype.initialize=function(t){void 0===t&&(t=function(){return w}),this.announce_=t()},e.prototype.initialSyncWithDOM=function(){var t=this;this.surfaceEl_=this.root.querySelector(k),this.labelEl_=this.root.querySelector(E),this.actionEl_=this.root.querySelector(A),this.handleKeyDown_=function(e){return t.foundation.handleKeyDown(e)},this.handleSurfaceClick_=function(e){var n=e.target;t.isActionButton_(n)?t.foundation.handleActionButtonClick(e):t.isActionIcon_(n)&&t.foundation.handleActionIconClick(e)},this.registerKeyDownHandler_(this.handleKeyDown_),this.registerSurfaceClickHandler_(this.handleSurfaceClick_)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.deregisterKeyDownHandler_(this.handleKeyDown_),this.deregisterSurfaceClickHandler_(this.handleSurfaceClick_)},e.prototype.open=function(){this.foundation.open()},e.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},e.prototype.getDefaultFoundation=function(){var t=this;return new v({addClass:function(e){return t.root.classList.add(e)},announce:function(){return t.announce_(t.labelEl_)},notifyClosed:function(e){return t.emit(O,e?{reason:e}:{})},notifyClosing:function(e){return t.emit(S,e?{reason:e}:{})},notifyOpened:function(){return t.emit(I,{})},notifyOpening:function(){return t.emit(T,{})},removeClass:function(e){return t.root.classList.remove(e)}})},Object.defineProperty(e.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelText",{get:function(){return this.labelEl_.textContent},set:function(t){this.labelEl_.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"actionButtonText",{get:function(){return this.actionEl_.textContent},set:function(t){this.actionEl_.textContent=t},enumerable:!0,configurable:!0}),e.prototype.registerKeyDownHandler_=function(t){this.listen("keydown",t)},e.prototype.deregisterKeyDownHandler_=function(t){this.unlisten("keydown",t)},e.prototype.registerSurfaceClickHandler_=function(t){this.surfaceEl_.addEventListener("click",t)},e.prototype.deregisterSurfaceClickHandler_=function(t){this.surfaceEl_.removeEventListener("click",t)},e.prototype.isActionButton_=function(t){return!!(0,d.oq)(t,A)},e.prototype.isActionIcon_=function(t){return!!(0,d.oq)(t,C)},e}(c.B),R=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a};let N=n(8313);class D extends CustomEvent{constructor(t){super(D.NAME,{detail:t,bubbles:!0,composed:!0})}}function z(t,e,n,i){t||(t=P.DialogHostElement||document.body);let r=new P;return r.text=e,r.buttonText=n,r.buttonAction=i,r.isOpen=!0,r.addEventListener(D.NAME,t=>{t.stopPropagation(),t.detail.opened||window.setTimeout(()=>{r.parentElement&&r.parentElement.removeChild(r)},0)}),t.append(r),r}D.NAME="or-mwc-snackbar-changed";let P=class extends i.oi{constructor(){super(...arguments),this._open=!1}static get styles(){return[(0,i.iv)`${(0,i.$m)(N)}`,(0,i.iv)`
|
|
1177
|
+
`]}get isOpen(){return!!this._mdcComponent&&this._mdcComponent.isOpen}set isOpen(t){this._open=!0}open(){this._mdcElem&&!this._mdcComponent&&(this._mdcComponent=new L(this._mdcElem),this._mdcComponent.timeoutMs=this.timeout||4e3),this._mdcComponent&&this._mdcComponent.open()}close(t){this._mdcComponent&&this._mdcComponent.close(t)}disconnectedCallback(){super.disconnectedCallback(),this._mdcComponent&&(this._mdcComponent.destroy(),this._mdcComponent=void 0)}render(){return(0,i.dy)`
|
|
1178
|
+
<div id="mdc-snackbar" class="mdc-snackbar" @MDCSnackbar:opened="${()=>this.onOpen()}"
|
|
1179
|
+
@MDCSnackbar:closed="${t=>this.onClose(t.detail.reason)}">
|
|
1180
|
+
<div class="mdc-snackbar__surface" role="status" aria-relevant="additions">
|
|
1181
|
+
<div class="mdc-snackbar__label" aria-atomic="false">
|
|
1182
|
+
<or-translate value="${this.text}"></or-translate>
|
|
1183
|
+
</div>
|
|
1184
|
+
${!this.buttonText?(0,i.dy)``:(0,i.dy)`
|
|
1185
|
+
<div class="mdc-snackbar__actions" aria-atomic="true">
|
|
1186
|
+
<or-mwc-input type="button" class="mdc-button mdc-snackbar__action" label="${this.buttonText}">
|
|
1187
|
+
</or-mwc-input>
|
|
1188
|
+
</div>
|
|
1189
|
+
`}
|
|
1190
|
+
</div>
|
|
1191
|
+
</div>
|
|
1192
1192
|
`}updated(t){super.updated(t),t.has("_open")&&this._open&&this.open()}onClose(t){this.buttonAction&&this.buttonAction(),this.dispatchChangedEvent({opened:!1,closeReason:t})}onOpen(){this.dispatchChangedEvent({opened:!0})}dispatchChangedEvent(t){this.dispatchEvent(new D(t))}};R([(0,r.Cb)({type:String,attribute:!1})],P.prototype,"text",void 0),R([(0,r.Cb)({type:String})],P.prototype,"buttonText",void 0),R([(0,r.Cb)({type:Object,attribute:!1})],P.prototype,"buttonAction",void 0),R([(0,r.Cb)({type:Number})],P.prototype,"timeout",void 0),R([(0,r.Cb)({type:Boolean})],P.prototype,"_open",void 0),R([(0,r.IO)("#mdc-snackbar")],P.prototype,"_mdcElem",void 0),P=R([(0,r.Mo)("or-mwc-snackbar")],P)},7444:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-touch-target-wrapper {\n display: inline;\n}\n\n.mdc-elevation-overlay {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n opacity: 0;\n /* @alternate */\n opacity: var(--mdc-elevation-overlay-opacity, 0);\n transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-elevation-overlay-color, #fff);\n}\n\n.mdc-button {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-button-font-size, 0.875rem);\n line-height: 2.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-button-line-height, 2.25rem);\n font-weight: 500;\n /* @alternate */\n font-weight: var(--mdc-typography-button-font-weight, 500);\n letter-spacing: 0.0892857143em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-button-letter-spacing, 0.0892857143em);\n text-decoration: none;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-button-text-decoration, none);\n text-decoration: var(--mdc-typography-button-text-decoration, none);\n text-transform: uppercase;\n /* @alternate */\n text-transform: var(--mdc-typography-button-text-transform, uppercase);\n padding: 0 8px 0 8px;\n /* @alternate */\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n min-width: 64px;\n border: none;\n outline: none;\n /* @alternate */\n line-height: inherit;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-appearance: none;\n overflow: visible;\n vertical-align: middle;\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n height: 36px;\n}\n.mdc-button .mdc-elevation-overlay {\n width: 100%;\n height: 100%;\n top: 0;\n /* @noflip */\n left: 0;\n}\n.mdc-button::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mdc-button:active {\n outline: none;\n}\n.mdc-button:hover {\n cursor: pointer;\n}\n.mdc-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n.mdc-button .mdc-button__ripple {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n.mdc-button:not(:disabled) {\n background-color: transparent;\n}\n.mdc-button:disabled {\n background-color: transparent;\n}\n.mdc-button .mdc-button__icon {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 8px;\n display: inline-block;\n width: 18px;\n height: 18px;\n font-size: 18px;\n vertical-align: top;\n}\n[dir=rtl] .mdc-button .mdc-button__icon, .mdc-button .mdc-button__icon[dir=rtl] {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-button .mdc-button__touch {\n position: absolute;\n top: 50%;\n right: 0;\n height: 48px;\n left: 0;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.mdc-button:not(:disabled) {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-button:disabled {\n color: rgba(0, 0, 0, 0.38);\n}\n\n.mdc-button__label + .mdc-button__icon {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 0;\n}\n[dir=rtl] .mdc-button__label + .mdc-button__icon, .mdc-button__label + .mdc-button__icon[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 8px;\n}\n\nsvg.mdc-button__icon {\n fill: currentColor;\n}\n\n.mdc-button--raised .mdc-button__icon,\n.mdc-button--unelevated .mdc-button__icon,\n.mdc-button--outlined .mdc-button__icon {\n /* @noflip */\n margin-left: -4px;\n /* @noflip */\n margin-right: 8px;\n}\n[dir=rtl] .mdc-button--raised .mdc-button__icon, .mdc-button--raised .mdc-button__icon[dir=rtl],\n[dir=rtl] .mdc-button--unelevated .mdc-button__icon,\n.mdc-button--unelevated .mdc-button__icon[dir=rtl],\n[dir=rtl] .mdc-button--outlined .mdc-button__icon,\n.mdc-button--outlined .mdc-button__icon[dir=rtl] {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: -4px;\n}\n.mdc-button--raised .mdc-button__label + .mdc-button__icon,\n.mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\n.mdc-button--outlined .mdc-button__label + .mdc-button__icon {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: -4px;\n}\n[dir=rtl] .mdc-button--raised .mdc-button__label + .mdc-button__icon, .mdc-button--raised .mdc-button__label + .mdc-button__icon[dir=rtl],\n[dir=rtl] .mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\n.mdc-button--unelevated .mdc-button__label + .mdc-button__icon[dir=rtl],\n[dir=rtl] .mdc-button--outlined .mdc-button__label + .mdc-button__icon,\n.mdc-button--outlined .mdc-button__label + .mdc-button__icon[dir=rtl] {\n /* @noflip */\n margin-left: -4px;\n /* @noflip */\n margin-right: 8px;\n}\n\n.mdc-button--raised,\n.mdc-button--unelevated {\n padding: 0 16px 0 16px;\n}\n.mdc-button--raised:not(:disabled),\n.mdc-button--unelevated:not(:disabled) {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-button--raised:not(:disabled),\n.mdc-button--unelevated:not(:disabled) {\n color: #fff;\n /* @alternate */\n color: var(--mdc-theme-on-primary, #fff);\n}\n.mdc-button--raised:disabled,\n.mdc-button--unelevated:disabled {\n background-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:disabled,\n.mdc-button--unelevated:disabled {\n color: rgba(0, 0, 0, 0.38);\n}\n\n.mdc-button--raised {\n /* @alternate */\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-button--raised:hover, .mdc-button--raised:focus {\n /* @alternate */\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:active {\n /* @alternate */\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.mdc-button--raised:disabled {\n /* @alternate */\n box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n}\n\n.mdc-button--outlined {\n padding: 0 15px 0 15px;\n border-width: 1px;\n border-style: solid;\n}\n.mdc-button--outlined .mdc-button__ripple {\n top: -1px;\n left: -1px;\n border: 1px solid transparent;\n}\n.mdc-button--outlined .mdc-button__touch {\n left: -1px;\n width: calc(100% + 2 * 1px);\n}\n.mdc-button--outlined:not(:disabled) {\n border-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-button--outlined:disabled {\n border-color: rgba(0, 0, 0, 0.12);\n}\n\n.mdc-button--touch {\n margin-top: 6px;\n margin-bottom: 6px;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-button {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-button .mdc-button__ripple::before,\n.mdc-button .mdc-button__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-button .mdc-button__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-button .mdc-button__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-button.mdc-ripple-upgraded--unbounded .mdc-button__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-button.mdc-ripple-upgraded--foreground-activation .mdc-button__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-button.mdc-ripple-upgraded--foreground-deactivation .mdc-button__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-button .mdc-button__ripple::before,\n.mdc-button .mdc-button__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-button.mdc-ripple-upgraded .mdc-button__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-button .mdc-button__ripple::before, .mdc-button .mdc-button__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-button:hover .mdc-button__ripple::before, .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before, .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-button.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-button .mdc-button__ripple {\n position: absolute;\n box-sizing: content-box;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n.mdc-button:not(.mdc-button--outlined) .mdc-button__ripple {\n top: 0;\n left: 0;\n}\n\n.mdc-button--raised .mdc-button__ripple::before, .mdc-button--raised .mdc-button__ripple::after,\n.mdc-button--unelevated .mdc-button__ripple::before,\n.mdc-button--unelevated .mdc-button__ripple::after {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-on-primary, #fff));\n}\n.mdc-button--raised:hover .mdc-button__ripple::before, .mdc-button--raised.mdc-ripple-surface--hover .mdc-button__ripple::before,\n.mdc-button--unelevated:hover .mdc-button__ripple::before,\n.mdc-button--unelevated.mdc-ripple-surface--hover .mdc-button__ripple::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.08);\n}\n.mdc-button--raised.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before, .mdc-button--raised:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before,\n.mdc-button--unelevated.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-button--raised:not(.mdc-ripple-upgraded) .mdc-button__ripple::after,\n.mdc-button--unelevated:not(.mdc-ripple-upgraded) .mdc-button__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-button--raised:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after,\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-button--raised.mdc-ripple-upgraded,\n.mdc-button--unelevated.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n\n/*# sourceMappingURL=mdc.button.css.map*/'},1526:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-checkbox {\n padding: calc((40px - 18px) / 2);\n /* @alternate */\n padding: calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);\n margin: calc((40px - 40px) / 2);\n /* @alternate */\n margin: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);\n}\n.mdc-checkbox .mdc-checkbox__ripple::before, .mdc-checkbox .mdc-checkbox__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-checkbox:hover .mdc-checkbox__ripple::before, .mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before, .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-checkbox.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before, .mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before, .mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before, .mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,\n.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-checkbox .mdc-checkbox__background {\n top: calc((40px - 18px) / 2);\n /* @alternate */\n top: calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);\n left: calc((40px - 18px) / 2);\n /* @alternate */\n left: calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);\n}\n.mdc-checkbox .mdc-checkbox__native-control {\n top: calc((40px - 40px) / 2);\n /* @alternate */\n top: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);\n right: calc((40px - 40px) / 2);\n /* @alternate */\n right: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);\n left: calc((40px - 40px) / 2);\n /* @alternate */\n left: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);\n width: 40px;\n /* @alternate */\n width: var(--mdc-checkbox-ripple-size, 40px);\n height: 40px;\n /* @alternate */\n height: var(--mdc-checkbox-ripple-size, 40px);\n}\n.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true]) ~ .mdc-checkbox__background {\n border-color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n border-color: var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));\n background-color: transparent;\n}\n.mdc-checkbox .mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background,\n.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background,\n.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled ~ .mdc-checkbox__background {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n}\n@-webkit-keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786 {\n 0% {\n border-color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n border-color: var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));\n background-color: transparent;\n }\n 50% {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n }\n}\n@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786 {\n 0% {\n border-color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n border-color: var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));\n background-color: transparent;\n }\n 50% {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n }\n}\n@-webkit-keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786 {\n 0%, 80% {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n }\n 100% {\n border-color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n border-color: var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));\n background-color: transparent;\n }\n}\n@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786 {\n 0%, 80% {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));\n }\n 100% {\n border-color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n border-color: var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));\n background-color: transparent;\n }\n}\n.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background, .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background {\n -webkit-animation-name: mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786;\n animation-name: mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786;\n}\n.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background, .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background {\n -webkit-animation-name: mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786;\n animation-name: mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786;\n}\n.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true]) ~ .mdc-checkbox__background {\n border-color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n border-color: var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));\n background-color: transparent;\n}\n.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked ~ .mdc-checkbox__background,\n.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate ~ .mdc-checkbox__background,\n.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled] ~ .mdc-checkbox__background {\n border-color: transparent;\n background-color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n background-color: var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));\n}\n.mdc-checkbox .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background .mdc-checkbox__checkmark {\n color: #fff;\n /* @alternate */\n color: var(--mdc-checkbox-ink-color, #fff);\n}\n.mdc-checkbox .mdc-checkbox__native-control:enabled ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {\n border-color: #fff;\n /* @alternate */\n border-color: var(--mdc-checkbox-ink-color, #fff);\n}\n.mdc-checkbox .mdc-checkbox__native-control:disabled ~ .mdc-checkbox__background .mdc-checkbox__checkmark {\n color: #fff;\n /* @alternate */\n color: var(--mdc-checkbox-ink-color, #fff);\n}\n.mdc-checkbox .mdc-checkbox__native-control:disabled ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {\n border-color: #fff;\n /* @alternate */\n border-color: var(--mdc-checkbox-ink-color, #fff);\n}\n\n.mdc-touch-target-wrapper {\n display: inline;\n}\n\n@-webkit-keyframes mdc-checkbox-unchecked-checked-checkmark-path {\n 0%, 50% {\n stroke-dashoffset: 29.7833385;\n }\n 50% {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n stroke-dashoffset: 0;\n }\n}\n\n@keyframes mdc-checkbox-unchecked-checked-checkmark-path {\n 0%, 50% {\n stroke-dashoffset: 29.7833385;\n }\n 50% {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n stroke-dashoffset: 0;\n }\n}\n@-webkit-keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {\n 0%, 68.2% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n }\n 68.2% {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0, 1);\n animation-timing-function: cubic-bezier(0, 0, 0, 1);\n }\n 100% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n }\n}\n@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark {\n 0%, 68.2% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n }\n 68.2% {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0, 1);\n animation-timing-function: cubic-bezier(0, 0, 0, 1);\n }\n 100% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n }\n}\n@-webkit-keyframes mdc-checkbox-checked-unchecked-checkmark-path {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n opacity: 1;\n stroke-dashoffset: 0;\n }\n to {\n opacity: 0;\n stroke-dashoffset: -29.7833385;\n }\n}\n@keyframes mdc-checkbox-checked-unchecked-checkmark-path {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 1, 1);\n opacity: 1;\n stroke-dashoffset: 0;\n }\n to {\n opacity: 0;\n stroke-dashoffset: -29.7833385;\n }\n}\n@-webkit-keyframes mdc-checkbox-checked-indeterminate-checkmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n opacity: 0;\n }\n}\n@keyframes mdc-checkbox-checked-indeterminate-checkmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n opacity: 0;\n }\n}\n@-webkit-keyframes mdc-checkbox-indeterminate-checked-checkmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n opacity: 0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 1;\n }\n}\n@keyframes mdc-checkbox-indeterminate-checked-checkmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n opacity: 0;\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n opacity: 1;\n }\n}\n@-webkit-keyframes mdc-checkbox-checked-indeterminate-mixedmark {\n from {\n -webkit-animation-timing-function: mdc-animation-deceleration-curve-timing-function;\n animation-timing-function: mdc-animation-deceleration-curve-timing-function;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n opacity: 0;\n }\n to {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n}\n@keyframes mdc-checkbox-checked-indeterminate-mixedmark {\n from {\n -webkit-animation-timing-function: mdc-animation-deceleration-curve-timing-function;\n animation-timing-function: mdc-animation-deceleration-curve-timing-function;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n opacity: 0;\n }\n to {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n}\n@-webkit-keyframes mdc-checkbox-indeterminate-checked-mixedmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n -webkit-transform: rotate(315deg);\n transform: rotate(315deg);\n opacity: 0;\n }\n}\n@keyframes mdc-checkbox-indeterminate-checked-mixedmark {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n animation-timing-function: cubic-bezier(0.14, 0, 0, 1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n opacity: 1;\n }\n to {\n -webkit-transform: rotate(315deg);\n transform: rotate(315deg);\n opacity: 0;\n }\n}\n@-webkit-keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {\n 0% {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n opacity: 1;\n }\n 32.8%, 100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n opacity: 0;\n }\n}\n@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark {\n 0% {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n opacity: 1;\n }\n 32.8%, 100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n opacity: 0;\n }\n}\n.mdc-checkbox {\n display: inline-block;\n position: relative;\n flex: 0 0 18px;\n box-sizing: content-box;\n width: 18px;\n height: 18px;\n line-height: 0;\n white-space: nowrap;\n cursor: pointer;\n vertical-align: bottom;\n}\n\n@media screen and (-ms-high-contrast: active) {\n .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true]) ~ .mdc-checkbox__background {\n border-color: GrayText;\n /* @alternate */\n border-color: var(--mdc-checkbox-disabled-color, GrayText);\n background-color: transparent;\n }\n\n .mdc-checkbox__native-control[disabled]:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control[disabled]:indeterminate ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control[data-indeterminate=true][disabled] ~ .mdc-checkbox__background {\n border-color: GrayText;\n background-color: transparent;\n /* @alternate */\n background-color: var(--mdc-checkbox-disabled-color, transparent);\n }\n\n .mdc-checkbox__native-control:disabled ~ .mdc-checkbox__background .mdc-checkbox__checkmark {\n color: GrayText;\n /* @alternate */\n color: var(--mdc-checkbox-ink-color, GrayText);\n }\n .mdc-checkbox__native-control:disabled ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {\n border-color: GrayText;\n /* @alternate */\n border-color: var(--mdc-checkbox-ink-color, GrayText);\n }\n\n .mdc-checkbox__mixedmark {\n margin: 0 1px;\n }\n}\n.mdc-checkbox--disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-checkbox__background {\n display: inline-flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 18px;\n height: 18px;\n border: 2px solid currentColor;\n border-radius: 2px;\n background-color: transparent;\n pointer-events: none;\n will-change: background-color, border-color;\n transition: background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n\n.mdc-checkbox__checkmark {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n opacity: 0;\n transition: opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-checkbox--upgraded .mdc-checkbox__checkmark {\n opacity: 1;\n}\n\n.mdc-checkbox__checkmark-path {\n transition: stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n stroke: currentColor;\n stroke-width: 3.12px;\n stroke-dashoffset: 29.7833385;\n stroke-dasharray: 29.7833385;\n}\n\n.mdc-checkbox__mixedmark {\n width: 100%;\n height: 0;\n -webkit-transform: scaleX(0) rotate(0deg);\n transform: scaleX(0) rotate(0deg);\n border-width: 1px;\n border-style: solid;\n opacity: 0;\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n\n.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background, .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background, .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background, .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background {\n -webkit-animation-duration: 180ms;\n animation-duration: 180ms;\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n}\n.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path {\n -webkit-animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;\n animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark {\n -webkit-animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;\n animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path {\n -webkit-animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;\n animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark {\n -webkit-animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;\n animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark {\n -webkit-animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;\n animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {\n -webkit-animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;\n animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark {\n -webkit-animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;\n animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;\n transition: none;\n}\n.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark {\n -webkit-animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;\n animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;\n transition: none;\n}\n\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background,\n.mdc-checkbox__native-control[data-indeterminate=true] ~ .mdc-checkbox__background {\n transition: border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background .mdc-checkbox__checkmark-path,\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background .mdc-checkbox__checkmark-path,\n.mdc-checkbox__native-control[data-indeterminate=true] ~ .mdc-checkbox__background .mdc-checkbox__checkmark-path {\n stroke-dashoffset: 0;\n}\n\n.mdc-checkbox__native-control {\n position: absolute;\n margin: 0;\n padding: 0;\n opacity: 0;\n cursor: inherit;\n}\n.mdc-checkbox__native-control:disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-checkbox--touch {\n margin: calc((48px - 40px) / 2);\n /* @alternate */\n margin: calc((var(--mdc-checkbox-touch-target-size, 48px) - var(--mdc-checkbox-ripple-size, 40px)) / 2);\n}\n.mdc-checkbox--touch .mdc-checkbox__native-control {\n top: calc((40px - 48px) / 2);\n /* @alternate */\n top: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);\n right: calc((40px - 48px) / 2);\n /* @alternate */\n right: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);\n left: calc((40px - 48px) / 2);\n /* @alternate */\n left: calc((var(--mdc-checkbox-ripple-size, 40px) - var(--mdc-checkbox-touch-target-size, 48px)) / 2);\n width: 48px;\n /* @alternate */\n width: var(--mdc-checkbox-touch-target-size, 48px);\n height: 48px;\n /* @alternate */\n height: var(--mdc-checkbox-touch-target-size, 48px);\n}\n\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background .mdc-checkbox__checkmark {\n transition: opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);\n opacity: 1;\n}\n.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {\n -webkit-transform: scaleX(1) rotate(-45deg);\n transform: scaleX(1) rotate(-45deg);\n}\n\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background .mdc-checkbox__checkmark,\n.mdc-checkbox__native-control[data-indeterminate=true] ~ .mdc-checkbox__background .mdc-checkbox__checkmark {\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n opacity: 0;\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background .mdc-checkbox__mixedmark,\n.mdc-checkbox__native-control[data-indeterminate=true] ~ .mdc-checkbox__background .mdc-checkbox__mixedmark {\n -webkit-transform: scaleX(1) rotate(0deg);\n transform: scaleX(1) rotate(0deg);\n opacity: 1;\n}\n\n.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,\n.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,\n.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,\n.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark {\n transition: none;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-checkbox {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-checkbox .mdc-checkbox__ripple::before,\n.mdc-checkbox .mdc-checkbox__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-checkbox .mdc-checkbox__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-checkbox .mdc-checkbox__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-checkbox.mdc-ripple-upgraded--unbounded .mdc-checkbox__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-checkbox.mdc-ripple-upgraded--foreground-activation .mdc-checkbox__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-checkbox.mdc-ripple-upgraded--foreground-deactivation .mdc-checkbox__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-checkbox .mdc-checkbox__ripple::before,\n.mdc-checkbox .mdc-checkbox__ripple::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::before,\n.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-checkbox.mdc-ripple-upgraded .mdc-checkbox__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-checkbox {\n z-index: 0;\n}\n.mdc-checkbox .mdc-checkbox__ripple::before,\n.mdc-checkbox .mdc-checkbox__ripple::after {\n z-index: -1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, -1);\n}\n\n.mdc-checkbox__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n/*# sourceMappingURL=mdc.checkbox.css.map*/'},9253:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-elevation-overlay {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n opacity: 0;\n /* @alternate */\n opacity: var(--mdc-elevation-overlay-opacity, 0);\n transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-elevation-overlay-color, #fff);\n}\n\n.mdc-dialog,\n.mdc-dialog__scrim {\n position: fixed;\n top: 0;\n left: 0;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n}\n\n.mdc-dialog {\n display: none;\n z-index: 7;\n}\n.mdc-dialog .mdc-dialog__surface {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-theme-surface, #fff);\n}\n.mdc-dialog .mdc-dialog__scrim {\n background-color: rgba(0, 0, 0, 0.32);\n}\n.mdc-dialog .mdc-dialog__title {\n color: rgba(0, 0, 0, 0.87);\n}\n.mdc-dialog .mdc-dialog__content {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title, .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions {\n border-color: rgba(0, 0, 0, 0.12);\n}\n.mdc-dialog .mdc-dialog__content {\n padding: 20px 24px 20px 24px;\n}\n.mdc-dialog .mdc-dialog__surface {\n min-width: 280px;\n}\n@media (max-width: 592px) {\n .mdc-dialog .mdc-dialog__surface {\n max-width: calc(100vw - 32px);\n }\n}\n@media (min-width: 592px) {\n .mdc-dialog .mdc-dialog__surface {\n max-width: 560px;\n }\n}\n.mdc-dialog .mdc-dialog__surface {\n max-height: calc(100% - 32px);\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n .mdc-dialog .mdc-dialog__container {\n /* stylelint-disable */\n /* stylelint-enable*/\n }\n}\n.mdc-dialog .mdc-dialog__surface {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-medium, 4px);\n}\n\n.mdc-dialog__scrim {\n opacity: 0;\n z-index: -1;\n}\n\n.mdc-dialog__container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-around;\n box-sizing: border-box;\n height: 100%;\n -webkit-transform: scale(0.8);\n transform: scale(0.8);\n opacity: 0;\n pointer-events: none;\n}\n\n.mdc-dialog__surface {\n /* @alternate */\n position: relative;\n /* @alternate */\n box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);\n display: flex;\n flex-direction: column;\n flex-grow: 0;\n flex-shrink: 0;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n pointer-events: auto;\n overflow-y: auto;\n}\n.mdc-dialog__surface .mdc-elevation-overlay {\n width: 100%;\n height: 100%;\n top: 0;\n /* @noflip */\n left: 0;\n}\n.mdc-dialog[dir=rtl] .mdc-dialog__surface, [dir=rtl] .mdc-dialog .mdc-dialog__surface {\n /* @noflip */\n text-align: right;\n}\n\n.mdc-dialog__title {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1.25rem;\n /* @alternate */\n font-size: var(--mdc-typography-headline6-font-size, 1.25rem);\n line-height: 2rem;\n /* @alternate */\n line-height: var(--mdc-typography-headline6-line-height, 2rem);\n font-weight: 500;\n /* @alternate */\n font-weight: var(--mdc-typography-headline6-font-weight, 500);\n letter-spacing: 0.0125em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-headline6-letter-spacing, 0.0125em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-headline6-text-decoration, inherit);\n text-decoration: var(--mdc-typography-headline6-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-headline6-text-transform, inherit);\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n margin: 0;\n padding: 0 24px 9px;\n border-bottom: 1px solid transparent;\n}\n.mdc-dialog__title::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: "";\n vertical-align: 0;\n}\n.mdc-dialog[dir=rtl] .mdc-dialog__title, [dir=rtl] .mdc-dialog .mdc-dialog__title {\n /* @noflip */\n text-align: right;\n}\n\n.mdc-dialog--scrollable .mdc-dialog__title {\n padding-bottom: 15px;\n}\n\n.mdc-dialog__content {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-body1-font-size, 1rem);\n line-height: 1.5rem;\n /* @alternate */\n line-height: var(--mdc-typography-body1-line-height, 1.5rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-body1-font-weight, 400);\n letter-spacing: 0.03125em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-body1-letter-spacing, 0.03125em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-body1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-body1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-body1-text-transform, inherit);\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n overflow: auto;\n -webkit-overflow-scrolling: touch;\n}\n.mdc-dialog__content > :first-child {\n margin-top: 0;\n}\n.mdc-dialog__content > :last-child {\n margin-bottom: 0;\n}\n\n.mdc-dialog__title + .mdc-dialog__content {\n padding-top: 0;\n}\n\n.mdc-dialog--scrollable .mdc-dialog__title + .mdc-dialog__content {\n padding-top: 8px;\n padding-bottom: 8px;\n}\n\n.mdc-dialog__content .mdc-list:first-child:last-child {\n padding: 6px 0 0;\n}\n\n.mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child {\n padding: 0;\n}\n\n.mdc-dialog__actions {\n display: flex;\n position: relative;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n box-sizing: border-box;\n min-height: 52px;\n margin: 0;\n padding: 8px;\n border-top: 1px solid transparent;\n}\n.mdc-dialog--stacked .mdc-dialog__actions {\n flex-direction: column;\n align-items: flex-end;\n}\n\n.mdc-dialog__button {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 0;\n max-width: 100%;\n /* @noflip */\n text-align: right;\n}\n[dir=rtl] .mdc-dialog__button, .mdc-dialog__button[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 8px;\n}\n.mdc-dialog__button:first-child {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0;\n}\n[dir=rtl] .mdc-dialog__button:first-child, .mdc-dialog__button:first-child[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-dialog[dir=rtl] .mdc-dialog__button, [dir=rtl] .mdc-dialog .mdc-dialog__button {\n /* @noflip */\n text-align: left;\n}\n\n.mdc-dialog--stacked .mdc-dialog__button:not(:first-child) {\n margin-top: 12px;\n}\n\n.mdc-dialog--open,\n.mdc-dialog--opening,\n.mdc-dialog--closing {\n display: flex;\n}\n\n.mdc-dialog--opening .mdc-dialog__scrim {\n transition: opacity 150ms linear;\n}\n.mdc-dialog--opening .mdc-dialog__container {\n transition: opacity 75ms linear, -webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 75ms linear, transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-dialog--closing .mdc-dialog__scrim,\n.mdc-dialog--closing .mdc-dialog__container {\n transition: opacity 75ms linear;\n}\n.mdc-dialog--closing .mdc-dialog__container {\n -webkit-transform: none;\n transform: none;\n}\n\n.mdc-dialog--open .mdc-dialog__scrim {\n opacity: 1;\n}\n.mdc-dialog--open .mdc-dialog__container {\n -webkit-transform: none;\n transform: none;\n opacity: 1;\n}\n\n.mdc-dialog-scroll-lock {\n overflow: hidden;\n}\n\n/*# sourceMappingURL=mdc.dialog.css.map*/'},4202:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-touch-target-wrapper {\n display: inline;\n}\n\n.mdc-elevation-overlay {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n opacity: 0;\n /* @alternate */\n opacity: var(--mdc-elevation-overlay-opacity, 0);\n transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-elevation-overlay-color, #fff);\n}\n\n.mdc-fab {\n /* @alternate */\n position: relative;\n /* @alternate */\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n display: inline-flex;\n position: relative;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 56px;\n height: 56px;\n padding: 0;\n border: none;\n fill: currentColor;\n text-decoration: none;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n overflow: visible;\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, -webkit-transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-theme-secondary, #018786);\n color: #fff;\n /* @alternate */\n color: var(--mdc-theme-on-secondary, #fff);\n}\n.mdc-fab .mdc-elevation-overlay {\n width: 100%;\n height: 100%;\n top: 0;\n /* @noflip */\n left: 0;\n}\n.mdc-fab:not(.mdc-fab--extended) {\n border-radius: 50%;\n}\n.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple {\n border-radius: 50%;\n}\n.mdc-fab::-moz-focus-inner {\n padding: 0;\n border: 0;\n}\n.mdc-fab:hover, .mdc-fab:focus {\n /* @alternate */\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n.mdc-fab:active {\n /* @alternate */\n box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n}\n.mdc-fab:active, .mdc-fab:focus {\n outline: none;\n}\n.mdc-fab:hover {\n cursor: pointer;\n}\n.mdc-fab > svg {\n width: 100%;\n}\n.mdc-fab .mdc-fab__icon {\n width: 24px;\n height: 24px;\n font-size: 24px;\n}\n\n.mdc-fab--mini {\n width: 40px;\n height: 40px;\n}\n\n.mdc-fab--extended {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-button-font-size, 0.875rem);\n line-height: 2.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-button-line-height, 2.25rem);\n font-weight: 500;\n /* @alternate */\n font-weight: var(--mdc-typography-button-font-weight, 500);\n letter-spacing: 0.0892857143em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-button-letter-spacing, 0.0892857143em);\n text-decoration: none;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-button-text-decoration, none);\n text-decoration: var(--mdc-typography-button-text-decoration, none);\n text-transform: uppercase;\n /* @alternate */\n text-transform: var(--mdc-typography-button-text-transform, uppercase);\n border-radius: 24px;\n /* @noflip */\n padding-left: 20px;\n /* @noflip */\n padding-right: 20px;\n width: auto;\n max-width: 100%;\n height: 48px;\n /* @alternate */\n line-height: normal;\n}\n.mdc-fab--extended .mdc-fab__ripple {\n border-radius: 24px;\n}\n.mdc-fab--extended .mdc-fab__icon {\n /* @noflip */\n margin-left: calc(12px - 20px);\n /* @noflip */\n margin-right: 12px;\n}\n[dir=rtl] .mdc-fab--extended .mdc-fab__icon, .mdc-fab--extended .mdc-fab__icon[dir=rtl] {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: calc(12px - 20px);\n}\n.mdc-fab--extended .mdc-fab__label + .mdc-fab__icon {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: calc(12px - 20px);\n}\n[dir=rtl] .mdc-fab--extended .mdc-fab__label + .mdc-fab__icon, .mdc-fab--extended .mdc-fab__label + .mdc-fab__icon[dir=rtl] {\n /* @noflip */\n margin-left: calc(12px - 20px);\n /* @noflip */\n margin-right: 12px;\n}\n\n.mdc-fab--touch {\n margin-top: 4px;\n margin-bottom: 4px;\n margin-right: 4px;\n margin-left: 4px;\n}\n.mdc-fab--touch .mdc-fab__touch {\n position: absolute;\n top: 50%;\n right: 0;\n height: 48px;\n /* @noflip */\n left: 50%;\n width: 48px;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n\n.mdc-fab::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n}\n\n.mdc-fab__label {\n justify-content: flex-start;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow-x: hidden;\n overflow-y: visible;\n}\n\n.mdc-fab__icon {\n transition: -webkit-transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);\n fill: currentColor;\n will-change: transform;\n}\n\n.mdc-fab .mdc-fab__icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.mdc-fab--exited {\n -webkit-transform: scale(0);\n transform: scale(0);\n opacity: 0;\n transition: opacity 15ms linear 150ms, -webkit-transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: opacity 15ms linear 150ms, transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: opacity 15ms linear 150ms, transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1);\n}\n.mdc-fab--exited .mdc-fab__icon {\n -webkit-transform: scale(0);\n transform: scale(0);\n transition: -webkit-transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1);\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-fab {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-fab .mdc-fab__ripple::before,\n.mdc-fab .mdc-fab__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-fab .mdc-fab__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-fab .mdc-fab__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-fab.mdc-ripple-upgraded--unbounded .mdc-fab__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-fab.mdc-ripple-upgraded--foreground-activation .mdc-fab__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-fab.mdc-ripple-upgraded--foreground-deactivation .mdc-fab__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-fab .mdc-fab__ripple::before,\n.mdc-fab .mdc-fab__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-fab.mdc-ripple-upgraded .mdc-fab__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-fab .mdc-fab__ripple::before, .mdc-fab .mdc-fab__ripple::after {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-on-secondary, #fff));\n}\n.mdc-fab:hover .mdc-fab__ripple::before, .mdc-fab.mdc-ripple-surface--hover .mdc-fab__ripple::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.08);\n}\n.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__ripple::before, .mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__ripple::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-fab:not(.mdc-ripple-upgraded) .mdc-fab__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-fab:not(.mdc-ripple-upgraded):active .mdc-fab__ripple::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-fab.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-fab .mdc-fab__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n overflow: hidden;\n z-index: -1;\n}\n\n/*# sourceMappingURL=mdc.fab.css.map*/'},2611:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-floating-label {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n position: absolute;\n /* @noflip */\n left: 0;\n /* @noflip */\n -webkit-transform-origin: left top;\n transform-origin: left top;\n line-height: 1.15rem;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: text;\n overflow: hidden;\n /* @alternate */\n will-change: transform;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n[dir=rtl] .mdc-floating-label, .mdc-floating-label[dir=rtl] {\n /* @noflip */\n right: 0;\n /* @noflip */\n left: auto;\n /* @noflip */\n -webkit-transform-origin: right top;\n transform-origin: right top;\n /* @noflip */\n text-align: right;\n}\n\n.mdc-floating-label--float-above {\n cursor: auto;\n}\n\n.mdc-floating-label--required::after {\n /* @noflip */\n margin-left: 1px;\n /* @noflip */\n margin-right: 0px;\n content: "*";\n}\n[dir=rtl] .mdc-floating-label--required::after, .mdc-floating-label--required[dir=rtl]::after {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 1px;\n}\n\n.mdc-floating-label--float-above {\n -webkit-transform: translateY(-106%) scale(0.75);\n transform: translateY(-106%) scale(0.75);\n}\n\n.mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n}\n\n@-webkit-keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n\n@keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n\n/*# sourceMappingURL=mdc.floating-label.css.map*/'},7229:function(t){"use strict";t.exports="/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-form-field {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-body2-font-size, 0.875rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-body2-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-body2-font-weight, 400);\n letter-spacing: 0.0178571429em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-body2-text-transform, inherit);\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n color: var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n.mdc-form-field > label {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: auto;\n /* @noflip */\n padding-left: 4px;\n /* @noflip */\n padding-right: 0;\n order: 0;\n}\n[dir=rtl] .mdc-form-field > label, .mdc-form-field > label[dir=rtl] {\n /* @noflip */\n margin-left: auto;\n /* @noflip */\n margin-right: 0;\n}\n[dir=rtl] .mdc-form-field > label, .mdc-form-field > label[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 4px;\n}\n\n.mdc-form-field--nowrap > label {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.mdc-form-field--align-end > label {\n /* @noflip */\n margin-left: auto;\n /* @noflip */\n margin-right: 0;\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 4px;\n order: -1;\n}\n[dir=rtl] .mdc-form-field--align-end > label, .mdc-form-field--align-end > label[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: auto;\n}\n[dir=rtl] .mdc-form-field--align-end > label, .mdc-form-field--align-end > label[dir=rtl] {\n /* @noflip */\n padding-left: 4px;\n /* @noflip */\n padding-right: 0;\n}\n\n.mdc-form-field--space-between {\n justify-content: space-between;\n}\n.mdc-form-field--space-between > label {\n margin: 0;\n}\n[dir=rtl] .mdc-form-field--space-between > label, .mdc-form-field--space-between > label[dir=rtl] {\n margin: 0;\n}\n\n/*# sourceMappingURL=mdc.form-field.css.map*/"},6584:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-icon-button {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n border: none;\n outline: none;\n background-color: transparent;\n fill: currentColor;\n color: inherit;\n font-size: 24px;\n text-decoration: none;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n width: 48px;\n height: 48px;\n padding: 12px;\n}\n.mdc-icon-button svg,\n.mdc-icon-button img {\n width: 24px;\n height: 24px;\n}\n.mdc-icon-button:disabled {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38));\n}\n.mdc-icon-button:disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-icon-button__icon {\n display: inline-block;\n}\n.mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: none;\n}\n\n.mdc-icon-button--on .mdc-icon-button__icon {\n display: none;\n}\n.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\n display: inline-block;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-icon-button {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-icon-button::before, .mdc-icon-button::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-icon-button::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-icon-button::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-icon-button.mdc-ripple-upgraded::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-icon-button.mdc-ripple-upgraded::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-icon-button.mdc-ripple-upgraded--unbounded::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-icon-button.mdc-ripple-upgraded--foreground-activation::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-icon-button::before, .mdc-icon-button::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-icon-button.mdc-ripple-upgraded::before, .mdc-icon-button.mdc-ripple-upgraded::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-icon-button.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-icon-button::before, .mdc-icon-button::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-icon-button:hover::before, .mdc-icon-button.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-icon-button.mdc-ripple-upgraded--background-focused::before, .mdc-icon-button:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-icon-button:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-icon-button:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-icon-button.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n\n/*# sourceMappingURL=mdc.icon-button.css.map*/'},8140:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-line-ripple::before, .mdc-line-ripple::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n border-bottom-style: solid;\n content: "";\n}\n.mdc-line-ripple::before {\n border-bottom-width: 1px;\n z-index: 1;\n}\n.mdc-line-ripple::after {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n border-bottom-width: 2px;\n opacity: 0;\n z-index: 2;\n}\n.mdc-line-ripple::after {\n transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-line-ripple--active::after {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n opacity: 1;\n}\n\n.mdc-line-ripple--deactivating::after {\n opacity: 0;\n}\n\n/*# sourceMappingURL=mdc.line-ripple.css.map*/'},3041:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-list {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n /* @alternate */\n line-height: 1.5rem;\n margin: 0;\n padding: 8px 0;\n list-style-type: none;\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n color: var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));\n}\n.mdc-list:focus {\n outline: none;\n}\n\n.mdc-list-item {\n height: 48px;\n}\n\n.mdc-list-item__secondary-text {\n color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n color: var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54));\n}\n\n.mdc-list-item__graphic {\n background-color: transparent;\n}\n\n.mdc-list-item__graphic {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38));\n}\n\n.mdc-list-item__meta {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38));\n}\n\n.mdc-list-group__subheader {\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n color: var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));\n}\n\n.mdc-list-item--disabled .mdc-list-item__text {\n opacity: 0.38;\n}\n\n.mdc-list-item--disabled .mdc-list-item__text,\n.mdc-list-item--disabled .mdc-list-item__primary-text,\n.mdc-list-item--disabled .mdc-list-item__secondary-text {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n\n.mdc-list-item--selected,\n.mdc-list-item--activated {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-list-item--selected .mdc-list-item__graphic,\n.mdc-list-item--activated .mdc-list-item__graphic {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n\n.mdc-list--dense {\n padding-top: 4px;\n padding-bottom: 4px;\n font-size: 0.812rem;\n}\n\n.mdc-list-item {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n overflow: hidden;\n padding: 0;\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n height: 48px;\n}\n.mdc-list-item:focus {\n outline: none;\n}\n.mdc-list-item:not(.mdc-list-item--selected):focus::before, .mdc-list-item.mdc-ripple-upgraded--background-focused::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n}\n.mdc-list-item.mdc-list-item--selected::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 3px double transparent;\n border-radius: inherit;\n content: "";\n}\n[dir=rtl] .mdc-list-item, .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-list--icon-list .mdc-list-item {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n height: 56px;\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-item, .mdc-list--icon-list .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-list--avatar-list .mdc-list-item {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n height: 56px;\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-item, .mdc-list--avatar-list .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-list--thumbnail-list .mdc-list-item {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n height: 56px;\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-item, .mdc-list--thumbnail-list .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-list--image-list .mdc-list-item {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n height: 72px;\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-item, .mdc-list--image-list .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-list--video-list .mdc-list-item {\n /* @noflip */\n padding-left: 0px;\n /* @noflip */\n padding-right: 16px;\n height: 72px;\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-item, .mdc-list--video-list .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 0px;\n}\n\n.mdc-list--dense .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 20px;\n height: 20px;\n}\n[dir=rtl] .mdc-list--dense .mdc-list-item__graphic, .mdc-list--dense .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n\n.mdc-list-item__graphic {\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n fill: currentColor;\n -o-object-fit: cover;\n object-fit: cover;\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 32px;\n width: 24px;\n height: 24px;\n}\n[dir=rtl] .mdc-list-item__graphic, .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 32px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list--icon-list .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 32px;\n width: 24px;\n height: 24px;\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-item__graphic, .mdc-list--icon-list .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 32px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list--avatar-list .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-item__graphic, .mdc-list--avatar-list .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list--thumbnail-list .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 40px;\n height: 40px;\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-item__graphic, .mdc-list--thumbnail-list .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list--image-list .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 56px;\n height: 56px;\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-item__graphic, .mdc-list--image-list .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list--video-list .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 100px;\n height: 56px;\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-item__graphic, .mdc-list--video-list .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n\n.mdc-list .mdc-list-item__graphic {\n display: inline-flex;\n}\n\n.mdc-list-item__meta {\n /* @noflip */\n margin-left: auto;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-list-item__meta:not(.material-icons) {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.75rem;\n /* @alternate */\n font-size: var(--mdc-typography-caption-font-size, 0.75rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-caption-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-caption-font-weight, 400);\n letter-spacing: 0.0333333333em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-caption-text-transform, inherit);\n}\n.mdc-list-item[dir=rtl] .mdc-list-item__meta, [dir=rtl] .mdc-list-item .mdc-list-item__meta {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: auto;\n}\n\n.mdc-list-item__text {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.mdc-list-item__text[for] {\n pointer-events: none;\n}\n\n.mdc-list-item__primary-text {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 28px;\n content: "";\n vertical-align: 0;\n}\n.mdc-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-list--video-list .mdc-list-item__primary-text, .mdc-list--image-list .mdc-list-item__primary-text, .mdc-list--thumbnail-list .mdc-list-item__primary-text, .mdc-list--avatar-list .mdc-list-item__primary-text, .mdc-list--icon-list .mdc-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-list--video-list .mdc-list-item__primary-text::before, .mdc-list--image-list .mdc-list-item__primary-text::before, .mdc-list--thumbnail-list .mdc-list-item__primary-text::before, .mdc-list--avatar-list .mdc-list-item__primary-text::before, .mdc-list--icon-list .mdc-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-list--video-list .mdc-list-item__primary-text::after, .mdc-list--image-list .mdc-list-item__primary-text::after, .mdc-list--thumbnail-list .mdc-list-item__primary-text::after, .mdc-list--avatar-list .mdc-list-item__primary-text::after, .mdc-list--icon-list .mdc-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-list--dense .mdc-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-list--dense .mdc-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 24px;\n content: "";\n vertical-align: 0;\n}\n.mdc-list--dense .mdc-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n\n.mdc-list-item__secondary-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-body2-font-size, 0.875rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-body2-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-body2-font-weight, 400);\n letter-spacing: 0.0178571429em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-body2-text-transform, inherit);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-list-item__secondary-text::before {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: 0;\n}\n.mdc-list--dense .mdc-list-item__secondary-text {\n font-size: inherit;\n}\n\n.mdc-list--dense .mdc-list-item {\n height: 40px;\n}\n\n.mdc-list--two-line .mdc-list-item__text {\n align-self: flex-start;\n}\n\n.mdc-list--two-line .mdc-list-item {\n height: 64px;\n}\n.mdc-list--two-line.mdc-list--video-list .mdc-list-item, .mdc-list--two-line.mdc-list--image-list .mdc-list-item, .mdc-list--two-line.mdc-list--thumbnail-list .mdc-list-item, .mdc-list--two-line.mdc-list--avatar-list .mdc-list-item, .mdc-list--two-line.mdc-list--icon-list .mdc-list-item {\n height: 72px;\n}\n.mdc-list--two-line.mdc-list--icon-list .mdc-list-item__graphic {\n align-self: flex-start;\n margin-top: 16px;\n}\n\n.mdc-list--two-line.mdc-list--dense .mdc-list-item,\n.mdc-list--avatar-list.mdc-list--dense .mdc-list-item {\n height: 60px;\n}\n\n.mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n width: 36px;\n height: 36px;\n}\n[dir=rtl] .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic, .mdc-list--avatar-list.mdc-list--dense .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n\n:not(.mdc-list-item--disabled).mdc-list-item {\n cursor: pointer;\n}\n\na.mdc-list-item {\n color: inherit;\n text-decoration: none;\n}\n\n.mdc-list-divider {\n height: 0;\n margin: 0;\n border: none;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n}\n\n.mdc-list-divider {\n border-bottom-color: rgba(0, 0, 0, 0.12);\n}\n\n.mdc-list-divider--padded {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list-divider--padded, .mdc-list-divider--padded[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list-divider--inset {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 72px);\n}\n[dir=rtl] .mdc-list-divider--inset, .mdc-list-divider--inset[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n\n.mdc-list-divider--inset.mdc-list-divider--padded {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 88px);\n}\n[dir=rtl] .mdc-list-divider--inset.mdc-list-divider--padded, .mdc-list-divider--inset.mdc-list-divider--padded[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n\n.mdc-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list .mdc-list-divider--inset-leading, .mdc-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list--icon-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 72px);\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-divider--inset-leading, .mdc-list--icon-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--icon-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 88px);\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list--icon-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list--avatar-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 72px);\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-divider--inset-leading, .mdc-list--avatar-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--avatar-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 88px);\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list--avatar-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list--thumbnail-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 72px);\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-divider--inset-leading, .mdc-list--thumbnail-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--thumbnail-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 72px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 88px);\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 72px;\n}\n.mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list--thumbnail-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list--image-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 88px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 88px);\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-divider--inset-leading, .mdc-list--image-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 88px;\n}\n.mdc-list--image-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 88px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 104px);\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 88px;\n}\n.mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 32px);\n}\n[dir=rtl] .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list--image-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-list--video-list .mdc-list-divider--inset-leading {\n /* @noflip */\n margin-left: 116px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 116px);\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-divider--inset-leading, .mdc-list--video-list .mdc-list-divider--inset-leading[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 116px;\n}\n.mdc-list--video-list .mdc-list-divider--inset-trailing {\n width: calc(100% - 16px);\n}\n.mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing {\n /* @noflip */\n margin-left: 116px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 132px);\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing, .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 116px;\n}\n.mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--padding {\n /* @noflip */\n margin-left: 0px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 0px);\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--padding, .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0px;\n}\n.mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding {\n /* @noflip */\n margin-left: 0px;\n /* @noflip */\n margin-right: 0;\n width: calc(100% - 16px);\n}\n[dir=rtl] .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding, .mdc-list--video-list .mdc-list-divider--inset-leading.mdc-list-divider--inset-trailing.mdc-list-divider--inset-padding[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0px;\n}\n\n.mdc-list-group .mdc-list {\n padding: 0;\n}\n\n.mdc-list-group__subheader {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n margin: calc( (3rem - 1.5rem) / 2 ) 16px;\n}\n\n.mdc-evolution-list-item__primary-text {\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n color: var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));\n}\n\n.mdc-evolution-list-item__secondary-text {\n color: rgba(0, 0, 0, 0.54);\n /* @alternate */\n color: var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54));\n}\n\n.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start,\n.mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end {\n background-color: transparent;\n}\n\n.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start,\n.mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38));\n}\n\n.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n color: rgba(0, 0, 0, 0.38);\n /* @alternate */\n color: var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38));\n}\n\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__start,\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__content,\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__end {\n opacity: 0.38;\n}\n\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__primary-text {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__secondary-text {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-evolution-list-item--disabled.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-evolution-list-item--disabled.mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-evolution-list-item--disabled.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n\n.mdc-evolution-list-item--selected .mdc-evolution-list-item__primary-text,\n.mdc-evolution-list-item--activated .mdc-evolution-list-item__primary-text {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-evolution-list-item--selected.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start,\n.mdc-evolution-list-item--activated.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start {\n color: #6200ee;\n /* @alternate */\n color: var(--mdc-theme-primary, #6200ee);\n}\n\n.mdc-list-group__subheader {\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n color: var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));\n}\n\n@media screen and (-ms-high-contrast: active) {\n .mdc-evolution-list-divider::after {\n content: "";\n display: block;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: white;\n }\n}\n.mdc-evolution-list {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n /* @alternate */\n line-height: 1.5rem;\n margin: 0;\n padding: 8px 0;\n list-style-type: none;\n}\n.mdc-evolution-list:focus {\n outline: none;\n}\n\n.mdc-evolution-list-item {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n overflow: hidden;\n padding: 0;\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n align-items: stretch;\n cursor: pointer;\n}\n.mdc-evolution-list-item:focus {\n outline: none;\n}\n[dir=rtl] .mdc-evolution-list-item, .mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-one-line {\n height: 48px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-two-lines {\n height: 64px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-three-lines {\n height: 88px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-one-line .mdc-evolution-list-item__start {\n align-self: center;\n margin-top: 0;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 16px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 16px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-one-line .mdc-evolution-list-item__end {\n align-self: center;\n margin-top: 0;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__end {\n align-self: center;\n margin-top: 0;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 16px;\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--disabled, .mdc-evolution-list-item.mdc-evolution-list-item--non-interactive {\n cursor: auto;\n}\n.mdc-evolution-list-item:not(.mdc-evolution-list-item--selected):focus::before, .mdc-evolution-list-item.mdc-ripple-upgraded--background-focused::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: "";\n}\n.mdc-evolution-list-item.mdc-evolution-list-item--selected::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 3px double transparent;\n border-radius: inherit;\n content: "";\n}\n\na.mdc-evolution-list-item {\n color: inherit;\n text-decoration: none;\n}\n\n.mdc-evolution-list-item__start {\n fill: currentColor;\n flex-shrink: 0;\n}\n\n.mdc-evolution-list-item__end {\n flex-shrink: 0;\n}\n\n.mdc-evolution-list-item__content {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n align-self: center;\n flex: 1;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__content, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__content {\n align-self: stretch;\n}\n.mdc-evolution-list-item__content[for] {\n pointer-events: none;\n}\n\n.mdc-evolution-list-item__primary-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 28px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n\n.mdc-evolution-list-item__secondary-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-body2-font-size, 0.875rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-body2-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-body2-font-weight, 400);\n letter-spacing: 0.0178571429em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-body2-text-transform, inherit);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item__secondary-text::before {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: 0;\n}\n\n.mdc-evolution-list-item__overline-text {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__overline-text, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__overline-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__overline-text::before, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__overline-text::before {\n display: inline-block;\n width: 0;\n height: 24px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__overline-text::after, .mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__overline-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-avatar .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-avatar .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-avatar .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-leading-avatar .mdc-evolution-list-item__start {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-avatar.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n.mdc-evolution-list-item--with-leading-avatar .mdc-evolution-list-item__start {\n border-radius: 50%;\n}\n\n.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start {\n width: 24px;\n height: 24px;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 32px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-icon .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 32px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-icon.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-thumbnail .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-thumbnail .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-thumbnail .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-leading-thumbnail .mdc-evolution-list-item__start {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-thumbnail.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-image .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-image .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-image .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-leading-image .mdc-evolution-list-item__start {\n width: 56px;\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-one-line {\n height: 72px;\n}\n.mdc-evolution-list-item--with-leading-image.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 8px;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-video .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-video .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-video .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-evolution-list-item--with-leading-video .mdc-evolution-list-item__start {\n width: 100px;\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-one-line {\n height: 72px;\n}\n.mdc-evolution-list-item--with-leading-video.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-checkbox .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 24px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-checkbox .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-checkbox .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 24px;\n /* @noflip */\n margin-right: 8px;\n}\n.mdc-evolution-list-item--with-leading-checkbox .mdc-evolution-list-item__start {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 8px;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-checkbox.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-radio .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 24px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-radio .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-radio .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 24px;\n /* @noflip */\n margin-right: 8px;\n}\n.mdc-evolution-list-item--with-leading-radio .mdc-evolution-list-item__start {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 8px;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-radio.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item, .mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-evolution-list-item--with-leading-switch .mdc-evolution-list-item__start {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-leading-switch .mdc-evolution-list-item__start, .mdc-evolution-list-item--with-leading-switch .mdc-evolution-list-item__start[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-leading-switch .mdc-evolution-list-item__start {\n width: 36px;\n height: 20px;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__start {\n align-self: flex-start;\n margin-top: 16px;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin-bottom: -20px;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__primary-text::after {\n display: inline-block;\n width: 0;\n height: 20px;\n content: "";\n vertical-align: -20px;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 32px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-one-line {\n height: 56px;\n}\n.mdc-evolution-list-item--with-leading-switch.mdc-evolution-list-item--with-two-lines {\n height: 72px;\n}\n\n.mdc-evolution-list-item--with-trailing-icon.mdc-evolution-list-item {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-icon.mdc-evolution-list-item, .mdc-evolution-list-item--with-trailing-icon.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n.mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end, .mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-trailing-icon .mdc-evolution-list-item__end {\n width: 24px;\n height: 24px;\n}\n\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 0;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 0;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item, .mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n /* @noflip */\n margin-left: 28px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end, .mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 28px;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-two-lines .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 28px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n.mdc-evolution-list-item--with-trailing-meta.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end::before {\n display: inline-block;\n width: 0;\n height: 28px;\n content: "";\n vertical-align: 0;\n}\n.mdc-evolution-list-item--with-trailing-meta .mdc-evolution-list-item__end {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.75rem;\n /* @alternate */\n font-size: var(--mdc-typography-caption-font-size, 0.75rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-caption-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-caption-font-weight, 400);\n letter-spacing: 0.0333333333em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-caption-text-transform, inherit);\n}\n\n.mdc-evolution-list-item--with-trailing-checkbox.mdc-evolution-list-item {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-checkbox.mdc-evolution-list-item, .mdc-evolution-list-item--with-trailing-checkbox.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n.mdc-evolution-list-item--with-trailing-checkbox .mdc-evolution-list-item__end {\n /* @noflip */\n margin-left: 24px;\n /* @noflip */\n margin-right: 8px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-checkbox .mdc-evolution-list-item__end, .mdc-evolution-list-item--with-trailing-checkbox .mdc-evolution-list-item__end[dir=rtl] {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 24px;\n}\n.mdc-evolution-list-item--with-trailing-checkbox .mdc-evolution-list-item__end {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-trailing-checkbox.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 8px;\n}\n\n.mdc-evolution-list-item--with-trailing-radio.mdc-evolution-list-item {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-radio.mdc-evolution-list-item, .mdc-evolution-list-item--with-trailing-radio.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n.mdc-evolution-list-item--with-trailing-radio .mdc-evolution-list-item__end {\n /* @noflip */\n margin-left: 24px;\n /* @noflip */\n margin-right: 8px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-radio .mdc-evolution-list-item__end, .mdc-evolution-list-item--with-trailing-radio .mdc-evolution-list-item__end[dir=rtl] {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 24px;\n}\n.mdc-evolution-list-item--with-trailing-radio .mdc-evolution-list-item__end {\n width: 40px;\n height: 40px;\n}\n.mdc-evolution-list-item--with-trailing-radio.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 8px;\n}\n\n.mdc-evolution-list-item--with-trailing-switch.mdc-evolution-list-item {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-switch.mdc-evolution-list-item, .mdc-evolution-list-item--with-trailing-switch.mdc-evolution-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: auto;\n}\n.mdc-evolution-list-item--with-trailing-switch .mdc-evolution-list-item__end {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-item--with-trailing-switch .mdc-evolution-list-item__end, .mdc-evolution-list-item--with-trailing-switch .mdc-evolution-list-item__end[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-evolution-list-item--with-trailing-switch .mdc-evolution-list-item__end {\n width: 36px;\n height: 20px;\n}\n.mdc-evolution-list-item--with-trailing-switch.mdc-evolution-list-item--with-three-lines .mdc-evolution-list-item__end {\n align-self: flex-start;\n margin-top: 16px;\n}\n\n.mdc-evolution-list-group .mdc-list {\n padding: 0;\n}\n\n.mdc-evolution-list-group__subheader {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n margin: calc( (3rem - 1.5rem) / 2 ) 16px;\n}\n\n.mdc-evolution-list-divider {\n background-color: rgba(0, 0, 0, 0.12);\n}\n\n.mdc-evolution-list-divider {\n height: 1px;\n padding: 0;\n background-clip: content-box;\n}\n.mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-padding {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-padding, .mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-padding[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-evolution-list-divider.mdc-evolution-list-divider--with-trailing-inset {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 16px;\n}\n[dir=rtl] .mdc-evolution-list-divider.mdc-evolution-list-divider--with-trailing-inset, .mdc-evolution-list-divider.mdc-evolution-list-divider--with-trailing-inset[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: auto;\n}\n\n.mdc-evolution-list-divider--with-leading-icon.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 72px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-icon.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-icon.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 72px;\n}\n\n.mdc-evolution-list-divider--with-leading-image.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 88px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-image.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-image.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 88px;\n}\n\n.mdc-evolution-list-divider--with-leading-thumbnail.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 72px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-thumbnail.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-thumbnail.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 72px;\n}\n\n.mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-padding {\n /* @noflip */\n padding-left: 0px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-padding, .mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-padding[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 0px;\n}\n.mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 116px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-video.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 116px;\n}\n\n.mdc-evolution-list-divider--with-leading-avatar.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 72px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-avatar.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-avatar.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 72px;\n}\n\n.mdc-evolution-list-divider--with-leading-checkbox.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 72px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-checkbox.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-checkbox.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 72px;\n}\n\n.mdc-evolution-list-divider--with-leading-switch.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 84px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-switch.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-switch.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 84px;\n}\n\n.mdc-evolution-list-divider--with-leading-radio.mdc-evolution-list-divider--with-leading-inset {\n /* @noflip */\n padding-left: 72px;\n /* @noflip */\n padding-right: auto;\n}\n[dir=rtl] .mdc-evolution-list-divider--with-leading-radio.mdc-evolution-list-divider--with-leading-inset, .mdc-evolution-list-divider--with-leading-radio.mdc-evolution-list-divider--with-leading-inset[dir=rtl] {\n /* @noflip */\n padding-left: auto;\n /* @noflip */\n padding-right: 72px;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n:not(.mdc-list-item--disabled).mdc-list-item {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before,\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded .mdc-list-item__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n:not(.mdc-list-item--disabled).mdc-list-item:hover .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-surface--hover .mdc-list-item__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-list-item--disabled).mdc-list-item:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n:not(.mdc-list-item--disabled).mdc-list-item.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-activated-opacity, 0.12);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--activated .mdc-list-item__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated:hover .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-surface--hover .mdc-list-item__ripple::before {\n opacity: 0.16;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.16);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--activated.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-selected-opacity, 0.08);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--selected .mdc-list-item__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected:hover .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.12);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before, :not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.2);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n:not(.mdc-list-item--disabled).mdc-list-item--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n:not(.mdc-list-item--disabled).mdc-list-item .mdc-list-item__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.mdc-list-item--disabled {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-list-item--disabled .mdc-list-item__ripple::before,\n.mdc-list-item--disabled .mdc-list-item__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-list-item--disabled .mdc-list-item__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-list-item--disabled .mdc-list-item__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-list-item__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-list-item--disabled .mdc-list-item__ripple::before,\n.mdc-list-item--disabled .mdc-list-item__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded .mdc-list-item__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-list-item--disabled .mdc-list-item__ripple::before,\n.mdc-list-item--disabled .mdc-list-item__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before, .mdc-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-list-item--disabled .mdc-list-item__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::before,\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded--unbounded .mdc-evolution-list-item__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded--foreground-activation .mdc-evolution-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::before,\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item:hover .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-surface--hover .mdc-evolution-list-item__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded--background-focused .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item:not(.mdc-ripple-upgraded):focus .mdc-evolution-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item:not(.mdc-ripple-upgraded) .mdc-evolution-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item:not(.mdc-ripple-upgraded):active .mdc-evolution-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated .mdc-evolution-list-item__ripple::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-activated-opacity, 0.12);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated .mdc-evolution-list-item__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated:hover .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated.mdc-ripple-surface--hover .mdc-evolution-list-item__ripple::before {\n opacity: 0.16;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.16);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated.mdc-ripple-upgraded--background-focused .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated:not(.mdc-ripple-upgraded):focus .mdc-evolution-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated:not(.mdc-ripple-upgraded) .mdc-evolution-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated:not(.mdc-ripple-upgraded):active .mdc-evolution-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--activated.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected .mdc-evolution-list-item__ripple::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-selected-opacity, 0.08);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected .mdc-evolution-list-item__ripple::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected:hover .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected.mdc-ripple-surface--hover .mdc-evolution-list-item__ripple::before {\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.12);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-evolution-list-item__ripple::before, :not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-evolution-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.2);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected:not(.mdc-ripple-upgraded) .mdc-evolution-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-evolution-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.2;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.2);\n}\n:not(.mdc-evolution-list-item--disabled).mdc-evolution-list-item .mdc-evolution-list-item__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.mdc-evolution-list-item--disabled {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::before,\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded--unbounded .mdc-evolution-list-item__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded--foreground-activation .mdc-evolution-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-list-item__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::before,\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded .mdc-evolution-list-item__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::before,\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-evolution-list-item--disabled.mdc-ripple-upgraded--background-focused .mdc-evolution-list-item__ripple::before, .mdc-evolution-list-item--disabled:not(.mdc-ripple-upgraded):focus .mdc-evolution-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-evolution-list-item--disabled .mdc-evolution-list-item__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n/*# sourceMappingURL=mdc.list.css.map*/'},6401:function(t){"use strict";t.exports="/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-menu-surface {\n display: none;\n position: absolute;\n box-sizing: border-box;\n max-width: calc(100vw - 32px);\n max-height: calc(100vh - 32px);\n margin: 0;\n padding: 0;\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n opacity: 0;\n overflow: auto;\n will-change: transform, opacity;\n z-index: 8;\n transition: opacity 0.03s linear, height 250ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.12s cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 0.03s linear, transform 0.12s cubic-bezier(0, 0, 0.2, 1), height 250ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 0.03s linear, transform 0.12s cubic-bezier(0, 0, 0.2, 1), height 250ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 0.12s cubic-bezier(0, 0, 0.2, 1);\n /* @alternate */\n box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-theme-surface, #fff);\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-medium, 4px);\n /* @noflip */\n transform-origin-left: top left;\n /* @noflip */\n transform-origin-right: top right;\n}\n.mdc-menu-surface:focus {\n outline: none;\n}\n.mdc-menu-surface--open {\n display: inline-block;\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 1;\n}\n.mdc-menu-surface--animating-open {\n display: inline-block;\n -webkit-transform: scale(0.8);\n transform: scale(0.8);\n opacity: 0;\n}\n.mdc-menu-surface--animating-closed {\n display: inline-block;\n opacity: 0;\n transition: opacity 0.075s linear;\n}\n[dir=rtl] .mdc-menu-surface, .mdc-menu-surface[dir=rtl] {\n /* @noflip */\n transform-origin-left: top right;\n /* @noflip */\n transform-origin-right: top left;\n}\n\n.mdc-menu-surface--anchor {\n position: relative;\n overflow: visible;\n}\n\n.mdc-menu-surface--fixed {\n position: fixed;\n}\n\n.mdc-menu-surface--fullwidth {\n width: 100%;\n}\n\n/*# sourceMappingURL=mdc.menu-surface.css.map*/"},172:function(t){"use strict";t.exports="/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-elevation-overlay {\n position: absolute;\n border-radius: inherit;\n pointer-events: none;\n opacity: 0;\n /* @alternate */\n opacity: var(--mdc-elevation-overlay-opacity, 0);\n transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-elevation-overlay-color, #fff);\n}\n\n.mdc-menu {\n min-width: 112px;\n}\n.mdc-menu .mdc-list-item__meta {\n color: rgba(0, 0, 0, 0.87);\n}\n.mdc-menu .mdc-list-item__graphic {\n color: rgba(0, 0, 0, 0.87);\n}\n.mdc-menu .mdc-list {\n color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n position: relative;\n}\n.mdc-menu .mdc-list .mdc-elevation-overlay {\n width: 100%;\n height: 100%;\n top: 0;\n /* @noflip */\n left: 0;\n}\n.mdc-menu .mdc-list-divider {\n margin: 8px 0;\n}\n.mdc-menu .mdc-list-item {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.mdc-menu .mdc-list-item--disabled {\n cursor: auto;\n}\n.mdc-menu a.mdc-list-item .mdc-list-item__text,\n.mdc-menu a.mdc-list-item .mdc-list-item__graphic {\n pointer-events: none;\n}\n\n.mdc-menu__selection-group {\n padding: 0;\n fill: currentColor;\n}\n.mdc-menu__selection-group .mdc-list-item {\n /* @noflip */\n padding-left: 56px;\n /* @noflip */\n padding-right: 16px;\n}\n[dir=rtl] .mdc-menu__selection-group .mdc-list-item, .mdc-menu__selection-group .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 56px;\n}\n.mdc-menu__selection-group .mdc-menu__selection-group-icon {\n /* @noflip */\n left: 16px;\n /* @noflip */\n right: initial;\n display: none;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n[dir=rtl] .mdc-menu__selection-group .mdc-menu__selection-group-icon, .mdc-menu__selection-group .mdc-menu__selection-group-icon[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 16px;\n}\n\n.mdc-menu-item--selected .mdc-menu__selection-group-icon {\n display: inline;\n}\n\n/*# sourceMappingURL=mdc.menu.css.map*/"},5816:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-touch-target-wrapper {\n display: inline;\n}\n\n.mdc-radio {\n padding: 10px;\n display: inline-block;\n position: relative;\n flex: 0 0 auto;\n box-sizing: content-box;\n width: 20px;\n height: 20px;\n cursor: pointer;\n /* @alternate */\n will-change: opacity, transform, border-color, color;\n}\n.mdc-radio .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: rgba(0, 0, 0, 0.54);\n}\n.mdc-radio .mdc-radio__native-control:enabled:checked + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-theme-secondary, #018786);\n}\n.mdc-radio .mdc-radio__native-control:enabled + .mdc-radio__background .mdc-radio__inner-circle {\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-theme-secondary, #018786);\n}\n.mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle,\n.mdc-radio .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: rgba(0, 0, 0, 0.38);\n}\n.mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__outer-circle,\n.mdc-radio .mdc-radio__native-control:disabled:checked + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: rgba(0, 0, 0, 0.38);\n}\n.mdc-radio [aria-disabled=true] .mdc-radio__native-control + .mdc-radio__background .mdc-radio__inner-circle,\n.mdc-radio .mdc-radio__native-control:disabled + .mdc-radio__background .mdc-radio__inner-circle {\n border-color: rgba(0, 0, 0, 0.38);\n}\n.mdc-radio .mdc-radio__background::before {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-theme-secondary, #018786);\n}\n.mdc-radio .mdc-radio__background::before {\n top: -10px;\n left: -10px;\n width: 40px;\n height: 40px;\n}\n.mdc-radio .mdc-radio__native-control {\n top: 0px;\n right: 0px;\n left: 0px;\n width: 40px;\n height: 40px;\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle,\n.mdc-radio .mdc-radio__native-control:disabled:not(:checked) + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: GrayText;\n }\n .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__outer-circle,\n.mdc-radio .mdc-radio__native-control:disabled:checked + .mdc-radio__background .mdc-radio__outer-circle {\n border-color: GrayText;\n }\n .mdc-radio [aria-disabled=true] .mdc-radio__native-control + .mdc-radio__background .mdc-radio__inner-circle,\n.mdc-radio .mdc-radio__native-control:disabled + .mdc-radio__background .mdc-radio__inner-circle {\n border-color: GrayText;\n }\n}\n.mdc-radio__background {\n display: inline-block;\n position: relative;\n box-sizing: border-box;\n width: 20px;\n height: 20px;\n}\n.mdc-radio__background::before {\n position: absolute;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n transition: opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-radio__outer-circle {\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n border-width: 2px;\n border-style: solid;\n border-radius: 50%;\n transition: border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-radio__inner-circle {\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n -webkit-transform: scale(0, 0);\n transform: scale(0, 0);\n border-width: 10px;\n border-style: solid;\n border-radius: 50%;\n transition: border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n transition: transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1);\n}\n.mdc-radio__native-control {\n position: absolute;\n margin: 0;\n padding: 0;\n opacity: 0;\n cursor: inherit;\n z-index: 1;\n}\n.mdc-radio--touch {\n margin-top: 4px;\n margin-bottom: 4px;\n margin-right: 4px;\n margin-left: 4px;\n}\n.mdc-radio--touch .mdc-radio__native-control {\n top: -4px;\n right: -4px;\n left: -4px;\n width: 48px;\n height: 48px;\n}\n\n.mdc-radio__native-control:checked + .mdc-radio__background,\n.mdc-radio__native-control:disabled + .mdc-radio__background {\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__outer-circle,\n.mdc-radio__native-control:disabled + .mdc-radio__background .mdc-radio__outer-circle {\n transition: border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__inner-circle,\n.mdc-radio__native-control:disabled + .mdc-radio__background .mdc-radio__inner-circle {\n transition: border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-radio--disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-radio__native-control:checked + .mdc-radio__background .mdc-radio__inner-circle {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n transition: border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mdc-radio__native-control:disabled + .mdc-radio__background,\n[aria-disabled=true] .mdc-radio__native-control + .mdc-radio__background {\n cursor: default;\n}\n\n.mdc-radio__native-control:focus + .mdc-radio__background::before {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 0.12;\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-radio {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-radio .mdc-radio__ripple::before,\n.mdc-radio .mdc-radio__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-radio .mdc-radio__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-radio .mdc-radio__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-radio.mdc-ripple-upgraded--unbounded .mdc-radio__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-radio.mdc-ripple-upgraded--foreground-activation .mdc-radio__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-radio.mdc-ripple-upgraded--foreground-deactivation .mdc-radio__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-radio .mdc-radio__ripple::before,\n.mdc-radio .mdc-radio__ripple::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::before,\n.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-radio.mdc-ripple-upgraded .mdc-radio__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-radio .mdc-radio__ripple::before, .mdc-radio .mdc-radio__ripple::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-radio:hover .mdc-radio__ripple::before, .mdc-radio.mdc-ripple-surface--hover .mdc-radio__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__ripple::before, .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-radio:not(.mdc-ripple-upgraded) .mdc-radio__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-radio:not(.mdc-ripple-upgraded):active .mdc-radio__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-radio.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__background::before {\n content: none;\n}\n\n.mdc-radio__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n/*# sourceMappingURL=mdc.radio.css.map*/'},1174:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-ripple-surface {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n position: relative;\n outline: none;\n overflow: hidden;\n}\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-ripple-surface::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-ripple-surface::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #000);\n}\n.mdc-ripple-surface:hover::before, .mdc-ripple-surface.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-ripple-surface::before, .mdc-ripple-surface::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-ripple-surface.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded],\n.mdc-ripple-upgraded--unbounded {\n overflow: visible;\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,\n.mdc-ripple-upgraded--unbounded::before,\n.mdc-ripple-upgraded--unbounded::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,\n.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n\n/*# sourceMappingURL=mdc.ripple.css.map*/'},332:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n@charset "UTF-8";\n.mdc-floating-label {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n position: absolute;\n /* @noflip */\n left: 0;\n /* @noflip */\n -webkit-transform-origin: left top;\n transform-origin: left top;\n line-height: 1.15rem;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: text;\n overflow: hidden;\n /* @alternate */\n will-change: transform;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n[dir=rtl] .mdc-floating-label, .mdc-floating-label[dir=rtl] {\n /* @noflip */\n right: 0;\n /* @noflip */\n left: auto;\n /* @noflip */\n -webkit-transform-origin: right top;\n transform-origin: right top;\n /* @noflip */\n text-align: right;\n}\n\n.mdc-floating-label--float-above {\n cursor: auto;\n}\n\n.mdc-floating-label--required::after {\n /* @noflip */\n margin-left: 1px;\n /* @noflip */\n margin-right: 0px;\n content: "*";\n}\n[dir=rtl] .mdc-floating-label--required::after, .mdc-floating-label--required[dir=rtl]::after {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 1px;\n}\n\n.mdc-floating-label--float-above {\n -webkit-transform: translateY(-106%) scale(0.75);\n transform: translateY(-106%) scale(0.75);\n}\n\n.mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n}\n\n@-webkit-keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n\n@keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-line-ripple::before, .mdc-line-ripple::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n border-bottom-style: solid;\n content: "";\n}\n.mdc-line-ripple::before {\n border-bottom-width: 1px;\n z-index: 1;\n}\n.mdc-line-ripple::after {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n border-bottom-width: 2px;\n opacity: 0;\n z-index: 2;\n}\n.mdc-line-ripple::after {\n transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-line-ripple--active::after {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n opacity: 1;\n}\n\n.mdc-line-ripple--deactivating::after {\n opacity: 0;\n}\n\n.mdc-notched-outline {\n display: flex;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n height: 100%;\n /* @noflip */\n text-align: left;\n pointer-events: none;\n}\n[dir=rtl] .mdc-notched-outline, .mdc-notched-outline[dir=rtl] {\n /* @noflip */\n text-align: right;\n}\n.mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {\n box-sizing: border-box;\n height: 100%;\n border-top: 1px solid;\n border-bottom: 1px solid;\n pointer-events: none;\n}\n.mdc-notched-outline__leading {\n /* @noflip */\n border-left: 1px solid;\n /* @noflip */\n border-right: none;\n width: 12px;\n}\n[dir=rtl] .mdc-notched-outline__leading, .mdc-notched-outline__leading[dir=rtl] {\n /* @noflip */\n border-left: none;\n /* @noflip */\n border-right: 1px solid;\n}\n.mdc-notched-outline__trailing {\n /* @noflip */\n border-left: none;\n /* @noflip */\n border-right: 1px solid;\n flex-grow: 1;\n}\n[dir=rtl] .mdc-notched-outline__trailing, .mdc-notched-outline__trailing[dir=rtl] {\n /* @noflip */\n border-left: 1px solid;\n /* @noflip */\n border-right: none;\n}\n.mdc-notched-outline__notch {\n flex: 0 0 auto;\n width: auto;\n max-width: calc(100% - 12px * 2);\n}\n.mdc-notched-outline .mdc-floating-label {\n display: inline-block;\n position: relative;\n max-width: 100%;\n}\n.mdc-notched-outline .mdc-floating-label--float-above {\n text-overflow: clip;\n}\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75);\n}\n\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 8px;\n border-top: none;\n}\n[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch, .mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl] {\n /* @noflip */\n padding-left: 8px;\n /* @noflip */\n padding-right: 0;\n}\n\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\n display: none;\n}\n\n.mdc-select {\n display: inline-flex;\n position: relative;\n}\n.mdc-select:not(.mdc-select--disabled) .mdc-select__selected-text {\n color: rgba(0, 0, 0, 0.87);\n}\n.mdc-select.mdc-select--disabled .mdc-select__selected-text {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-select:not(.mdc-select--disabled) .mdc-floating-label {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {\n color: rgba(98, 0, 238, 0.87);\n}\n.mdc-select.mdc-select--disabled .mdc-floating-label {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-select:not(.mdc-select--disabled) .mdc-select__dropdown-icon {\n fill: rgba(0, 0, 0, 0.54);\n}\n.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon {\n fill: #6200ee;\n /* @alternate */\n fill: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-select.mdc-select--disabled .mdc-select__dropdown-icon {\n fill: rgba(0, 0, 0, 0.38);\n}\n.mdc-select:not(.mdc-select--disabled) + .mdc-select-helper-text {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-select.mdc-select--disabled + .mdc-select-helper-text {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-select:not(.mdc-select--disabled) .mdc-select__icon {\n color: rgba(0, 0, 0, 0.54);\n}\n.mdc-select.mdc-select--disabled .mdc-select__icon {\n color: rgba(0, 0, 0, 0.38);\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-select.mdc-select--disabled .mdc-select__selected-text {\n color: GrayText;\n }\n .mdc-select.mdc-select--disabled .mdc-select__dropdown-icon {\n fill: red;\n }\n .mdc-select.mdc-select--disabled .mdc-floating-label {\n color: GrayText;\n }\n .mdc-select.mdc-select--disabled .mdc-line-ripple::before {\n border-bottom-color: GrayText;\n }\n .mdc-select.mdc-select--disabled .mdc-notched-outline__leading,\n.mdc-select.mdc-select--disabled .mdc-notched-outline__notch,\n.mdc-select.mdc-select--disabled .mdc-notched-outline__trailing {\n border-color: GrayText;\n }\n .mdc-select.mdc-select--disabled .mdc-select__icon {\n color: GrayText;\n }\n .mdc-select.mdc-select--disabled + .mdc-select-helper-text {\n color: GrayText;\n }\n}\n.mdc-select .mdc-floating-label {\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n pointer-events: none;\n}\n.mdc-select .mdc-select__anchor {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-select .mdc-select__anchor, .mdc-select .mdc-select__anchor[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-select.mdc-select--with-leading-icon .mdc-select__anchor {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor, .mdc-select.mdc-select--with-leading-icon .mdc-select__anchor[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-select .mdc-select__icon {\n width: 24px;\n height: 24px;\n font-size: 24px;\n}\n.mdc-select .mdc-select__dropdown-icon {\n width: 24px;\n height: 24px;\n}\n.mdc-select .mdc-select__menu .mdc-list-item {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n[dir=rtl] .mdc-select .mdc-select__menu .mdc-list-item, .mdc-select .mdc-select__menu .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-select .mdc-select__menu .mdc-list-item__graphic {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 12px;\n}\n[dir=rtl] .mdc-select .mdc-select__menu .mdc-list-item__graphic, .mdc-select .mdc-select__menu .mdc-list-item__graphic[dir=rtl] {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-select__dropdown-icon {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: 12px;\n display: inline-flex;\n position: relative;\n align-self: center;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n pointer-events: none;\n}\n.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active,\n.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive {\n position: absolute;\n top: 0;\n left: 0;\n}\n.mdc-select__dropdown-icon .mdc-select__dropdown-icon-graphic {\n width: 41.6666666667%;\n height: 20.8333333333%;\n}\n.mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive {\n opacity: 1;\n transition: opacity 75ms linear 75ms;\n}\n.mdc-select__dropdown-icon .mdc-select__dropdown-icon-active {\n opacity: 0;\n transition: opacity 75ms linear;\n}\n[dir=rtl] .mdc-select__dropdown-icon, .mdc-select__dropdown-icon[dir=rtl] {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: 12px;\n}\n.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-inactive {\n opacity: 0;\n transition: opacity 49.5ms linear;\n}\n.mdc-select--activated .mdc-select__dropdown-icon .mdc-select__dropdown-icon-active {\n opacity: 1;\n transition: opacity 100.5ms linear 49.5ms;\n}\n\n.mdc-select__anchor {\n width: 200px;\n min-width: 0;\n flex: 1 1 auto;\n position: relative;\n box-sizing: border-box;\n overflow: hidden;\n outline: none;\n cursor: pointer;\n}\n.mdc-select__anchor .mdc-floating-label--float-above {\n -webkit-transform: translateY(-106%) scale(0.75);\n transform: translateY(-106%) scale(0.75);\n}\n\n.mdc-select__selected-text-container {\n display: flex;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n pointer-events: none;\n box-sizing: border-box;\n width: auto;\n min-width: 0;\n flex-grow: 1;\n height: 28px;\n border: none;\n outline: none;\n padding: 0;\n background-color: transparent;\n color: inherit;\n}\n\n.mdc-select__selected-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n line-height: 1.75rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle1-line-height, 1.75rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: block;\n width: 100%;\n /* @noflip */\n text-align: left;\n}\n[dir=rtl] .mdc-select__selected-text, .mdc-select__selected-text[dir=rtl] {\n /* @noflip */\n text-align: right;\n}\n\n.mdc-select--invalid:not(.mdc-select--disabled) .mdc-floating-label {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--invalid + .mdc-select-helper-text--validation-msg {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled) .mdc-select__dropdown-icon {\n fill: #b00020;\n /* @alternate */\n fill: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-select__dropdown-icon {\n fill: #b00020;\n /* @alternate */\n fill: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--disabled {\n cursor: default;\n pointer-events: none;\n}\n\n.mdc-select--with-leading-icon .mdc-select__menu .mdc-list-item {\n /* @noflip */\n padding-left: 12px;\n /* @noflip */\n padding-right: 12px;\n}\n[dir=rtl] .mdc-select--with-leading-icon .mdc-select__menu .mdc-list-item, .mdc-select--with-leading-icon .mdc-select__menu .mdc-list-item[dir=rtl] {\n /* @noflip */\n padding-left: 12px;\n /* @noflip */\n padding-right: 12px;\n}\n\n.mdc-select__menu .mdc-list .mdc-select__icon {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0;\n}\n[dir=rtl] .mdc-select__menu .mdc-list .mdc-select__icon, .mdc-select__menu .mdc-list .mdc-select__icon[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 0;\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected,\n.mdc-select__menu .mdc-list .mdc-list-item--activated {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected .mdc-list-item__graphic,\n.mdc-select__menu .mdc-list .mdc-list-item--activated .mdc-list-item__graphic {\n color: #000;\n /* @alternate */\n color: var(--mdc-theme-on-surface, #000);\n}\n\n.mdc-select--filled .mdc-select__anchor {\n height: 56px;\n display: flex;\n align-items: baseline;\n}\n.mdc-select--filled .mdc-select__anchor::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: "";\n vertical-align: 0;\n}\n.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text::before {\n content: "";\n}\n.mdc-select--filled.mdc-select--no-label .mdc-select__anchor .mdc-select__selected-text-container {\n height: 100%;\n display: inline-flex;\n align-items: center;\n}\n.mdc-select--filled.mdc-select--no-label .mdc-select__anchor::before {\n display: none;\n}\n.mdc-select--filled .mdc-select__anchor {\n border-top-left-radius: 4px;\n /* @alternate */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n border-top-right-radius: 4px;\n /* @alternate */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.mdc-select--filled:not(.mdc-select--disabled) .mdc-select__anchor {\n background-color: whitesmoke;\n}\n.mdc-select--filled.mdc-select--disabled .mdc-select__anchor {\n background-color: #fafafa;\n}\n.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.42);\n}\n.mdc-select--filled:not(.mdc-select--disabled):hover .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.87);\n}\n.mdc-select--filled:not(.mdc-select--disabled) .mdc-line-ripple::after {\n border-bottom-color: #6200ee;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-select--filled.mdc-select--disabled .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.06);\n}\n.mdc-select--filled .mdc-floating-label {\n max-width: calc(100% - 64px);\n}\n.mdc-select--filled .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 64px / 0.75);\n}\n.mdc-select--filled .mdc-menu-surface--is-open-below {\n border-top-left-radius: 0px;\n border-top-right-radius: 0px;\n}\n.mdc-select--filled.mdc-select--focused.mdc-line-ripple::after {\n -webkit-transform: scale(1, 2);\n transform: scale(1, 2);\n opacity: 1;\n}\n.mdc-select--filled .mdc-floating-label {\n /* @noflip */\n left: 16px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-select--filled .mdc-floating-label, .mdc-select--filled .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 16px;\n}\n.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label {\n /* @noflip */\n left: 48px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label, .mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 48px;\n}\n.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label {\n max-width: calc(100% - 96px);\n}\n.mdc-select--filled.mdc-select--with-leading-icon .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 96px / 0.75);\n}\n\n.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::before {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled):hover .mdc-line-ripple::before {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--invalid:not(.mdc-select--disabled) .mdc-line-ripple::after {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--outlined {\n border: none;\n}\n.mdc-select--outlined .mdc-select__anchor {\n height: 56px;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above {\n -webkit-transform: translateY(-37.25px) scale(1);\n transform: translateY(-37.25px) scale(1);\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-34.75px) scale(0.75);\n transform: translateY(-34.75px) scale(0.75);\n}\n.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1;\n animation: mdc-floating-label-shake-float-above-select-outlined-56px 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-56px {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-select-outlined-56px {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n}\n.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n /* @noflip */\n border-top-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-top-right-radius: 0;\n /* @noflip */\n border-bottom-right-radius: 0;\n /* @noflip */\n border-bottom-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-left-radius: var(--mdc-shape-small, 4px);\n}\n[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading, .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl] {\n /* @noflip */\n border-top-left-radius: 0;\n /* @noflip */\n border-top-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-left-radius: 0;\n}\n@supports (top: max(0%)) {\n .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n width: max(12px, var(--mdc-shape-small, 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__notch {\n max-width: calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2);\n }\n}\n.mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing {\n /* @noflip */\n border-top-left-radius: 0;\n /* @noflip */\n border-top-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-left-radius: 0;\n}\n[dir=rtl] .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-select--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl] {\n /* @noflip */\n border-top-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-top-right-radius: 0;\n /* @noflip */\n border-bottom-right-radius: 0;\n /* @noflip */\n border-bottom-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-left-radius: var(--mdc-shape-small, 4px);\n}\n@supports (top: max(0%)) {\n .mdc-select--outlined .mdc-select__anchor {\n /* @noflip */\n padding-left: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n[dir=rtl] .mdc-select--outlined .mdc-select__anchor, .mdc-select--outlined .mdc-select__anchor[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n}\n@supports (top: max(0%)) {\n [dir=rtl] .mdc-select--outlined .mdc-select__anchor, .mdc-select--outlined .mdc-select__anchor[dir=rtl] {\n /* @noflip */\n padding-right: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-select--outlined + .mdc-select-helper-text {\n /* @noflip */\n margin-left: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n[dir=rtl] .mdc-select--outlined + .mdc-select-helper-text, .mdc-select--outlined + .mdc-select-helper-text[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n}\n@supports (top: max(0%)) {\n [dir=rtl] .mdc-select--outlined + .mdc-select-helper-text, .mdc-select--outlined + .mdc-select-helper-text[dir=rtl] {\n /* @noflip */\n margin-right: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n.mdc-select--outlined:not(.mdc-select--disabled) .mdc-select__anchor {\n background-color: transparent;\n}\n.mdc-select--outlined.mdc-select--disabled .mdc-select__anchor {\n background-color: transparent;\n}\n.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__leading,\n.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__notch,\n.mdc-select--outlined:not(.mdc-select--disabled) .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.38);\n}\n.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing {\n border-width: 2px;\n}\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: #6200ee;\n /* @alternate */\n border-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__leading,\n.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__notch,\n.mdc-select--outlined.mdc-select--disabled .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.06);\n}\n.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch {\n max-width: calc(100% - 60px);\n}\n.mdc-select--outlined .mdc-select__anchor {\n display: flex;\n align-items: baseline;\n overflow: visible;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-select-outlined 250ms 1;\n animation: mdc-floating-label-shake-float-above-select-outlined 250ms 1;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above {\n -webkit-transform: translateY(-37.25px) scale(1);\n transform: translateY(-37.25px) scale(1);\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-34.75px) scale(0.75);\n transform: translateY(-34.75px) scale(0.75);\n}\n.mdc-select--outlined .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 1px;\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text::before {\n content: "";\n}\n.mdc-select--outlined .mdc-select__anchor .mdc-select__selected-text-container {\n height: 100%;\n display: inline-flex;\n align-items: center;\n}\n.mdc-select--outlined .mdc-select__anchor::before {\n display: none;\n}\n.mdc-select--outlined .mdc-select__selected-text-container {\n display: flex;\n border: none;\n z-index: 1;\n background-color: transparent;\n}\n.mdc-select--outlined .mdc-select__icon {\n z-index: 2;\n}\n.mdc-select--outlined .mdc-floating-label {\n line-height: 1.15rem;\n /* @noflip */\n left: 4px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-select--outlined .mdc-floating-label, .mdc-select--outlined .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 4px;\n}\n.mdc-select--outlined.mdc-select--focused .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 2px;\n}\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__leading,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__notch,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled) .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled):not(.mdc-select--focused) .mdc-select__anchor:hover .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing {\n border-width: 2px;\n}\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-select--outlined.mdc-select--invalid:not(.mdc-select--disabled).mdc-select--focused .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label {\n /* @noflip */\n left: 36px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label, .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 36px;\n}\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above {\n -webkit-transform: translateY(-37.25px) translateX(-32px) scale(1);\n transform: translateY(-37.25px) translateX(-32px) scale(1);\n}\n[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above, .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above[dir=rtl] {\n -webkit-transform: translateY(-37.25px) translateX(32px) scale(1);\n transform: translateY(-37.25px) translateX(32px) scale(1);\n}\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-34.75px) translateX(-32px) scale(0.75);\n transform: translateY(-34.75px) translateX(-32px) scale(0.75);\n}\n[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],\n[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl] {\n -webkit-transform: translateY(-34.75px) translateX(32px) scale(0.75);\n transform: translateY(-34.75px) translateX(32px) scale(0.75);\n}\n.mdc-select--outlined.mdc-select--with-leading-icon.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;\n animation: mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px {\n 0% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px {\n 0% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n}\n[dir=rtl] .mdc-select--outlined.mdc-select--with-leading-icon .mdc-floating-label--shake, .mdc-select--outlined.mdc-select--with-leading-icon[dir=rtl] .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;\n animation: mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl {\n 0% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-select-outlined-leading-icon-56px-rtl {\n 0% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n}\n.mdc-select--outlined.mdc-select--with-leading-icon .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch {\n max-width: calc(100% - 96px);\n}\n.mdc-select--outlined .mdc-menu-surface {\n margin-bottom: 8px;\n}\n.mdc-select--outlined.mdc-select--no-label .mdc-menu-surface,\n.mdc-select--outlined .mdc-menu-surface--is-open-below {\n margin-bottom: 0;\n}\n\n.mdc-select__anchor {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-select__anchor .mdc-select__ripple::before,\n.mdc-select__anchor .mdc-select__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-select__anchor .mdc-select__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-select__anchor .mdc-select__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-select__anchor.mdc-ripple-upgraded--unbounded .mdc-select__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-select__anchor.mdc-ripple-upgraded--foreground-activation .mdc-select__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-select__anchor.mdc-ripple-upgraded--foreground-deactivation .mdc-select__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-select__anchor .mdc-select__ripple::before,\n.mdc-select__anchor .mdc-select__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-select__anchor.mdc-ripple-upgraded .mdc-select__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-select__anchor .mdc-select__ripple::before,\n.mdc-select__anchor .mdc-select__ripple::after {\n background-color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n background-color: var(--mdc-ripple-color, rgba(0, 0, 0, 0.87));\n}\n.mdc-select__anchor:hover .mdc-select__ripple::before, .mdc-select__anchor.mdc-ripple-surface--hover .mdc-select__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-select__anchor.mdc-ripple-upgraded--background-focused .mdc-select__ripple::before, .mdc-select__anchor:not(.mdc-ripple-upgraded):focus .mdc-select__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-select__anchor .mdc-select__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.mdc-select__menu .mdc-list .mdc-list-item--selected .mdc-list-item__ripple::before, .mdc-select__menu .mdc-list .mdc-list-item--selected .mdc-list-item__ripple::after {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000));\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected:hover .mdc-list-item__ripple::before, .mdc-select__menu .mdc-list .mdc-list-item--selected.mdc-ripple-surface--hover .mdc-list-item__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected.mdc-ripple-upgraded--background-focused .mdc-list-item__ripple::before, .mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded):focus .mdc-list-item__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded) .mdc-list-item__ripple::after {\n transition: opacity 150ms linear;\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected:not(.mdc-ripple-upgraded):active .mdc-list-item__ripple::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-select__menu .mdc-list .mdc-list-item--selected.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n\n.mdc-select-helper-text {\n margin: 0;\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.75rem;\n /* @alternate */\n font-size: var(--mdc-typography-caption-font-size, 0.75rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-caption-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-caption-font-weight, 400);\n letter-spacing: 0.0333333333em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-caption-text-transform, inherit);\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n}\n[dir=rtl] .mdc-select-helper-text, .mdc-select-helper-text[dir=rtl] {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 16px;\n}\n.mdc-select-helper-text::before {\n display: inline-block;\n width: 0;\n height: 16px;\n content: "";\n vertical-align: 0;\n}\n\n.mdc-select-helper-text--validation-msg {\n opacity: 0;\n transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-select--invalid + .mdc-select-helper-text--validation-msg,\n.mdc-select-helper-text--validation-msg-persistent {\n opacity: 1;\n}\n\n.mdc-select--with-leading-icon .mdc-select__icon {\n display: inline-block;\n box-sizing: border-box;\n border: none;\n text-decoration: none;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n flex-shrink: 0;\n align-self: center;\n background-color: transparent;\n fill: currentColor;\n}\n.mdc-select--with-leading-icon .mdc-select__icon {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: 12px;\n}\n[dir=rtl] .mdc-select--with-leading-icon .mdc-select__icon, .mdc-select--with-leading-icon .mdc-select__icon[dir=rtl] {\n /* @noflip */\n margin-left: 12px;\n /* @noflip */\n margin-right: 12px;\n}\n\n.mdc-select__icon:not([tabindex]),\n.mdc-select__icon[tabindex="-1"] {\n cursor: default;\n pointer-events: none;\n}\n\n/*# sourceMappingURL=mdc.select.css.map*/'},3881:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-slider__thumb {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-slider__thumb::before, .mdc-slider__thumb::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-slider__thumb::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-slider__thumb::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-slider__thumb.mdc-ripple-upgraded::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-slider__thumb.mdc-ripple-upgraded::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-slider__thumb.mdc-ripple-upgraded--unbounded::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-slider__thumb.mdc-ripple-upgraded--foreground-activation::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-slider__thumb.mdc-ripple-upgraded--foreground-deactivation::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-slider__thumb::before, .mdc-slider__thumb::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-slider__thumb.mdc-ripple-upgraded::before, .mdc-slider__thumb.mdc-ripple-upgraded::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-slider__thumb.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-slider__thumb::before, .mdc-slider__thumb::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-slider__thumb:hover::before, .mdc-slider__thumb.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before, .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-slider__thumb:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-slider__thumb.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n\n.mdc-slider {\n cursor: pointer;\n height: 48px;\n margin: 0 24px;\n position: relative;\n touch-action: pan-y;\n}\n.mdc-slider .mdc-slider__track {\n height: 4px;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n width: 100%;\n}\n.mdc-slider .mdc-slider__track--active,\n.mdc-slider .mdc-slider__track--inactive {\n display: flex;\n height: 100%;\n position: absolute;\n width: 100%;\n}\n.mdc-slider .mdc-slider__track--active {\n border-radius: 3px;\n height: 6px;\n overflow: hidden;\n top: -1px;\n}\n.mdc-slider .mdc-slider__track--active_fill {\n border: 6px solid;\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n position: relative;\n /* @noflip */\n -webkit-transform-origin: left;\n transform-origin: left;\n}\n[dir=rtl] .mdc-slider .mdc-slider__track--active_fill, .mdc-slider .mdc-slider__track--active_fill[dir=rtl] {\n /* @noflip */\n -webkit-transform-origin: right;\n transform-origin: right;\n}\n.mdc-slider .mdc-slider__track--inactive {\n border-radius: 2px;\n height: 4px;\n left: 0;\n outline: 1px solid transparent;\n top: 0;\n}\n.mdc-slider .mdc-slider__track--active_fill {\n border-color: #6200ee;\n /* @alternate */\n border-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill {\n border-color: #000;\n /* @alternate */\n border-color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-slider .mdc-slider__track--inactive {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-theme-primary, #6200ee);\n opacity: 0.24;\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-theme-on-surface, #000);\n opacity: 0.24;\n}\n.mdc-slider .mdc-slider__value-indicator-container {\n bottom: 44px;\n left: 50%;\n position: absolute;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n visibility: hidden;\n}\n.mdc-slider .mdc-slider__value-indicator {\n transition: -webkit-transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);\n transition: transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1), -webkit-transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);\n align-items: center;\n border-radius: 4px;\n display: flex;\n height: 32px;\n outline: 1px solid transparent;\n padding: 0 12px;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: bottom;\n transform-origin: bottom;\n}\n.mdc-slider .mdc-slider__value-indicator::before {\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid;\n bottom: -5px;\n content: "";\n height: 0;\n left: 50%;\n position: absolute;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n width: 0;\n}\n.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container {\n visibility: visible;\n}\n.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator {\n transition: -webkit-transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n@media (prefers-reduced-motion) {\n .mdc-slider .mdc-slider__value-indicator,\n.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator {\n transition: none;\n }\n}\n.mdc-slider .mdc-slider__value-indicator-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle2-font-size, 0.875rem);\n line-height: 1.375rem;\n /* @alternate */\n line-height: var(--mdc-typography-subtitle2-line-height, 1.375rem);\n font-weight: 500;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle2-font-weight, 500);\n letter-spacing: 0.0071428571em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle2-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle2-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle2-text-transform, inherit);\n}\n.mdc-slider .mdc-slider__value-indicator {\n background-color: #000;\n opacity: 0.6;\n}\n.mdc-slider .mdc-slider__value-indicator::before {\n border-top-color: #000;\n}\n.mdc-slider .mdc-slider__value-indicator {\n color: #fff;\n /* @alternate */\n color: var(--mdc-theme-on-primary, #fff);\n}\n.mdc-slider .mdc-slider__thumb {\n display: flex;\n height: 48px;\n left: -24px;\n outline: none;\n position: absolute;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n width: 48px;\n}\n.mdc-slider .mdc-slider__thumb--top {\n z-index: 1;\n}\n.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob {\n border: 1px solid;\n box-sizing: content-box;\n border-color: #fff;\n}\n.mdc-slider .mdc-slider__thumb-knob {\n /* @alternate */\n box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n border: 10px solid;\n border-radius: 50%;\n box-sizing: border-box;\n height: 20px;\n /* @noflip */\n left: 50%;\n position: absolute;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 20px;\n}\n.mdc-slider .mdc-slider__thumb-knob {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-theme-primary, #6200ee);\n border-color: #6200ee;\n /* @alternate */\n border-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-theme-on-surface, #000);\n border-color: #000;\n /* @alternate */\n border-color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-slider .mdc-slider__thumb::before, .mdc-slider .mdc-slider__thumb::after {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee));\n}\n.mdc-slider .mdc-slider__thumb:hover::before, .mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before, .mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-slider .mdc-slider__tick-marks {\n align-items: center;\n box-sizing: border-box;\n display: flex;\n height: 100%;\n justify-content: space-between;\n padding: 0 1px;\n position: absolute;\n width: 100%;\n}\n.mdc-slider .mdc-slider__tick-mark--active,\n.mdc-slider .mdc-slider__tick-mark--inactive {\n border-radius: 50%;\n height: 2px;\n width: 2px;\n}\n.mdc-slider .mdc-slider__tick-mark--active {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-theme-on-primary, #fff);\n opacity: 0.6;\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-theme-on-primary, #fff);\n opacity: 0.6;\n}\n.mdc-slider .mdc-slider__tick-mark--inactive {\n background-color: #6200ee;\n /* @alternate */\n background-color: var(--mdc-theme-primary, #6200ee);\n opacity: 0.6;\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-theme-on-surface, #000);\n opacity: 0.6;\n}\n.mdc-slider.mdc-slider--disabled {\n opacity: 0.38;\n cursor: auto;\n}\n.mdc-slider.mdc-slider--disabled .mdc-slider__thumb {\n pointer-events: none;\n}\n.mdc-slider--discrete .mdc-slider__thumb,\n.mdc-slider--discrete .mdc-slider__track--active_fill {\n transition: -webkit-transform 80ms ease;\n transition: transform 80ms ease;\n transition: transform 80ms ease, -webkit-transform 80ms ease;\n}\n@media (prefers-reduced-motion) {\n .mdc-slider--discrete .mdc-slider__thumb,\n.mdc-slider--discrete .mdc-slider__track--active_fill {\n transition: none;\n }\n}\n\n.mdc-slider__input {\n cursor: pointer;\n left: 0;\n margin: 0;\n height: 100%;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n/*# sourceMappingURL=mdc.slider.css.map*/'},8313:function(t){"use strict";t.exports="/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-snackbar {\n z-index: 8;\n margin: 8px;\n display: none;\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n pointer-events: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.mdc-snackbar__surface {\n background-color: #333333;\n}\n\n.mdc-snackbar__label {\n color: rgba(255, 255, 255, 0.87);\n}\n\n.mdc-snackbar__surface {\n min-width: 344px;\n}\n@media (max-width: 480px), (max-width: 344px) {\n .mdc-snackbar__surface {\n min-width: 100%;\n }\n}\n\n.mdc-snackbar__surface {\n max-width: 672px;\n}\n\n.mdc-snackbar__surface {\n /* @alternate */\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n}\n\n.mdc-snackbar__surface {\n border-radius: 4px;\n /* @alternate */\n border-radius: var(--mdc-shape-small, 4px);\n}\n\n.mdc-snackbar--opening,\n.mdc-snackbar--open,\n.mdc-snackbar--closing {\n display: flex;\n}\n\n.mdc-snackbar--open .mdc-snackbar__label,\n.mdc-snackbar--open .mdc-snackbar__actions {\n visibility: visible;\n}\n\n.mdc-snackbar--leading {\n justify-content: flex-start;\n}\n\n.mdc-snackbar--stacked .mdc-snackbar__label {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 8px;\n padding-bottom: 12px;\n}\n[dir=rtl] .mdc-snackbar--stacked .mdc-snackbar__label, .mdc-snackbar--stacked .mdc-snackbar__label[dir=rtl] {\n /* @noflip */\n padding-left: 8px;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-snackbar--stacked .mdc-snackbar__surface {\n flex-direction: column;\n align-items: flex-start;\n}\n.mdc-snackbar--stacked .mdc-snackbar__actions {\n align-self: flex-end;\n margin-bottom: 8px;\n}\n\n.mdc-snackbar__surface {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 8px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n -webkit-transform: scale(0.8);\n transform: scale(0.8);\n opacity: 0;\n}\n[dir=rtl] .mdc-snackbar__surface, .mdc-snackbar__surface[dir=rtl] {\n /* @noflip */\n padding-left: 8px;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-snackbar--open .mdc-snackbar__surface {\n -webkit-transform: scale(1);\n transform: scale(1);\n opacity: 1;\n pointer-events: auto;\n transition: opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n transition: opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1), -webkit-transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\n}\n.mdc-snackbar--closing .mdc-snackbar__surface {\n -webkit-transform: scale(1);\n transform: scale(1);\n transition: opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1);\n}\n\n.mdc-snackbar__label {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.875rem;\n /* @alternate */\n font-size: var(--mdc-typography-body2-font-size, 0.875rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-body2-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-body2-font-weight, 400);\n letter-spacing: 0.0178571429em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-body2-letter-spacing, 0.0178571429em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-decoration: var(--mdc-typography-body2-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-body2-text-transform, inherit);\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 8px;\n width: 100%;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n visibility: hidden;\n padding-top: 14px;\n padding-bottom: 14px;\n}\n[dir=rtl] .mdc-snackbar__label, .mdc-snackbar__label[dir=rtl] {\n /* @noflip */\n padding-left: 8px;\n /* @noflip */\n padding-right: 16px;\n}\n\n.mdc-snackbar__label::before {\n display: inline;\n content: attr(data-mdc-snackbar-label-text);\n}\n\n.mdc-snackbar__actions {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n box-sizing: border-box;\n visibility: hidden;\n}\n\n.mdc-snackbar__action:not(:disabled) {\n color: #bb86fc;\n}\n.mdc-snackbar__action::before, .mdc-snackbar__action::after {\n background-color: #bb86fc;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #bb86fc);\n}\n.mdc-snackbar__action:hover::before, .mdc-snackbar__action.mdc-ripple-surface--hover::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.08);\n}\n.mdc-snackbar__action.mdc-ripple-upgraded--background-focused::before, .mdc-snackbar__action:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-snackbar__action:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-snackbar__action:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-snackbar__action.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n\n.mdc-snackbar__dismiss {\n color: rgba(255, 255, 255, 0.87);\n}\n.mdc-snackbar__dismiss::before, .mdc-snackbar__dismiss::after {\n background-color: rgba(255, 255, 255, 0.87);\n /* @alternate */\n background-color: var(--mdc-ripple-color, rgba(255, 255, 255, 0.87));\n}\n.mdc-snackbar__dismiss:hover::before, .mdc-snackbar__dismiss.mdc-ripple-surface--hover::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.08);\n}\n.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused::before, .mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-snackbar__dismiss.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n\n.mdc-snackbar__dismiss.mdc-snackbar__dismiss {\n width: 36px;\n height: 36px;\n padding: 9px;\n font-size: 18px;\n}\n.mdc-snackbar__dismiss.mdc-snackbar__dismiss svg,\n.mdc-snackbar__dismiss.mdc-snackbar__dismiss img {\n width: 18px;\n height: 18px;\n}\n\n.mdc-snackbar__action + .mdc-snackbar__dismiss {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 0;\n}\n[dir=rtl] .mdc-snackbar__action + .mdc-snackbar__dismiss, .mdc-snackbar__action + .mdc-snackbar__dismiss[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 8px;\n}\n\n/*# sourceMappingURL=mdc.snackbar.css.map*/"},9439:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-switch__thumb-underlay {\n /* @noflip */\n left: -14px;\n /* @noflip */\n right: initial;\n top: -17px;\n width: 48px;\n height: 48px;\n}\n[dir=rtl] .mdc-switch__thumb-underlay, .mdc-switch__thumb-underlay[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: -14px;\n}\n\n.mdc-switch__native-control {\n width: 64px;\n height: 48px;\n}\n\n.mdc-switch {\n display: inline-block;\n position: relative;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.mdc-switch.mdc-switch--checked .mdc-switch__track {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-theme-secondary, #018786);\n}\n.mdc-switch.mdc-switch--checked .mdc-switch__thumb {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-theme-secondary, #018786);\n border-color: #018786;\n /* @alternate */\n border-color: var(--mdc-theme-secondary, #018786);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__track {\n background-color: #000;\n /* @alternate */\n background-color: var(--mdc-theme-on-surface, #000);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb {\n background-color: #fff;\n /* @alternate */\n background-color: var(--mdc-theme-surface, #fff);\n border-color: #fff;\n /* @alternate */\n border-color: var(--mdc-theme-surface, #fff);\n}\n\n.mdc-switch__native-control {\n /* @noflip */\n left: 0;\n /* @noflip */\n right: initial;\n position: absolute;\n top: 0;\n margin: 0;\n opacity: 0;\n cursor: pointer;\n pointer-events: auto;\n transition: -webkit-transform 90ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 90ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 90ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 90ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n[dir=rtl] .mdc-switch__native-control, .mdc-switch__native-control[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 0;\n}\n\n.mdc-switch__track {\n box-sizing: border-box;\n width: 36px;\n height: 14px;\n border: 1px solid transparent;\n border-radius: 7px;\n opacity: 0.38;\n transition: opacity 90ms cubic-bezier(0.4, 0, 0.2, 1), background-color 90ms cubic-bezier(0.4, 0, 0.2, 1), border-color 90ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-switch__thumb-underlay {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n transition: background-color 90ms cubic-bezier(0.4, 0, 0.2, 1), border-color 90ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 90ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 90ms cubic-bezier(0.4, 0, 0.2, 1), background-color 90ms cubic-bezier(0.4, 0, 0.2, 1), border-color 90ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 90ms cubic-bezier(0.4, 0, 0.2, 1), background-color 90ms cubic-bezier(0.4, 0, 0.2, 1), border-color 90ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 90ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-switch__thumb {\n /* @alternate */\n box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\n box-sizing: border-box;\n width: 20px;\n height: 20px;\n border: 10px solid;\n border-radius: 50%;\n pointer-events: none;\n z-index: 1;\n}\n\n.mdc-switch--checked .mdc-switch__track {\n opacity: 0.54;\n}\n.mdc-switch--checked .mdc-switch__thumb-underlay {\n -webkit-transform: translateX(16px);\n transform: translateX(16px);\n}\n[dir=rtl] .mdc-switch--checked .mdc-switch__thumb-underlay, .mdc-switch--checked .mdc-switch__thumb-underlay[dir=rtl] {\n -webkit-transform: translateX(-16px);\n transform: translateX(-16px);\n}\n.mdc-switch--checked .mdc-switch__native-control {\n -webkit-transform: translateX(-16px);\n transform: translateX(-16px);\n}\n[dir=rtl] .mdc-switch--checked .mdc-switch__native-control, .mdc-switch--checked .mdc-switch__native-control[dir=rtl] {\n -webkit-transform: translateX(16px);\n transform: translateX(16px);\n}\n\n.mdc-switch--disabled {\n opacity: 0.38;\n pointer-events: none;\n}\n.mdc-switch--disabled .mdc-switch__thumb {\n border-width: 1px;\n}\n.mdc-switch--disabled .mdc-switch__native-control {\n cursor: default;\n pointer-events: none;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay::before, .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay::after {\n background-color: #9e9e9e;\n /* @alternate */\n background-color: var(--mdc-ripple-color, #9e9e9e);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:hover::before, .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay.mdc-ripple-surface--hover::before {\n opacity: 0.08;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.08);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay.mdc-ripple-upgraded--background-focused::before, .mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.24);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.24;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n.mdc-switch:not(.mdc-switch--checked) .mdc-switch__thumb-underlay.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.24);\n}\n\n.mdc-switch__thumb-underlay {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-switch__thumb-underlay::before, .mdc-switch__thumb-underlay::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-switch__thumb-underlay::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-switch__thumb-underlay::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded--unbounded::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded--foreground-activation::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded--foreground-deactivation::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-switch__thumb-underlay::before, .mdc-switch__thumb-underlay::after {\n top: calc(50% - 50%);\n /* @noflip */\n left: calc(50% - 50%);\n width: 100%;\n height: 100%;\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded::before, .mdc-switch__thumb-underlay.mdc-ripple-upgraded::after {\n top: var(--mdc-ripple-top, calc(50% - 50%));\n /* @noflip */\n left: var(--mdc-ripple-left, calc(50% - 50%));\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n.mdc-switch__thumb-underlay::before, .mdc-switch__thumb-underlay::after {\n background-color: #018786;\n /* @alternate */\n background-color: var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786));\n}\n.mdc-switch__thumb-underlay:hover::before, .mdc-switch__thumb-underlay.mdc-ripple-surface--hover::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded--background-focused::before, .mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):focus::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded)::after {\n transition: opacity 150ms linear;\n}\n.mdc-switch__thumb-underlay:not(.mdc-ripple-upgraded):active::after {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n.mdc-switch__thumb-underlay.mdc-ripple-upgraded {\n --mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);\n}\n\n/*# sourceMappingURL=mdc.switch.css.map*/'},9224:function(t){"use strict";t.exports='/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE\n */\n.mdc-floating-label {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n position: absolute;\n /* @noflip */\n left: 0;\n /* @noflip */\n -webkit-transform-origin: left top;\n transform-origin: left top;\n line-height: 1.15rem;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: text;\n overflow: hidden;\n /* @alternate */\n will-change: transform;\n transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n[dir=rtl] .mdc-floating-label, .mdc-floating-label[dir=rtl] {\n /* @noflip */\n right: 0;\n /* @noflip */\n left: auto;\n /* @noflip */\n -webkit-transform-origin: right top;\n transform-origin: right top;\n /* @noflip */\n text-align: right;\n}\n\n.mdc-floating-label--float-above {\n cursor: auto;\n}\n\n.mdc-floating-label--required::after {\n /* @noflip */\n margin-left: 1px;\n /* @noflip */\n margin-right: 0px;\n content: "*";\n}\n[dir=rtl] .mdc-floating-label--required::after, .mdc-floating-label--required[dir=rtl]::after {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: 1px;\n}\n\n.mdc-floating-label--float-above {\n -webkit-transform: translateY(-106%) scale(0.75);\n transform: translateY(-106%) scale(0.75);\n}\n\n.mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n animation: mdc-floating-label-shake-float-above-standard 250ms 1;\n}\n\n@-webkit-keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n\n@keyframes mdc-floating-label-shake-float-above-standard {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-106%) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-106%) scale(0.75);\n }\n}\n.mdc-line-ripple::before, .mdc-line-ripple::after {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n border-bottom-style: solid;\n content: "";\n}\n.mdc-line-ripple::before {\n border-bottom-width: 1px;\n z-index: 1;\n}\n.mdc-line-ripple::after {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n border-bottom-width: 2px;\n opacity: 0;\n z-index: 2;\n}\n.mdc-line-ripple::after {\n transition: opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 180ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.mdc-line-ripple--active::after {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n opacity: 1;\n}\n\n.mdc-line-ripple--deactivating::after {\n opacity: 0;\n}\n\n.mdc-notched-outline {\n display: flex;\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n height: 100%;\n /* @noflip */\n text-align: left;\n pointer-events: none;\n}\n[dir=rtl] .mdc-notched-outline, .mdc-notched-outline[dir=rtl] {\n /* @noflip */\n text-align: right;\n}\n.mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {\n box-sizing: border-box;\n height: 100%;\n border-top: 1px solid;\n border-bottom: 1px solid;\n pointer-events: none;\n}\n.mdc-notched-outline__leading {\n /* @noflip */\n border-left: 1px solid;\n /* @noflip */\n border-right: none;\n width: 12px;\n}\n[dir=rtl] .mdc-notched-outline__leading, .mdc-notched-outline__leading[dir=rtl] {\n /* @noflip */\n border-left: none;\n /* @noflip */\n border-right: 1px solid;\n}\n.mdc-notched-outline__trailing {\n /* @noflip */\n border-left: none;\n /* @noflip */\n border-right: 1px solid;\n flex-grow: 1;\n}\n[dir=rtl] .mdc-notched-outline__trailing, .mdc-notched-outline__trailing[dir=rtl] {\n /* @noflip */\n border-left: 1px solid;\n /* @noflip */\n border-right: none;\n}\n.mdc-notched-outline__notch {\n flex: 0 0 auto;\n width: auto;\n max-width: calc(100% - 12px * 2);\n}\n.mdc-notched-outline .mdc-floating-label {\n display: inline-block;\n position: relative;\n max-width: 100%;\n}\n.mdc-notched-outline .mdc-floating-label--float-above {\n text-overflow: clip;\n}\n.mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75);\n}\n\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 8px;\n border-top: none;\n}\n[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch, .mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl] {\n /* @noflip */\n padding-left: 8px;\n /* @noflip */\n padding-right: 0;\n}\n\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\n display: none;\n}\n\n@-webkit-keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n\n@keyframes mdc-ripple-fg-radius-in {\n from {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);\n }\n to {\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@keyframes mdc-ripple-fg-opacity-in {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: 0;\n }\n to {\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n}\n@-webkit-keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n@keyframes mdc-ripple-fg-opacity-out {\n from {\n -webkit-animation-timing-function: linear;\n animation-timing-function: linear;\n opacity: var(--mdc-ripple-fg-opacity, 0);\n }\n to {\n opacity: 0;\n }\n}\n.mdc-text-field--filled {\n --mdc-ripple-fg-size: 0;\n --mdc-ripple-left: 0;\n --mdc-ripple-top: 0;\n --mdc-ripple-fg-scale: 1;\n --mdc-ripple-fg-translate-end: 0;\n --mdc-ripple-fg-translate-start: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n will-change: transform, opacity;\n}\n.mdc-text-field--filled .mdc-text-field__ripple::before,\n.mdc-text-field--filled .mdc-text-field__ripple::after {\n position: absolute;\n border-radius: 50%;\n opacity: 0;\n pointer-events: none;\n content: "";\n}\n.mdc-text-field--filled .mdc-text-field__ripple::before {\n transition: opacity 15ms linear, background-color 15ms linear;\n z-index: 1;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 1);\n}\n.mdc-text-field--filled .mdc-text-field__ripple::after {\n z-index: 0;\n /* @alternate */\n z-index: var(--mdc-ripple-z-index, 0);\n}\n.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before {\n -webkit-transform: scale(var(--mdc-ripple-fg-scale, 1));\n transform: scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after {\n top: 0;\n /* @noflip */\n left: 0;\n -webkit-transform: scale(0);\n transform: scale(0);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after {\n top: var(--mdc-ripple-top, 0);\n /* @noflip */\n left: var(--mdc-ripple-left, 0);\n}\n.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after {\n -webkit-animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;\n}\n.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after {\n -webkit-animation: mdc-ripple-fg-opacity-out 150ms;\n animation: mdc-ripple-fg-opacity-out 150ms;\n -webkit-transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));\n}\n.mdc-text-field--filled .mdc-text-field__ripple::before,\n.mdc-text-field--filled .mdc-text-field__ripple::after {\n top: calc(50% - 100%);\n /* @noflip */\n left: calc(50% - 100%);\n width: 200%;\n height: 200%;\n}\n.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after {\n width: var(--mdc-ripple-fg-size, 100%);\n height: var(--mdc-ripple-fg-size, 100%);\n}\n\n.mdc-text-field__ripple {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.mdc-text-field {\n border-top-left-radius: 4px;\n /* @alternate */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n border-top-right-radius: 4px;\n /* @alternate */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n display: inline-flex;\n align-items: baseline;\n padding: 0 16px;\n position: relative;\n box-sizing: border-box;\n overflow: hidden;\n /* @alternate */\n will-change: opacity, transform, color;\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {\n color: rgba(0, 0, 0, 0.87);\n}\n@media all {\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {\n color: rgba(0, 0, 0, 0.54);\n }\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.54);\n }\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.54);\n }\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {\n color: rgba(0, 0, 0, 0.54);\n }\n}\n@media all {\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.54);\n }\n}\n.mdc-text-field .mdc-text-field__input {\n caret-color: #6200ee;\n /* @alternate */\n caret-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,\n.mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-character-counter {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading {\n color: rgba(0, 0, 0, 0.54);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing {\n color: rgba(0, 0, 0, 0.54);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix {\n color: rgba(0, 0, 0, 0.6);\n}\n.mdc-text-field .mdc-floating-label {\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n pointer-events: none;\n}\n\n.mdc-text-field__input {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n height: 28px;\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n width: 100%;\n min-width: 0;\n border: none;\n border-radius: 0;\n background: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n padding: 0;\n}\n.mdc-text-field__input::-ms-clear {\n display: none;\n}\n.mdc-text-field__input::-webkit-calendar-picker-indicator {\n display: none;\n}\n.mdc-text-field__input:focus {\n outline: none;\n}\n.mdc-text-field__input:invalid {\n box-shadow: none;\n}\n@media all {\n .mdc-text-field__input::-webkit-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n }\n .mdc-text-field__input:-ms-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n }\n .mdc-text-field__input::-ms-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n }\n .mdc-text-field__input::placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n }\n}\n@media all {\n .mdc-text-field__input:-ms-input-placeholder {\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n }\n}\n@media all {\n .mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n }\n .mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n }\n .mdc-text-field--no-label .mdc-text-field__input::-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-ms-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n }\n .mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n }\n}\n@media all {\n .mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {\n transition-delay: 40ms;\n transition-duration: 110ms;\n opacity: 1;\n }\n}\n\n.mdc-text-field__affix {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 1rem;\n /* @alternate */\n font-size: var(--mdc-typography-subtitle1-font-size, 1rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-subtitle1-font-weight, 400);\n letter-spacing: 0.009375em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-decoration: var(--mdc-typography-subtitle1-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-subtitle1-text-transform, inherit);\n height: 28px;\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n opacity: 0;\n white-space: nowrap;\n}\n.mdc-text-field--label-floating .mdc-text-field__affix, .mdc-text-field--no-label .mdc-text-field__affix {\n opacity: 1;\n}\n@supports (-webkit-hyphens: none) {\n .mdc-text-field--outlined .mdc-text-field__affix {\n align-items: center;\n align-self: center;\n display: inline-flex;\n height: 100%;\n }\n}\n\n.mdc-text-field__affix--prefix {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 2px;\n}\n[dir=rtl] .mdc-text-field__affix--prefix, .mdc-text-field__affix--prefix[dir=rtl] {\n /* @noflip */\n padding-left: 2px;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-text-field--end-aligned .mdc-text-field__affix--prefix {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 12px;\n}\n[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix, .mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl] {\n /* @noflip */\n padding-left: 12px;\n /* @noflip */\n padding-right: 0;\n}\n\n.mdc-text-field__affix--suffix {\n /* @noflip */\n padding-left: 12px;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-text-field__affix--suffix, .mdc-text-field__affix--suffix[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 12px;\n}\n.mdc-text-field--end-aligned .mdc-text-field__affix--suffix {\n /* @noflip */\n padding-left: 2px;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix, .mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 2px;\n}\n\n.mdc-text-field--filled {\n height: 56px;\n}\n.mdc-text-field--filled .mdc-text-field__ripple::before,\n.mdc-text-field--filled .mdc-text-field__ripple::after {\n background-color: rgba(0, 0, 0, 0.87);\n /* @alternate */\n background-color: var(--mdc-ripple-color, rgba(0, 0, 0, 0.87));\n}\n.mdc-text-field--filled:hover .mdc-text-field__ripple::before, .mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before {\n opacity: 0.04;\n /* @alternate */\n opacity: var(--mdc-ripple-hover-opacity, 0.04);\n}\n.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before, .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {\n transition-duration: 75ms;\n opacity: 0.12;\n /* @alternate */\n opacity: var(--mdc-ripple-focus-opacity, 0.12);\n}\n.mdc-text-field--filled::before {\n display: inline-block;\n width: 0;\n height: 40px;\n content: "";\n vertical-align: 0;\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) {\n background-color: whitesmoke;\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.42);\n}\n.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.87);\n}\n.mdc-text-field--filled .mdc-line-ripple::after {\n border-bottom-color: #6200ee;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-text-field--filled .mdc-floating-label {\n /* @noflip */\n left: 16px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-text-field--filled .mdc-floating-label, .mdc-text-field--filled .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 16px;\n}\n.mdc-text-field--filled .mdc-floating-label--float-above {\n -webkit-transform: translateY(-106%) scale(0.75);\n transform: translateY(-106%) scale(0.75);\n}\n.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {\n height: 100%;\n}\n.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {\n display: none;\n}\n.mdc-text-field--filled.mdc-text-field--no-label::before {\n display: none;\n}\n@supports (-webkit-hyphens: none) {\n .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix {\n align-items: center;\n align-self: center;\n display: inline-flex;\n height: 100%;\n }\n}\n\n.mdc-text-field--outlined {\n height: 56px;\n overflow: visible;\n}\n.mdc-text-field--outlined .mdc-floating-label--float-above {\n -webkit-transform: translateY(-37.25px) scale(1);\n transform: translateY(-37.25px) scale(1);\n}\n.mdc-text-field--outlined .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-34.75px) scale(0.75);\n transform: translateY(-34.75px) scale(0.75);\n}\n.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-text-field--outlined .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1;\n animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75);\n }\n}\n.mdc-text-field--outlined .mdc-text-field__input {\n height: 100%;\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.87);\n}\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\n.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\n border-color: #6200ee;\n /* @alternate */\n border-color: var(--mdc-theme-primary, #6200ee);\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n /* @noflip */\n border-top-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-top-right-radius: 0;\n /* @noflip */\n border-bottom-right-radius: 0;\n /* @noflip */\n border-bottom-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-left-radius: var(--mdc-shape-small, 4px);\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl] {\n /* @noflip */\n border-top-left-radius: 0;\n /* @noflip */\n border-top-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-left-radius: 0;\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\n width: max(12px, var(--mdc-shape-small, 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {\n max-width: calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2);\n }\n}\n.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing {\n /* @noflip */\n border-top-left-radius: 0;\n /* @noflip */\n border-top-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-right-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-right-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-bottom-left-radius: 0;\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl] {\n /* @noflip */\n border-top-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-top-left-radius: var(--mdc-shape-small, 4px);\n /* @noflip */\n border-top-right-radius: 0;\n /* @noflip */\n border-bottom-right-radius: 0;\n /* @noflip */\n border-bottom-left-radius: 4px;\n /* @alternate */\n /* @noflip */\n border-bottom-left-radius: var(--mdc-shape-small, 4px);\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined {\n /* @noflip */\n padding-left: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined {\n /* @noflip */\n padding-right: max(16px, var(--mdc-shape-small, 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined + .mdc-text-field-helper-line {\n /* @noflip */\n padding-left: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined + .mdc-text-field-helper-line {\n /* @noflip */\n padding-right: max(16px, var(--mdc-shape-small, 4px));\n }\n}\n.mdc-text-field--outlined.mdc-text-field--with-leading-icon {\n /* @noflip */\n padding-left: 0;\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined.mdc-text-field--with-leading-icon {\n /* @noflip */\n padding-right: max(16px, var(--mdc-shape-small, 4px));\n }\n}\n[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon, .mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl] {\n /* @noflip */\n padding-right: 0;\n}\n@supports (top: max(0%)) {\n [dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon, .mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl] {\n /* @noflip */\n padding-left: max(16px, var(--mdc-shape-small, 4px));\n }\n}\n.mdc-text-field--outlined.mdc-text-field--with-trailing-icon {\n /* @noflip */\n padding-right: 0;\n}\n@supports (top: max(0%)) {\n .mdc-text-field--outlined.mdc-text-field--with-trailing-icon {\n /* @noflip */\n padding-left: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon, .mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n}\n@supports (top: max(0%)) {\n [dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon, .mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl] {\n /* @noflip */\n padding-right: max(16px, calc(var(--mdc-shape-small, 4px) + 4px));\n }\n}\n.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 1px;\n}\n.mdc-text-field--outlined .mdc-text-field__ripple::before,\n.mdc-text-field--outlined .mdc-text-field__ripple::after {\n content: none;\n}\n.mdc-text-field--outlined .mdc-floating-label {\n /* @noflip */\n left: 4px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--outlined .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 4px;\n}\n.mdc-text-field--outlined .mdc-text-field__input {\n display: flex;\n border: none !important;\n background-color: transparent;\n}\n.mdc-text-field--outlined .mdc-notched-outline {\n z-index: 1;\n}\n\n.mdc-text-field--textarea {\n flex-direction: column;\n align-items: center;\n width: auto;\n height: auto;\n padding: 0;\n transition: none;\n}\n.mdc-text-field--textarea .mdc-floating-label {\n top: 19px;\n}\n.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above) {\n -webkit-transform: none;\n transform: none;\n}\n.mdc-text-field--textarea .mdc-text-field__input {\n flex-grow: 1;\n height: auto;\n min-height: 1.5rem;\n overflow-x: hidden;\n overflow-y: auto;\n box-sizing: border-box;\n resize: none;\n padding: 0 16px;\n line-height: 1.5rem;\n}\n.mdc-text-field--textarea.mdc-text-field--filled::before {\n display: none;\n}\n.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above {\n -webkit-transform: translateY(-10.25px) scale(0.75);\n transform: translateY(-10.25px) scale(0.75);\n}\n.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-textarea-filled 250ms 1;\n animation: mdc-floating-label-shake-float-above-textarea-filled 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-textarea-filled {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-textarea-filled {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75);\n }\n}\n.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input {\n margin-top: 23px;\n margin-bottom: 9px;\n}\n.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {\n margin-top: 16px;\n margin-bottom: 16px;\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 0;\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above {\n -webkit-transform: translateY(-27.25px) scale(1);\n transform: translateY(-27.25px) scale(1);\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-24.75px) scale(0.75);\n transform: translateY(-24.75px) scale(0.75);\n}\n.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-textarea-outlined 250ms 1;\n animation: mdc-floating-label-shake-float-above-textarea-outlined 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-textarea-outlined {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-textarea-outlined {\n 0% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n transform: translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75);\n }\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input {\n margin-top: 16px;\n margin-bottom: 16px;\n}\n.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label {\n top: 18px;\n}\n.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input {\n margin-bottom: 2px;\n}\n.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter {\n align-self: flex-end;\n padding: 0 16px;\n}\n.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after {\n display: inline-block;\n width: 0;\n height: 16px;\n content: "";\n vertical-align: -16px;\n}\n.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before {\n display: none;\n}\n\n.mdc-text-field__resizer {\n align-self: stretch;\n display: inline-flex;\n flex-direction: column;\n flex-grow: 1;\n max-height: 100%;\n max-width: 100%;\n min-height: 56px;\n min-width: -webkit-fit-content;\n min-width: -moz-fit-content;\n min-width: fit-content;\n /* @alternate */\n min-width: -moz-available;\n /* @alternate */\n min-width: -webkit-fill-available;\n overflow: hidden;\n resize: both;\n}\n.mdc-text-field--filled .mdc-text-field__resizer {\n -webkit-transform: translateY(-1px);\n transform: translateY(-1px);\n}\n.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,\n.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter {\n -webkit-transform: translateY(1px);\n transform: translateY(1px);\n}\n.mdc-text-field--outlined .mdc-text-field__resizer {\n -webkit-transform: translateX(-1px) translateY(-1px);\n transform: translateX(-1px) translateY(-1px);\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer, .mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl] {\n -webkit-transform: translateX(1px) translateY(-1px);\n transform: translateX(1px) translateY(-1px);\n}\n.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,\n.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter {\n -webkit-transform: translateX(1px) translateY(1px);\n transform: translateX(1px) translateY(1px);\n}\n[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input, .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],\n[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,\n.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl] {\n -webkit-transform: translateX(-1px) translateY(1px);\n transform: translateX(-1px) translateY(1px);\n}\n\n.mdc-text-field--with-leading-icon {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 16px;\n}\n[dir=rtl] .mdc-text-field--with-leading-icon, .mdc-text-field--with-leading-icon[dir=rtl] {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label {\n max-width: calc(100% - 48px);\n /* @noflip */\n left: 48px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 48px;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 64px / 0.75);\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label {\n /* @noflip */\n left: 36px;\n /* @noflip */\n right: initial;\n}\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl] {\n /* @noflip */\n left: initial;\n /* @noflip */\n right: 36px;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch {\n max-width: calc(100% - 60px);\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\n -webkit-transform: translateY(-37.25px) translateX(-32px) scale(1);\n transform: translateY(-37.25px) translateX(-32px) scale(1);\n}\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl] {\n -webkit-transform: translateY(-37.25px) translateX(32px) scale(1);\n transform: translateY(-37.25px) translateX(32px) scale(1);\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\n font-size: 0.75rem;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n -webkit-transform: translateY(-34.75px) translateX(-32px) scale(0.75);\n transform: translateY(-34.75px) translateX(-32px) scale(0.75);\n}\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl] {\n -webkit-transform: translateY(-34.75px) translateX(32px) scale(0.75);\n transform: translateY(-34.75px) translateX(32px) scale(0.75);\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\n font-size: 1rem;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon {\n 0% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon {\n 0% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75);\n }\n}\n[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake, .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake {\n -webkit-animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1;\n}\n@-webkit-keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl {\n 0% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n}\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl {\n 0% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n 33% {\n -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);\n -webkit-transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 66% {\n -webkit-animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);\n -webkit-transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75);\n }\n 100% {\n -webkit-transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n transform: translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75);\n }\n}\n\n.mdc-text-field--with-trailing-icon {\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-text-field--with-trailing-icon, .mdc-text-field--with-trailing-icon[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 16px;\n}\n.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label {\n max-width: calc(100% - 64px);\n}\n.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 64px / 0.75);\n}\n.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch {\n max-width: calc(100% - 60px);\n}\n\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 0;\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label {\n max-width: calc(100% - 96px);\n}\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above {\n max-width: calc(100% / 0.75 - 96px / 0.75);\n}\n\n.mdc-text-field-helper-line {\n display: flex;\n justify-content: space-between;\n box-sizing: border-box;\n}\n.mdc-text-field + .mdc-text-field-helper-line {\n padding-right: 16px;\n padding-left: 16px;\n}\n\n.mdc-form-field > .mdc-text-field + label {\n align-self: flex-start;\n}\n\n.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {\n color: rgba(98, 0, 238, 0.87);\n}\n.mdc-text-field--focused .mdc-notched-outline__leading,\n.mdc-text-field--focused .mdc-notched-outline__notch,\n.mdc-text-field--focused .mdc-notched-outline__trailing {\n border-width: 2px;\n}\n.mdc-text-field--focused + .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg) {\n opacity: 1;\n}\n.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 2px;\n}\n.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch {\n padding-top: 0;\n}\n\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid .mdc-text-field__input {\n caret-color: #b00020;\n /* @alternate */\n caret-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing {\n color: #b00020;\n /* @alternate */\n color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before {\n border-bottom-color: #b00020;\n /* @alternate */\n border-bottom-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\n border-color: #b00020;\n /* @alternate */\n border-color: var(--mdc-theme-error, #b00020);\n}\n.mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\n opacity: 1;\n}\n\n.mdc-text-field--disabled {\n pointer-events: none;\n}\n.mdc-text-field--disabled .mdc-text-field__input {\n color: rgba(0, 0, 0, 0.38);\n}\n@media all {\n .mdc-text-field--disabled .mdc-text-field__input::-webkit-input-placeholder {\n color: rgba(0, 0, 0, 0.38);\n }\n .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.38);\n }\n .mdc-text-field--disabled .mdc-text-field__input::-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.38);\n }\n .mdc-text-field--disabled .mdc-text-field__input::placeholder {\n color: rgba(0, 0, 0, 0.38);\n }\n}\n@media all {\n .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder {\n color: rgba(0, 0, 0, 0.38);\n }\n}\n.mdc-text-field--disabled .mdc-floating-label {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-helper-text {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--disabled .mdc-text-field-character-counter,\n.mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-character-counter {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--disabled .mdc-text-field__icon--leading {\n color: rgba(0, 0, 0, 0.3);\n}\n.mdc-text-field--disabled .mdc-text-field__icon--trailing {\n color: rgba(0, 0, 0, 0.3);\n}\n.mdc-text-field--disabled .mdc-text-field__affix--prefix {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--disabled .mdc-text-field__affix--suffix {\n color: rgba(0, 0, 0, 0.38);\n}\n.mdc-text-field--disabled .mdc-line-ripple::before {\n border-bottom-color: rgba(0, 0, 0, 0.06);\n}\n.mdc-text-field--disabled .mdc-notched-outline__leading,\n.mdc-text-field--disabled .mdc-notched-outline__notch,\n.mdc-text-field--disabled .mdc-notched-outline__trailing {\n border-color: rgba(0, 0, 0, 0.06);\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__input::-webkit-input-placeholder {\n color: GrayText;\n }\n .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder {\n color: GrayText;\n }\n .mdc-text-field--disabled .mdc-text-field__input::-ms-input-placeholder {\n color: GrayText;\n }\n .mdc-text-field--disabled .mdc-text-field__input::placeholder {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-floating-label {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-helper-text {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field-character-counter,\n.mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-character-counter {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__icon--leading {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__icon--trailing {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__affix--prefix {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-text-field__affix--suffix {\n color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-line-ripple::before {\n border-bottom-color: GrayText;\n }\n}\n@media screen and (-ms-high-contrast: active) {\n .mdc-text-field--disabled .mdc-notched-outline__leading,\n.mdc-text-field--disabled .mdc-notched-outline__notch,\n.mdc-text-field--disabled .mdc-notched-outline__trailing {\n border-color: GrayText;\n }\n}\n.mdc-text-field--disabled .mdc-floating-label {\n cursor: default;\n}\n.mdc-text-field--disabled.mdc-text-field--filled {\n background-color: #fafafa;\n}\n.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple {\n display: none;\n}\n.mdc-text-field--disabled .mdc-text-field__input {\n pointer-events: auto;\n}\n\n.mdc-text-field--end-aligned .mdc-text-field__input {\n /* @noflip */\n text-align: right;\n}\n[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input, .mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl] {\n /* @noflip */\n text-align: left;\n}\n\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,\n.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix {\n /* @noflip */\n direction: ltr;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 2px;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix {\n /* @noflip */\n padding-left: 12px;\n /* @noflip */\n padding-right: 0;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading {\n order: 1;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix {\n order: 2;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input {\n order: 3;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix {\n order: 4;\n}\n[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing, .mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing {\n order: 5;\n}\n[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input, .mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input {\n /* @noflip */\n text-align: right;\n}\n[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix, .mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix {\n /* @noflip */\n padding-right: 12px;\n}\n[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix, .mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix {\n /* @noflip */\n padding-left: 2px;\n}\n\n.mdc-text-field-helper-text {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.75rem;\n /* @alternate */\n font-size: var(--mdc-typography-caption-font-size, 0.75rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-caption-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-caption-font-weight, 400);\n letter-spacing: 0.0333333333em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-caption-text-transform, inherit);\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n margin: 0;\n opacity: 0;\n will-change: opacity;\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mdc-text-field-helper-text::before {\n display: inline-block;\n width: 0;\n height: 16px;\n content: "";\n vertical-align: 0;\n}\n\n.mdc-text-field-helper-text--persistent {\n transition: none;\n opacity: 1;\n will-change: initial;\n}\n\n.mdc-text-field-character-counter {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-family: Roboto, sans-serif;\n /* @alternate */\n font-family: var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));\n font-size: 0.75rem;\n /* @alternate */\n font-size: var(--mdc-typography-caption-font-size, 0.75rem);\n line-height: 1.25rem;\n /* @alternate */\n line-height: var(--mdc-typography-caption-line-height, 1.25rem);\n font-weight: 400;\n /* @alternate */\n font-weight: var(--mdc-typography-caption-font-weight, 400);\n letter-spacing: 0.0333333333em;\n /* @alternate */\n letter-spacing: var(--mdc-typography-caption-letter-spacing, 0.0333333333em);\n text-decoration: inherit;\n /* @alternate */\n -webkit-text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-decoration: var(--mdc-typography-caption-text-decoration, inherit);\n text-transform: inherit;\n /* @alternate */\n text-transform: var(--mdc-typography-caption-text-transform, inherit);\n display: block;\n margin-top: 0;\n /* @alternate */\n line-height: normal;\n /* @noflip */\n margin-left: auto;\n /* @noflip */\n margin-right: 0;\n /* @noflip */\n padding-left: 16px;\n /* @noflip */\n padding-right: 0;\n white-space: nowrap;\n}\n.mdc-text-field-character-counter::before {\n display: inline-block;\n width: 0;\n height: 16px;\n content: "";\n vertical-align: 0;\n}\n[dir=rtl] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=rtl] {\n /* @noflip */\n margin-left: 0;\n /* @noflip */\n margin-right: auto;\n}\n[dir=rtl] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=rtl] {\n /* @noflip */\n padding-left: 0;\n /* @noflip */\n padding-right: 16px;\n}\n\n.mdc-text-field__icon {\n align-self: center;\n cursor: pointer;\n}\n.mdc-text-field__icon:not([tabindex]), .mdc-text-field__icon[tabindex="-1"] {\n cursor: default;\n pointer-events: none;\n}\n.mdc-text-field__icon svg {\n display: block;\n}\n\n.mdc-text-field__icon--leading {\n /* @noflip */\n margin-left: 16px;\n /* @noflip */\n margin-right: 8px;\n}\n[dir=rtl] .mdc-text-field__icon--leading, .mdc-text-field__icon--leading[dir=rtl] {\n /* @noflip */\n margin-left: 8px;\n /* @noflip */\n margin-right: 16px;\n}\n\n.mdc-text-field__icon--trailing {\n padding: 12px;\n /* @noflip */\n margin-left: 0px;\n /* @noflip */\n margin-right: 0px;\n}\n[dir=rtl] .mdc-text-field__icon--trailing, .mdc-text-field__icon--trailing[dir=rtl] {\n /* @noflip */\n margin-left: 0px;\n /* @noflip */\n margin-right: 0px;\n}\n\n/*# sourceMappingURL=mdc.textfield.css.map*/'},6801:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__6801__},6243:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__6243__},4297:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__4297__},9329:function(t){"use strict";t.exports=__WEBPACK_EXTERNAL_MODULE__9329__},8734:function(){},5250:function(t,e,n){"use strict";n.d(e,{sR:()=>m});var i=n(8821),r=n(9019);let o=(t,e)=>{var n,i;let r=t._$AN;if(void 0===r)return!1;for(let t of r)null==(i=(n=t)._$AO)||i.call(n,e,!1),o(t,e);return!0},a=t=>{let e,n;do{if(void 0===(e=t._$AM))break;(n=e._$AN).delete(t),t=e}while(0===(null==n?void 0:n.size))},l=t=>{for(let e;e=t._$AM;t=e){let n=e._$AN;if(void 0===n)e._$AN=n=new Set;else if(n.has(t))break;n.add(t),s(e)}};function c(t){void 0!==this._$AN?(a(this),this._$AM=t,l(this)):this._$AM=t}function d(t,e=!1,n=0){let i=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(e)if(Array.isArray(i))for(let t=n;t<i.length;t++)o(i[t],!1),a(i[t]);else null!=i&&(o(i,!1),a(i));else o(this,t)}let s=t=>{var e,n,i,o;t.type==r.pX.CHILD&&(null!=(e=(i=t)._$AP)||(i._$AP=d),null!=(n=(o=t)._$AQ)||(o._$AQ=c))};class m extends r.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),l(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,i;t!==this.isConnected&&(this.isConnected=t,t?null==(n=this.reconnected)||n.call(this):null==(i=this.disconnected)||i.call(this)),e&&(o(this,t),a(this))}setValue(t){if((0,i.OR)(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}},8821:function(t,e,n){"use strict";n.d(e,{OR:()=>o,pt:()=>r});let{I:i}=n(9069).Al,r=t=>null===t||"object"!=typeof t&&"function"!=typeof t,o=t=>void 0===t.strings},9019:function(t,e,n){"use strict";n.d(e,{XM:()=>r,Xe:()=>o,pX:()=>i});let i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,n){this._$Ct=t,this._$AM=e,this._$Ci=n}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},5058:function(t,e,n){"use strict";function i(t,e,n){return t?e():null==n?void 0:n()}n.d(e,{g:()=>i})},9069:function(t,e,n){"use strict";var i;n.d(e,{Al:()=>H,Jb:()=>C,Ld:()=>T,dy:()=>A,sY:()=>V});let r=window,o=r.trustedTypes,a=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,l="$lit$",c=`lit$${(Math.random()+"").slice(9)}$`,d="?"+c,s=`<${d}>`,m=document,p=()=>m.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,h=t=>f(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),g="[ \n\f\r]",b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,v=/>/g,y=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^
|
|
1193
1193
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),x=/'/g,w=/"/g,k=/^(?:script|style|textarea|title)$/i,E=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),A=E(1),C=(E(2),Symbol.for("lit-noChange")),T=Symbol.for("lit-nothing"),I=new WeakMap,S=m.createTreeWalker(m,129,null,!1);function O(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==a?a.createHTML(e):e}let L=(t,e)=>{let n=t.length-1,i=[],r,o=2===e?"<svg>":"",a=b;for(let e=0;e<n;e++){let n=t[e],d,m,p=-1,u=0;for(;u<n.length&&(a.lastIndex=u,null!==(m=a.exec(n)));)u=a.lastIndex,a===b?"!--"===m[1]?a=_:void 0!==m[1]?a=v:void 0!==m[2]?(k.test(m[2])&&(r=RegExp("</"+m[2],"g")),a=y):void 0!==m[3]&&(a=y):a===y?">"===m[0]?(a=null!=r?r:b,p=-1):void 0===m[1]?p=-2:(p=a.lastIndex-m[2].length,d=m[1],a=void 0===m[3]?y:'"'===m[3]?w:x):a===w||a===x?a=y:a===_||a===v?a=b:(a=y,r=void 0);let f=a===y&&t[e+1].startsWith("/>")?" ":"";o+=a===b?n+s:p>=0?(i.push(d),n.slice(0,p)+l+n.slice(p)+c+f):n+c+(-2===p?(i.push(void 0),e):f)}return[O(t,o+(t[n]||"<?>")+(2===e?"</svg>":"")),i]};class R{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let r=0,a=0,s=t.length-1,m=this.parts,[u,f]=L(t,e);if(this.el=R.createElement(u,n),S.currentNode=this.el.content,2===e){let t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=S.nextNode())&&m.length<s;){if(1===i.nodeType){if(i.hasAttributes()){let t=[];for(let e of i.getAttributeNames())if(e.endsWith(l)||e.startsWith(c)){let n=f[a++];if(t.push(e),void 0!==n){let t=i.getAttribute(n.toLowerCase()+l).split(c),e=/([.?@])?(.*)/.exec(n);m.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?$:"?"===e[1]?F:"@"===e[1]?B:P})}else m.push({type:6,index:r})}for(let e of t)i.removeAttribute(e)}if(k.test(i.tagName)){let t=i.textContent.split(c),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],p()),S.nextNode(),m.push({type:2,index:++r});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===d)m.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(c,t+1));)m.push({type:7,index:r}),t+=c.length-1}r++}}static createElement(t,e){let n=m.createElement("template");return n.innerHTML=t,n}}function N(t,e,n=t,i){var r,o,a,l;if(e===C)return e;let c=void 0!==i?null==(r=n._$Co)?void 0:r[i]:n._$Cl,d=u(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==d&&(null==(o=null==c?void 0:c._$AO)||o.call(c,!1),void 0===d?c=void 0:(c=new d(t))._$AT(t,n,i),void 0!==i?(null!=(a=(l=n)._$Co)?a:l._$Co=[])[i]=c:n._$Cl=c),void 0!==c&&(e=N(t,c._$AS(t,e.values),c,i)),e}class D{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;let{el:{content:n},parts:i}=this._$AD,r=(null!=(e=null==t?void 0:t.creationScope)?e:m).importNode(n,!0);S.currentNode=r;let o=S.nextNode(),a=0,l=0,c=i[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new z(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new U(o,this,t)),this._$AV.push(e),c=i[++l]}a!==(null==c?void 0:c.index)&&(o=S.nextNode(),a++)}return S.currentNode=m,r}v(t){let e=0;for(let n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class z{constructor(t,e,n,i){var r;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cp=null==(r=null==i?void 0:i.isConnected)||r}get _$AU(){var t,e;return null!=(e=null==(t=this._$AM)?void 0:t._$AU)?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){u(t=N(this,t,e))?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==C&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):h(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==T&&u(this._$AH)?this._$AA.nextSibling.data=t:this.$(m.createTextNode(t)),this._$AH=t}g(t){var e;let{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=R.createElement(O(i.h,i.h[0]),this.options)),i);if((null==(e=this._$AH)?void 0:e._$AD)===r)this._$AH.v(n);else{let t=new D(r,this),e=t.u(this.options);t.v(n),this.$(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new R(t)),e}T(t){f(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,n,i=0;for(let r of t)i===e.length?e.push(n=new z(this.k(p()),this.k(p()),this,this.options)):n=e[i],n._$AI(r),i++;i<e.length&&(this._$AR(n&&n._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var n;for(null==(n=this._$AP)||n.call(this,!1,!0,e);t&&t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null==(e=this._$AP)||e.call(this,t))}}class P{constructor(t,e,n,i,r){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){let r=this.strings,o=!1;if(void 0===r)(o=!u(t=N(this,t,e,0))||t!==this._$AH&&t!==C)&&(this._$AH=t);else{let i,a,l=t;for(t=r[0],i=0;i<r.length-1;i++)(a=N(this,l[n+i],e,i))===C&&(a=this._$AH[i]),o||(o=!u(a)||a!==this._$AH[i]),a===T?t=T:t!==T&&(t+=(null!=a?a:"")+r[i+1]),this._$AH[i]=a}o&&!i&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class $ extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}let M=o?o.emptyScript:"";class F extends P{constructor(){super(...arguments),this.type=4}j(t){t&&t!==T?this.element.setAttribute(this.name,M):this.element.removeAttribute(this.name)}}class B extends P{constructor(t,e,n,i,r){super(t,e,n,i,r),this.type=5}_$AI(t,e=this){var n;if((t=null!=(n=N(this,t,e,0))?n:T)===C)return;let i=this._$AH,r=t===T&&i!==T||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==T&&(i===T||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,n;"function"==typeof this._$AH?this._$AH.call(null!=(n=null==(e=this.options)?void 0:e.host)?n:this.element,t):this._$AH.handleEvent(t)}}class U{constructor(t,e,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}}let H={O:l,P:c,A:d,C:1,M:L,L:D,R:h,D:N,I:z,V:P,H:F,N:B,U:$,F:U},j=r.litHtmlPolyfillSupport;null==j||j(R,z),(null!=(i=r.litHtmlVersions)?i:r.litHtmlVersions=[]).push("2.8.0");let V=(t,e,n)=>{var i,r;let o=null!=(i=null==n?void 0:n.renderBefore)?i:e,a=o._$litPart$;if(void 0===a){let t=null!=(r=null==n?void 0:n.renderBefore)?r:null;o._$litPart$=a=new z(e.insertBefore(p(),t),t,void 0,null!=n?n:{})}return a._$AI(t),a}},7308:function(t,e,n){"use strict";var i;n.d(e,{Cb:()=>l,SB:()=>c,Mo:()=>r,IO:()=>s});let r=t=>e=>{let n,i;return"function"==typeof e?(n=t,i=e,customElements.define(n,i),i):((t,e)=>{let{kind:n,elements:i}=e;return{kind:n,elements:i,finisher(e){customElements.define(t,e)}}})(t,e)},o=(t,e)=>"method"!==e.kind||!e.descriptor||"value"in e.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(n){n.createProperty(e.key,t)}}:{...e,finisher(n){n.createProperty(e.key,t)}},a=(t,e,n)=>{e.constructor.createProperty(n,t)};function l(t){return(e,n)=>void 0!==n?a(t,e,n):o(t,e)}function c(t){return l({...t,state:!0})}let d=({finisher:t,descriptor:e})=>(n,i)=>{var r;if(void 0===i){let i=null!=(r=n.originalKey)?r:n.key,o=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(n.key)}:{...n,key:i};return null!=t&&(o.finisher=function(e){t(e,i)}),o}{let r=n.constructor;void 0!==e&&Object.defineProperty(n,i,e(i)),null==t||t(r,i)}};function s(t,e){return d({descriptor:n=>{let i={get(){var e,n;return null!=(n=null==(e=this.renderRoot)?void 0:e.querySelector(t))?n:null},enumerable:!0,configurable:!0};if(e){let e="symbol"==typeof n?Symbol():"__"+n;i.get=function(){var n,i;return void 0===this[e]&&(this[e]=null!=(i=null==(n=this.renderRoot)?void 0:n.querySelector(t))?i:null),this[e]}}return i}})}null!=(null==(i=window.HTMLSlotElement)?void 0:i.prototype.assignedElements)||((t,e)=>t.assignedNodes(e).filter(t=>t.nodeType===Node.ELEMENT_NODE))},4648:function(t,e,n){"use strict";n.d(e,{$:()=>o});var i=n(9069),r=n(9019);let o=(0,r.XM)(class extends r.Xe{constructor(t){var e;if(super(t),t.type!==r.pX.ATTRIBUTE||"class"!==t.name||(null==(e=t.strings)?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){var n,r;if(void 0===this.it){for(let i in this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t))),e)!e[i]||(null==(n=this.nt)?void 0:n.has(i))||this.it.add(i);return this.render(e)}let o=t.element.classList;for(let t in this.it.forEach(t=>{t in e||(o.remove(t),this.it.delete(t))}),e){let n=!!e[t];n===this.it.has(t)||(null==(r=this.nt)?void 0:r.has(t))||(n?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return i.Jb}})},1934:function(t,e,n){"use strict";n.d(e,{o:()=>r});var i=n(9069);let r=t=>null!=t?t:i.Ld},6883:function(t,e,n){"use strict";n.d(e,{i:()=>l});var i=n(9069),r=n(5250),o=n(9019);let a=new WeakMap,l=(0,o.XM)(class extends r.sR{render(t){return i.Ld}update(t,[e]){var n;let r=e!==this.G;return r&&void 0!==this.G&&this.ot(void 0),(r||this.rt!==this.lt)&&(this.G=e,this.dt=null==(n=t.options)?void 0:n.host,this.ot(this.lt=t.element)),i.Ld}ot(t){var e;if("function"==typeof this.G){let n=null!=(e=this.dt)?e:globalThis,i=a.get(n);void 0===i&&(i=new WeakMap,a.set(n,i)),void 0!==i.get(this.G)&&this.G.call(this.dt,void 0),i.set(this.G,t),void 0!==t&&this.G.call(this.dt,t)}else this.G.value=t}get rt(){var t,e,n;return"function"==typeof this.G?null==(e=a.get(null!=(t=this.dt)?t:globalThis))?void 0:e.get(this.G):null==(n=this.G)?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}})},6117:function(t,e,n){"use strict";n.d(e,{V:()=>l});var i=n(9069),r=n(9019);let o="important",a=" !"+o,l=(0,r.XM)(class extends r.Xe{constructor(t){var e;if(super(t),t.type!==r.pX.ATTRIBUTE||"style"!==t.name||(null==(e=t.strings)?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,n)=>{let i=t[n];return null==i?e:e+`${n=n.includes("-")?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:n}=t.element;if(void 0===this.ht){for(let t in this.ht=new Set,e)this.ht.add(t);return this.render(e)}for(let t in this.ht.forEach(t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?n.removeProperty(t):n[t]="")}),e){let i=e[t];if(null!=i){this.ht.add(t);let e="string"==typeof i&&i.endsWith(a);t.includes("-")||e?n.setProperty(t,e?i.slice(0,-11):i,e?o:""):n[t]=i}}return i.Jb}})},7138:function(t,e,n){"use strict";n.d(e,{iv:()=>L,dy:()=>E.dy,oi:()=>j,$m:()=>O});let i=window,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),a=new WeakMap;class l{constructor(t,e,n){if(this._$cssResult$=!0,n!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(r&&void 0===t){let n=void 0!==e&&1===e.length;n&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&a.set(e,t))}return t}toString(){return this.cssText}}let c=t=>new l("string"==typeof t?t:t+"",void 0,o),d=(t,e)=>{r?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{let n=document.createElement("style"),r=i.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=e.cssText,t.appendChild(n)})},s=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let n of t.cssRules)e+=n.cssText;return c(e)})(t):t,m=window,p=m.trustedTypes,u=p?p.emptyScript:"",f=m.reactiveElementPolyfillSupport,h={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},g=(t,e)=>e!==t&&(e==e||t==t),b={attribute:!0,type:String,converter:h,reflect:!1,hasChanged:g},_="finalized";class v extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!=(e=this.h)?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,n)=>{let i=this._$Ep(n,e);void 0!==i&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(i){let r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||b}static finalize(){if(this.hasOwnProperty(_))return!1;this[_]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)])this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))e.unshift(s(n));else void 0!==t&&e.push(s(t));return e}static _$Ep(t,e){let n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null==(t=this.constructor.h)||t.forEach(t=>t(this))}addController(t){var e,n;(null!=(e=this._$ES)?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(n=t.hostConnected)||n.call(t))}removeController(t){var e;null==(e=this._$ES)||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;let e=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return d(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=b){var i;let r=this.constructor._$Ep(t,n);if(void 0!==r&&!0===n.reflect){let o=(void 0!==(null==(i=n.converter)?void 0:i.toAttribute)?n.converter:h).toAttribute(e,n.type);this._$El=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var n;let i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){let t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(n=t.converter)?void 0:n.fromAttribute)?t.converter:h;this._$El=r,this[r]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,e)=>this[e]=t),this._$Ei=void 0);let e=!1,n=this._$AL;try{(e=this.shouldUpdate(n))?(this.willUpdate(n),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(n)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}v[_]=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==f||f({ReactiveElement:v}),(null!=(y=m.reactiveElementVersions)?y:m.reactiveElementVersions=[]).push("1.6.3");var y,x,w,k,E=n(9069);let A=window,C=A.ShadowRoot&&(void 0===A.ShadyCSS||A.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,T=Symbol(),I=new WeakMap;class S{constructor(t,e,n){if(this._$cssResult$=!0,n!==T)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(C&&void 0===t){let n=void 0!==e&&1===e.length;n&&(t=I.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&I.set(e,t))}return t}toString(){return this.cssText}}let O=t=>new S("string"==typeof t?t:t+"",void 0,T),L=(t,...e)=>new S(1===t.length?t[0]:e.reduce((e,n,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[i+1],t[0]),t,T),R=(t,e)=>{C?t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(e=>{let n=document.createElement("style"),i=A.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,t.appendChild(n)})},N=C?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let n of t.cssRules)e+=n.cssText;return O(e)})(t):t,D=window,z=D.trustedTypes,P=z?z.emptyScript:"",$=D.reactiveElementPolyfillSupport,M={toAttribute(t,e){switch(e){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},F=(t,e)=>e!==t&&(e==e||t==t),B={attribute:!0,type:String,converter:M,reflect:!1,hasChanged:F},U="finalized";class H extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),(null!=(e=this.h)?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,n)=>{let i=this._$Ep(n,e);void 0!==i&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,e=B){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let n="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(i){let r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||B}static finalize(){if(this.hasOwnProperty(U))return!1;this[U]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)])this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))e.unshift(N(n));else void 0!==t&&e.push(N(t));return e}static _$Ep(t,e){let n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null==(t=this.constructor.h)||t.forEach(t=>t(this))}addController(t){var e,n;(null!=(e=this._$ES)?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null==(n=t.hostConnected)||n.call(t))}removeController(t){var e;null==(e=this._$ES)||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;let e=null!=(t=this.shadowRoot)?t:this.attachShadow(this.constructor.shadowRootOptions);return R(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$EO(t,e,n=B){var i;let r=this.constructor._$Ep(t,n);if(void 0!==r&&!0===n.reflect){let o=(void 0!==(null==(i=n.converter)?void 0:i.toAttribute)?n.converter:M).toAttribute(e,n.type);this._$El=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var n;let i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){let t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(n=t.converter)?void 0:n.fromAttribute)?t.converter:M;this._$El=r,this[r]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||F)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((t,e)=>this[e]=t),this._$Ei=void 0);let e=!1,n=this._$AL;try{(e=this.shouldUpdate(n))?(this.willUpdate(n),null==(t=this._$ES)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(n)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null==(e=this._$ES)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach((t,e)=>this._$EO(e,this[e],t)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}H[U]=!0,H.elementProperties=new Map,H.elementStyles=[],H.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:H}),(null!=(x=D.reactiveElementVersions)?x:D.reactiveElementVersions=[]).push("1.6.3");class j extends H{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;let n=super.createRenderRoot();return null!=(t=(e=this.renderOptions).renderBefore)||(e.renderBefore=n.firstChild),n}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,E.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return E.Jb}}j.finalized=!0,j._$litElement$=!0,null==(w=globalThis.litElementHydrateSupport)||w.call(globalThis,{LitElement:j});let V=globalThis.litElementPolyfillSupport;null==V||V({LitElement:j}),(null!=(k=globalThis.litElementVersions)?k:globalThis.litElementVersions=[]).push("3.3.3")}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}(()=>{__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e}})(),(()=>{__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})()})(),(()=>{__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})();var __webpack_exports__=__webpack_require__(9357);return __webpack_exports__})());
|
|
1194
1194
|
//# sourceMappingURL=index.js.map
|