New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axa-ch/icon

Package Overview
Dependencies
Maintainers
22
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axa-ch/icon - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

dist/index.js

@@ -1,1 +0,1 @@

var window=function(){"use strict";var o=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};function t(t,e){return t(e={exports:{}},e.exports),e.exports}var T=t(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r});var n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var a=function(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?n(t):e},s=t(function(e){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}e.exports=n});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},l=t(function(n){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r});var c=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)};var h=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t},p=t(function(r){function i(t,e,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=i=Reflect.get:r.exports=i=function(t,e,n){var r=h(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},i(t,e,n||t)}r.exports=i}),e=new WeakMap,f=function(t){return"function"==typeof t&&e.has(t)},i=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,d=function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=e;r!==n;){var i=r.nextSibling;t.removeChild(r),r=i}},v={},y={};var m=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var g=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var w=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var _=function(t){return m(t)||g(t)||w()},P="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(P,"--\x3e"),C=new RegExp("".concat(P,"|").concat(S)),E="$lit$",x=function t(_,e){var S=this;o(this,t),this.parts=[],this.element=e;var x=-1,b=0,k=[];!function t(e){for(var n=e.content,r=document.createTreeWalker(n,133,null,!1),i=0;r.nextNode();){x++;var o=r.currentNode;if(1===o.nodeType){if(o.hasAttributes()){for(var a=o.attributes,s=0,u=0;u<a.length;u++)0<=a[u].value.indexOf(P)&&s++;for(;0<s--;){var l=_.strings[b],c=A.exec(l)[2],h=c.toLowerCase()+E,p=o.getAttribute(h).split(C);S.parts.push({type:"attribute",index:x,name:c,strings:p}),o.removeAttribute(h),b+=p.length-1}}"TEMPLATE"===o.tagName&&t(o)}else if(3===o.nodeType){var f=o.data;if(0<=f.indexOf(P)){for(var d=o.parentNode,v=f.split(C),y=v.length-1,m=0;m<y;m++)d.insertBefore(""===v[m]?N():document.createTextNode(v[m]),o),S.parts.push({type:"node",index:++x});""===v[y]?(d.insertBefore(N(),o),k.push(o)):o.data=v[y],b+=y}}else if(8===o.nodeType)if(o.data===P){var g=o.parentNode;null!==o.previousSibling&&x!==i||(x++,g.insertBefore(N(),o)),i=x,S.parts.push({type:"node",index:x}),null===o.nextSibling?o.data="":(k.push(o),x--),b++}else for(var w=-1;-1!==(w=o.data.indexOf(P,w+1));)S.parts.push({type:"node",index:-1})}}(e);for(var n=0,r=k;n<r.length;n++){var i=r[n];i.parentNode.removeChild(i)}},b=function(t){return-1!==t.index},N=function(){return document.createComment("")},A=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,k=function(){function r(t,e,n){o(this,r),this._parts=[],this.template=t,this.processor=e,this.options=n}return u(r,[{key:"update",value:function(t){var e=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,l=!1,c=void 0;try{for(var h,p=this._parts[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var f=h.value;void 0!==f&&f.commit()}}catch(t){l=!0,c=t}finally{try{u||null==p.return||p.return()}finally{if(l)throw c}}}},{key:"_clone",value:function(){var s=this,t=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),u=this.template.parts,l=0,c=0;return function t(e){for(var n=document.createTreeWalker(e,133,null,!1),r=n.nextNode();l<u.length&&null!==r;){var i=u[l];if(b(i))if(c===i.index){if("node"===i.type){var o=s.processor.handleTextExpression(s.options);o.insertAfterNode(r.previousSibling),s._parts.push(o)}else{var a;(a=s._parts).push.apply(a,_(s.processor.handleAttributeExpressions(r,i.name,i.strings,s.options)))}l++}else c++,"TEMPLATE"===r.nodeName&&t(r.content),r=n.nextNode();else s._parts.push(void 0),l++}}(t),i&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),r}(),O=function(){function i(t,e,n,r){o(this,i),this.strings=t,this.values=e,this.type=n,this.processor=r}return u(i,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=0;n<t;n++){var r=this.strings[n],i=A.exec(r);e+=i?r.substr(0,i.index)+i[1]+i[2]+E+i[3]+P:r+S}return e+this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),i}(),L=function(t){function r(){return o(this,r),a(this,s(r).apply(this,arguments))}return c(r,O),u(r,[{key:"getHTML",value:function(){return"<svg>".concat(p(s(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=p(s(r.prototype),"getTemplateElement",this).call(this),e=t.content,n=e.firstChild;return e.removeChild(n),function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=e;i!==n;){var o=i.nextSibling;t.insertBefore(i,r),i=o}}(e,n.firstChild),t}}]),r}(),V=function(t){return null===t||!("object"===T(t)||"function"==typeof t)},M=function(){function i(t,e,n){o(this,i),this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}return u(i,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var i=this.parts[r];if(void 0!==i){var o=i.value;if(null!=o&&(Array.isArray(o)||"string"!=typeof o&&o[Symbol.iterator])){var a=!0,s=!1,u=void 0;try{for(var l,c=o[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var h=l.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==c.return||c.return()}finally{if(s)throw u}}}else n+="string"==typeof o?o:String(o)}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),i}(),j=function(){function e(t){o(this,e),this.value=void 0,this.committer=t}return u(e,[{key:"setValue",value:function(t){t===v||V(t)&&t===this.value||(this.value=t,f(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;f(this.value);){var t=this.value;this.value=v,t(this)}this.value!==v&&this.committer.commit()}}]),e}(),R=function(){function c(t){o(this,c),this.value=void 0,this._pendingValue=void 0,this.options=t}return u(c,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(N()),this.endNode=t.appendChild(N())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t._insert(this.startNode=N()),t._insert(this.endNode=N())}},{key:"insertAfterPart",value:function(t){t._insert(this.startNode=N()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}var e=this._pendingValue;e!==v&&(V(e)?e!==this.value&&this._commitText(e):e instanceof O?this._commitTemplateResult(e):e instanceof Node?this._commitNode(e):Array.isArray(e)||e[Symbol.iterator]?this._commitIterable(e):e===y?(this.value=y,this.clear()):this._commitText(e))}},{key:"_insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"_commitNode",value:function(t){this.value!==t&&(this.clear(),this._insert(t),this.value=t)}},{key:"_commitText",value:function(t){var e=this.startNode.nextSibling;t=null==t?"":t,e===this.endNode.previousSibling&&3===e.nodeType?e.data=t:this._commitNode(document.createTextNode("string"==typeof t?t:String(t))),this.value=t}},{key:"_commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof k&&this.value.template===e)this.value.update(t.values);else{var n=new k(e,t.processor,this.options),r=n._clone();n.update(t.values),this._commitNode(r),this.value=n}}},{key:"_commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n=this.value,r=0,i=!0,o=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;void 0===(e=n[r])&&(e=new c(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(l),e.commit(),r++}}catch(t){o=!0,a=t}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}r<n.length&&(n.length=r,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.startNode;d(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),c}(),z=function(){function r(t,e,n){if(o(this,r),this.value=void 0,this._pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}return u(r,[{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}if(this._pendingValue!==v){var e=!!this._pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=e,this._pendingValue=v}}}]),r}(),H=function(t){function i(t,e,n){var r;return o(this,i),(r=a(this,s(i).call(this,t,e,n))).single=2===n.length&&""===n[0]&&""===n[1],r}return c(i,M),u(i,[{key:"_createPart",value:function(){return new U(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:p(s(i.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),i}(),U=function(t){function e(){return o(this,e),a(this,s(e).apply(this,arguments))}return c(e,j),e}(),F=!1;try{var B={get capture(){return!(F=!0)}};window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch(t){}var q=function(){function i(t,e,n){var r=this;o(this,i),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this._boundHandleEvent=function(t){return r.handleEvent(t)}}return u(i,[{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}if(this._pendingValue!==v){var e=this._pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=I(e),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=e,this._pendingValue=v}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),i}(),I=function(t){return t&&(F?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},W=new(function(){function t(){o(this,t)}return u(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var i=e[0];return"."===i?new H(t,e.slice(1),n).parts:"@"===i?[new q(t,e.slice(1),r.eventContext)]:"?"===i?[new z(t,e.slice(1),n)]:new M(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new R(t)}}]),t}());function G(t){var e=D.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},D.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(P);return void 0===(n=e.keyString.get(r))&&(n=new x(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var D=new Map,J=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");function $(t,e){for(var n=t.element.content,r=t.parts,i=document.createTreeWalker(n,133,null,!1),o=X(r),a=r[o],s=-1,u=0,l=[],c=null;i.nextNode();){s++;var h=i.currentNode;for(h.previousSibling===c&&(c=null),e.has(h)&&(l.push(h),null===c&&(c=h)),null!==c&&u++;void 0!==a&&a.index===s;)a.index=null!==c?-1:a.index-u,a=r[o=X(r,o)]}l.forEach(function(t){return t.parentNode.removeChild(t)})}var Y=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},X=function(t){for(var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1)+1;e<t.length;e++){var n=t[e];if(b(n))return e}return-1};var K=function(t,e){return"".concat(t,"--").concat(e)},Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var Z=["html","svg"],tt=new Set,et=function(t,e,n){tt.add(n);var r=t.querySelectorAll("style");if(0!==r.length){for(var i,o=document.createElement("style"),a=0;a<r.length;a++){var s=r[a];s.parentNode.removeChild(s),o.textContent+=s.textContent}if(i=n,Z.forEach(function(t){var e=D.get(K(t,i));void 0!==e&&e.keyString.forEach(function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(function(t){n.add(t)}),$(t,n)})}),function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,i=t.parts;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),a=X(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=Y(e),n.parentNode.insertBefore(e,n));-1!==a&&i[a].index===u;){if(0<s){for(;-1!==a;)i[a].index+=s,a=X(i,a);return}a=X(i,a)}else r.appendChild(e)}(e,o,e.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n),window.ShadyCSS.nativeShadow){var u=e.element.content.querySelector("style");t.insertBefore(u.cloneNode(!0),t.firstChild)}else{e.element.content.insertBefore(o,e.element.content.firstChild);var l=new Set;l.add(o),$(e,l)}}else window.ShadyCSS.prepareTemplateStyles(e.element,n)},nt=t(function(t){var e=function(o){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function a(t,e,n,r){var o,a,s,u,i=e&&e.prototype instanceof m?e:m,l=Object.create(i.prototype),c=new E(r||[]);return l._invoke=(o=t,a=n,s=c,u=p,function(t,e){if(u===d)throw new Error("Generator is already running");if(u===v){if("throw"===t)throw e;return A()}for(s.method=t,s.arg=e;;){var n=s.delegate;if(n){var r=k(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===p)throw u=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=d;var i=h(o,a,s);if("normal"===i.type){if(u=s.done?v:f,i.arg===y)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(u=v,s.method="throw",s.arg=i.arg)}}),l}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=a;var p="suspendedStart",f="suspendedYield",d="executing",v="completed",y={};function m(){}function s(){}function c(){}var g={};g[i]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(N([])));_&&_!==t&&l.call(_,i)&&(g=_);var S=c.prototype=m.prototype=Object.create(g);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function b(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,i){var o=h(u[t],u,n);if("throw"!==o.type){var a=o.arg,s=a.value;return s&&"object"===T(s)&&l.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,r,i)},function(t){e("throw",t,r,i)}):Promise.resolve(s).then(function(t){a.value=t,r(a)},function(t){return e("throw",t,r,i)})}i(o.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function k(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,k(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:u,done:!0}}return s.prototype=S.constructor=c,c.constructor=s,c[r]=s.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===s||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},x(b.prototype),b.prototype[n]=function(){return this},o.AsyncIterator=b,o.async=function(t,e,n,r){var i=new b(a(t,e,n,r));return o.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(S),S[r]="Generator",S[i]=function(){return this},S.toString=function(){return"[object Generator]"},o.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=N,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return o.type="throw",o.arg=n,r.next=t,e&&(r.method="next",r.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}},o}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function rt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}var it=function(s){return function(){var t=this,a=arguments;return new Promise(function(e,n){var r=s.apply(t,a);function i(t){rt(r,e,n,i,o,"next",t)}function o(t){rt(r,e,n,i,o,"throw",t)}i(void 0)})}};var ot=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},at=t(function(r){function i(t,e,n){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?r.exports=i=function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&l(i,n.prototype),i}:r.exports=i=Reflect.construct,i.apply(null,arguments)}r.exports=i}),st=t(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!ot(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return at(t,arguments,s(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),l(e,t)},r(t)}e.exports=r});window.JSCompiler_renameProperty=function(t,e){return t};var ut={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},lt=function(t,e){return e!==t&&(e==e||t==t)},ct={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:lt},ht=Promise.resolve(!0),pt=function(t){function e(){var t;return o(this,e),(t=a(this,s(e).call(this)))._updateState=0,t._instanceProperties=void 0,t._updatePromise=ht,t._hasConnectedResolver=void 0,t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}var n;return c(e,t),u(e,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var r=this;this.constructor._classProperties.forEach(function(t,e){if(r.hasOwnProperty(e)){var n=r[e];delete r[e],r._instanceProperties||(r._instanceProperties=new Map),r._instanceProperties.set(e,n)}})}},{key:"_applyInstanceProperties",value:function(){var n=this;this._instanceProperties.forEach(function(t,e){return n[e]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:ct,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var o=r._propertyValueToAttribute(e,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n._classProperties.get(r)||ct;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,i=r._classProperties.get(t)||ct;r._valueHasChanged(this[t],e,i.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,i))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=it(nt.mark(function t(){var n,r,e,i,o=this;return nt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,e=this._updatePromise,this._updatePromise=new Promise(function(t,e){n=t,r=e}),t.prev=3,t.next=6,e;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:if(this._hasConnected){t.next=13;break}return t.next=13,new Promise(function(t){return o._hasConnectedResolver=t});case 13:if(t.prev=13,null!=(i=this.performUpdate()))return t.next=18,i;t.next=18;break;case 18:t.next=23;break;case 20:t.prev=20,t.t1=t.catch(13),r(t.t1);case 23:n(!this._hasRequestedUpdate);case 24:case"end":return t.stop()}},t,this,[[3,8],[13,20]])})),function(){return n.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var n=this;void 0!==this._reflectingProperties&&0<this._reflectingProperties.size&&(this._reflectingProperties.forEach(function(t,e){return n._propertyToAttribute(e,n[e],t)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var n=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,e){return n._classProperties.set(e,t)})}}},{key:"createProperty",value:function(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:ct;if(this._ensureClassProperties(),this._classProperties.set(n,t),!t.noAccessor&&!this.prototype.hasOwnProperty(n)){var r="symbol"===T(n)?Symbol():"__".concat(n);Object.defineProperty(this.prototype,n,{get:function(){return this[r]},set:function(t){var e=this[n];this[r]=t,this._requestUpdate(n,e)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var t=Object.getPrototypeOf(this);if("function"==typeof t.finalize&&t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[].concat(_(Object.getOwnPropertyNames(e)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,e[u])}}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:lt)(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||ut,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||ut.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var r=this;this.finalize();var i=[];return this._classProperties.forEach(function(t,e){var n=r._attributeNameForProperty(e,t);void 0!==n&&(r._attributeToPropertyMap.set(n,e),i.push(n))}),i}}]),e}(st(HTMLElement));pt.finalized=!0;var ft="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var dt=function(t){return t.flat?t.flat(1/0):function t(e){for(var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=0,i=e.length;r<i;r++){var o=e[r];Array.isArray(o)?t(o,n):n.push(o)}return n}(t)},vt=function(t){function r(){return o(this,r),a(this,s(r).apply(this,arguments))}return c(r,pt),u(r,[{key:"initialize",value:function(){p(s(r.prototype),"initialize",this).call(this),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ft?this.renderRoot.adoptedStyleSheets=t.map(function(t){return t.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(function(t){return t.cssText}),this.localName))}},{key:"connectedCallback",value:function(){p(s(r.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this;p(s(r.prototype),"update",this).call(this,t);var e=this.render();e instanceof O&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(function(t){var e=document.createElement("style");e.textContent=t.cssText,n.renderRoot.appendChild(e)}))}},{key:"render",value:function(){}}],[{key:"finalize",value:function(){p(s(r),"finalize",this).call(this),this._styles=this.hasOwnProperty(JSCompiler_renameProperty("styles",this))?this._getUniqueStyles():this._styles||[]}},{key:"_getUniqueStyles",value:function(){var t=this.styles,e=[];Array.isArray(t)?dt(t).reduceRight(function(t,e){return t.add(e),t},new Set).forEach(function(t){return e.unshift(t)}):t&&e.push(t);return e}}]),r}();vt.finalized=!0,vt.render=function(t,e,n){var r,i,o,a,s,u=n.scopeName,l=J.has(e),c=e instanceof ShadowRoot&&Q&&t instanceof O,h=c&&!tt.has(u),p=h?document.createDocumentFragment():e;if(r=t,i=p,o=Object.assign({templateFactory:(s=u,function(t){var e=K(t.type,s),n=D.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},D.set(e,n));var r=n.stringsArray.get(t.strings);if(void 0!==r)return r;var i=t.strings.join(P);if(void 0===(r=n.keyString.get(i))){var o=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(o,s),r=new x(t,o),n.keyString.set(i,r)}return n.stringsArray.set(t.strings,r),r})},n),void 0===(a=J.get(i))&&(d(i,i.firstChild),J.set(i,a=new R(Object.assign({templateFactory:G},o))),a.appendInto(i)),a.setValue(r),a.commit(),h){var f=J.get(p);J.delete(p),f.value instanceof k&&et(p,f.value.template,u),d(e,e.firstChild),e.appendChild(p),J.set(e,f)}!l&&c&&window.ShadyCSS.styleElement(e.host)};var yt,mt,gt=function(t){function e(){var t;return o(this,e),(t=a(this,s(e).call(this))).icon="",t}return c(e,vt),u(e,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"iconsMapping",get:function(){return{"arrow-right":'<svg xmlns="http://www.w3.org/2000/svg" width="15" height="9" viewBox="0 0 15 9"><path fill="currentColor" d="M12.4 5.5H1.9c-.6 0-1-.4-1-1s.4-1 1-1h10.5c.6 0 1 .4 1 1s-.4 1-1 1z"/><path fill="currentColor" d="M10.4 9c-.2 0-.4-.1-.6-.2-.4-.3-.5-1-.2-1.4l2.3-2.9-2.3-2.9c-.3-.4-.3-1 .2-1.4.4-.3 1.1-.3 1.4.2l3.3 4.1-3.3 4.1c-.2.3-.5.4-.8.4z"/></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="currentColor" d="M8.8 6L5 2.3 1.2 6 0 4.9 5 0l5 4.9L8.8 6z"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" viewBox="0 0 10 12"><path fill="currentColor" d="M9.7 4.3H7v-4H3v4H.3L5 9l4.7-4.7zM.3 10.3v1.3h9.3v-1.3H.3z"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12"><path fill="currentColor" d="M12.3.7H1.7C.9.7.3 1.3.3 2v8c0 .7.6 1.3 1.3 1.3h10.7c.7 0 1.3-.6 1.3-1.3V2c.1-.7-.5-1.3-1.3-1.3zm0 2.6L7 6.7 1.7 3.3V2L7 5.3 12.3 2v1.3z"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="currentColor" d="M1.2 0L5 3.7 8.8 0 10 1.1 5 6 0 1.1 1.2 0z"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M2.4 5.2c1 1.9 2.5 3.4 4.4 4.4l1.5-1.5c.2-.2.5-.2.7-.1.8.3 1.6.4 2.4.4.3 0 .6.3.6.6v2.3c0 .4-.3.7-.7.7C5.1 12 0 6.9 0 .7 0 .3.3 0 .7 0H3c.4 0 .7.3.7.7 0 .8.1 1.5.3 2.3.1.2 0 .5-.2.7L2.4 5.2z"/></svg>',plus:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="currentColor" d="M9.7 5.7h-4v4H4.3v-4h-4V4.3h4v-4h1.3v4h4v1.4z"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M8.3 7.3h-.5l-.2-.2c1.5-1.8 1.4-4.4-.3-6s-4.4-1.5-6 .1-1.7 4.3-.1 6 4.2 1.9 6 .3l.2.2v.5l3.3 3.3 1-1-3.4-3.2zm-4 0c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" viewBox="0 0 10 12"><path fill="currentColor" d="M3 9h4V5h2.7L5 .3.3 5H3v4zM.3 10.3h9.3v1.3H.3v-1.3z"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String}}}}]),u(e,[{key:"firstUpdated",value:function(){var t=this,e=this.icon;if(/\.svg/.test(e)){var n=new XMLHttpRequest;n.open("GET",e),n.onreadystatechange=function(){4===n.readyState&&200===n.status&&(t.shadowRoot.innerHTML=n.response)},n.send()}}},{key:"render",value:function(){return function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new L(t,n,"svg",W)}([e.iconsMapping[this.icon]||""])}}]),e}();return yt=gt.tagName,mt=gt,window.customElements.get(yt)||window.customElements.define(yt,mt),gt}();
var window=function(){"use strict";var o=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")};function t(t,e){return t(e={exports:{}},e.exports),e.exports}var T=t(function(e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(t){return n(t)}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(t)}e.exports=r});var n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t};var a=function(t,e){return!e||"object"!==T(e)&&"function"!=typeof e?n(t):e},s=t(function(e){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}e.exports=n});function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},l=t(function(n){function r(t,e){return n.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}n.exports=r});var c=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)};var h=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t},p=t(function(r){function i(t,e,n){return"undefined"!=typeof Reflect&&Reflect.get?r.exports=i=Reflect.get:r.exports=i=function(t,e,n){var r=h(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},i(t,e,n||t)}r.exports=i}),e=new WeakMap,f=function(t){return"function"==typeof t&&e.has(t)},i=void 0!==window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,d=function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=e;r!==n;){var i=r.nextSibling;t.removeChild(r),r=i}},v={},y={};var m=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}};var g=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)};var w=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")};var _=function(t){return m(t)||g(t)||w()},P="{{lit-".concat(String(Math.random()).slice(2),"}}"),S="\x3c!--".concat(P,"--\x3e"),C=new RegExp("".concat(P,"|").concat(S)),E="$lit$",x=function t(_,e){var S=this;o(this,t),this.parts=[],this.element=e;var x=-1,b=0,k=[];!function t(e){for(var n=e.content,r=document.createTreeWalker(n,133,null,!1),i=0;r.nextNode();){x++;var o=r.currentNode;if(1===o.nodeType){if(o.hasAttributes()){for(var a=o.attributes,s=0,u=0;u<a.length;u++)0<=a[u].value.indexOf(P)&&s++;for(;0<s--;){var l=_.strings[b],c=A.exec(l)[2],h=c.toLowerCase()+E,p=o.getAttribute(h).split(C);S.parts.push({type:"attribute",index:x,name:c,strings:p}),o.removeAttribute(h),b+=p.length-1}}"TEMPLATE"===o.tagName&&t(o)}else if(3===o.nodeType){var f=o.data;if(0<=f.indexOf(P)){for(var d=o.parentNode,v=f.split(C),y=v.length-1,m=0;m<y;m++)d.insertBefore(""===v[m]?N():document.createTextNode(v[m]),o),S.parts.push({type:"node",index:++x});""===v[y]?(d.insertBefore(N(),o),k.push(o)):o.data=v[y],b+=y}}else if(8===o.nodeType)if(o.data===P){var g=o.parentNode;null!==o.previousSibling&&x!==i||(x++,g.insertBefore(N(),o)),i=x,S.parts.push({type:"node",index:x}),null===o.nextSibling?o.data="":(k.push(o),x--),b++}else for(var w=-1;-1!==(w=o.data.indexOf(P,w+1));)S.parts.push({type:"node",index:-1})}}(e);for(var n=0,r=k;n<r.length;n++){var i=r[n];i.parentNode.removeChild(i)}},b=function(t){return-1!==t.index},N=function(){return document.createComment("")},A=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F \x09\x0a\x0c\x0d"'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,k=function(){function r(t,e,n){o(this,r),this._parts=[],this.template=t,this.processor=e,this.options=n}return u(r,[{key:"update",value:function(t){var e=0,n=!0,r=!1,i=void 0;try{for(var o,a=this._parts[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;void 0!==s&&s.setValue(t[e]),e++}}catch(t){r=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}var u=!0,l=!1,c=void 0;try{for(var h,p=this._parts[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var f=h.value;void 0!==f&&f.commit()}}catch(t){l=!0,c=t}finally{try{u||null==p.return||p.return()}finally{if(l)throw c}}}},{key:"_clone",value:function(){var s=this,t=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),u=this.template.parts,l=0,c=0;return function t(e){for(var n=document.createTreeWalker(e,133,null,!1),r=n.nextNode();l<u.length&&null!==r;){var i=u[l];if(b(i))if(c===i.index){if("node"===i.type){var o=s.processor.handleTextExpression(s.options);o.insertAfterNode(r.previousSibling),s._parts.push(o)}else{var a;(a=s._parts).push.apply(a,_(s.processor.handleAttributeExpressions(r,i.name,i.strings,s.options)))}l++}else c++,"TEMPLATE"===r.nodeName&&t(r.content),r=n.nextNode();else s._parts.push(void 0),l++}}(t),i&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),r}(),O=function(){function i(t,e,n,r){o(this,i),this.strings=t,this.values=e,this.type=n,this.processor=r}return u(i,[{key:"getHTML",value:function(){for(var t=this.strings.length-1,e="",n=0;n<t;n++){var r=this.strings[n],i=A.exec(r);e+=i?r.substr(0,i.index)+i[1]+i[2]+E+i[3]+P:r+S}return e+this.strings[t]}},{key:"getTemplateElement",value:function(){var t=document.createElement("template");return t.innerHTML=this.getHTML(),t}}]),i}(),L=function(t){function r(){return o(this,r),a(this,s(r).apply(this,arguments))}return c(r,O),u(r,[{key:"getHTML",value:function(){return"<svg>".concat(p(s(r.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var t=p(s(r.prototype),"getTemplateElement",this).call(this),e=t.content,n=e.firstChild;return e.removeChild(n),function(t,e){for(var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=e;i!==n;){var o=i.nextSibling;t.insertBefore(i,r),i=o}}(e,n.firstChild),t}}]),r}(),V=function(t){return null===t||!("object"===T(t)||"function"==typeof t)},M=function(){function i(t,e,n){o(this,i),this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(var r=0;r<n.length-1;r++)this.parts[r]=this._createPart()}return u(i,[{key:"_createPart",value:function(){return new j(this)}},{key:"_getValue",value:function(){for(var t=this.strings,e=t.length-1,n="",r=0;r<e;r++){n+=t[r];var i=this.parts[r];if(void 0!==i){var o=i.value;if(null!=o&&(Array.isArray(o)||"string"!=typeof o&&o[Symbol.iterator])){var a=!0,s=!1,u=void 0;try{for(var l,c=o[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var h=l.value;n+="string"==typeof h?h:String(h)}}catch(t){s=!0,u=t}finally{try{a||null==c.return||c.return()}finally{if(s)throw u}}}else n+="string"==typeof o?o:String(o)}}return n+=t[e]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),i}(),j=function(){function e(t){o(this,e),this.value=void 0,this.committer=t}return u(e,[{key:"setValue",value:function(t){t===v||V(t)&&t===this.value||(this.value=t,f(t)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;f(this.value);){var t=this.value;this.value=v,t(this)}this.value!==v&&this.committer.commit()}}]),e}(),R=function(){function c(t){o(this,c),this.value=void 0,this._pendingValue=void 0,this.options=t}return u(c,[{key:"appendInto",value:function(t){this.startNode=t.appendChild(N()),this.endNode=t.appendChild(N())}},{key:"insertAfterNode",value:function(t){this.startNode=t,this.endNode=t.nextSibling}},{key:"appendIntoPart",value:function(t){t._insert(this.startNode=N()),t._insert(this.endNode=N())}},{key:"insertAfterPart",value:function(t){t._insert(this.startNode=N()),this.endNode=t.endNode,t.endNode=this.startNode}},{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}var e=this._pendingValue;e!==v&&(V(e)?e!==this.value&&this._commitText(e):e instanceof O?this._commitTemplateResult(e):e instanceof Node?this._commitNode(e):Array.isArray(e)||e[Symbol.iterator]?this._commitIterable(e):e===y?(this.value=y,this.clear()):this._commitText(e))}},{key:"_insert",value:function(t){this.endNode.parentNode.insertBefore(t,this.endNode)}},{key:"_commitNode",value:function(t){this.value!==t&&(this.clear(),this._insert(t),this.value=t)}},{key:"_commitText",value:function(t){var e=this.startNode.nextSibling;t=null==t?"":t,e===this.endNode.previousSibling&&3===e.nodeType?e.data=t:this._commitNode(document.createTextNode("string"==typeof t?t:String(t))),this.value=t}},{key:"_commitTemplateResult",value:function(t){var e=this.options.templateFactory(t);if(this.value instanceof k&&this.value.template===e)this.value.update(t.values);else{var n=new k(e,t.processor,this.options),r=n._clone();n.update(t.values),this._commitNode(r),this.value=n}}},{key:"_commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var e,n=this.value,r=0,i=!0,o=!1,a=void 0;try{for(var s,u=t[Symbol.iterator]();!(i=(s=u.next()).done);i=!0){var l=s.value;void 0===(e=n[r])&&(e=new c(this.options),n.push(e),0===r?e.appendIntoPart(this):e.insertAfterPart(n[r-1])),e.setValue(l),e.commit(),r++}}catch(t){o=!0,a=t}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}r<n.length&&(n.length=r,this.clear(e&&e.endNode))}},{key:"clear",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.startNode;d(this.startNode.parentNode,t.nextSibling,this.endNode)}}]),c}(),z=function(){function r(t,e,n){if(o(this,r),this.value=void 0,this._pendingValue=void 0,2!==n.length||""!==n[0]||""!==n[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=e,this.strings=n}return u(r,[{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}if(this._pendingValue!==v){var e=!!this._pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)),this.value=e,this._pendingValue=v}}}]),r}(),H=function(t){function i(t,e,n){var r;return o(this,i),(r=a(this,s(i).call(this,t,e,n))).single=2===n.length&&""===n[0]&&""===n[1],r}return c(i,M),u(i,[{key:"_createPart",value:function(){return new U(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:p(s(i.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),i}(),U=function(t){function e(){return o(this,e),a(this,s(e).apply(this,arguments))}return c(e,j),e}(),B=!1;try{var F={get capture(){return!(B=!0)}};window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch(t){}var q=function(){function i(t,e,n){var r=this;o(this,i),this.value=void 0,this._pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this._boundHandleEvent=function(t){return r.handleEvent(t)}}return u(i,[{key:"setValue",value:function(t){this._pendingValue=t}},{key:"commit",value:function(){for(;f(this._pendingValue);){var t=this._pendingValue;this._pendingValue=v,t(this)}if(this._pendingValue!==v){var e=this._pendingValue,n=this.value,r=null==e||null!=n&&(e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive),i=null!=e&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this._boundHandleEvent,this._options),i&&(this._options=I(e),this.element.addEventListener(this.eventName,this._boundHandleEvent,this._options)),this.value=e,this._pendingValue=v}}},{key:"handleEvent",value:function(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}]),i}(),I=function(t){return t&&(B?{capture:t.capture,passive:t.passive,once:t.once}:t.capture)},W=new(function(){function t(){o(this,t)}return u(t,[{key:"handleAttributeExpressions",value:function(t,e,n,r){var i=e[0];return"."===i?new H(t,e.slice(1),n).parts:"@"===i?[new q(t,e.slice(1),r.eventContext)]:"?"===i?[new z(t,e.slice(1),n)]:new M(t,e,n).parts}},{key:"handleTextExpression",value:function(t){return new R(t)}}]),t}());function G(t){var e=D.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},D.set(t.type,e));var n=e.stringsArray.get(t.strings);if(void 0!==n)return n;var r=t.strings.join(P);return void 0===(n=e.keyString.get(r))&&(n=new x(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}var D=new Map,J=new WeakMap;(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.0.0");function $(t,e){for(var n=t.element.content,r=t.parts,i=document.createTreeWalker(n,133,null,!1),o=X(r),a=r[o],s=-1,u=0,l=[],c=null;i.nextNode();){s++;var h=i.currentNode;for(h.previousSibling===c&&(c=null),e.has(h)&&(l.push(h),null===c&&(c=h)),null!==c&&u++;void 0!==a&&a.index===s;)a.index=null!==c?-1:a.index-u,a=r[o=X(r,o)]}l.forEach(function(t){return t.parentNode.removeChild(t)})}var Y=function(t){for(var e=11===t.nodeType?0:1,n=document.createTreeWalker(t,133,null,!1);n.nextNode();)e++;return e},X=function(t){for(var e=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:-1)+1;e<t.length;e++){var n=t[e];if(b(n))return e}return-1};var K=function(t,e){return"".concat(t,"--").concat(e)},Q=!0;void 0===window.ShadyCSS?Q=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected.Please update to at least @webcomponents/webcomponentsjs@2.0.2 and@webcomponents/shadycss@1.3.1."),Q=!1);var Z=["html","svg"],tt=new Set,et=function(t,e,n){tt.add(n);var r=t.querySelectorAll("style");if(0!==r.length){for(var i,o=document.createElement("style"),a=0;a<r.length;a++){var s=r[a];s.parentNode.removeChild(s),o.textContent+=s.textContent}if(i=n,Z.forEach(function(t){var e=D.get(K(t,i));void 0!==e&&e.keyString.forEach(function(t){var e=t.element.content,n=new Set;Array.from(e.querySelectorAll("style")).forEach(function(t){n.add(t)}),$(t,n)})}),function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=t.element.content,i=t.parts;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),a=X(i),s=0,u=-1;o.nextNode();)for(u++,o.currentNode===n&&(s=Y(e),n.parentNode.insertBefore(e,n));-1!==a&&i[a].index===u;){if(0<s){for(;-1!==a;)i[a].index+=s,a=X(i,a);return}a=X(i,a)}else r.appendChild(e)}(e,o,e.element.content.firstChild),window.ShadyCSS.prepareTemplateStyles(e.element,n),window.ShadyCSS.nativeShadow){var u=e.element.content.querySelector("style");t.insertBefore(u.cloneNode(!0),t.firstChild)}else{e.element.content.insertBefore(o,e.element.content.firstChild);var l=new Set;l.add(o),$(e,l)}}else window.ShadyCSS.prepareTemplateStyles(e.element,n)},nt=t(function(t){var e=function(o){var u,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",r=e.toStringTag||"@@toStringTag";function a(t,e,n,r){var o,a,s,u,i=e&&e.prototype instanceof m?e:m,l=Object.create(i.prototype),c=new E(r||[]);return l._invoke=(o=t,a=n,s=c,u=p,function(t,e){if(u===d)throw new Error("Generator is already running");if(u===v){if("throw"===t)throw e;return A()}for(s.method=t,s.arg=e;;){var n=s.delegate;if(n){var r=k(n,s);if(r){if(r===y)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===p)throw u=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);u=d;var i=h(o,a,s);if("normal"===i.type){if(u=s.done?v:f,i.arg===y)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(u=v,s.method="throw",s.arg=i.arg)}}),l}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=a;var p="suspendedStart",f="suspendedYield",d="executing",v="completed",y={};function m(){}function s(){}function c(){}var g={};g[i]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(N([])));_&&_!==t&&l.call(_,i)&&(g=_);var S=c.prototype=m.prototype=Object.create(g);function x(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function b(u){var e;this._invoke=function(n,r){function t(){return new Promise(function(t,e){!function e(t,n,r,i){var o=h(u[t],u,n);if("throw"!==o.type){var a=o.arg,s=a.value;return s&&"object"===T(s)&&l.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,r,i)},function(t){e("throw",t,r,i)}):Promise.resolve(s).then(function(t){a.value=t,r(a)},function(t){return e("throw",t,r,i)})}i(o.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function k(t,e){var n=t.iterator[e.method];if(n===u){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=u,k(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,y;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function N(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=u,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:u,done:!0}}return s.prototype=S.constructor=c,c.constructor=s,c[r]=s.displayName="GeneratorFunction",o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===s||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},x(b.prototype),b.prototype[n]=function(){return this},o.AsyncIterator=b,o.async=function(t,e,n,r){var i=new b(a(t,e,n,r));return o.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(S),S[r]="Generator",S[i]=function(){return this},S.toString=function(){return"[object Generator]"},o.keys=function(n){var r=[];for(var t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=N,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return o.type="throw",o.arg=n,r.next=t,e&&(r.method="next",r.arg=u),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=u),y}},o}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}});function rt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}var it=function(s){return function(){var t=this,a=arguments;return new Promise(function(e,n){var r=s.apply(t,a);function i(t){rt(r,e,n,i,o,"next",t)}function o(t){rt(r,e,n,i,o,"throw",t)}i(void 0)})}};var ot=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},at=t(function(r){function i(t,e,n){return!function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?r.exports=i=function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&l(i,n.prototype),i}:r.exports=i=Reflect.construct,i.apply(null,arguments)}r.exports=i}),st=t(function(e){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(t){if(null===t||!ot(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return at(t,arguments,s(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),l(e,t)},r(t)}e.exports=r});window.JSCompiler_renameProperty=function(t,e){return t};var ut={toAttribute:function(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute:function(t,e){switch(e){case Boolean:return null!==t;case Number:return null===t?null:Number(t);case Object:case Array:return JSON.parse(t)}return t}},lt=function(t,e){return e!==t&&(e==e||t==t)},ct={attribute:!0,type:String,converter:ut,reflect:!1,hasChanged:lt},ht=Promise.resolve(!0),pt=function(t){function e(){var t;return o(this,e),(t=a(this,s(e).call(this)))._updateState=0,t._instanceProperties=void 0,t._updatePromise=ht,t._hasConnectedResolver=void 0,t._changedProperties=new Map,t._reflectingProperties=void 0,t.initialize(),t}var n;return c(e,t),u(e,[{key:"initialize",value:function(){this._saveInstanceProperties(),this._requestUpdate()}},{key:"_saveInstanceProperties",value:function(){var r=this;this.constructor._classProperties.forEach(function(t,e){if(r.hasOwnProperty(e)){var n=r[e];delete r[e],r._instanceProperties||(r._instanceProperties=new Map),r._instanceProperties.set(e,n)}})}},{key:"_applyInstanceProperties",value:function(){var n=this;this._instanceProperties.forEach(function(t,e){return n[e]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this._updateState=32|this._updateState,this._hasConnectedResolver&&(this._hasConnectedResolver(),this._hasConnectedResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(t,e,n){e!==n&&this._attributeToProperty(t,n)}},{key:"_propertyToAttribute",value:function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:ct,r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){var o=r._propertyValueToAttribute(e,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(t,e){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){var i=n._classProperties.get(r)||ct;this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(t,e){var n=!0;if(void 0!==t){var r=this.constructor,i=r._classProperties.get(t)||ct;r._valueHasChanged(this[t],e,i.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,i))):n=!1}!this._hasRequestedUpdate&&n&&this._enqueueUpdate()}},{key:"requestUpdate",value:function(t,e){return this._requestUpdate(t,e),this.updateComplete}},{key:"_enqueueUpdate",value:(n=it(nt.mark(function t(){var n,r,e,i,o=this;return nt.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this._updateState=4|this._updateState,e=this._updatePromise,this._updatePromise=new Promise(function(t,e){n=t,r=e}),t.prev=3,t.next=6,e;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:if(this._hasConnected){t.next=13;break}return t.next=13,new Promise(function(t){return o._hasConnectedResolver=t});case 13:if(t.prev=13,null!=(i=this.performUpdate()))return t.next=18,i;t.next=18;break;case 18:t.next=23;break;case 20:t.prev=20,t.t1=t.catch(13),r(t.t1);case 23:n(!this._hasRequestedUpdate);case 24:case"end":return t.stop()}},t,this,[[3,8],[13,20]])})),function(){return n.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))&&this.update(t)}catch(t){throw e=!1,t}finally{this._markUpdated()}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"shouldUpdate",value:function(t){return!0}},{key:"update",value:function(t){var n=this;void 0!==this._reflectingProperties&&0<this._reflectingProperties.size&&(this._reflectingProperties.forEach(function(t,e){return n._propertyToAttribute(e,n[e],t)}),this._reflectingProperties=void 0)}},{key:"updated",value:function(t){}},{key:"firstUpdated",value:function(t){}},{key:"_hasConnected",get:function(){return 32&this._updateState}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._updatePromise}}],[{key:"_ensureClassProperties",value:function(){var n=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,e){return n._classProperties.set(e,t)})}}},{key:"createProperty",value:function(n){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:ct;if(this._ensureClassProperties(),this._classProperties.set(n,t),!t.noAccessor&&!this.prototype.hasOwnProperty(n)){var r="symbol"===T(n)?Symbol():"__".concat(n);Object.defineProperty(this.prototype,n,{get:function(){return this[r]},set:function(t){var e=this[n];this[r]=t,this._requestUpdate(n,e)},configurable:!0,enumerable:!0})}}},{key:"finalize",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("finalized",this))||!this.finalized){var t=Object.getPrototypeOf(this);if("function"==typeof t.finalize&&t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e=this.properties,n=[].concat(_(Object.getOwnPropertyNames(e)),_("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])),r=!0,i=!1,o=void 0;try{for(var a,s=n[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;this.createProperty(u,e[u])}}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}}}},{key:"_attributeNameForProperty",value:function(t,e){var n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(t,e){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:lt)(t,e)}},{key:"_propertyValueFromAttribute",value:function(t,e){var n=e.type,r=e.converter||ut,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}},{key:"_propertyValueToAttribute",value:function(t,e){if(void 0!==e.reflect){var n=e.type,r=e.converter;return(r&&r.toAttribute||ut.toAttribute)(t,n)}}},{key:"observedAttributes",get:function(){var r=this;this.finalize();var i=[];return this._classProperties.forEach(function(t,e){var n=r._attributeNameForProperty(e,t);void 0!==n&&(r._attributeToPropertyMap.set(n,e),i.push(n))}),i}}]),e}(st(HTMLElement));pt.finalized=!0;var ft="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;(window.litElementVersions||(window.litElementVersions=[])).push("2.0.1");var dt=function(t){return t.flat?t.flat(1/0):function t(e){for(var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=0,i=e.length;r<i;r++){var o=e[r];Array.isArray(o)?t(o,n):n.push(o)}return n}(t)},vt=function(t){function r(){return o(this,r),a(this,s(r).apply(this,arguments))}return c(r,pt),u(r,[{key:"initialize",value:function(){p(s(r.prototype),"initialize",this).call(this),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?ft?this.renderRoot.adoptedStyleSheets=t.map(function(t){return t.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map(function(t){return t.cssText}),this.localName))}},{key:"connectedCallback",value:function(){p(s(r.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(t){var n=this;p(s(r.prototype),"update",this).call(this,t);var e=this.render();e instanceof O&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach(function(t){var e=document.createElement("style");e.textContent=t.cssText,n.renderRoot.appendChild(e)}))}},{key:"render",value:function(){}}],[{key:"finalize",value:function(){p(s(r),"finalize",this).call(this),this._styles=this.hasOwnProperty(JSCompiler_renameProperty("styles",this))?this._getUniqueStyles():this._styles||[]}},{key:"_getUniqueStyles",value:function(){var t=this.styles,e=[];Array.isArray(t)?dt(t).reduceRight(function(t,e){return t.add(e),t},new Set).forEach(function(t){return e.unshift(t)}):t&&e.push(t);return e}}]),r}();vt.finalized=!0,vt.render=function(t,e,n){var r,i,o,a,s,u=n.scopeName,l=J.has(e),c=e instanceof ShadowRoot&&Q&&t instanceof O,h=c&&!tt.has(u),p=h?document.createDocumentFragment():e;if(r=t,i=p,o=Object.assign({templateFactory:(s=u,function(t){var e=K(t.type,s),n=D.get(e);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},D.set(e,n));var r=n.stringsArray.get(t.strings);if(void 0!==r)return r;var i=t.strings.join(P);if(void 0===(r=n.keyString.get(i))){var o=t.getTemplateElement();Q&&window.ShadyCSS.prepareTemplateDom(o,s),r=new x(t,o),n.keyString.set(i,r)}return n.stringsArray.set(t.strings,r),r})},n),void 0===(a=J.get(i))&&(d(i,i.firstChild),J.set(i,a=new R(Object.assign({templateFactory:G},o))),a.appendInto(i)),a.setValue(r),a.commit(),h){var f=J.get(p);J.delete(p),f.value instanceof k&&et(p,f.value.template,u),d(e,e.firstChild),e.appendChild(p),J.set(e,f)}!l&&c&&window.ShadyCSS.styleElement(e.host)};var yt,mt,gt=function(t){function e(){var t;return o(this,e),(t=a(this,s(e).call(this))).icon="",t}return c(e,vt),u(e,null,[{key:"tagName",get:function(){return"axa-icon"}},{key:"iconsMapping",get:function(){return{"arrow-right":'<svg xmlns="http://www.w3.org/2000/svg" width="15" height="9" viewBox="0 0 15 9"><path fill="currentColor" d="M12.4 5.5H1.9c-.6 0-1-.4-1-1s.4-1 1-1h10.5c.6 0 1 .4 1 1s-.4 1-1 1z"/><path fill="currentColor" d="M10.4 9c-.2 0-.4-.1-.6-.2-.4-.3-.5-1-.2-1.4l2.3-2.9-2.3-2.9c-.3-.4-.3-1 .2-1.4.4-.3 1.1-.3 1.4.2l3.3 4.1-3.3 4.1c-.2.3-.5.4-.8.4z"/></svg>',collapse:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="currentColor" d="M8.8 6L5 2.3 1.2 6 0 4.9 5 0l5 4.9L8.8 6z"/></svg>',document:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M4 1.33a1.33 1.33 0 0 0-1.33 1.34v10.66A1.33 1.33 0 0 0 4 14.67h8a1.34 1.34 0 0 0 1.33-1.33v-8l-4-4zM8.67 6V2.33L12.33 6z"/></svg>',download:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" viewBox="0 0 10 12"><path fill="currentColor" d="M9.7 4.3H7v-4H3v4H.3L5 9l4.7-4.7zM.3 10.3v1.3h9.3v-1.3H.3z"/></svg>',email:'<svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" viewBox="0 0 14 12"><path fill="currentColor" d="M12.3.7H1.7C.9.7.3 1.3.3 2v8c0 .7.6 1.3 1.3 1.3h10.7c.7 0 1.3-.6 1.3-1.3V2c.1-.7-.5-1.3-1.3-1.3zm0 2.6L7 6.7 1.7 3.3V2L7 5.3 12.3 2v1.3z"/></svg>',expand:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="currentColor" d="M1.2 0L5 3.7 8.8 0 10 1.1 5 6 0 1.1 1.2 0z"/></svg>',mobile:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M10.33.67H5a1.67 1.67 0 0 0-1.67 1.66v11.34A1.67 1.67 0 0 0 5 15.33h5.33A1.67 1.67 0 0 0 12 13.67V2.33A1.67 1.67 0 0 0 10.33.67zm-2.67 14a1 1 0 1 1 1-1 1 1 0 0 1-.99 1zm3-2.67h-6V2.67h6z"/></svg>',phone:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M2.4 5.2c1 1.9 2.5 3.4 4.4 4.4l1.5-1.5c.2-.2.5-.2.7-.1.8.3 1.6.4 2.4.4.3 0 .6.3.6.6v2.3c0 .4-.3.7-.7.7C5.1 12 0 6.9 0 .7 0 .3.3 0 .7 0H3c.4 0 .7.3.7.7 0 .8.1 1.5.3 2.3.1.2 0 .5-.2.7L2.4 5.2z"/></svg>',plus:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="currentColor" d="M9.7 5.7h-4v4H4.3v-4h-4V4.3h4v-4h1.3v4h4v1.4z"/></svg>',search:'<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="currentColor" d="M8.3 7.3h-.5l-.2-.2c1.5-1.8 1.4-4.4-.3-6s-4.4-1.5-6 .1-1.7 4.3-.1 6 4.2 1.9 6 .3l.2.2v.5l3.3 3.3 1-1-3.4-3.2zm-4 0c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',upload:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="12" viewBox="0 0 10 12"><path fill="currentColor" d="M3 9h4V5h2.7L5 .3.3 5H3v4zM.3 10.3h9.3v1.3H.3v-1.3z"/></svg>'}}},{key:"properties",get:function(){return{icon:{type:String}}}}]),u(e,[{key:"firstUpdated",value:function(){var t=this,e=this.icon;if(/\.svg/.test(e)){var n=new XMLHttpRequest;n.open("GET",e),n.onreadystatechange=function(){4===n.readyState&&200===n.status&&(t.shadowRoot.innerHTML=n.response)},n.send()}}},{key:"render",value:function(){return function(t){for(var e=arguments.length,n=new Array(1<e?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new L(t,n,"svg",W)}([e.iconsMapping[this.icon]||""])}}]),e}();return yt=gt.tagName,mt=gt,window.customElements.get(yt)||window.customElements.define(yt,mt),gt}();

@@ -18,3 +18,3 @@ function ___$insertStyle(css) {

import { LitElement, svg } from 'lit-element';
import { ArrowRightSvg, CollapseSvg, DownloadSvg, EmailSvg, ExpandSvg, PhoneSvg, PlusSvg, SearchSvg, UploadSvg } from '@axa-ch/materials';
import { ArrowRightSvg, CollapseSvg, DocumentSvg, DownloadSvg, EmailSvg, ExpandSvg, MobileSvg, PhoneSvg, PlusSvg, SearchSvg, UploadSvg } from '@axa-ch/materials';

@@ -41,5 +41,7 @@ var defineOnce = ((name, customElementClass) => {

collapse: CollapseSvg,
document: DocumentSvg,
download: DownloadSvg,
email: EmailSvg,
expand: ExpandSvg,
mobile: MobileSvg,
phone: PhoneSvg,

@@ -46,0 +48,0 @@ plus: PlusSvg,

{
"name": "@axa-ch/icon",
"version": "1.1.0",
"version": "1.2.0",
"description": "The AXA Icon component",

@@ -27,3 +27,3 @@ "author": "Pattern Warriors",

"dependencies": {
"@axa-ch/materials": "^1.0.4",
"@axa-ch/materials": "^1.1.1",
"@skatejs/val": "^0.4.0",

@@ -33,3 +33,3 @@ "lit-element": "^2.1.0",

},
"gitHead": "b4613cf828f02bd98d643b882c5aff9f16e5fad3"
"gitHead": "1ff37220948a83c0674d74bfa250eaac46361437"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc