@covalent/components 1.0.11 → 1.0.14
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/actionRibbon.js +192 -0
- package/alert.js +198 -0
- package/appDetail.js +69 -0
- package/appShell.js +399 -0
- package/button.js +280 -0
- package/checkbox.js +270 -0
- package/circularProgress.js +184 -0
- package/components/{action-ribbon → src/action-ribbon}/action-ribbon-base.d.ts +3 -3
- package/components/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
- package/components/{action-ribbon/action-ribbon.component.d.ts → src/action-ribbon/action-ribbon.d.ts} +1 -1
- package/components/src/action-ribbon/action-ribbon.d.ts.map +1 -0
- package/components/{action-ribbon → src/action-ribbon}/foundation.d.ts +0 -0
- package/components/src/action-ribbon/foundation.d.ts.map +1 -0
- package/components/src/alert/alert-base.d.ts +31 -0
- package/components/src/alert/alert-base.d.ts.map +1 -0
- package/components/src/alert/alert.d.ts +15 -0
- package/components/src/alert/alert.d.ts.map +1 -0
- package/components/src/app-detail/app-detail-base.d.ts +5 -0
- package/components/src/app-detail/app-detail-base.d.ts.map +1 -0
- package/components/src/app-detail/app-detail.d.ts +10 -0
- package/components/src/app-detail/app-detail.d.ts.map +1 -0
- package/components/src/app-shell/app-shell.d.ts +27 -0
- package/components/src/app-shell/app-shell.d.ts.map +1 -0
- package/components/src/button/button.d.ts +10 -0
- package/components/src/button/button.d.ts.map +1 -0
- package/components/src/card/card-base.d.ts +17 -0
- package/components/src/card/card-base.d.ts.map +1 -0
- package/components/src/card/card.d.ts +10 -0
- package/components/src/card/card.d.ts.map +1 -0
- package/components/src/checkbox/checkbox.d.ts +10 -0
- package/components/src/checkbox/checkbox.d.ts.map +1 -0
- package/components/src/chips/chip-base.d.ts +52 -0
- package/components/src/chips/chip-base.d.ts.map +1 -0
- package/components/src/chips/chip-set-base.d.ts +33 -0
- package/components/src/chips/chip-set-base.d.ts.map +1 -0
- package/components/src/chips/chip-set.d.ts +15 -0
- package/components/src/chips/chip-set.d.ts.map +1 -0
- package/components/src/chips/chip.d.ts +15 -0
- package/components/src/chips/chip.d.ts.map +1 -0
- package/components/src/chips/foundation.d.ts +38 -0
- package/components/src/chips/foundation.d.ts.map +1 -0
- package/components/src/circular-progress/circular-progress.d.ts +10 -0
- package/components/src/circular-progress/circular-progress.d.ts.map +1 -0
- package/components/src/dialog/dialog.d.ts +10 -0
- package/components/src/dialog/dialog.d.ts.map +1 -0
- package/components/src/drawer/drawer.d.ts +10 -0
- package/components/src/drawer/drawer.d.ts.map +1 -0
- package/components/src/formfield/formfield.d.ts +10 -0
- package/components/src/formfield/formfield.d.ts.map +1 -0
- package/components/src/icon/icon.d.ts +10 -0
- package/components/src/icon/icon.d.ts.map +1 -0
- package/components/src/icon-button/icon-button.d.ts +10 -0
- package/components/src/icon-button/icon-button.d.ts.map +1 -0
- package/components/src/index.d.ts +29 -0
- package/components/src/index.d.ts.map +1 -0
- package/components/src/linear-progress/linear-progress.d.ts +10 -0
- package/components/src/linear-progress/linear-progress.d.ts.map +1 -0
- package/components/src/list/check-list-item.d.ts +10 -0
- package/components/src/list/check-list-item.d.ts.map +1 -0
- package/components/src/list/list-expansion.d.ts +14 -0
- package/components/src/list/list-expansion.d.ts.map +1 -0
- package/components/src/list/list-item.d.ts +12 -0
- package/components/src/list/list-item.d.ts.map +1 -0
- package/components/src/list/list.d.ts +10 -0
- package/components/src/list/list.d.ts.map +1 -0
- package/components/src/list/radio-list-item.d.ts +10 -0
- package/components/src/list/radio-list-item.d.ts.map +1 -0
- package/components/src/menu/menu.d.ts +10 -0
- package/components/src/menu/menu.d.ts.map +1 -0
- package/components/src/radio/radio.d.ts +10 -0
- package/components/src/radio/radio.d.ts.map +1 -0
- package/components/src/select/select.d.ts +10 -0
- package/components/src/select/select.d.ts.map +1 -0
- package/components/src/slider/slider-range.d.ts +10 -0
- package/components/src/slider/slider-range.d.ts.map +1 -0
- package/components/src/slider/slider.d.ts +10 -0
- package/components/src/slider/slider.d.ts.map +1 -0
- package/components/src/snackbar/snackbar.d.ts +10 -0
- package/components/src/snackbar/snackbar.d.ts.map +1 -0
- package/components/src/switch/switch.d.ts +10 -0
- package/components/src/switch/switch.d.ts.map +1 -0
- package/components/src/tab/tab-bar.d.ts +10 -0
- package/components/src/tab/tab-bar.d.ts.map +1 -0
- package/components/src/tab/tab.d.ts +10 -0
- package/components/src/tab/tab.d.ts.map +1 -0
- package/components/src/textarea/textarea.d.ts +10 -0
- package/components/src/textarea/textarea.d.ts.map +1 -0
- package/components/src/textfield/textfield.d.ts +10 -0
- package/components/src/textfield/textfield.d.ts.map +1 -0
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts +10 -0
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
- package/components/src/top-app-bar/top-app-bar.d.ts +10 -0
- package/components/src/top-app-bar/top-app-bar.d.ts.map +1 -0
- package/dialog.js +264 -0
- package/drawer.js +185 -0
- package/formField.js +157 -0
- package/icon.js +99 -0
- package/iconButton.js +256 -0
- package/{covalent-icons → icons}/covalent-icons.css +0 -0
- package/{covalent-icons → icons}/covalent-icons.eot +0 -0
- package/{covalent-icons → icons}/covalent-icons.svg +0 -0
- package/{covalent-icons → icons}/covalent-icons.ttf +0 -0
- package/{covalent-icons → icons}/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +1877 -0
- package/linearProgress.js +154 -0
- package/list.js +344 -0
- package/listExpansion.js +360 -0
- package/listItem.js +264 -0
- package/listRadioItem.js +342 -0
- package/menu.js +485 -0
- package/package.json +2 -80
- package/radio.js +275 -0
- package/select.js +624 -0
- package/slider.js +367 -0
- package/sliderRange.js +417 -0
- package/snackBar.js +177 -0
- package/styles.css +1 -0
- package/styles.js +1 -0
- package/switch.js +360 -0
- package/tab.js +277 -0
- package/tabBar.js +352 -0
- package/textArea.js +291 -0
- package/textField.js +252 -0
- package/theme.css +1 -0
- package/theme.js +1 -0
- package/topAppBar.js +192 -0
- package/topAppBarFixed.js +198 -0
- package/vendor.css +13 -0
- package/vendor.js +1 -0
- package/components/action-ribbon/action-ribbon-base.d.ts.map +0 -1
- package/components/action-ribbon/action-ribbon.component.d.ts.map +0 -1
- package/components/action-ribbon/foundation.d.ts.map +0 -1
- package/components/app-shell/app-shell.component.d.ts +0 -51
- package/components/app-shell/app-shell.component.d.ts.map +0 -1
- package/components/mini-list/mini-list.component.d.ts +0 -16
- package/components/mini-list/mini-list.component.d.ts.map +0 -1
- package/covalent-icons/svgs/Screen Shot 2021-09-21 at 3.33.14 PM.png +0 -0
- package/covalent-icons/svgs/alias_arrow.svg +0 -3
- package/covalent-icons/svgs/api.svg +0 -3
- package/covalent-icons/svgs/api_ondark.svg +0 -3
- package/covalent-icons/svgs/application.svg +0 -3
- package/covalent-icons/svgs/bucket.svg +0 -3
- package/covalent-icons/svgs/cluster_analysis.svg +0 -3
- package/covalent-icons/svgs/column.svg +0 -3
- package/covalent-icons/svgs/connected_identity.svg +0 -3
- package/covalent-icons/svgs/data_preparation.svg +0 -3
- package/covalent-icons/svgs/data_source.svg +0 -3
- package/covalent-icons/svgs/database.svg +0 -3
- package/covalent-icons/svgs/database_changed.svg +0 -3
- package/covalent-icons/svgs/database_edit.svg +0 -3
- package/covalent-icons/svgs/database_foreign.svg +0 -3
- package/covalent-icons/svgs/database_lab.svg +0 -3
- package/covalent-icons/svgs/database_search.svg +0 -3
- package/covalent-icons/svgs/database_synced.svg +0 -3
- package/covalent-icons/svgs/disconnect.svg +0 -3
- package/covalent-icons/svgs/dock_right.svg +0 -3
- package/covalent-icons/svgs/engine.svg +0 -3
- package/covalent-icons/svgs/file.svg +0 -3
- package/covalent-icons/svgs/file_changed.svg +0 -3
- package/covalent-icons/svgs/file_edit.svg +0 -3
- package/covalent-icons/svgs/file_foreign.svg +0 -3
- package/covalent-icons/svgs/file_lab.svg +0 -3
- package/covalent-icons/svgs/file_search.svg +0 -3
- package/covalent-icons/svgs/file_synced.svg +0 -3
- package/covalent-icons/svgs/formula.svg +0 -3
- package/covalent-icons/svgs/lab.svg +0 -3
- package/covalent-icons/svgs/loader-dots.svg +0 -31
- package/covalent-icons/svgs/machine_learning.svg +0 -3
- package/covalent-icons/svgs/machine_learning_ondark.svg +0 -3
- package/covalent-icons/svgs/model.svg +0 -3
- package/covalent-icons/svgs/model_configuration.svg +0 -3
- package/covalent-icons/svgs/model_configuration_ondark.svg +0 -3
- package/covalent-icons/svgs/model_ondark.svg +0 -3
- package/covalent-icons/svgs/no_results.svg +0 -3
- package/covalent-icons/svgs/node_branch.svg +0 -3
- package/covalent-icons/svgs/node_merge.svg +0 -3
- package/covalent-icons/svgs/node_notification.svg +0 -3
- package/covalent-icons/svgs/node_notification_ondark.svg +0 -3
- package/covalent-icons/svgs/object_storage.svg +0 -3
- package/covalent-icons/svgs/object_storage_ondark.svg +0 -3
- package/covalent-icons/svgs/operations.svg +0 -3
- package/covalent-icons/svgs/operators_divide.svg +0 -3
- package/covalent-icons/svgs/operators_equals.svg +0 -5
- package/covalent-icons/svgs/operators_greater_than.svg +0 -3
- package/covalent-icons/svgs/operators_greater_than_or_equal.svg +0 -5
- package/covalent-icons/svgs/operators_less_than.svg +0 -3
- package/covalent-icons/svgs/operators_less_than_or_equal.svg +0 -5
- package/covalent-icons/svgs/operators_multiply.svg +0 -5
- package/covalent-icons/svgs/operators_not_equal.svg +0 -5
- package/covalent-icons/svgs/operators_parentheses.svg +0 -3
- package/covalent-icons/svgs/operators_parenthesis_left.svg +0 -3
- package/covalent-icons/svgs/operators_parenthesis_right.svg +0 -3
- package/covalent-icons/svgs/operators_product_analyst.svg +0 -3
- package/covalent-icons/svgs/operators_product_console.svg +0 -3
- package/covalent-icons/svgs/operators_product_editor.svg +0 -3
- package/covalent-icons/svgs/operators_subtract.svg +0 -5
- package/covalent-icons/svgs/outbound_campaign_manager.svg +0 -3
- package/covalent-icons/svgs/resize_northeast.svg +0 -3
- package/covalent-icons/svgs/resize_northwest.svg +0 -3
- package/covalent-icons/svgs/resize_southeast.svg +0 -3
- package/covalent-icons/svgs/resize_southwest.svg +0 -3
- package/covalent-icons/svgs/rules.svg +0 -3
- package/covalent-icons/svgs/rules_insert.svg +0 -3
- package/covalent-icons/svgs/rules_insert_ondark.svg +0 -3
- package/covalent-icons/svgs/rules_ondark.svg +0 -3
- package/covalent-icons/svgs/rules_select.svg +0 -3
- package/covalent-icons/svgs/rules_select_ondark.svg +0 -3
- package/covalent-icons/svgs/script.svg +0 -3
- package/covalent-icons/svgs/script_macro.svg +0 -6
- package/covalent-icons/svgs/script_macro_ondark.svg +0 -6
- package/covalent-icons/svgs/script_ondark.svg +0 -3
- package/covalent-icons/svgs/script_sql.svg +0 -6
- package/covalent-icons/svgs/script_sql_ondark.svg +0 -6
- package/covalent-icons/svgs/script_stored_procedure.svg +0 -6
- package/covalent-icons/svgs/script_stored_procedure_ondark.svg +0 -6
- package/covalent-icons/svgs/segmentation.svg +0 -3
- package/covalent-icons/svgs/server.svg +0 -3
- package/covalent-icons/svgs/server_changed.svg +0 -3
- package/covalent-icons/svgs/server_edit.svg +0 -3
- package/covalent-icons/svgs/server_foreign.svg +0 -3
- package/covalent-icons/svgs/server_lab.svg +0 -3
- package/covalent-icons/svgs/server_search.svg +0 -3
- package/covalent-icons/svgs/server_synced.svg +0 -3
- package/covalent-icons/svgs/sftp.svg +0 -3
- package/covalent-icons/svgs/sftp_ondark.svg +0 -3
- package/covalent-icons/svgs/table.svg +0 -3
- package/covalent-icons/svgs/table_changed.svg +0 -3
- package/covalent-icons/svgs/table_edit.svg +0 -3
- package/covalent-icons/svgs/table_foreign.svg +0 -3
- package/covalent-icons/svgs/table_lab.svg +0 -3
- package/covalent-icons/svgs/table_search.svg +0 -3
- package/covalent-icons/svgs/table_synced.svg +0 -3
- package/covalent-icons/svgs/teradata-icons-v1.0.zip +0 -0
- package/covalent-icons/svgs/teradata.svg +0 -3
- package/covalent-icons/svgs/teradata_nocircle.svg +0 -3
- package/covalent-icons/svgs/text_analysis.svg +0 -3
- package/covalent-icons/svgs/undock.svg +0 -3
- package/covalent-icons/svgs/variable.svg +0 -3
- package/covalent-icons/svgs/variable_ondark.svg +0 -3
- package/covalent-icons/svgs/view_sankey.svg +0 -3
- package/covalent-icons/svgs/wand.svg +0 -3
- package/covalent-icons/svgs/workflow.svg +0 -3
- package/covalent-theme.css +0 -13
- package/covalent.js +0 -685
- package/index.d.ts +0 -4
- package/index.d.ts.map +0 -1
package/actionRibbon.js
ADDED
@@ -0,0 +1,192 @@
|
|
1
|
+
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=86)}([function(t,e,n){"use strict";var i=n(6);n.d(e,"b",(function(){return i.b}));var r=n(2);n.d(e,"e",(function(){return r.b}));var o=n(14);n.d(e,"a",(function(){return o.a}));n(4);var s=n(15);n.d(e,"c",(function(){return s.a}));var a=n(8);n.d(e,"f",(function(){return a.a}));var c=n(16);n.d(e,"j",(function(){return c.a}));var d=n(17);n.d(e,"d",(function(){return d.a}));var l=n(18);n.d(e,"g",(function(){return l.a}));n(19);var h=n(20);n.d(e,"i",(function(){return h.a}));var u=n(21);n.d(e,"h",(function(){return u.a})),
|
2
|
+
/**
|
3
|
+
* @license
|
4
|
+
* Copyright 2017 Google LLC
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
+
*/
|
7
|
+
console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.")},,function(t,e,n){"use strict";
|
8
|
+
/**
|
9
|
+
* @license
|
10
|
+
* Copyright 2017 Google LLC
|
11
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
12
|
+
*/
|
13
|
+
var i;n.d(e,"a",(function(){return H})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return E})),n.d(e,"d",(function(){return x})),n.d(e,"e",(function(){return O}));const r=globalThis.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,s=`lit$${(Math.random()+"").slice(9)}$`,a="?"+s,c=`<${a}>`,d=document,l=(t="")=>d.createComment(t),h=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,p=t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,b=/>/g,v=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,g=/"/g,y=/^(?:script|style|textarea)$/i,$=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),A=$(1),E=($(2),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),C=new WeakMap,O=(t,e,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new R(e.insertBefore(l(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},S=d.createTreeWalker(d,129,null,!1),w=(t,e)=>{const n=t.length-1,i=[];let r,a=2===e?"<svg>":"",d=m;for(let e=0;e<n;e++){const n=t[e];let o,l,h=-1,u=0;for(;u<n.length&&(d.lastIndex=u,l=d.exec(n),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=f:void 0!==l[1]?d=b:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),d=v):void 0!==l[3]&&(d=v):d===v?">"===l[0]?(d=null!=r?r:m,h=-1):void 0===l[1]?h=-2:(h=d.lastIndex-l[2].length,o=l[1],d=void 0===l[3]?v:'"'===l[3]?g:_):d===g||d===_?d=v:d===f||d===b?d=m:(d=v,r=void 0);const p=d===v&&t[e+1].startsWith("/>")?" ":"";a+=d===m?n+c:h>=0?(i.push(o),n.slice(0,h)+"$lit$"+n.slice(h)+s+p):n+s+(-2===h?(i.push(void 0),e):p)}const l=a+(t[n]||"<?>")+(2===e?"</svg>":"");return[void 0!==o?o.createHTML(l):l,i]};class N{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let o=0,c=0;const d=t.length-1,h=this.parts,[u,p]=w(t,e);if(this.el=N.createElement(u,n),S.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=S.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(s)){const n=p[c++];if(t.push(e),void 0!==n){const t=i.getAttribute(n.toLowerCase()+"$lit$").split(s),e=/([.?@])?(.*)/.exec(n);h.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?U:"@"===e[1]?I:k})}else h.push({type:6,index:o})}for(const e of t)i.removeAttribute(e)}if(y.test(i.tagName)){const t=i.textContent.split(s),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],l()),S.nextNode(),h.push({type:2,index:++o});i.append(t[e],l())}}}else if(8===i.nodeType)if(i.data===a)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(s,t+1));)h.push({type:7,index:o}),t+=s.length-1}o++}}static createElement(t,e){const n=d.createElement("template");return n.innerHTML=t,n}}function T(t,e,n=t,i){var r,o,s,a;if(e===E)return e;let c=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const d=h(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==d&&(null===(o=null==c?void 0:c._$AO)||void 0===o||o.call(c,!1),void 0===d?c=void 0:(c=new d(t),c._$AT(t,n,i)),void 0!==i?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[i]=c:n._$Cu=c),void 0!==c&&(e=T(t,c._$AS(t,e.values),c,i)),e}class P{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(n,!0);S.currentNode=r;let o=S.nextNode(),s=0,a=0,c=i[0];for(;void 0!==c;){if(s===c.index){let e;2===c.type?e=new R(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new j(o,this,t)),this.v.push(e),c=i[++a]}s!==(null==c?void 0:c.index)&&(o=S.nextNode(),s++)}return r}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class R{constructor(t,e,n,i){var r;this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cg=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),h(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):p(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==x&&h(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=N.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(n);else{const t=new P(r,this),e=t.p(this.options);t.m(n),this.S(e),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new N(t)),e}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new R(this.A(l()),this.A(l()),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)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class k{constructor(t,e,n,i,r){this.type=1,this._$AH=x,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=x}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){const r=this.strings;let o=!1;if(void 0===r)t=T(this,t,e,0),o=!h(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=T(this,i[n+s],e,s),a===E&&(a=this._$AH[s]),o||(o=!h(a)||a!==this._$AH[s]),a===x?t=x:t!==x&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!i&&this.k(t)}k(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends k{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===x?void 0:t}}class U extends k{constructor(){super(...arguments),this.type=4}k(t){t&&t!==x?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class I extends k{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=T(this,t,e,0))&&void 0!==n?n:x)===E)return;const i=this._$AH,r=t===x&&i!==x||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==x&&(i===x||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?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class j{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){T(this,t)}}const H={P:"$lit$",V:s,L:a,I:1,N:w,R:P,D:p,j:T,H:R,O:k,F:U,B:I,W:M,Z:j},L=window.litHtmlPolyfillSupport;null==L||L(N,R),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
14
|
+
/**
|
15
|
+
* @license
|
16
|
+
* Copyright 2017 Google LLC
|
17
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
18
|
+
*/
|
19
|
+
const i=({finisher:t,descriptor:e})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?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}{const r=n.constructor;void 0!==e&&Object.defineProperty(n,i,e(i)),null==t||t(r,i)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}));
|
20
|
+
/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/
|
25
|
+
const 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)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return m}));
|
26
|
+
/**
|
27
|
+
* @license
|
28
|
+
* Copyright 2019 Google LLC
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
30
|
+
*/
|
31
|
+
const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new Map;class s{constructor(t,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=o.get(this.cssText);return i&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(t,...e)=>{const n=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]);return new s(n,r)},c=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return(t=>new s("string"==typeof t?t:t+"",r))(e)})(t):t
|
32
|
+
/**
|
33
|
+
* @license
|
34
|
+
* Copyright 2017 Google LLC
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
36
|
+
*/;var d;const l=window.reactiveElementPolyfillSupport,h={toAttribute(t,e){switch(e){case Boolean:t=t?"":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}},u=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:h,reflect:!1,hasChanged:u};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,n)=>{const i=this._$Eh(n,e);void 0!==i&&(this._$Eu.set(i,n),t.push(i))}),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const 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){const r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,n;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$Em)||void 0===e||e.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return n=e,r=this.constructor.elementStyles,i?n.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):r.forEach(t=>{const e=document.createElement("style"),i=window.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=t.cssText,n.appendChild(e)}),e;var n,r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$Eg(t,e,n=p){var i,r;const o=this.constructor._$Eh(t,n);if(void 0!==o&&!0===n.reflect){const s=(null!==(r=null===(i=n.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==r?r:h.toAttribute)(e,n.type);this._$Ei=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Ei=null}}_$AK(t,e){var n,i,r;const o=this.constructor,s=o._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=o.getPropertyOptions(s),a=t.converter,c=null!==(r=null!==(i=null===(n=a)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof a?a:null)&&void 0!==r?r:h.fromAttribute;this._$Ei=s,this[s]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||u)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Em)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,e)=>this._$Eg(e,this[e],t)),this._$ES=void 0),this._$EU()}updated(t){}firstUpdated(t){}}m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:m}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(2),r=n(5);
|
37
|
+
/**
|
38
|
+
* @license
|
39
|
+
* Copyright 2018 Google LLC
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
41
|
+
*/
|
42
|
+
const o=Object(r.c)(class extends r.a{constructor(t){var e;if(super(t),t.type!==r.b.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!(null===(n=this.et)||void 0===n?void 0:n.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach(t=>{t in e||(o.remove(t),this.st.delete(t))});for(const t in e){const n=!!e[t];n===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(n?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return i.c}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));
|
43
|
+
/**
|
44
|
+
* @license
|
45
|
+
* Copyright 2017 Google LLC
|
46
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
47
|
+
*/
|
48
|
+
const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{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)}};function r(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):i(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(0),r=n(23);n.d(e,"b",(function(){return r.a}));
|
49
|
+
/**
|
50
|
+
* @license
|
51
|
+
* Copyright 2018 Google LLC
|
52
|
+
* SPDX-License-Identifier: Apache-2.0
|
53
|
+
*/
|
54
|
+
class o extends i.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(t,e,n){"use strict";var i=n(15);n.d(e,"a",(function(){return i.a}));var r=n(8);n.d(e,"b",(function(){return r.a}));n(16),n(17);var o=n(18);n.d(e,"c",(function(){return o.a}));n(19),n(20),n(21)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
55
|
+
/**
|
56
|
+
* @license
|
57
|
+
* Copyright 2018 Google LLC
|
58
|
+
* SPDX-License-Identifier: Apache-2.0
|
59
|
+
*/
|
60
|
+
const i=t=>(e,n)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach((t,n)=>e.constructor._observers.set(n,t))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach((t,e)=>{const n=this.constructor._observers.get(e);void 0!==n&&n.call(this,this[e],t)})}}e.constructor._observers.set(n,t)}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
61
|
+
/**
|
62
|
+
* @license
|
63
|
+
* Copyright 2016 Google Inc.
|
64
|
+
*
|
65
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
66
|
+
* of this software and associated documentation files (the "Software"), to deal
|
67
|
+
* in the Software without restriction, including without limitation the rights
|
68
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
69
|
+
* copies of the Software, and to permit persons to whom the Software is
|
70
|
+
* furnished to do so, subject to the following conditions:
|
71
|
+
*
|
72
|
+
* The above copyright notice and this permission notice shall be included in
|
73
|
+
* all copies or substantial portions of the Software.
|
74
|
+
*
|
75
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
76
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
77
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
78
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
79
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
80
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
81
|
+
* THE SOFTWARE.
|
82
|
+
*/
|
83
|
+
var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(6);n.d(e,"b",(function(){return i.b}));var r,o,s=n(2);n.d(e,"c",(function(){return s.b}));i.a;class a extends i.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(s.e)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return s.c}}a.finalized=!0,a._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:a});const c=globalThis.litElementPolyfillSupport;null==c||c({LitElement:a});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
84
|
+
/**
|
85
|
+
* @license
|
86
|
+
* Copyright 2017 Google LLC
|
87
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
88
|
+
*/
|
89
|
+
const i=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:n,elements:i}=e;return{kind:n,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(8);
|
90
|
+
/**
|
91
|
+
* @license
|
92
|
+
* Copyright 2017 Google LLC
|
93
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
94
|
+
*/function r(t){return Object(i.a)({...t,state:!0})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
95
|
+
/**
|
96
|
+
* @license
|
97
|
+
* Copyright 2017 Google LLC
|
98
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
99
|
+
*/function r(t){return Object(i.a)({finisher:(e,n)=>{Object.assign(e.prototype[n],t)}})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
100
|
+
/**
|
101
|
+
* @license
|
102
|
+
* Copyright 2017 Google LLC
|
103
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
104
|
+
*/function r(t,e){return Object(i.a)({descriptor:n=>{const i={get(){var e,n;return null!==(n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(e){const 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?void 0:n.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}},function(t,e,n){"use strict";n(4);
|
105
|
+
/**
|
106
|
+
* @license
|
107
|
+
* Copyright 2017 Google LLC
|
108
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
109
|
+
*/},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* Copyright 2017 Google LLC
|
113
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
114
|
+
*/function r(t){return Object(i.a)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
115
|
+
/**
|
116
|
+
* @license
|
117
|
+
* Copyright 2017 Google LLC
|
118
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
119
|
+
*/function r(t="",e=!1,n=""){return Object(i.a)({descriptor:i=>({get(){var i,r,o;const s="slot"+(t?`[name=${t}]`:":not([name])");let a=null!==(o=null===(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(s))||void 0===r?void 0:r.assignedNodes({flatten:e}))&&void 0!==o?o:[];return n&&(a=a.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(n))),a},enumerable:!0,configurable:!0})})}},,function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return l}));
|
120
|
+
/**
|
121
|
+
* @license
|
122
|
+
* Copyright 2018 Google LLC
|
123
|
+
* SPDX-License-Identifier: Apache-2.0
|
124
|
+
*/
|
125
|
+
const i=t=>t.nodeType===Node.ELEMENT_NODE;function r(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let o=!1;const s=()=>{},a={get passive(){return o=!0,!1}};document.addEventListener("x",s,a),document.removeEventListener("x",s);const c=o,d=(t=window.document)=>{let e=t.activeElement;const n=[];if(!e)return n;for(;e&&(n.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return n},l=t=>{const e=d();if(!e.length)return!1;const n=e[e.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let r=[];const o=t=>{r=t.composedPath()};return document.body.addEventListener("check-if-focused",o),n.dispatchEvent(i),document.body.removeEventListener("check-if-focused",o),-1!==r.indexOf(t)}},,,,function(t,e,n){"use strict";n(6),n(2);var i=n(14);n.d(e,"a",(function(){return i.a})),n.d(e,"b",(function(){return i.b})),n.d(e,"c",(function(){return i.c}))},,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return i}));
|
126
|
+
/**
|
127
|
+
* @license
|
128
|
+
* Copyright 2020 Google Inc.
|
129
|
+
*
|
130
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
131
|
+
* of this software and associated documentation files (the "Software"), to deal
|
132
|
+
* in the Software without restriction, including without limitation the rights
|
133
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
134
|
+
* copies of the Software, and to permit persons to whom the Software is
|
135
|
+
* furnished to do so, subject to the following conditions:
|
136
|
+
*
|
137
|
+
* The above copyright notice and this permission notice shall be included in
|
138
|
+
* all copies or substantial portions of the Software.
|
139
|
+
*
|
140
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
141
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
142
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
143
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
144
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
145
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
146
|
+
* THE SOFTWARE.
|
147
|
+
*/
|
148
|
+
var i,r={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},o={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},s={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening"},a={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};!function(t){t[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.UNSPECIFIED=2]="UNSPECIFIED"}(i||(i={}))},,,,,function(t,e,n){"use strict";var i=n(7);n.d(e,"a",(function(){return i.a}))},,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(13),r=n(34);
|
149
|
+
/**
|
150
|
+
* @license
|
151
|
+
* Copyright 2020 Google Inc.
|
152
|
+
*
|
153
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
154
|
+
* of this software and associated documentation files (the "Software"), to deal
|
155
|
+
* in the Software without restriction, including without limitation the rights
|
156
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
157
|
+
* copies of the Software, and to permit persons to whom the Software is
|
158
|
+
* furnished to do so, subject to the following conditions:
|
159
|
+
*
|
160
|
+
* The above copyright notice and this permission notice shall be included in
|
161
|
+
* all copies or substantial portions of the Software.
|
162
|
+
*
|
163
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
164
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
165
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
166
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
167
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
168
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
169
|
+
* THE SOFTWARE.
|
170
|
+
*/
|
171
|
+
const{OPENING:o,OPEN:s,CLOSING:a}=r.b;class c extends i.a{constructor(t){super(Object.assign(Object.assign({},c.defaultAdapter),t)),this.isOpened=!1,this.animationFrame=0,this.animationTimer=0}static get defaultAdapter(){return{addClass:()=>{},getContentHeight:()=>0,notifyClosed:()=>{},notifyClosing:()=>{},notifyOpened:()=>{},notifyOpening:()=>{},releaseFocus:()=>{},removeClass:()=>{},setStyleProperty:()=>{},trapFocus:()=>{}}}destroy(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0}open(){this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(a),this.adapter.addClass(o);const t=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(()=>{this.adapter.addClass(s),this.adapter.setStyleProperty("height",t+"px"),this.animationTimer=setTimeout(()=>{this.handleAnimationTimerEnd(),this.adapter.trapFocus(),this.adapter.notifyOpened()},r.d.BANNER_ANIMATION_OPEN_TIME_MS)})}close(t){this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(a),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(s),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(()=>{this.adapter.releaseFocus(),this.handleAnimationTimerEnd(),this.adapter.notifyClosed(t)},r.d.BANNER_ANIMATION_CLOSE_TIME_MS))}isOpen(){return this.isOpened}handlePrimaryActionClick(){this.close(r.a.PRIMARY)}handleSecondaryActionClick(){this.close(r.a.SECONDARY)}layout(){const t=this.adapter.getContentHeight();console.log("he",t),this.adapter.setStyleProperty("height",t+"px")}handleAnimationTimerEnd(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(a)}}e.a=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"CovalentActionRibbon",(function(){return m}));var i=n(10),r=n(9),o=n(11),s=n(34),a=n(54),c=n(27),d=n(39),l=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class h extends r.a{constructor(){super(...arguments),this.mdcFoundationClass=a.a,this.open=!1,this.labelText="",this.icon="",this.centered=!0,this.reason=s.a.UNSPECIFIED}render(){const t={"mdc-banner":!0,negative:"negative"===this.state,positive:"positive"===this.state,caution:"caution"===this.state,active:"active"===this.state,"mdc-banner--centered":this.centered};return c.c`
|
172
|
+
<div class="${Object(d.a)(t)}" role="banner">
|
173
|
+
<div class="mdc-banner__content"
|
174
|
+
role="alertdialog"
|
175
|
+
aria-live="assertive">
|
176
|
+
|
177
|
+
<div class="mdc-banner__graphic-text-wrapper">
|
178
|
+
${this.icon?this.renderIcon():""}
|
179
|
+
<div class="mdc-banner__text">${this.labelText}</div>
|
180
|
+
</div>
|
181
|
+
<div class="mdc-banner__actions">
|
182
|
+
<slot name="action-items"></slot>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
</div>`}renderIcon(){return c.c`
|
186
|
+
<div class="mdc-banner__graphic" role="img" alt="">
|
187
|
+
<slot name="icon">
|
188
|
+
<td-icon class="mdc-banner__icon">
|
189
|
+
${this.icon}
|
190
|
+
</td-icon>
|
191
|
+
</slot>
|
192
|
+
</div>`}createAdapter(){return Object.assign(Object.assign({},Object(r.b)(this.mdcRoot)),{getContentHeight:()=>this.mdcContent.offsetHeight,setStyleProperty:(t,e)=>this.mdcRoot.style.setProperty(t,e),trapFocus:()=>{var t;return null===(t=this.primaryActionEl)||void 0===t?void 0:t.focus()},releaseFocus:()=>{var t;return null===(t=this.primaryActionEl)||void 0===t?void 0:t.blur()},notifyClosed:t=>this.dispatchEvent(new CustomEvent(s.c.CLOSED,{bubbles:!0,cancelable:!0,detail:{reason:t}})),notifyClosing:t=>this.dispatchEvent(new CustomEvent(s.c.CLOSING,{bubbles:!0,cancelable:!0,detail:{reason:t}})),notifyOpened:()=>this.dispatchEvent(new CustomEvent(s.c.OPENED,{bubbles:!0,cancelable:!0})),notifyOpening:()=>this.dispatchEvent(new CustomEvent(s.c.OPENING,{bubbles:!0,cancelable:!0}))})}show(){this.open=!0}close(t=s.a.UNSPECIFIED){this.reason=t,this.open=!1}firstUpdated(){super.firstUpdated(),this.open&&this.mdcFoundation.open()}}l([Object(i.c)(".mdc-banner")],h.prototype,"mdcRoot",void 0),l([Object(i.c)(s.e.CONTENT)],h.prototype,"mdcContent",void 0),l([Object(i.c)(s.e.PRIMARY_ACTION)],h.prototype,"primaryActionEl",void 0),l([Object(i.b)({type:Boolean,reflect:!0}),Object(o.a)((function(t){this.mdcFoundation&&(t?this.mdcFoundation.open():(this.mdcFoundation.close(this.reason),this.reason=s.a.UNSPECIFIED))}))],h.prototype,"open",void 0),l([Object(i.b)({type:String})],h.prototype,"labelText",void 0),l([Object(i.b)({type:String})],h.prototype,"icon",void 0),l([Object(i.b)({type:Boolean})],h.prototype,"centered",void 0),l([Object(i.b)()],h.prototype,"state",void 0);var u=c.b`.mdc-banner__graphic{color:#fff;color:var(--mdc-theme-surface,#fff)}.mdc-banner__graphic{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}.mdc-banner__content,.mdc-banner__fixed{min-width:344px}@media(max-width:480px),(max-width:344px){.mdc-banner__content,.mdc-banner__fixed{min-width:100%}}.mdc-banner__content{max-width:720px}.mdc-banner{z-index:1;border-bottom-style:solid;box-sizing:border-box;display:none;flex-shrink:0;height:0;position:relative;width:100%}@media(max-width:480px){.mdc-banner .mdc-banner__fixed{left:0;right:0}.mdc-banner .mdc-banner__text{margin-left:16px;margin-right:36px}.mdc-banner .mdc-banner__text[dir=rtl],[dir=rtl] .mdc-banner .mdc-banner__text{margin-left:36px;margin-right:16px}}@media(max-width:480px){.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__content{flex-wrap:wrap}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__graphic{margin-bottom:12px}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:16px;margin-right:8px;padding-bottom:4px}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text[dir=rtl],[dir=rtl] .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:8px;margin-right:16px}.mdc-banner.mdc-banner--mobile-stacked .mdc-banner__actions{margin-left:auto}}.mdc-banner--closing,.mdc-banner--open,.mdc-banner--opening{display:flex}.mdc-banner--open{transition:height .3s ease}.mdc-banner--open .mdc-banner__content{transition:transform .3s ease;transform:translateY(0)}.mdc-banner--closing{transition:height 250ms ease}.mdc-banner--closing .mdc-banner__content{transition:transform 250ms ease}.mdc-banner--centered .mdc-banner__content{left:0;margin-left:auto;margin-right:auto;right:0}.mdc-banner__fixed{border-bottom-style:solid;box-sizing:border-box;height:inherit;position:fixed;width:100%}.mdc-banner__content{display:flex;min-height:52px;position:absolute;transform:translateY(-100%);width:100%}.mdc-banner__graphic-text-wrapper{display:flex;width:100%}.mdc-banner__graphic{margin-left:16px;margin-right:0;flex-shrink:0;margin-top:16px;margin-bottom:16px;text-align:center}.mdc-banner__graphic[dir=rtl],[dir=rtl] .mdc-banner__graphic{margin-left:0;margin-right:16px}.mdc-banner__icon{position:relative;top:50%;transform:translateY(-50%)}.mdc-banner__text{margin-left:24px;margin-right:90px;align-self:center;flex-grow:1;padding-top:16px;padding-bottom:16px}.mdc-banner__text[dir=rtl],[dir=rtl] .mdc-banner__text{margin-left:90px;margin-right:24px}.mdc-banner__actions{padding-left:0;padding-right:8px;align-self:flex-end;display:flex;flex-shrink:0;padding-bottom:8px;padding-top:8px}.mdc-banner__actions[dir=rtl],[dir=rtl] .mdc-banner__actions{padding-left:8px;padding-right:0}.mdc-banner__secondary-action{margin-left:0;margin-right:8px}.mdc-banner__secondary-action[dir=rtl],[dir=rtl] .mdc-banner__secondary-action{margin-left:8px;margin-right:0}.mdc-banner{background-color:#fff;border-bottom-color:rgba(0,0,0,.12);border-bottom-width:1px;border-radius:0}.mdc-banner .mdc-banner__text{color:#000}.mdc-banner .mdc-banner__text{letter-spacing:.0178571429em;font-size:.875rem;font-family:Roboto,sans-serif;font-weight:400;line-height:1.25rem}.mdc-banner .mdc-banner__graphic{border-radius:50%}.mdc-banner .mdc-banner__graphic{height:40px;width:40px}.mdc-banner .mdc-banner__fixed{background-color:#fff}.mdc-banner .mdc-banner__fixed{border-bottom-color:rgba(0,0,0,.12)}.mdc-banner .mdc-banner__fixed{border-bottom-width:1px}.mdc-banner .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color,#6200ee)}.mdc-banner .mdc-button .mdc-button__ripple::after,.mdc-banner .mdc-button .mdc-button__ripple::before{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color,#6200ee)}.mdc-banner .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before,.mdc-banner .mdc-button:hover .mdc-button__ripple::before{opacity:.04;opacity:var(--mdc-text-button-hover-state-layer-opacity,.04)}.mdc-banner .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-banner .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-text-button-focus-state-layer-opacity,.12)}.mdc-banner .mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-banner .mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:.1;opacity:var(--mdc-text-button-pressed-state-layer-opacity,.1)}.mdc-banner .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}.mdc-banner__secondary-action{margin-left:0;margin-right:8px}.mdc-banner__secondary-action[dir=rtl],[dir=rtl] .mdc-banner__secondary-action{margin-left:8px;margin-right:0}.mdc-banner{--td-action-ribbon-background:transparent;background-color:var(--td-action-ribbon-background);overflow:hidden}.mdc-banner .mdc-banner__content{max-width:inherit}.mdc-banner .mdc-banner__graphic,.mdc-banner .mdc-banner__text{--mdc-theme-primary:var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-text-icon-on-background);color:var(--mdc-theme-on-surface)}.mdc-banner .mdc-banner__text{--mdc-theme-on-surface:var(--mdc-theme-text-disabled-on-background);margin-left:16px;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.mdc-banner.caution{--td-action-ribbon-background:var(--mdc-theme-surface-caution-highlight)}.mdc-banner.caution .mdc-banner__graphic,.mdc-banner.caution .mdc-banner__text{--mdc-theme-primary:var(--mdc-theme-surface-caution-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-caution)}.mdc-banner.negative{--td-action-ribbon-background:var(--mdc-theme-surface-negative-highlight)}.mdc-banner.negative .mdc-banner__graphic,.mdc-banner.negative .mdc-banner__text{--mdc-theme-primary:var(--mdc-theme-surface-negative-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-error)}.mdc-banner.active{--td-action-ribbon-background:var(--mdc-theme-surface-secondary-highlight)}.mdc-banner.active .mdc-banner__graphic,.mdc-banner.active .mdc-banner__text{--mdc-theme-primary:var(--mdc-theme-surface-secondary-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-secondary)}.mdc-banner.positive{--td-action-ribbon-background:var(--mdc-theme-surface-positive-highlight)}.mdc-banner.positive .mdc-banner__graphic,.mdc-banner.positive .mdc-banner__text{--mdc-theme-primary:var(--mdc-theme-surface-positive-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-positive)}::slotted(*){margin-left:8px}.mdc-banner__content{min-height:56px}.mdc-banner__graphic{background-color:rgba(0,0,0,0);margin-top:8px;margin-bottom:8px}.mdc-banner__actions{align-self:center}`,p=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};let m=class extends h{};m.styles=[u],m=p([Object(i.a)("td-action-ribbon")],m)}]);
|
package/alert.js
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=87)}([function(t,e,n){"use strict";var i=n(6);n.d(e,"b",(function(){return i.b}));var r=n(2);n.d(e,"e",(function(){return r.b}));var o=n(14);n.d(e,"a",(function(){return o.a}));n(4);var s=n(15);n.d(e,"c",(function(){return s.a}));var a=n(8);n.d(e,"f",(function(){return a.a}));var c=n(16);n.d(e,"j",(function(){return c.a}));var d=n(17);n.d(e,"d",(function(){return d.a}));var l=n(18);n.d(e,"g",(function(){return l.a}));n(19);var h=n(20);n.d(e,"i",(function(){return h.a}));var u=n(21);n.d(e,"h",(function(){return u.a})),
|
2
|
+
/**
|
3
|
+
* @license
|
4
|
+
* Copyright 2017 Google LLC
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
+
*/
|
7
|
+
console.warn("The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.")},,function(t,e,n){"use strict";
|
8
|
+
/**
|
9
|
+
* @license
|
10
|
+
* Copyright 2017 Google LLC
|
11
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
12
|
+
*/
|
13
|
+
var i;n.d(e,"a",(function(){return H})),n.d(e,"b",(function(){return x})),n.d(e,"c",(function(){return A})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return O}));const r=globalThis.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,s=`lit$${(Math.random()+"").slice(9)}$`,a="?"+s,c=`<${a}>`,d=document,l=(t="")=>d.createComment(t),h=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,m=t=>{var e;return u(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,b=/>/g,v=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,g=/"/g,y=/^(?:script|style|textarea)$/i,$=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),x=$(1),A=($(2),Symbol.for("lit-noChange")),E=Symbol.for("lit-nothing"),S=new WeakMap,O=(t,e,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new k(e.insertBefore(l(),t),t,void 0,null!=n?n:{})}return s._$AI(t),s},C=d.createTreeWalker(d,129,null,!1),w=(t,e)=>{const n=t.length-1,i=[];let r,a=2===e?"<svg>":"",d=p;for(let e=0;e<n;e++){const n=t[e];let o,l,h=-1,u=0;for(;u<n.length&&(d.lastIndex=u,l=d.exec(n),null!==l);)u=d.lastIndex,d===p?"!--"===l[1]?d=f:void 0!==l[1]?d=b:void 0!==l[2]?(y.test(l[2])&&(r=RegExp("</"+l[2],"g")),d=v):void 0!==l[3]&&(d=v):d===v?">"===l[0]?(d=null!=r?r:p,h=-1):void 0===l[1]?h=-2:(h=d.lastIndex-l[2].length,o=l[1],d=void 0===l[3]?v:'"'===l[3]?g:_):d===g||d===_?d=v:d===f||d===b?d=p:(d=v,r=void 0);const m=d===v&&t[e+1].startsWith("/>")?" ":"";a+=d===p?n+c:h>=0?(i.push(o),n.slice(0,h)+"$lit$"+n.slice(h)+s+m):n+s+(-2===h?(i.push(void 0),e):m)}const l=a+(t[n]||"<?>")+(2===e?"</svg>":"");return[void 0!==o?o.createHTML(l):l,i]};class T{constructor({strings:t,_$litType$:e},n){let i;this.parts=[];let o=0,c=0;const d=t.length-1,h=this.parts,[u,m]=w(t,e);if(this.el=T.createElement(u,n),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=C.nextNode())&&h.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(s)){const n=m[c++];if(t.push(e),void 0!==n){const t=i.getAttribute(n.toLowerCase()+"$lit$").split(s),e=/([.?@])?(.*)/.exec(n);h.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?M:"?"===e[1]?U:"@"===e[1]?j:R})}else h.push({type:6,index:o})}for(const e of t)i.removeAttribute(e)}if(y.test(i.tagName)){const t=i.textContent.split(s),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let n=0;n<e;n++)i.append(t[n],l()),C.nextNode(),h.push({type:2,index:++o});i.append(t[e],l())}}}else if(8===i.nodeType)if(i.data===a)h.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(s,t+1));)h.push({type:7,index:o}),t+=s.length-1}o++}}static createElement(t,e){const n=d.createElement("template");return n.innerHTML=t,n}}function N(t,e,n=t,i){var r,o,s,a;if(e===A)return e;let c=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const d=h(e)?void 0:e._$litDirective$;return(null==c?void 0:c.constructor)!==d&&(null===(o=null==c?void 0:c._$AO)||void 0===o||o.call(c,!1),void 0===d?c=void 0:(c=new d(t),c._$AT(t,n,i)),void 0!==i?(null!==(s=(a=n)._$Cl)&&void 0!==s?s:a._$Cl=[])[i]=c:n._$Cu=c),void 0!==c&&(e=N(t,c._$AS(t,e.values),c,i)),e}class P{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:n},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(n,!0);C.currentNode=r;let o=C.nextNode(),s=0,a=0,c=i[0];for(;void 0!==c;){if(s===c.index){let e;2===c.type?e=new k(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new I(o,this,t)),this.v.push(e),c=i[++a]}s!==(null==c?void 0:c.index)&&(o=C.nextNode(),s++)}return r}m(t){let e=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(t,n,e),e+=n.strings.length-2):n._$AI(t[e])),e++}}class k{constructor(t,e,n,i){var r;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=n,this.options=i,this._$Cg=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=N(this,t,e),h(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==A&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):m(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==E&&h(this._$AH)?this._$AA.nextSibling.data=t:this.S(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:n,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=T.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(n);else{const t=new P(r,this),e=t.p(this.options);t.m(n),this.S(e),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new T(t)),e}M(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let n,i=0;for(const r of t)i===e.length?e.push(n=new k(this.A(l()),this.A(l()),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)||void 0===n||n.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,n,i,r){this.type=1,this._$AH=E,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=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,n,i){const r=this.strings;let o=!1;if(void 0===r)t=N(this,t,e,0),o=!h(t)||t!==this._$AH&&t!==A,o&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=N(this,i[n+s],e,s),a===A&&(a=this._$AH[s]),o||(o=!h(a)||a!==this._$AH[s]),a===E?t=E:t!==E&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!i&&this.k(t)}k(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends R{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===E?void 0:t}}class U extends R{constructor(){super(...arguments),this.type=4}k(t){t&&t!==E?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class j extends R{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))&&void 0!==n?n:E)===A)return;const i=this._$AH,r=t===E&&i!==E||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==E&&(i===E||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?void 0:e.host)&&void 0!==n?n:this.element,t):this._$AH.handleEvent(t)}}class I{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)}}const H={P:"$lit$",V:s,L:a,I:1,N:w,R:P,D:m,j:N,H:k,O:R,F:U,B:j,W:M,Z:I},L=window.litHtmlPolyfillSupport;null==L||L(T,k),(null!==(i=globalThis.litHtmlVersions)&&void 0!==i?i:globalThis.litHtmlVersions=[]).push("2.0.1")},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
14
|
+
/**
|
15
|
+
* @license
|
16
|
+
* Copyright 2017 Google LLC
|
17
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
18
|
+
*/
|
19
|
+
const i=({finisher:t,descriptor:e})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?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}{const r=n.constructor;void 0!==e&&Object.defineProperty(n,i,e(i)),null==t||t(r,i)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r}));
|
20
|
+
/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2017 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/
|
25
|
+
const 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)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return p}));
|
26
|
+
/**
|
27
|
+
* @license
|
28
|
+
* Copyright 2019 Google LLC
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
30
|
+
*/
|
31
|
+
const i=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new Map;class s{constructor(t,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=o.get(this.cssText);return i&&void 0===t&&(o.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(t,...e)=>{const n=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]);return new s(n,r)},c=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const n of t.cssRules)e+=n.cssText;return(t=>new s("string"==typeof t?t:t+"",r))(e)})(t):t
|
32
|
+
/**
|
33
|
+
* @license
|
34
|
+
* Copyright 2017 Google LLC
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
36
|
+
*/;var d;const l=window.reactiveElementPolyfillSupport,h={toAttribute(t,e){switch(e){case Boolean:t=t?"":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}},u=(t,e)=>e!==t&&(e==e||t==t),m={attribute:!0,type:String,converter:h,reflect:!1,hasChanged:u};class p extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,n)=>{const i=this._$Eh(n,e);void 0!==i&&(this._$Eu.set(i,n),t.push(i))}),t}static createProperty(t,e=m){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const 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){const r=this[t];this[e]=i,this.requestUpdate(t,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||m}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const n of e)this.createProperty(n,t[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const n=new Set(t.flat(1/0).reverse());for(const t of n)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eh(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,n;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(n=t.hostConnected)||void 0===n||n.call(t))}removeController(t){var e;null===(e=this._$Em)||void 0===e||e.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return n=e,r=this.constructor.elementStyles,i?n.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):r.forEach(t=>{const e=document.createElement("style"),i=window.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=t.cssText,n.appendChild(e)}),e;var n,r}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$Eg(t,e,n=m){var i,r;const o=this.constructor._$Eh(t,n);if(void 0!==o&&!0===n.reflect){const s=(null!==(r=null===(i=n.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==r?r:h.toAttribute)(e,n.type);this._$Ei=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Ei=null}}_$AK(t,e){var n,i,r;const o=this.constructor,s=o._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=o.getPropertyOptions(s),a=t.converter,c=null!==(r=null!==(i=null===(n=a)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof a?a:null)&&void 0!==r?r:h.fromAttribute;this._$Ei=s,this[s]=c(e,t.type),this._$Ei=null}}requestUpdate(t,e,n){let i=!0;void 0!==t&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||u)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===n.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(n)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(n)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Em)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,e)=>this._$Eg(e,this[e],t)),this._$ES=void 0),this._$EU()}updated(t){}firstUpdated(t){}}p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==l||l({ReactiveElement:p}),(null!==(d=globalThis.reactiveElementVersions)&&void 0!==d?d:globalThis.reactiveElementVersions=[]).push("1.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(2),r=n(5);
|
37
|
+
/**
|
38
|
+
* @license
|
39
|
+
* Copyright 2018 Google LLC
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
41
|
+
*/
|
42
|
+
const o=Object(r.c)(class extends r.a{constructor(t){var e;if(super(t),t.type!==r.b.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?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.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!(null===(n=this.et)||void 0===n?void 0:n.has(t))&&this.st.add(t);return this.render(e)}const o=t.element.classList;this.st.forEach(t=>{t in e||(o.remove(t),this.st.delete(t))});for(const t in e){const n=!!e[t];n===this.st.has(t)||(null===(r=this.et)||void 0===r?void 0:r.has(t))||(n?(o.add(t),this.st.add(t)):(o.remove(t),this.st.delete(t)))}return i.c}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));
|
43
|
+
/**
|
44
|
+
* @license
|
45
|
+
* Copyright 2017 Google LLC
|
46
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
47
|
+
*/
|
48
|
+
const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(n){n.createProperty(e.key,t)}}:{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)}};function r(t){return(e,n)=>void 0!==n?((t,e,n)=>{e.constructor.createProperty(n,t)})(t,e,n):i(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n(0),r=n(23);n.d(e,"b",(function(){return r.a}));
|
49
|
+
/**
|
50
|
+
* @license
|
51
|
+
* Copyright 2018 Google LLC
|
52
|
+
* SPDX-License-Identifier: Apache-2.0
|
53
|
+
*/
|
54
|
+
class o extends i.a{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},function(t,e,n){"use strict";var i=n(15);n.d(e,"a",(function(){return i.a}));var r=n(8);n.d(e,"b",(function(){return r.a}));n(16),n(17);var o=n(18);n.d(e,"c",(function(){return o.a}));n(19),n(20),n(21)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
55
|
+
/**
|
56
|
+
* @license
|
57
|
+
* Copyright 2018 Google LLC
|
58
|
+
* SPDX-License-Identifier: Apache-2.0
|
59
|
+
*/
|
60
|
+
const i=t=>(e,n)=>{if(e.constructor._observers){if(!e.constructor.hasOwnProperty("_observers")){const t=e.constructor._observers;e.constructor._observers=new Map,t.forEach((t,n)=>e.constructor._observers.set(n,t))}}else{e.constructor._observers=new Map;const t=e.updated;e.updated=function(e){t.call(this,e),e.forEach((t,e)=>{const n=this.constructor._observers.get(e);void 0!==n&&n.call(this,this[e],t)})}}e.constructor._observers.set(n,t)}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
61
|
+
/**
|
62
|
+
* @license
|
63
|
+
* Copyright 2016 Google Inc.
|
64
|
+
*
|
65
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
66
|
+
* of this software and associated documentation files (the "Software"), to deal
|
67
|
+
* in the Software without restriction, including without limitation the rights
|
68
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
69
|
+
* copies of the Software, and to permit persons to whom the Software is
|
70
|
+
* furnished to do so, subject to the following conditions:
|
71
|
+
*
|
72
|
+
* The above copyright notice and this permission notice shall be included in
|
73
|
+
* all copies or substantial portions of the Software.
|
74
|
+
*
|
75
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
76
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
77
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
78
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
79
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
80
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
81
|
+
* THE SOFTWARE.
|
82
|
+
*/
|
83
|
+
var i=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n(6);n.d(e,"b",(function(){return i.b}));var r,o,s=n(2);n.d(e,"c",(function(){return s.b}));i.a;class a extends i.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const n=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=n.firstChild),n}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(s.e)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return s.c}}a.finalized=!0,a._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:a});const c=globalThis.litElementPolyfillSupport;null==c||c({LitElement:a});(null!==(o=globalThis.litElementVersions)&&void 0!==o?o:globalThis.litElementVersions=[]).push("3.0.1")},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));
|
84
|
+
/**
|
85
|
+
* @license
|
86
|
+
* Copyright 2017 Google LLC
|
87
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
88
|
+
*/
|
89
|
+
const i=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:n,elements:i}=e;return{kind:n,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(8);
|
90
|
+
/**
|
91
|
+
* @license
|
92
|
+
* Copyright 2017 Google LLC
|
93
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
94
|
+
*/function r(t){return Object(i.a)({...t,state:!0})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
95
|
+
/**
|
96
|
+
* @license
|
97
|
+
* Copyright 2017 Google LLC
|
98
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
99
|
+
*/function r(t){return Object(i.a)({finisher:(e,n)=>{Object.assign(e.prototype[n],t)}})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
100
|
+
/**
|
101
|
+
* @license
|
102
|
+
* Copyright 2017 Google LLC
|
103
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
104
|
+
*/function r(t,e){return Object(i.a)({descriptor:n=>{const i={get(){var e,n;return null!==(n=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(e){const 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?void 0:n.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}},function(t,e,n){"use strict";n(4);
|
105
|
+
/**
|
106
|
+
* @license
|
107
|
+
* Copyright 2017 Google LLC
|
108
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
109
|
+
*/},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* Copyright 2017 Google LLC
|
113
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
114
|
+
*/function r(t){return Object(i.a)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(4);
|
115
|
+
/**
|
116
|
+
* @license
|
117
|
+
* Copyright 2017 Google LLC
|
118
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
119
|
+
*/function r(t="",e=!1,n=""){return Object(i.a)({descriptor:i=>({get(){var i,r,o;const s="slot"+(t?`[name=${t}]`:":not([name])");let a=null!==(o=null===(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(s))||void 0===r?void 0:r.assignedNodes({flatten:e}))&&void 0!==o?o:[];return n&&(a=a.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(n))),a},enumerable:!0,configurable:!0})})}},,function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return l}));
|
120
|
+
/**
|
121
|
+
* @license
|
122
|
+
* Copyright 2018 Google LLC
|
123
|
+
* SPDX-License-Identifier: Apache-2.0
|
124
|
+
*/
|
125
|
+
const i=t=>t.nodeType===Node.ELEMENT_NODE;function r(t){return{addClass:e=>{t.classList.add(e)},removeClass:e=>{t.classList.remove(e)},hasClass:e=>t.classList.contains(e)}}let o=!1;const s=()=>{},a={get passive(){return o=!0,!1}};document.addEventListener("x",s,a),document.removeEventListener("x",s);const c=o,d=(t=window.document)=>{let e=t.activeElement;const n=[];if(!e)return n;for(;e&&(n.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return n},l=t=>{const e=d();if(!e.length)return!1;const n=e[e.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let r=[];const o=t=>{r=t.composedPath()};return document.body.addEventListener("check-if-focused",o),n.dispatchEvent(i),document.body.removeEventListener("check-if-focused",o),-1!==r.indexOf(t)}},,,,function(t,e,n){"use strict";n(6),n(2);var i=n(14);n.d(e,"a",(function(){return i.a})),n.d(e,"b",(function(){return i.b})),n.d(e,"c",(function(){return i.c}))},,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"a",(function(){return i}));
|
126
|
+
/**
|
127
|
+
* @license
|
128
|
+
* Copyright 2020 Google Inc.
|
129
|
+
*
|
130
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
131
|
+
* of this software and associated documentation files (the "Software"), to deal
|
132
|
+
* in the Software without restriction, including without limitation the rights
|
133
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
134
|
+
* copies of the Software, and to permit persons to whom the Software is
|
135
|
+
* furnished to do so, subject to the following conditions:
|
136
|
+
*
|
137
|
+
* The above copyright notice and this permission notice shall be included in
|
138
|
+
* all copies or substantial portions of the Software.
|
139
|
+
*
|
140
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
141
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
142
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
143
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
144
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
145
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
146
|
+
* THE SOFTWARE.
|
147
|
+
*/
|
148
|
+
var i,r={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},o={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},s={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening"},a={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action",SECONDARY_ACTION:".mdc-banner__secondary-action",TEXT:".mdc-banner__text"};!function(t){t[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.UNSPECIFIED=2]="UNSPECIFIED"}(i||(i={}))},,,,,function(t,e,n){"use strict";var i=n(7);n.d(e,"a",(function(){return i.a}))},,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(13),r=n(34);
|
149
|
+
/**
|
150
|
+
* @license
|
151
|
+
* Copyright 2020 Google Inc.
|
152
|
+
*
|
153
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
154
|
+
* of this software and associated documentation files (the "Software"), to deal
|
155
|
+
* in the Software without restriction, including without limitation the rights
|
156
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
157
|
+
* copies of the Software, and to permit persons to whom the Software is
|
158
|
+
* furnished to do so, subject to the following conditions:
|
159
|
+
*
|
160
|
+
* The above copyright notice and this permission notice shall be included in
|
161
|
+
* all copies or substantial portions of the Software.
|
162
|
+
*
|
163
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
164
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
165
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
166
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
167
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
168
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
169
|
+
* THE SOFTWARE.
|
170
|
+
*/
|
171
|
+
const{OPENING:o,OPEN:s,CLOSING:a}=r.b;class c extends i.a{constructor(t){super(Object.assign(Object.assign({},c.defaultAdapter),t)),this.isOpened=!1,this.animationFrame=0,this.animationTimer=0}static get defaultAdapter(){return{addClass:()=>{},getContentHeight:()=>0,notifyClosed:()=>{},notifyClosing:()=>{},notifyOpened:()=>{},notifyOpening:()=>{},releaseFocus:()=>{},removeClass:()=>{},setStyleProperty:()=>{},trapFocus:()=>{}}}destroy(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0}open(){this.isOpened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(a),this.adapter.addClass(o);const t=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(()=>{this.adapter.addClass(s),this.adapter.setStyleProperty("height",t+"px"),this.animationTimer=setTimeout(()=>{this.handleAnimationTimerEnd(),this.adapter.trapFocus(),this.adapter.notifyOpened()},r.d.BANNER_ANIMATION_OPEN_TIME_MS)})}close(t){this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(a),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(s),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(()=>{this.adapter.releaseFocus(),this.handleAnimationTimerEnd(),this.adapter.notifyClosed(t)},r.d.BANNER_ANIMATION_CLOSE_TIME_MS))}isOpen(){return this.isOpened}handlePrimaryActionClick(){this.close(r.a.PRIMARY)}handleSecondaryActionClick(){this.close(r.a.SECONDARY)}layout(){const t=this.adapter.getContentHeight();console.log("he",t),this.adapter.setStyleProperty("height",t+"px")}handleAnimationTimerEnd(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(a)}}e.a=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"CovalentAlert",(function(){return p}));var i=n(10),r=n(9),o=n(11),s=n(34),a=n(54),c=n(27),d=n(39),l=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};class h extends r.a{constructor(){super(...arguments),this.mdcFoundationClass=a.a,this.open=!0,this.titleText="",this.descriptionText="",this.icon="",this.inline=!1,this.state="",this.reason=s.a.UNSPECIFIED}render(){const t={"mdc-banner":!0,"td-banner--inline":this.inline,negative:"negative"===this.state,positive:"positive"===this.state,caution:"caution"===this.state,active:"active"===this.state};return c.c`
|
172
|
+
<div class="${Object(d.a)(t)}" role="banner">
|
173
|
+
<div class="mdc-banner__content"
|
174
|
+
role="alertdialog"
|
175
|
+
aria-live="assertive">
|
176
|
+
|
177
|
+
<div class="mdc-banner__graphic-text-wrapper">
|
178
|
+
${this.icon?this.renderIcon():""}
|
179
|
+
<div class="mdc-banner__text">
|
180
|
+
<span class="mdc-typography--body2">${this.titleText}</span>
|
181
|
+
<div class="mdc-typography--body1">
|
182
|
+
${this.descriptionText}
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
</div>
|
187
|
+
<div class="mdc-banner__actions">
|
188
|
+
<slot name="action-items"></slot>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
</div>`}renderIcon(){return c.c`
|
192
|
+
<div class="mdc-banner__graphic" role="img" alt="">
|
193
|
+
<slot name="icon">
|
194
|
+
<td-icon class="mdc-banner__icon">
|
195
|
+
${this.icon}
|
196
|
+
</td-icon>
|
197
|
+
</slot>
|
198
|
+
</div>`}createAdapter(){return Object.assign(Object.assign({},Object(r.b)(this.mdcRoot)),{getContentHeight:()=>this.mdcContent.offsetHeight,setStyleProperty:(t,e)=>{this.mdcRoot.style.setProperty(t,e)},trapFocus:()=>{},releaseFocus:()=>{},notifyClosed:t=>{},notifyClosing:t=>{this.open=!1},notifyOpened:()=>{},notifyOpening:()=>{this.open=!0}})}show(){this.open=!0}close(t=s.a.UNSPECIFIED){this.reason=t,this.open=!1}firstUpdated(){super.firstUpdated(),this.open&&this.mdcFoundation.open()}}l([Object(i.c)(".mdc-banner")],h.prototype,"mdcRoot",void 0),l([Object(i.c)(".mdc-banner__content")],h.prototype,"mdcContent",void 0),l([Object(i.b)({type:Boolean,reflect:!0}),Object(o.a)((function(t){this.mdcFoundation&&(t?this.mdcFoundation.open():(this.mdcFoundation.close(this.reason),this.reason=s.a.UNSPECIFIED))}))],h.prototype,"open",void 0),l([Object(i.b)({type:String})],h.prototype,"titleText",void 0),l([Object(i.b)({type:String})],h.prototype,"descriptionText",void 0),l([Object(i.b)({type:String})],h.prototype,"icon",void 0),l([Object(i.b)({type:Boolean})],h.prototype,"inline",void 0),l([Object(i.b)()],h.prototype,"state",void 0);var u=c.b`:host .mdc-banner__graphic{color:#fff;color:var(--mdc-theme-surface,#fff)}:host .mdc-banner__graphic{background-color:#6200ee;background-color:var(--mdc-theme-primary,#6200ee)}:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:344px}@media(max-width:480px),(max-width:344px){:host .mdc-banner__content,:host .mdc-banner__fixed{min-width:100%}}:host .mdc-banner__content{max-width:720px}:host .mdc-banner{z-index:1;border-bottom-style:solid;box-sizing:border-box;display:none;flex-shrink:0;height:0;position:relative;width:100%}@media(max-width:480px){:host .mdc-banner .mdc-banner__fixed{left:0;right:0}:host .mdc-banner .mdc-banner__text{margin-left:16px;margin-right:36px}:host .mdc-banner .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner .mdc-banner__text{margin-left:36px;margin-right:16px}}@media(max-width:480px){:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__content{flex-wrap:wrap}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__graphic{margin-bottom:12px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:16px;margin-right:8px;padding-bottom:4px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__text{margin-left:8px;margin-right:16px}:host .mdc-banner.mdc-banner--mobile-stacked .mdc-banner__actions{margin-left:auto}}:host .mdc-banner--closing,:host .mdc-banner--open,:host .mdc-banner--opening{display:flex}:host .mdc-banner--open{transition:height .3s ease}:host .mdc-banner--open .mdc-banner__content{transition:transform .3s ease;transform:translateY(0)}:host .mdc-banner--closing{transition:height 250ms ease}:host .mdc-banner--closing .mdc-banner__content{transition:transform 250ms ease}:host .mdc-banner--centered .mdc-banner__content{left:0;margin-left:auto;margin-right:auto;right:0}:host .mdc-banner__fixed{border-bottom-style:solid;box-sizing:border-box;height:inherit;position:fixed;width:100%}:host .mdc-banner__content{display:flex;min-height:52px;position:absolute;transform:translateY(-100%);width:100%}:host .mdc-banner__graphic-text-wrapper{display:flex;width:100%}:host .mdc-banner__graphic{margin-left:16px;margin-right:0;flex-shrink:0;margin-top:16px;margin-bottom:16px;text-align:center}:host .mdc-banner__graphic[dir=rtl],[dir=rtl] :host .mdc-banner__graphic{margin-left:0;margin-right:16px}:host .mdc-banner__icon{position:relative;top:50%;transform:translateY(-50%)}:host .mdc-banner__text{margin-left:24px;margin-right:90px;align-self:center;flex-grow:1;padding-top:16px;padding-bottom:16px}:host .mdc-banner__text[dir=rtl],[dir=rtl] :host .mdc-banner__text{margin-left:90px;margin-right:24px}:host .mdc-banner__actions{padding-left:0;padding-right:8px;align-self:flex-end;display:flex;flex-shrink:0;padding-bottom:8px;padding-top:8px}:host .mdc-banner__actions[dir=rtl],[dir=rtl] :host .mdc-banner__actions{padding-left:8px;padding-right:0}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{background-color:#fff;border-bottom-color:rgba(0,0,0,.12);border-bottom-width:1px;border-radius:0}:host .mdc-banner .mdc-banner__text{color:#000}:host .mdc-banner .mdc-banner__text{letter-spacing:.0178571429em;font-size:.875rem;font-family:Roboto,sans-serif;font-weight:400;line-height:1.25rem}:host .mdc-banner .mdc-banner__graphic{border-radius:50%}:host .mdc-banner .mdc-banner__graphic{height:40px;width:40px}:host .mdc-banner .mdc-banner__fixed{background-color:#fff}:host .mdc-banner .mdc-banner__fixed{border-bottom-color:rgba(0,0,0,.12)}:host .mdc-banner .mdc-banner__fixed{border-bottom-width:1px}:host .mdc-banner .mdc-button:not(:disabled){color:#6200ee;color:var(--mdc-text-button-label-text-color,#6200ee)}:host .mdc-banner .mdc-button .mdc-button__ripple::after,:host .mdc-banner .mdc-button .mdc-button__ripple::before{background-color:#6200ee;background-color:var(--mdc-text-button-hover-state-layer-color,#6200ee)}:host .mdc-banner .mdc-button.mdc-ripple-surface--hover .mdc-button__ripple::before,:host .mdc-banner .mdc-button:hover .mdc-button__ripple::before{opacity:.04;opacity:var(--mdc-text-button-hover-state-layer-opacity,.04)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-text-button-focus-state-layer-opacity,.12)}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}:host .mdc-banner .mdc-button:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:.1;opacity:var(--mdc-text-button-pressed-state-layer-opacity,.1)}:host .mdc-banner .mdc-button.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-text-button-pressed-state-layer-opacity, 0.1)}:host .mdc-banner__secondary-action{margin-left:0;margin-right:8px}:host .mdc-banner__secondary-action[dir=rtl],[dir=rtl] :host .mdc-banner__secondary-action{margin-left:8px;margin-right:0}:host .mdc-banner{--mdc-theme-surface:var(--mdc-theme-surface-neutral);background-color:var(--mdc-theme-surface)}:host .mdc-banner .mdc-banner__graphic{--mdc-theme-surface:var(--mdc-theme-text-icon-on-background)}:host .mdc-banner .mdc-banner__text{color:var(--mdc-theme-text-primary-on-background)}:host .mdc-banner .mdc-banner__text .mdc-typography--body2{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:700;line-height:var(--mdc-typography-body2-line-height)}:host .mdc-banner .mdc-banner__text .mdc-typography--body1{color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height)}:host .mdc-banner.caution{--mdc-theme-surface:var(--mdc-theme-surface-caution)}:host .mdc-banner.caution.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-caution-highlight)}:host .mdc-banner.caution.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.caution.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-caution);--mdc-theme-text-primary-on-background:var(--mdc-theme-caution)}:host .mdc-banner.negative{--mdc-theme-surface:var(--mdc-theme-surface-negative)}:host .mdc-banner.negative.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-negative-highlight)}:host .mdc-banner.negative.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.negative.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-negative);--mdc-theme-text-primary-on-background:var(--mdc-theme-negative)}:host .mdc-banner.active{--mdc-theme-surface:var(--mdc-theme-surface-secondary)}:host .mdc-banner.active.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-secondary-highlight)}:host .mdc-banner.active.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.active.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-secondary);--mdc-theme-text-primary-on-background:var(--mdc-theme-secondary)}:host .mdc-banner.positive{--mdc-theme-surface:var(--mdc-theme-surface-positive)}:host .mdc-banner.positive.td-banner--inline{--mdc-theme-surface:var(--mdc-theme-surface-positive-highlight)}:host .mdc-banner.positive.td-banner--inline .mdc-banner__graphic,:host .mdc-banner.positive.td-banner--inline .mdc-banner__text{--mdc-theme-surface:var(--mdc-theme-positive);--mdc-theme-text-primary-on-background:var(--mdc-theme-positive)}:host .mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity,0);transition:opacity 280ms cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color,#fff)}:host .mdc-banner{border-radius:8px;position:relative;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);overflow:hidden;border:none}:host .mdc-banner .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}:host .mdc-banner .mdc-banner__content{max-width:inherit}:host .mdc-banner .mdc-banner__graphic{background:0 0;margin-left:24px;width:24px}:host .mdc-banner .mdc-banner__text{margin-left:24px}:host .mdc-banner .mdc-banner__actions{align-self:center;align-items:center}:host .mdc-banner.td-banner--inline{border-radius:0;box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}:host ::slotted(*){margin-left:8px}`,m=function(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s};let p=class extends h{};p.styles=[u],p=m([Object(i.a)("td-alert")],p)}]);
|