@alaskaairux/auro-icon
Advanced tools
Comparing version 2.0.3 to 3.0.0
@@ -1,2 +0,2 @@ | ||
# Contributing Guidelines | ||
# Auro Design System Contributing Guidelines | ||
@@ -35,3 +35,3 @@ Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved. | ||
This project utilizes [Conventional Commits](https://www.conventionalcommits.org/) to auto-generate release verions, based on the [Angular Commit Message Guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines). | ||
This project utilizes [Conventional Commits](https://www.conventionalcommits.org/) to auto-generate release versions, based on the [Angular Commit Message Guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines). | ||
@@ -47,3 +47,3 @@ | ||
For a MAJOR release, you MUST follow this template. The use of `perf:` and `BREAKING CHANGE:` are needed in order to push a major release. | ||
For a MAJOR release, you MUST follow this template. The use `BREAKING CHANGE:` in conjunction with any other commit type is required in order to push a major release. | ||
@@ -76,4 +76,4 @@ ``` | ||
| fix | A bug fix (this correlates with `PATCH` in semantic versioning) | | ||
| perf | A code change that improves performance (correlating with `MAJOR` in semantic versioning) | | ||
| BREAKING CHANGE | A code change that is not backwards compatable (correlating with `MAJOR` in semantic versioning) | | ||
| perf | A code change that improves performance | | ||
| BREAKING CHANGE | A code change that is not backwards compatible (correlating with `MAJOR` in semantic versioning) | | ||
| refactor | A code change that neither fixes a bug nor adds a feature | | ||
@@ -95,3 +95,3 @@ | style | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | | ||
_"If applied, this commit will [your subject line here]."_ | ||
_"If applied, this commit will (your subject line here)."_ | ||
@@ -106,3 +106,3 @@ For example: | ||
``` | ||
$ build: update to Gulp 4.x | ||
$ build: update to build step to include postCSS | ||
@@ -122,4 +122,2 @@ $ docs: address issue #14, typo in install instructions | ||
To submit a new pull request, please go to [https://github.com/AlaskaAirlines](https://github.com/AlaskaAirlines) to find your project and submit the Pull Request. | ||
On the pull request page, the new pull request should be `[your-new-branch] into [master]` | ||
@@ -126,0 +124,0 @@ |
# Semantic Release Automated Changelog | ||
# [3.0.0](https://github.com/AlaskaAirlines/auro-icon/compare/v2.0.3...v3.0.0) (2020-12-18) | ||
### Code Refactoring | ||
* remove support for alaska logos from auro-icon element ([1b1643b](https://github.com/AlaskaAirlines/auro-icon/commit/1b1643b422b19927360187d5de9860311d48576c)) | ||
### Features | ||
* add restricted logo size feature ([396ead9](https://github.com/AlaskaAirlines/auro-icon/commit/396ead98358c5192d507916c40d0bdb7f71e0017)) | ||
* break common features into baseIcon ([56fa1a1](https://github.com/AlaskaAirlines/auro-icon/commit/56fa1a109c434ddf74aa75d35bb0eaf3f717081a)) | ||
* create new auro-alaska custom element ([e7f973f](https://github.com/AlaskaAirlines/auro-icon/commit/e7f973feb623fc56490fa89e95bc5060f5d589b9)) | ||
* upgrade to rollup bundle support ([92c8495](https://github.com/AlaskaAirlines/auro-icon/commit/92c8495302b9a9ace0f5bc77f03aaf3a05c24184)) | ||
### BREAKING CHANGES | ||
* This commit will break previous support for the Alaska logos | ||
from the auro-icon custom element. | ||
* This feature and other related are redefining the scope | ||
of the auro-icon feature set and creates a new auro-alaska CE | ||
for specific Alaska logo support | ||
## [2.0.3](https://github.com/AlaskaAirlines/auro-icon/compare/v2.0.2...v2.0.3) (2020-12-02) | ||
@@ -4,0 +28,0 @@ |
@@ -1,1 +0,172 @@ | ||
!function(r){function e(e){for(var t,i,c=e[0],s=e[1],l=e[2],f=0,p=[];f<c.length;f++)i=c[f],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&p.push(n[i][0]),n[i]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(r[t]=s[t]);for(u&&u(e);p.length;)p.shift()();return a.push.apply(a,l||[]),o()}function o(){for(var r,e=0;e<a.length;e++){for(var o=a[e],t=!0,c=1;c<o.length;c++){var s=o[c];0!==n[s]&&(t=!1)}t&&(a.splice(e--,1),r=i(i.s=o[0]))}return r}var t={},n={0:0},a=[];function i(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return r[e].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=r,i.c=t,i.d=function(r,e,o){i.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:o})},i.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},i.t=function(r,e){if(1&e&&(r=i(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var t in r)i.d(o,t,function(e){return r[e]}.bind(null,t));return o},i.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(e,"a",e),e},i.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},i.p="";var c=window.webpackJsonp=window.webpackJsonp||[],s=c.push.bind(c);c.push=e,c=c.slice();for(var l=0;l<c.length;l++)e(c[l]);var u=s;a.push([30,1]),o()}({30:function(r,e,o){"use strict";o.r(e);var t=o(15),n=o.n(t),a=o(11),i=o.n(a),c=o(13),s=o.n(c),l=o(14),u=o.n(l),f=o(16),p=o.n(f),h=o(17),d=o.n(h),y=o(18),b=o.n(y),v=o(19),g=o.n(v),m=o(20),k=o.n(m),w=o(12),x=o.n(w),O=o(10),j=o(21),P=o(22),S=o(23),D=new Map,_=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.responseParser||function(r){return r.text()};return D.has(r)||D.set(r,fetch(r).then(o)),D.get(r)};o(29);function B(){var r=i()(["*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{-webkit-animation:none !important;animation:none !important;-webkit-transition:none !important;-o-transition:none !important;transition:none !important}}*:focus{outline:none}.js-focus-visible :focus:not(.focus-visible){outline:none}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:-webkit-box;display:-ms-flexbox;display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.ico_squareLarge{fill:currentColor;width:1.5rem;height:1.5rem}.ico_squareSmall{fill:currentColor;width:0.6rem;height:0.6rem}.ico_squareMed{fill:currentColor;width:1rem;height:1rem}.ico_squareSml{fill:currentColor;width:0.75rem;height:0.75rem}:host{color:currentColor;display:inline-block;vertical-align:middle;line-height:1}:host .logo{color:#01426a;color:var(--auro-color-brand-midnight-400)}:host .primary{color:#626b79;color:var(--auro-color-icon-primary-on-light)}:host .emphasis{color:#222222;color:var(--auro-color-icon-emphasis-on-light)}:host .accent{color:#0074cb;color:var(--auro-color-icon-accent-on-light)}:host .disabled{color:rgba(0,0,0,0.15);color:var(--auro-color-icon-disabled-on-light)}:host .error{color:#df0b37;color:var(--auro-color-alert-error-on-light)}:host .success{color:#00805d;color:var(--auro-color-alert-success-on-light)}:host .advisory{color:#fff0cd;color:var(--auro-color-alert-advisory-on-light)}:host .warning{color:#de750c;color:var(--auro-color-alert-warning-on-light)}:host([onDark]) .logo{color:#ffffff;color:var(--auro-color-base-white)}:host([onDark]) .primary{color:#9fabbb;color:var(--auro-color-icon-primary-on-dark)}:host([onDark]) .emphasis{color:#ffffff;color:var(--auro-color-icon-emphasis-on-dark)}:host([onDark]) .accent{color:#00cff0;color:var(--auro-color-icon-accent-on-dark)}:host([onDark]) .disabled{color:rgba(255,255,255,0.4);color:var(--auro-color-icon-disabled-on-dark)}:host([onDark]) .error{color:#ff999b;color:var(--auro-color-alert-error-on-dark)}:host([onDark]) .success{color:#69cf96;color:var(--auro-color-alert-success-on-dark)}:host([onDark]) .advisory{color:#fff0cd;color:var(--auro-color-alert-advisory-on-dark)}:host([customSize]){--auro-size-lg:100%;width:100%;height:100%}\n"]);return B=function(){return r},r}var C=Object(O.b)(B());function M(){var r=i()(["\n ","\n "]);return M=function(){return r},r}function T(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.push.apply(o,t)}return o}function q(r){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?T(Object(o),!0).forEach((function(e){n()(r,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}function R(){var r=i()(['\n <div class="','">\n <div class="util_displayHiddenVisually">\n <slot></slot>\n </div>\n <slot name="icon">',"</slot>\n </div>\n "]);return R=function(){return r},r}function z(r){var e=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(r){return!1}}();return function(){var o,t=x()(r);if(e){var n=x()(this).constructor;o=Reflect.construct(t,arguments,n)}else o=t.apply(this,arguments);return k()(this,o)}}var E=function(r){g()(n,r);var e,o,t=z(n);function n(){return p()(this,n),t.apply(this,arguments)}return d()(n,[{key:"fetchIcon",value:(o=u()(s.a.mark((function r(e,o){var t,n,a;return s.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t="https://unpkg.com/@alaskaairux/icons@latest/dist",n="","logos"!==e){r.next=8;break}return r.next=5,_("".concat(t,"/").concat(e,"/").concat(o,".svg"));case 5:n=r.sent,r.next=23;break;case 8:if(!this.alaska){r.next=14;break}return r.next=11,_("".concat(t,"/restricted/AS.svg"));case 11:n=r.sent,r.next=23;break;case 14:if(!this.alaskaTagline){r.next=20;break}return r.next=17,_("".concat(t,"/restricted/AS-tagline.svg"));case 17:n=r.sent,r.next=23;break;case 20:return r.next=22,_("".concat(t,"/icons/").concat(e,"/").concat(o,".svg"));case 22:n=r.sent;case 23:return a=(new DOMParser).parseFromString(n,"text/html"),r.abrupt("return",a.body.querySelector("svg"));case 25:case"end":return r.stop()}}),r,this)}))),function(r,e){return o.apply(this,arguments)})},{key:"firstUpdated",value:(e=u()(s.a.mark((function r(){var e,o;return s.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.fetchIcon(this.category,this.name);case 2:(e=r.sent)?this.svg=e:(o=(new DOMParser).parseFromString(S.a.svg,"text/html"),this.svg=o.body.firstChild);case 4:case"end":return r.stop()}}),r,this)}))),function(){return e.apply(this,arguments)})},{key:"render",value:function(){var r={primary:!this.alaska&&!this.alaskaTagline&&!this.customColor,emphasis:this.emphasis,accent:this.accent,disabled:this.disabled,error:this.error,success:this.success,advisory:this.advisory,warning:this.warning,logo:this.alaska||this.alaskaTagline};return Object(O.c)(R(),Object(j.a)(r),this.svg)}}],[{key:"properties",get:function(){return q(q({},b()(x()(n),"properties",this)),{},{category:{type:String,reflect:!0},alaska:{type:Boolean,reflect:!0},alaskaTagline:{type:Boolean,reflect:!0},name:{type:String,reflect:!0},primary:{type:Boolean,reflect:!0},emphasis:{type:Boolean,reflect:!0},accent:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},error:{type:Boolean,reflect:!0},success:{type:Boolean,reflect:!0},advisory:{type:Boolean,reflect:!0},warning:{type:Boolean,reflect:!0},onDark:{type:Boolean,reflect:!0},svg:{attribute:!1},customColor:{type:Boolean}})}},{key:"styles",get:function(){return Object(O.b)(M(),C)}}]),n}(P.a);customElements.get("auro-icon")||customElements.define("auro-icon",E)}}); | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
const t=new WeakMap,e=e=>"function"==typeof e&&t.has(e),n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,r=(t,e,n=null)=>{for(;e!==n;){const n=e.nextSibling;t.removeChild(e),e=n}},i={},s={},o=`{{lit-${String(Math.random()).slice(2)}}}`,a=`\x3c!--${o}--\x3e`,l=new RegExp(`${o}|${a}`);class c{constructor(t,e){this.parts=[],this.element=e;const n=[],r=[],i=document.createTreeWalker(e.content,133,null,!1);let s=0,a=-1,c=0;const{strings:d,values:{length:f}}=t;for(;c<f;){const t=i.nextNode();if(null!==t){if(a++,1===t.nodeType){if(t.hasAttributes()){const e=t.attributes,{length:n}=e;let r=0;for(let t=0;t<n;t++)u(e[t].name,"$lit$")&&r++;for(;r-- >0;){const e=d[c],n=p.exec(e)[2],r=n.toLowerCase()+"$lit$",i=t.getAttribute(r);t.removeAttribute(r);const s=i.split(l);this.parts.push({type:"attribute",index:a,name:n,strings:s}),c+=s.length-1}}"TEMPLATE"===t.tagName&&(r.push(t),i.currentNode=t.content)}else if(3===t.nodeType){const e=t.data;if(e.indexOf(o)>=0){const r=t.parentNode,i=e.split(l),s=i.length-1;for(let e=0;e<s;e++){let n,s=i[e];if(""===s)n=h();else{const t=p.exec(s);null!==t&&u(t[2],"$lit$")&&(s=s.slice(0,t.index)+t[1]+t[2].slice(0,-"$lit$".length)+t[3]),n=document.createTextNode(s)}r.insertBefore(n,t),this.parts.push({type:"node",index:++a})}""===i[s]?(r.insertBefore(h(),t),n.push(t)):t.data=i[s],c+=s}}else if(8===t.nodeType)if(t.data===o){const e=t.parentNode;null!==t.previousSibling&&a!==s||(a++,e.insertBefore(h(),t)),s=a,this.parts.push({type:"node",index:a}),null===t.nextSibling?t.data="":(n.push(t),a--),c++}else{let e=-1;for(;-1!==(e=t.data.indexOf(o,e+1));)this.parts.push({type:"node",index:-1}),c++}}else i.currentNode=r.pop()}for(const t of n)t.parentNode.removeChild(t)}}const u=(t,e)=>{const n=t.length-e.length;return n>=0&&t.slice(n)===e},d=t=>-1!==t.index,h=()=>document.createComment(""),p=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/; | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
class f{constructor(t,e,n){this.__parts=[],this.template=t,this.processor=e,this.options=n}update(t){let e=0;for(const n of this.__parts)void 0!==n&&n.setValue(t[e]),e++;for(const t of this.__parts)void 0!==t&&t.commit()}_clone(){const t=n?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),e=[],r=this.template.parts,i=document.createTreeWalker(t,133,null,!1);let s,o=0,a=0,l=i.nextNode();for(;o<r.length;)if(s=r[o],d(s)){for(;a<s.index;)a++,"TEMPLATE"===l.nodeName&&(e.push(l),i.currentNode=l.content),null===(l=i.nextNode())&&(i.currentNode=e.pop(),l=i.nextNode());if("node"===s.type){const t=this.processor.handleTextExpression(this.options);t.insertAfterNode(l.previousSibling),this.__parts.push(t)}else this.__parts.push(...this.processor.handleAttributeExpressions(l,s.name,s.strings,this.options));o++}else this.__parts.push(void 0),o++;return n&&(document.adoptNode(t),customElements.upgrade(t)),t}} | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const m=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:t=>t}),y=` ${o} `;class g{constructor(t,e,n,r){this.strings=t,this.values=e,this.type=n,this.processor=r}getHTML(){const t=this.strings.length-1;let e="",n=!1;for(let r=0;r<t;r++){const t=this.strings[r],i=t.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===t.indexOf("--\x3e",i+1);const s=p.exec(t);e+=null===s?t+(n?y:a):t.substr(0,s.index)+s[1]+s[2]+"$lit$"+s[3]+o}return e+=this.strings[t],e}getTemplateElement(){const t=document.createElement("template");let e=this.getHTML();return void 0!==m&&(e=m.createHTML(e)),t.innerHTML=e,t}} | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/const v=t=>null===t||!("object"==typeof t||"function"==typeof t),_=t=>Array.isArray(t)||!(!t||!t[Symbol.iterator]);class C{constructor(t,e,n){this.dirty=!0,this.element=t,this.name=e,this.strings=n,this.parts=[];for(let t=0;t<n.length-1;t++)this.parts[t]=this._createPart()}_createPart(){return new w(this)}_getValue(){const t=this.strings,e=t.length-1,n=this.parts;if(1===e&&""===t[0]&&""===t[1]){const t=n[0].value;if("symbol"==typeof t)return String(t);if("string"==typeof t||!_(t))return t}let r="";for(let i=0;i<e;i++){r+=t[i];const e=n[i];if(void 0!==e){const t=e.value;if(v(t)||!_(t))r+="string"==typeof t?t:String(t);else for(const e of t)r+="string"==typeof e?e:String(e)}}return r+=t[e],r}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}class w{constructor(t){this.value=void 0,this.committer=t}setValue(t){t===i||v(t)&&t===this.value||(this.value=t,e(t)||(this.committer.dirty=!0))}commit(){for(;e(this.value);){const t=this.value;this.value=i,t(this)}this.value!==i&&this.committer.commit()}}class b{constructor(t){this.value=void 0,this.__pendingValue=void 0,this.options=t}appendInto(t){this.startNode=t.appendChild(h()),this.endNode=t.appendChild(h())}insertAfterNode(t){this.startNode=t,this.endNode=t.nextSibling}appendIntoPart(t){t.__insert(this.startNode=h()),t.__insert(this.endNode=h())}insertAfterPart(t){t.__insert(this.startNode=h()),this.endNode=t.endNode,t.endNode=this.startNode}setValue(t){this.__pendingValue=t}commit(){if(null===this.startNode.parentNode)return;for(;e(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i,t(this)}const t=this.__pendingValue;t!==i&&(v(t)?t!==this.value&&this.__commitText(t):t instanceof g?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):_(t)?this.__commitIterable(t):t===s?(this.value=s,this.clear()):this.__commitText(t))}__insert(t){this.endNode.parentNode.insertBefore(t,this.endNode)}__commitNode(t){this.value!==t&&(this.clear(),this.__insert(t),this.value=t)}__commitText(t){const e=this.startNode.nextSibling,n="string"==typeof(t=null==t?"":t)?t:String(t);e===this.endNode.previousSibling&&3===e.nodeType?e.data=n:this.__commitNode(document.createTextNode(n)),this.value=t}__commitTemplateResult(t){const e=this.options.templateFactory(t);if(this.value instanceof f&&this.value.template===e)this.value.update(t.values);else{const n=new f(e,t.processor,this.options),r=n._clone();n.update(t.values),this.__commitNode(r),this.value=n}}__commitIterable(t){Array.isArray(this.value)||(this.value=[],this.clear());const e=this.value;let n,r=0;for(const i of t)n=e[r],void 0===n&&(n=new b(this.options),e.push(n),0===r?n.appendIntoPart(this):n.insertAfterPart(e[r-1])),n.setValue(i),n.commit(),r++;r<e.length&&(e.length=r,this.clear(n&&n.endNode))}clear(t=this.startNode){r(this.startNode.parentNode,t.nextSibling,this.endNode)}}class S{constructor(t,e,n){if(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}setValue(t){this.__pendingValue=t}commit(){for(;e(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i,t(this)}if(this.__pendingValue===i)return;const t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=i}}class L extends C{constructor(t,e,n){super(t,e,n),this.single=2===n.length&&""===n[0]&&""===n[1]}_createPart(){return new x(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}class x extends w{}let P=!1;(()=>{try{const t={get capture(){return P=!0,!1}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){}})();class E{constructor(t,e,n){this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=e,this.eventContext=n,this.__boundHandleEvent=t=>this.handleEvent(t)}setValue(t){this.__pendingValue=t}commit(){for(;e(this.__pendingValue);){const t=this.__pendingValue;this.__pendingValue=i,t(this)}if(this.__pendingValue===i)return;const t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),s=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),s&&(this.__options=T(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=i}handleEvent(t){"function"==typeof this.value?this.value.call(this.eventContext||this.element,t):this.value.handleEvent(t)}}const T=t=>t&&(P?{capture:t.capture,passive:t.passive,once:t.once}:t.capture) | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/;const H=new class{handleAttributeExpressions(t,e,n,r){const i=e[0];if("."===i){return new L(t,e.slice(1),n).parts}if("@"===i)return[new E(t,e.slice(1),r.eventContext)];if("?"===i)return[new S(t,e.slice(1),n)];return new C(t,e,n).parts}handleTextExpression(t){return new b(t)}}; | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/function V(t){let e=O.get(t.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},O.set(t.type,e));let n=e.stringsArray.get(t.strings);if(void 0!==n)return n;const r=t.strings.join(o);return n=e.keyString.get(r),void 0===n&&(n=new c(t,t.getTemplateElement()),e.keyString.set(r,n)),e.stringsArray.set(t.strings,n),n}const O=new Map,M=new WeakMap; | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0") | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/,window.JSCompiler_renameProperty=(t,e)=>t;const A={toAttribute(t,e){switch(e){case Boolean:return t?"":null;case Object:case Array:return null==t?t:JSON.stringify(t)}return t},fromAttribute(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}},N=(t,e)=>e!==t&&(e==e||t==t),k={attribute:!0,type:String,converter:A,reflect:!1,hasChanged:N};class j extends HTMLElement{constructor(){super(),this.initialize()}static get observedAttributes(){this.finalize();const t=[];return this._classProperties.forEach(((e,n)=>{const r=this._attributeNameForProperty(n,e);void 0!==r&&(this._attributeToPropertyMap.set(r,n),t.push(r))})),t}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(((t,e)=>this._classProperties.set(e,t)))}}static createProperty(t,e=k){if(this._ensureClassProperties(),this._classProperties.set(t,e),e.noAccessor||this.prototype.hasOwnProperty(t))return;const n="symbol"==typeof t?Symbol():`__${t}`,r=this.getPropertyDescriptor(t,n,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}static getPropertyDescriptor(t,e,n){return{get(){return this[e]},set(r){const i=this[t];this[e]=r,this.requestUpdateInternal(t,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this._classProperties&&this._classProperties.get(t)||k}static finalize(){const t=Object.getPrototypeOf(this);if(t.hasOwnProperty("finalized")||t.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const t=this.properties,e=[...Object.getOwnPropertyNames(t),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]];for(const n of e)this.createProperty(n,t[n])}}static _attributeNameForProperty(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}static _valueHasChanged(t,e,n=N){return n(t,e)}static _propertyValueFromAttribute(t,e){const n=e.type,r=e.converter||A,i="function"==typeof r?r:r.fromAttribute;return i?i(t,n):t}static _propertyValueToAttribute(t,e){if(void 0===e.reflect)return;const n=e.type,r=e.converter;return(r&&r.toAttribute||A.toAttribute)(t,n)}initialize(){this._updateState=0,this._updatePromise=new Promise((t=>this._enableUpdatingResolver=t)),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}_saveInstanceProperties(){this.constructor._classProperties.forEach(((t,e)=>{if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(e,t)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((t,e)=>this[e]=t)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(t,e,n){e!==n&&this._attributeToProperty(t,n)}_propertyToAttribute(t,e,n=k){const r=this.constructor,i=r._attributeNameForProperty(t,n);if(void 0!==i){const t=r._propertyValueToAttribute(e,n);if(void 0===t)return;this._updateState=8|this._updateState,null==t?this.removeAttribute(i):this.setAttribute(i,t),this._updateState=-9&this._updateState}}_attributeToProperty(t,e){if(8&this._updateState)return;const n=this.constructor,r=n._attributeToPropertyMap.get(t);if(void 0!==r){const t=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(e,t),this._updateState=-17&this._updateState}}requestUpdateInternal(t,e,n){let r=!0;if(void 0!==t){const i=this.constructor;n=n||i.getPropertyOptions(t),i._valueHasChanged(this[t],e,n.hasChanged)?(this._changedProperties.has(t)||this._changedProperties.set(t,e),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(t,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(t,e){return this.requestUpdateInternal(t,e),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(t){}const t=this.performUpdate();return null!=t&&await t,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){if(!this._hasRequestedUpdate)return;this._instanceProperties&&this._applyInstanceProperties();let t=!1;const e=this._changedProperties;try{t=this.shouldUpdate(e),t?this.update(e):this._markUpdated()}catch(e){throw t=!1,this._markUpdated(),e}t&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(t){return!0}update(t){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((t,e)=>this._propertyToAttribute(e,this[e],t))),this._reflectingProperties=void 0),this._markUpdated()}updated(t){}firstUpdated(t){}}j.finalized=!0, | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");const I=(t,...e)=>new g(t,e,"html",H) | ||
/** | ||
@license | ||
Copyright (c) 2019 The Polymer Project Authors. All rights reserved. | ||
This code may only be used under the BSD style license found at | ||
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at | ||
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be | ||
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as | ||
part of the polymer project is also subject to an additional IP rights grant | ||
found at http://polymer.github.io/PATENTS.txt | ||
*/,R=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,U=Symbol();class Z{constructor(t,e){if(e!==U)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){return void 0===this._styleSheet&&(R?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}const B=(t,...e)=>{const n=e.reduce(((e,n,r)=>e+(t=>{if(t instanceof Z)return t.cssText;if("number"==typeof t)return t;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${t}. Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security.`)})(n)+t[r+1]),t[0]);return new Z(n,U)}; | ||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");const D={};class F extends j{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const t=this.getStyles();if(Array.isArray(t)){const e=(t,n)=>t.reduceRight(((t,n)=>Array.isArray(n)?e(n,t):(t.add(n),t)),n),n=e(t,new Set),r=[];n.forEach((t=>r.unshift(t))),this._styles=r}else this._styles=void 0===t?[]:[t];this._styles=this._styles.map((t=>{if(t instanceof CSSStyleSheet&&!R){const e=Array.prototype.slice.call(t.cssRules).reduce(((t,e)=>t+e.cssText),"");return new Z(String(e),U)}return t}))}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const t=this.constructor._styles;0!==t.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?R?this.renderRoot.adoptedStyleSheets=t.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(t.map((t=>t.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(t){const e=this.render();super.update(t),e!==D&&this.constructor.render(e,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((t=>{const e=document.createElement("style");e.textContent=t.cssText,this.renderRoot.appendChild(e)})))}render(){return D}}F.finalized=!0,F.render=(t,e,n)=>{let i=M.get(e);void 0===i&&(r(e,e.firstChild),M.set(e,i=new b(Object.assign({templateFactory:V},n))),i.appendInto(e)),i.setValue(t),i.commit()}; | ||
/** | ||
* @license | ||
* Copyright (c) 2018 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
class ${constructor(t){this.classes=new Set,this.changed=!1,this.element=t;const e=(t.getAttribute("class")||"").split(/\s+/);for(const t of e)this.classes.add(t)}add(t){this.classes.add(t),this.changed=!0}remove(t){this.classes.delete(t),this.changed=!0}commit(){if(this.changed){let t="";this.classes.forEach((e=>t+=e+" ")),this.element.setAttribute("class",t)}}}const q=new WeakMap,z=(e=>(...n)=>{const r=e(...n);return t.set(r,!0),r})((t=>e=>{if(!(e instanceof w)||e instanceof x||"class"!==e.committer.name||e.committer.parts.length>1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");const{committer:n}=e,{element:r}=n;let i=q.get(e);void 0===i&&(r.setAttribute("class",n.strings.join(" ")),q.set(e,i=new Set));const s=r.classList||new $(r);i.forEach((e=>{e in t||(s.remove(e),i.delete(e))}));for(const e in t){const n=t[e];n!=i.has(e)&&(n?(s.add(e),i.add(e)):(s.remove(e),i.delete(e)))}"function"==typeof s.commit&&s.commit()}));class G extends F{static get properties(){return{hidden:{type:Boolean,reflect:!0},hiddenVisually:{type:Boolean,reflect:!0},hiddenAudible:{type:Boolean,reflect:!0}}}hideAudible(t){return t?"true":"false"}}var W='<svg viewBox="0 0 24 24" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" style="width: var(--auro-size-lg); height: var(--auro-size-lg); fill: currentColor" class="ico_squareLarge" >\n <title>Penguin</title>\n <desc>Easter egg</desc>\n <path d="M18.2758541,21.25 L6.5,21.25 C6.08578644,21.25 5.75,20.9142136 5.75,20.5 C5.75,20.1203042 6.03215388,19.806509 6.39822944,19.7568466 L6.5,19.75 L7.0325616,19.7506796 C6.02293928,16.95808 5.98786802,14.2773034 6.94061026,11.7366574 C7.08605035,11.3488172 7.51835948,11.152313 7.90619972,11.2977531 C8.29403997,11.4431932 8.49054412,11.8755023 8.34510403,12.2633426 C7.46602081,14.6075645 7.55854542,17.0917072 8.63873768,19.7500492 L11.0357389,19.75 L11.8047087,18.2135315 C12.1845873,17.0438847 12.2029568,15.8991194 12.0065328,15.5782407 L11.9696699,15.5303301 C11.8950456,15.4557057 11.045736,15.4557057 9.6470871,15.7354355 C9.08240305,15.8483723 8.60638239,15.3091446 8.78848753,14.7628292 C9.41679532,12.8779058 10.5009837,11.7126669 11.9936755,11.362163 L12.199752,11.319426 L12.1687732,11.1594548 C11.9607897,10.2304365 11.3436779,9.79903167 10.2061627,9.75396513 L10,9.75 L6,9.75 C5.40097846,9.75 5.04368491,9.0823909 5.37596228,8.58397485 C6.01830878,7.6204551 6.67782669,6.92126604 7.36997566,6.49372826 C8.15711202,4.05132734 9.73170138,2.75 12,2.75 C14.2944904,2.75 16.1270799,4.41599046 16.7276069,6.81809828 C16.9986943,7.90244793 17.0654444,10.0823467 16.9370114,13.4097275 L16.8823595,14.6572456 L16.8366029,15.5442693 L16.7569781,16.911043 C16.7518927,16.9932877 16.749937,17.0756951 16.7511154,17.1580884 C16.7766647,18.9447478 17.1786705,19.6873955 17.903615,19.746181 L18,19.75 L18.2754822,19.75 C18.6777902,19.7637495 19,20.0942467 19,20.5 C19,20.8796958 18.7178461,21.193491 18.3517706,21.2431534 L18.2757389,21.248 L18.2758541,21.25 L6.5,21.25 L18.2758541,21.25 Z M12,4.25 C10.4247897,4.25 9.38681466,5.10309575 8.79305591,6.96768724 L8.7080952,7.24719115 L8.7080952,7.24719115 L8.68145578,7.31348975 L8.68145578,7.31348975 L8.64610742,7.38118395 L8.64610742,7.38118395 L8.61925927,7.42334626 C8.60635339,7.44234401 8.59264745,7.4605263 8.57819874,7.4779857 L8.52545182,7.53544736 L8.52545182,7.53544736 L8.43633358,7.61004628 L8.43633358,7.61004628 L8.3354102,7.67082039 C8.13612725,7.77046186 7.93050517,7.91371143 7.71974537,8.101138 L7.56073097,8.25 L10,8.25 C12.4142136,8.25 13.75,9.58578644 13.75,12 C13.75,12.4142136 13.4142136,12.75 13,12.75 C12.0437488,12.75 11.3063575,13.1581634 10.7553986,14.0395483 C11.8692987,13.9209562 12.5984513,14.0377911 13.0303301,14.4696699 C13.7583582,15.1976981 13.7914504,16.8346667 13.2871884,18.4992765 L13.2115125,18.7371708 L13.1708204,18.8354102 L12.7137389,19.75 L15.7227091,19.75 C15.4554065,19.1624883 15.3026043,18.4130589 15.2614667,17.5207951 L15.2512688,17.1795381 C15.2495465,17.0591176 15.2524048,16.9386744 15.2598374,16.8184699 L15.3592716,15.0742331 C15.5745676,10.913534 15.5408292,8.25564593 15.2723931,7.18190172 C14.8288024,5.40753895 13.5555096,4.25 12,4.25 Z M11.5,5.5 C11.9142136,5.5 12.25,5.83578644 12.25,6.25 C12.25,6.66421356 11.9142136,7 11.5,7 C11.0857864,7 10.75,6.66421356 10.75,6.25 C10.75,5.83578644 11.0857864,5.5 11.5,5.5 Z"/>\n</svg>\n',J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function K(t){var e={exports:{}};return t(e,e.exports),e.exports}var Y,X=function(t){return t&&t.Math==Math&&t},Q=X("object"==typeof globalThis&&globalThis)||X("object"==typeof window&&window)||X("object"==typeof self&&self)||X("object"==typeof J&&J)||function(){return this}()||Function("return this")(),tt={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},et=function(t){try{return!!t()}catch(t){return!0}},nt={}.toString,rt="".split,it=et((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==function(t){return nt.call(t).slice(8,-1)}(t)?rt.call(t,""):Object(t)}:Object,st=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},ot=function(t){return it(st(t))},at=!et((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),lt=function(t){return"object"==typeof t?null!==t:"function"==typeof t},ct=Q.document,ut=lt(ct)&<(ct.createElement),dt=function(t){return ut?ct.createElement(t):{}},ht=!at&&!et((function(){return 7!=Object.defineProperty(dt("div"),"a",{get:function(){return 7}}).a})),pt=function(t){if(!lt(t))throw TypeError(String(t)+" is not an object");return t},ft=function(t,e){if(!lt(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!lt(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!lt(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!lt(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},mt=Object.defineProperty,yt={f:at?mt:function(t,e,n){if(pt(t),e=ft(e,!0),pt(n),ht)try{return mt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},gt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},vt=at?function(t,e,n){return yt.f(t,e,gt(1,n))}:function(t,e,n){return t[e]=n,t},_t=function(t,e){try{vt(Q,t,e)}catch(n){Q[t]=e}return e},Ct=Q["__core-js_shared__"]||_t("__core-js_shared__",{}),wt=K((function(t){(t.exports=function(t,e){return Ct[t]||(Ct[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),bt={}.hasOwnProperty,St=function(t,e){return bt.call(t,e)},Lt=0,xt=Math.random(),Pt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Lt+xt).toString(36)},Et=!!Object.getOwnPropertySymbols&&!et((function(){return!String(Symbol())})),Tt=Et&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ht=wt("wks"),Vt=Q.Symbol,Ot=Tt?Vt:Vt&&Vt.withoutSetter||Pt,Mt=function(t){return St(Ht,t)||(Et&&St(Vt,t)?Ht[t]=Vt[t]:Ht[t]=Ot("Symbol."+t)),Ht[t]},At=Math.ceil,Nt=Math.floor,kt=function(t){return isNaN(t=+t)?0:(t>0?Nt:At)(t)},jt=Math.min,It=Math.max,Rt=Math.min,Ut=function(t){return function(e,n,r){var i,s,o=ot(e),a=(i=o.length)>0?jt(kt(i),9007199254740991):0,l=function(t,e){var n=kt(t);return n<0?It(n+e,0):Rt(n,e)}(r,a);if(t&&n!=n){for(;a>l;)if((s=o[l++])!=s)return!0}else for(;a>l;l++)if((t||l in o)&&o[l]===n)return t||l||0;return!t&&-1}},Zt={includes:Ut(!0),indexOf:Ut(!1)},Bt={},Dt=Zt.indexOf,Ft=function(t,e){var n,r=ot(t),i=0,s=[];for(n in r)!St(Bt,n)&&St(r,n)&&s.push(n);for(;e.length>i;)St(r,n=e[i++])&&(~Dt(s,n)||s.push(n));return s},$t=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],qt=Object.keys||function(t){return Ft(t,$t)},zt=at?Object.defineProperties:function(t,e){pt(t);for(var n,r=qt(e),i=r.length,s=0;i>s;)yt.f(t,n=r[s++],e[n]);return t},Gt=Q,Wt=function(t){return"function"==typeof t?t:void 0},Jt=function(t,e){return arguments.length<2?Wt(Gt[t])||Wt(Q[t]):Gt[t]&&Gt[t][e]||Q[t]&&Q[t][e]},Kt=Jt("document","documentElement"),Yt=wt("keys"),Xt=function(t){return Yt[t]||(Yt[t]=Pt(t))},Qt=Xt("IE_PROTO"),te=function(){},ee=function(t){return"<script>"+t+"<\/script>"},ne=function(){try{Y=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;ne=Y?function(t){t.write(ee("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Y):((e=dt("iframe")).style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(ee("document.F=Object")),t.close(),t.F);for(var n=$t.length;n--;)delete ne.prototype[$t[n]];return ne()};Bt[Qt]=!0;var re=Object.create||function(t,e){var n;return null!==t?(te.prototype=pt(t),n=new te,te.prototype=null,n[Qt]=t):n=ne(),void 0===e?n:zt(n,e)},ie=Mt("unscopables"),se=Array.prototype;null==se[ie]&&yt.f(se,ie,{configurable:!0,value:re(null)});var oe=function(t){se[ie][t]=!0},ae=Function.toString;"function"!=typeof Ct.inspectSource&&(Ct.inspectSource=function(t){return ae.call(t)});var le,ce,ue,de=Ct.inspectSource,he=Q.WeakMap,pe="function"==typeof he&&/native code/.test(de(he)),fe=Q.WeakMap;if(pe){var me=Ct.state||(Ct.state=new fe),ye=me.get,ge=me.has,ve=me.set;le=function(t,e){return e.facade=t,ve.call(me,t,e),e},ce=function(t){return ye.call(me,t)||{}},ue=function(t){return ge.call(me,t)}}else{var _e=Xt("state");Bt[_e]=!0,le=function(t,e){return e.facade=t,vt(t,_e,e),e},ce=function(t){return St(t,_e)?t[_e]:{}},ue=function(t){return St(t,_e)}}var Ce,we,be,Se={set:le,get:ce,has:ue,enforce:function(t){return ue(t)?ce(t):le(t,{})},getterFor:function(t){return function(e){var n;if(!lt(e)||(n=ce(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Le={}.propertyIsEnumerable,xe=Object.getOwnPropertyDescriptor,Pe={f:xe&&!Le.call({1:2},1)?function(t){var e=xe(this,t);return!!e&&e.enumerable}:Le},Ee=Object.getOwnPropertyDescriptor,Te={f:at?Ee:function(t,e){if(t=ot(t),e=ft(e,!0),ht)try{return Ee(t,e)}catch(t){}if(St(t,e))return gt(!Pe.f.call(t,e),t[e])}},He=K((function(t){var e=Se.get,n=Se.enforce,r=String(String).split("String");(t.exports=function(t,e,i,s){var o,a=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,c=!!s&&!!s.noTargetGet;"function"==typeof i&&("string"!=typeof e||St(i,"name")||vt(i,"name",e),(o=n(i)).source||(o.source=r.join("string"==typeof e?e:""))),t!==Q?(a?!c&&t[e]&&(l=!0):delete t[e],l?t[e]=i:vt(t,e,i)):l?t[e]=i:_t(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||de(this)}))})),Ve=$t.concat("length","prototype"),Oe={f:Object.getOwnPropertyNames||function(t){return Ft(t,Ve)}},Me={f:Object.getOwnPropertySymbols},Ae=Jt("Reflect","ownKeys")||function(t){var e=Oe.f(pt(t)),n=Me.f;return n?e.concat(n(t)):e},Ne=function(t,e){for(var n=Ae(e),r=yt.f,i=Te.f,s=0;s<n.length;s++){var o=n[s];St(t,o)||r(t,o,i(e,o))}},ke=/#|\.prototype\./,je=function(t,e){var n=Re[Ie(t)];return n==Ze||n!=Ue&&("function"==typeof e?et(e):!!e)},Ie=je.normalize=function(t){return String(t).replace(ke,".").toLowerCase()},Re=je.data={},Ue=je.NATIVE="N",Ze=je.POLYFILL="P",Be=je,De=Te.f,Fe=!et((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),$e=Xt("IE_PROTO"),qe=Object.prototype,ze=Fe?Object.getPrototypeOf:function(t){return t=Object(st(t)),St(t,$e)?t[$e]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?qe:null},Ge=Mt("iterator"),We=!1;[].keys&&("next"in(be=[].keys())?(we=ze(ze(be)))!==Object.prototype&&(Ce=we):We=!0),null==Ce&&(Ce={}),St(Ce,Ge)||vt(Ce,Ge,(function(){return this}));var Je={IteratorPrototype:Ce,BUGGY_SAFARI_ITERATORS:We},Ke=yt.f,Ye=Mt("toStringTag"),Xe=function(t,e,n){t&&!St(t=n?t:t.prototype,Ye)&&Ke(t,Ye,{configurable:!0,value:e})},Qe=Je.IteratorPrototype,tn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return pt(n),function(t){if(!lt(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),en=Je.IteratorPrototype,nn=Je.BUGGY_SAFARI_ITERATORS,rn=Mt("iterator"),sn=function(){return this},on=Se.set,an=Se.getterFor("Array Iterator"),ln=function(t,e,n,r,i,s,o){!function(t,e,n){var r=e+" Iterator";t.prototype=re(Qe,{next:gt(1,n)}),Xe(t,r,!1)}(n,e,r);var a,l,c,u=function(t){if(t===i&&m)return m;if(!nn&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",h=!1,p=t.prototype,f=p[rn]||p["@@iterator"]||i&&p[i],m=!nn&&f||u(i),y="Array"==e&&p.entries||f;if(y&&(a=ze(y.call(new t)),en!==Object.prototype&&a.next&&(ze(a)!==en&&(tn?tn(a,en):"function"!=typeof a[rn]&&vt(a,rn,sn)),Xe(a,d,!0))),"values"==i&&f&&"values"!==f.name&&(h=!0,m=function(){return f.call(this)}),p[rn]!==m&&vt(p,rn,m),i)if(l={values:u("values"),keys:s?m:u("keys"),entries:u("entries")},o)for(c in l)(nn||h||!(c in p))&&He(p,c,l[c]);else!function(t,e){var n,r,i,s,o,a=t.target,l=t.global,c=t.stat;if(n=l?Q:c?Q[a]||_t(a,{}):(Q[a]||{}).prototype)for(r in e){if(s=e[r],i=t.noTargetGet?(o=De(n,r))&&o.value:n[r],!Be(l?r:a+(c?".":"#")+r,t.forced)&&void 0!==i){if(typeof s==typeof i)continue;Ne(s,i)}(t.sham||i&&i.sham)&&vt(s,"sham",!0),He(n,r,s,t)}}({target:e,proto:!0,forced:nn||h},l);return l}(Array,"Array",(function(t,e){on(this,{type:"Array Iterator",target:ot(t),index:0,kind:e})}),(function(){var t=an(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");oe("keys"),oe("values"),oe("entries");var cn=Mt("iterator"),un=Mt("toStringTag"),dn=ln.values;for(var hn in tt){var pn=Q[hn],fn=pn&&pn.prototype;if(fn){if(fn[cn]!==dn)try{vt(fn,cn,dn)}catch(t){fn[cn]=dn}if(fn[un]||vt(fn,un,hn),tt[hn])for(var mn in ln)if(fn[mn]!==ln[mn])try{vt(fn,mn,ln[mn])}catch(t){fn[mn]=ln[mn]}}}const yn=new Map,gn=(t,e={})=>{const n=e.responseParser||(t=>t.text());return yn.has(t)||yn.set(t,fetch(t).then(n)),yn.get(t)};var vn='<svg viewBox="0 0 144 45" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" style="width: 100%; height: auto; fill: currentColor" class="" >\n <title>Alaska Airlines</title>\n <desc>Logo image for Alaska Airlines</desc>\n<path d="M70.61 2.14944L54.17 29.7394C52.5776 32.3083 51.5863 35.2037 51.27 38.2094H44.83C45.27 34.7194 46.63 31.3994 49.46 26.6294L60.96 7.35945C63.26 3.53945 65.55 2.14944 69.71 2.14944H70.61Z"/>\n<path d="M69.34 31.1095C68.14 32.2195 65.81 33.8995 63.85 33.9594C62.49 33.8995 62.44 32.6294 63.35 30.8895C66.82 24.2394 70.47 20.7195 74.97 20.7295H75.79L69.34 31.1095ZM75.42 16.9995C67.08 16.9995 61.96 21.8595 57.42 32.4895C56.29 35.1595 55.64 38.4894 59.49 38.4194C62.5171 38.1595 65.4267 37.1265 67.94 35.4194C67.7172 36.3384 67.6362 37.286 67.7 38.2295H73.56C73.9532 35.1953 74.975 32.2764 76.56 29.6595L83.87 17.4694C81.0638 17.1615 78.2431 17.0046 75.42 16.9995Z"/>\n<path d="M129.46 31.1095C128.26 32.2195 125.93 33.8995 123.97 33.9594C122.61 33.8995 122.56 32.6294 123.47 30.8895C126.94 24.2394 130.59 20.7195 135.09 20.7295H135.9L129.46 31.1095ZM135.56 16.9995C127.22 16.9995 122.1 21.8595 117.56 32.4895C116.42 35.1595 115.78 38.4894 119.63 38.4194C122.657 38.1595 125.567 37.1265 128.08 35.4194C127.853 36.3377 127.772 37.286 127.84 38.2295H133.68C134.075 35.1958 135.097 32.2774 136.68 29.6595L143.99 17.4694C141.19 17.1622 138.376 17.0053 135.56 16.9995Z"/>\n<path d="M116.56 44.0894H114.65C113.431 44.094 112.244 43.6955 111.275 42.9558C110.305 42.2161 109.607 41.1767 109.29 39.9994L106.38 28.9994L100.95 38.1394H94.72L112.12 8.69944C114.36 4.86944 116.7 3.48944 120.85 3.48944H121.49L109.94 23.0694L118.6 17.0694H125.6L110.99 27.1594L116.56 44.0894Z"/>\n<path d="M59.13 0.439453C53.26 0.439453 50.23 1.98945 44.47 6.13945L24.99 20.1395H12.56C8.96 20.1395 6.07 20.2795 3.79 22.4295L0.570001 25.4295L18.69 24.7295L0 38.2095H8.06L27.14 24.4395C30.84 24.2995 33.41 24.1995 33.43 24.2095C37.88 24.0895 40.34 20.2095 40.34 20.2095H33.02L48.44 9.06945L37 27.6295C34.55 31.8995 33.37 34.9395 33 38.2095H39.56C39.881 35.2048 40.872 32.3103 42.46 29.7395L58.07 3.73945C59.15 1.94945 60.07 0.489453 60.07 0.489453L59.13 0.439453Z"/>\n<path d="M90.18 22.9994C90.1 23.5494 90.33 23.8894 91.45 24.6194L93.24 25.7894C94.0592 26.2675 94.7273 26.9665 95.1676 27.8066C95.608 28.6467 95.8029 29.5938 95.73 30.5394C95.08 34.8995 91.87 38.4194 85.05 38.4294C82.4033 38.469 79.7596 38.2378 77.16 37.7395L79.81 33.2794C81.6923 33.6717 83.6075 33.886 85.53 33.9194C88.09 33.9194 89.12 32.7694 89.26 31.8194C89.34 31.2594 89.07 30.6094 87.86 29.7594L86.44 28.7594C84.17 27.1394 83.57 25.8594 83.87 23.8494C84.44 19.9794 88.87 17.0294 95.12 17.0294C97.2582 17.0349 99.3946 17.1551 101.52 17.3894L99.03 21.6094C97.1143 21.4511 95.1918 21.391 93.27 21.4294C91.48 21.4594 90.32 22.0694 90.18 22.9994Z"/>\n<path d="M140.43 34.3595C140.842 34.3455 141.249 34.455 141.598 34.6738C141.948 34.8926 142.224 35.2108 142.392 35.5876C142.559 35.9644 142.61 36.3826 142.538 36.7887C142.467 37.1947 142.275 37.5701 141.989 37.8666C141.702 38.1631 141.334 38.3674 140.93 38.4531C140.527 38.5388 140.107 38.5021 139.725 38.3477C139.343 38.1933 139.015 37.9282 138.784 37.5864C138.554 37.2447 138.43 36.8418 138.43 36.4295C138.43 35.8924 138.638 35.3762 139.011 34.99C139.385 34.6037 139.893 34.3776 140.43 34.3595ZM140.43 38.0895C140.761 38.1014 141.087 38.0143 141.368 37.8393C141.649 37.6644 141.871 37.4095 142.006 37.1074C142.141 36.8053 142.182 36.4698 142.125 36.144C142.068 35.8181 141.915 35.5167 141.685 35.2785C141.456 35.0404 141.16 34.8762 140.837 34.8071C140.513 34.7381 140.176 34.7672 139.869 34.8909C139.563 35.0146 139.3 35.2272 139.114 35.5013C138.929 35.7754 138.83 36.0986 138.83 36.4295C138.823 36.6442 138.86 36.8581 138.937 37.0586C139.014 37.2591 139.131 37.4421 139.28 37.5968C139.429 37.7515 139.608 37.8748 139.805 37.9594C140.003 38.044 140.215 38.0882 140.43 38.0895ZM140.18 37.5295H139.75V35.2795H140.56C140.657 35.2741 140.754 35.2883 140.845 35.3215C140.937 35.3546 141.021 35.4059 141.092 35.4722C141.163 35.5386 141.219 35.6186 141.259 35.7075C141.298 35.7964 141.319 35.8923 141.32 35.9895C141.319 36.1384 141.271 36.2833 141.183 36.4035C141.095 36.5238 140.972 36.6133 140.83 36.6595L141.33 37.5295H140.84L140.37 36.6895H140.21L140.18 37.5295ZM140.47 36.3195C140.72 36.3195 140.86 36.1995 140.86 35.9995C140.86 35.7995 140.72 35.6495 140.47 35.6495H140.18V36.3195H140.47Z"/>\n</svg>\n',_n='<svg viewBox="0 0 144 63" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" style="width: 100%; height: auto; fill: currentColor" class="" >\n <title>Alaska Airlines</title>\n <desc>Logo image for Alaska Airlines</desc>\n<g>\n<path d="M70.6 1.70001L54.2 29.3C52.5 32.1 51.6 35 51.3 37.8H44.9C45.3 34.3 46.7 31 49.5 26.2L61 6.90001C63.3 3.10001 65.6 1.70001 69.7 1.70001H70.6V1.70001Z"/>\n<path d="M69.3 30.7C68.1 31.8 65.8 33.5 63.8 33.6C62.4 33.5 62.4 32.3 63.3 30.5C66.8 23.8 70.4 20.3 74.9 20.3H75.7L69.3 30.7ZM75.4 16.6C67.1 16.6 61.9 21.5 57.4 32.1C56.3 34.8 55.6 38.1 59.5 38C61.7 38 65.4 36.8 67.9 35C67.7 35.9 67.6 37.1 67.7 37.8H73.5C73.7 35.5 74.6 32.7 76.5 29.2L83.9 17C81.1 16.7 78.3 16.6 75.4 16.6Z"/>\n<path d="M129.5 30.7C128.3 31.8 126 33.5 124 33.6C122.6 33.5 122.6 32.3 123.5 30.5C127 23.8 130.6 20.3 135.1 20.3H135.9L129.5 30.7ZM135.5 16.6C127.2 16.6 122 21.5 117.5 32.1C116.4 34.8 115.7 38.1 119.6 38C121.8 38 125.5 36.8 128 35C127.8 35.9 127.7 37.1 127.8 37.8H133.6C133.8 35.5 134.7 32.7 136.6 29.2L144 17C141.2 16.7 138.4 16.6 135.5 16.6Z"/>\n<path d="M116.5 43.6H114.6C112.1 43.6 109.9 41.9 109.3 39.5L106.4 28.5L101 37.6H94.8L112.2 8.2C114.4 4.4 116.8 3 120.9 3H121.5L109.9 22.5L118.6 16.5H125.6L111 26.7L116.5 43.6Z"/>\n<path d="M59.1 0C53.2 0 50.2 1.6 44.4 5.7L25 19.8H12.5C8.9 19.8 6 19.9 3.7 22.1L0.5 25.1C0.5 25.1 9.9 24.7 18.6 24.4L0 37.8H8.1L27.1 24C30.8 23.9 33.4 23.8 33.4 23.8C37.8 23.7 40.3 19.8 40.3 19.8H33L48.4 8.6L37 27.2C34.5 31.5 33.4 34.5 33 37.8H39.6C39.9 35 40.8 32.2 42.5 29.3L58.1 3.3C59.2 1.5 60.1 0 60.1 0L59.1 0Z"/>\n<path d="M90.2 22.5C90.1 23.1 90.3 23.4 91.5 24.1L93.3 25.3C95.2 26.6 96 28.5 95.8 30.1C95.2 34.5 91.9 38 85.1 38C82.1 38 80.8 37.9 77.2 37.3L79.8 32.8C82.3 33.2 83.7 33.5 85.5 33.4C88.1 33.4 89.1 32.2 89.2 31.3C89.3 30.7 89 30.1 87.8 29.2L86.4 28.2C84.1 26.6 83.5 25.3 83.8 23.3C84.4 19.4 88.8 16.5 95 16.5C96.9 16.5 99.1 16.6 101.4 16.9L99 21.1C97.5 21 95 20.9 93.2 20.9C91.5 21 90.3 21.6 90.2 22.5Z"/>\n<path d="M140.4 33.9C141.5 33.9 142.5 34.8 142.5 36C142.5 37.1 141.6 38.1 140.4 38.1C139.3 38.1 138.4 37.2 138.4 36C138.4 34.9 139.3 33.9 140.4 33.9ZM140.4 37.6C141.3 37.6 142 36.9 142 35.9C142 35 141.3 34.2 140.4 34.2C139.5 34.2 138.8 34.9 138.8 35.9C138.8 36.9 139.5 37.6 140.4 37.6ZM140.2 37.1H139.8V34.9H140.6C141 34.9 141.4 35.2 141.4 35.6C141.4 35.9 141.2 36.2 140.9 36.3L141.4 37.2H140.9L140.4 36.4H140.2V37.1V37.1ZM140.5 35.9C140.8 35.9 140.9 35.8 140.9 35.6C140.9 35.4 140.8 35.3 140.5 35.3H140.2V36H140.5V35.9Z"/>\n<path d="M18.1 59.3H13.5L12.6 61.9H10.3L14.6 50.6H17.2L21.5 61.9H19.1L18.1 59.3ZM14.3 57.3H17.4L15.8 53L14.3 57.3Z"/>\n<path d="M29.3 61.9V50.6H31.5V61.9H29.3V61.9Z"/>\n<path d="M44.4 57.6H43.3V62H41.1V50.6H45.5C47.7 50.6 49.1 52.1 49.1 54.1C49.1 55.7 48.2 56.9 46.7 57.3L49.1 61.9H46.6L44.4 57.6ZM45.1 55.7C46.2 55.7 46.9 55.1 46.9 54.1C46.9 53.1 46.2 52.5 45.1 52.5H43.3V55.6H45.1V55.7Z"/>\n<path d="M58 61.9V50.6H60.2V59.8H65.2V61.9H58Z"/>\n<path d="M73.8 61.9V50.6H76V61.9H73.8V61.9Z"/>\n<path d="M92.9 61.9L87.8 53.9V61.9H85.6V50.6H88.3L93 58.1V50.6H95.2V61.9H92.9V61.9Z"/>\n<path d="M104.8 61.9V50.6H111.9V52.7H107V55.3H111.4V57.3H107V59.9H111.9V62H104.8V61.9Z"/>\n<path d="M126.6 53.9C126.5 53.3 126 52.3 124.5 52.3C123.4 52.3 122.7 53 122.7 53.7C122.7 54.3 123.1 54.8 123.9 55L125.5 55.3C127.6 55.7 128.7 57 128.7 58.6C128.7 60.3 127.2 62.1 124.6 62.1C121.6 62.1 120.3 60.2 120.1 58.6L122.1 58.1C122.2 59.2 123 60.2 124.6 60.2C125.8 60.2 126.4 59.6 126.4 58.8C126.4 58.1 125.9 57.6 125 57.5L123.4 57.2C121.6 56.8 120.4 55.7 120.4 54C120.4 52 122.2 50.5 124.3 50.5C127 50.5 128.1 52.2 128.4 53.4L126.6 53.9Z"/>\n</g>\n</svg>\n',Cn=(K((function(t,e){!function(){function t(t){var e=!0,n=!1,r=null,i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(t){return!!(t&&t!==document&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function o(t){t.classList.contains("focus-visible")||(t.classList.add("focus-visible"),t.setAttribute("data-focus-visible-added",""))}function a(t){e=!1}function l(){document.addEventListener("mousemove",c),document.addEventListener("mousedown",c),document.addEventListener("mouseup",c),document.addEventListener("pointermove",c),document.addEventListener("pointerdown",c),document.addEventListener("pointerup",c),document.addEventListener("touchmove",c),document.addEventListener("touchstart",c),document.addEventListener("touchend",c)}function c(t){t.target.nodeName&&"html"===t.target.nodeName.toLowerCase()||(e=!1,document.removeEventListener("mousemove",c),document.removeEventListener("mousedown",c),document.removeEventListener("mouseup",c),document.removeEventListener("pointermove",c),document.removeEventListener("pointerdown",c),document.removeEventListener("pointerup",c),document.removeEventListener("touchmove",c),document.removeEventListener("touchstart",c),document.removeEventListener("touchend",c))}document.addEventListener("keydown",(function(n){n.metaKey||n.altKey||n.ctrlKey||(s(t.activeElement)&&o(t.activeElement),e=!0)}),!0),document.addEventListener("mousedown",a,!0),document.addEventListener("pointerdown",a,!0),document.addEventListener("touchstart",a,!0),document.addEventListener("visibilitychange",(function(t){"hidden"===document.visibilityState&&(n&&(e=!0),l())}),!0),l(),t.addEventListener("focus",(function(t){var n,r,a;s(t.target)&&(e||(r=(n=t.target).type,"INPUT"===(a=n.tagName)&&i[r]&&!n.readOnly||"TEXTAREA"===a&&!n.readOnly||n.isContentEditable))&&o(t.target)}),!0),t.addEventListener("blur",(function(t){var e;s(t.target)&&(t.target.classList.contains("focus-visible")||t.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1}),100),(e=t.target).hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added")))}),!0),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host?t.host.setAttribute("data-js-focus-visible",""):t.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var e;window.applyFocusVisiblePolyfill=t;try{e=new CustomEvent("focus-visible-polyfill-ready")}catch(t){(e=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(e)}"undefined"!=typeof document&&t(document)}()})),B`*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important}}:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.ico_squareLarge{fill:currentColor;width:1.5rem;height:1.5rem}.ico_squareSmall{fill:currentColor;width:.6rem;height:.6rem}.ico_squareMed{fill:currentColor;width:1rem;height:1rem}.ico_squareSml{fill:currentColor;width:.75rem;height:.75rem}:host{color:currentColor;vertical-align:middle;line-height:1}:host .logo{color:var(--auro-color-brand-midnight-400)}`);class wn extends G{static get properties(){return{...super.properties,onDark:{type:Boolean,reflect:!0},svg:{attribute:!1,reflect:!0}}}static get styles(){return B`${Cn}`}async fetchIcon(t,e){let n="";n="logos"===t?await gn(`${this.uri}/${t}/${e}.svg`):this.alaska?vn:this.alaskaTagline?_n:await gn(`${this.uri}/icons/${t}/${e}.svg`);return(new DOMParser).parseFromString(n,"text/html").body.querySelector("svg")}async firstUpdated(){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(W,"text/html");this.svg=t.body.firstChild}}}var bn=B`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){border:0;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}:host{display:inline-block}:host .primary{color:var(--auro-color-icon-primary-on-light)}:host .emphasis{color:var(--auro-color-icon-emphasis-on-light)}:host .accent{color:var(--auro-color-icon-accent-on-light)}:host .disabled{color:var(--auro-color-icon-disabled-on-light)}:host .error{color:var(--auro-color-alert-error-on-light)}:host .success{color:var(--auro-color-alert-success-on-light)}:host .advisory{color:var(--auro-color-alert-advisory-on-light)}:host .warning{color:var(--auro-color-alert-warning-on-light)}:host([onDark]) .logo{color:var(--auro-color-base-white)}:host([onDark]) .primary{color:var(--auro-color-icon-primary-on-dark)}:host([onDark]) .emphasis{color:var(--auro-color-icon-emphasis-on-dark)}:host([onDark]) .accent{color:var(--auro-color-icon-accent-on-dark)}:host([onDark]) .disabled{color:var(--auro-color-icon-disabled-on-dark)}:host([onDark]) .error{color:var(--auro-color-alert-error-on-dark)}:host([onDark]) .success{color:var(--auro-color-alert-success-on-dark)}:host([onDark]) .advisory{color:var(--auro-color-alert-advisory-on-dark)}:host([customSize]){--auro-size-lg:100%;width:100%;height:100%}`;class Sn extends wn{constructor(){super(),this.privateDefaults()}privateDefaults(){this.uri="https://unpkg.com/@alaskaairux/icons@latest/dist"}static get properties(){return{...super.properties,category:{type:String,reflect:!0},name:{type:String,reflect:!0},primary:{type:Boolean,reflect:!0},emphasis:{type:Boolean,reflect:!0},accent:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},error:{type:Boolean,reflect:!0},success:{type:Boolean,reflect:!0},advisory:{type:Boolean,reflect:!0},warning:{type:Boolean,reflect:!0},customColor:{type:Boolean}}}static get styles(){return[super.styles,B`${bn}`]}render(){const t={primary:!this.alaska&&!this.alaskaTagline&&!this.customColor,emphasis:this.emphasis,accent:this.accent,disabled:this.disabled,error:this.error,success:this.success,advisory:this.advisory,warning:this.warning};return I`<div class="${z(t)}"><div class="util_displayHiddenVisually"><slot></slot></div><slot name="icon">${this.svg}</slot></div>`}}customElements.get("auro-icon")||customElements.define("auro-icon",Sn); |
/* eslint-disable one-var */ | ||
/* eslint-disable no-console */ | ||
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license | ||
@@ -9,10 +10,5 @@ // See LICENSE in the project root for license information. | ||
import { classMap } from 'lit-html/directives/class-map'; | ||
import AuroElement from '@alaskaairux/orion-web-core-style-sheets/dist/auroElement/auroElement'; | ||
import penguin from '@alaskaairux/icons/dist/icons/interface/penguin_es6.js'; | ||
import cacheFetch from './cacheFetch'; | ||
import BaseIcon from "./baseIcon"; | ||
import styleCss from "./iconStyle-css.js"; | ||
// Import touch detection lib | ||
import "focus-visible/dist/focus-visible.min.js"; | ||
import styleCss from "./style-css.js"; | ||
// See https://git.io/JJ6SJ for "How to document your components using JSDoc" | ||
@@ -22,15 +18,14 @@ /** | ||
* | ||
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage. | ||
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage. | ||
* @attr {Boolean} primary - Sets the icon to use the baseline primary icon style. | ||
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style. | ||
* @attr {Boolean} accent - Sets the icon to use the accent style. | ||
* @attr {Boolean} disabled - Sets the icon to use the disabled style. | ||
* @attr {Boolean} warning - Sets the icon to use the warning style. | ||
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon. | ||
* @attr {Boolean} customColor - Removes primary selector. | ||
* @attr {Boolean} customSize - Allows for custom size use. | ||
* @attr {Boolean} alaska - Set value for default alaska airlines logo. | ||
* @attr {Boolean} alaskaTagline - Set value for alaska airlines logo with tagline. | ||
* @attr svg - Internal property to store the svg. | ||
* @attr {Boolean} customSize - Allows for custom size use | ||
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage | ||
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage | ||
* @attr {Boolean} customColor - Removes primary selector | ||
* @attr {Boolean} primary - Sets the icon to use the baseline primary icon style | ||
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style | ||
* @attr {Boolean} accent - Sets the icon to use the accent style | ||
* @attr {Boolean} advisory - Sets the icon to use the advisory style | ||
* @attr {Boolean} success - Sets the icon to use the success style | ||
* @attr {Boolean} error - Sets the icon to use the error style | ||
* @attr {Boolean} disabled - Sets the icon to use the disabled style | ||
* @attr {Boolean} warning - Sets the icon to use the warning style | ||
* @slot - Hidden from visibility, used for a11y if icon description is needed | ||
@@ -40,7 +35,17 @@ */ | ||
// build the component class | ||
class AuroIcon extends AuroElement { | ||
// constructor() { | ||
// super(); | ||
// } | ||
class AuroIcon extends BaseIcon { | ||
constructor() { | ||
super(); | ||
this.privateDefaults(); | ||
} | ||
/** | ||
* @private internal defaults | ||
* @returns {void} | ||
*/ | ||
privateDefaults() { | ||
this.uri = 'https://unpkg.com/@alaskaairux/icons@latest/dist'; | ||
} | ||
// function to define props used within the scope of this component | ||
@@ -54,10 +59,2 @@ static get properties() { | ||
}, | ||
alaska: { | ||
type: Boolean, | ||
reflect: true | ||
}, | ||
alaskaTagline: { | ||
type: Boolean, | ||
reflect: true | ||
}, | ||
name: { | ||
@@ -99,9 +96,2 @@ type: String, | ||
}, | ||
onDark: { | ||
type: Boolean, | ||
reflect: true | ||
}, | ||
svg: { | ||
attribute: false | ||
}, | ||
customColor: { | ||
@@ -113,43 +103,7 @@ type: Boolean | ||
/** | ||
* @private async function to fetch requested icon from npm CDN | ||
* @param {string} category icon category | ||
* @param {string} name icon name | ||
* @returns {dom} DOM ready HTML to be appended | ||
*/ | ||
async fetchIcon(category, name) { | ||
const uri = 'https://unpkg.com/@alaskaairux/icons@latest/dist'; | ||
let iconHTML = ''; | ||
if (category === 'logos') { | ||
iconHTML = await cacheFetch(`${uri}/${category}/${name}.svg`); | ||
} else if (this.alaska) { | ||
iconHTML = await cacheFetch(`${uri}/restricted/AS.svg`); | ||
} else if (this.alaskaTagline) { | ||
iconHTML = await cacheFetch(`${uri}/restricted/AS-tagline.svg`); | ||
} else { | ||
iconHTML = await cacheFetch(`${uri}/icons/${category}/${name}.svg`); | ||
} | ||
const dom = new DOMParser().parseFromString(iconHTML, 'text/html'); | ||
return dom.body.querySelector('svg'); | ||
} | ||
async firstUpdated() { | ||
const svg = await this.fetchIcon(this.category, this.name); | ||
if (svg) { | ||
this.svg = svg; | ||
} else { | ||
const penDOM = new DOMParser().parseFromString(penguin.svg, 'text/html'); | ||
this.svg = penDOM.body.firstChild; | ||
} | ||
} | ||
static get styles() { | ||
return css` | ||
${styleCss} | ||
`; | ||
return [ | ||
super.styles, | ||
css`${styleCss}` | ||
]; | ||
} | ||
@@ -167,4 +121,3 @@ | ||
'advisory': this.advisory, | ||
'warning': this.warning, | ||
'logo': this.alaska || this.alaskaTagline, | ||
'warning': this.warning | ||
} | ||
@@ -171,0 +124,0 @@ |
import {css} from 'lit-element'; | ||
export default css`*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{-webkit-animation:none !important;animation:none !important;-webkit-transition:none !important;-o-transition:none !important;transition:none !important}}*:focus{outline:none}.js-focus-visible :focus:not(.focus-visible){outline:none}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:-webkit-box;display:-ms-flexbox;display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.ico_squareLarge{fill:currentColor;width:1.5rem;height:1.5rem}.ico_squareSmall{fill:currentColor;width:0.6rem;height:0.6rem}.ico_squareMed{fill:currentColor;width:1rem;height:1rem}.ico_squareSml{fill:currentColor;width:0.75rem;height:0.75rem}:host{color:currentColor;display:inline-block;vertical-align:middle;line-height:1}:host .logo{color:#01426a;color:var(--auro-color-brand-midnight-400)}:host .primary{color:#626b79;color:var(--auro-color-icon-primary-on-light)}:host .emphasis{color:#222222;color:var(--auro-color-icon-emphasis-on-light)}:host .accent{color:#0074cb;color:var(--auro-color-icon-accent-on-light)}:host .disabled{color:rgba(0,0,0,0.15);color:var(--auro-color-icon-disabled-on-light)}:host .error{color:#df0b37;color:var(--auro-color-alert-error-on-light)}:host .success{color:#00805d;color:var(--auro-color-alert-success-on-light)}:host .advisory{color:#fff0cd;color:var(--auro-color-alert-advisory-on-light)}:host .warning{color:#de750c;color:var(--auro-color-alert-warning-on-light)}:host([onDark]) .logo{color:#ffffff;color:var(--auro-color-base-white)}:host([onDark]) .primary{color:#9fabbb;color:var(--auro-color-icon-primary-on-dark)}:host([onDark]) .emphasis{color:#ffffff;color:var(--auro-color-icon-emphasis-on-dark)}:host([onDark]) .accent{color:#00cff0;color:var(--auro-color-icon-accent-on-dark)}:host([onDark]) .disabled{color:rgba(255,255,255,0.4);color:var(--auro-color-icon-disabled-on-dark)}:host([onDark]) .error{color:#ff999b;color:var(--auro-color-alert-error-on-dark)}:host([onDark]) .success{color:#69cf96;color:var(--auro-color-alert-success-on-dark)}:host([onDark]) .advisory{color:#fff0cd;color:var(--auro-color-alert-advisory-on-dark)}:host([customSize]){--auro-size-lg:100%;width:100%;height:100%} | ||
export default css`*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none !important;transition:none !important}}*:focus{outline:3px solid transparent}.js-focus-visible :focus:not(.focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.ico_squareLarge{fill:currentColor;width:1.5rem;height:1.5rem}.ico_squareSmall{fill:currentColor;width:0.6rem;height:0.6rem}.ico_squareMed{fill:currentColor;width:1rem;height:1rem}.ico_squareSml{fill:currentColor;width:0.75rem;height:0.75rem}:host{color:currentColor;vertical-align:middle;line-height:1}:host .logo{color:var(--auro-color-brand-midnight-400)} | ||
`; |
@@ -0,1 +1,22 @@ | ||
# auro-alaska | ||
auro-alaska provides users a way to use the Alaska Airline logos. | ||
## Properties | ||
| Property | Attribute | Type | Description | | ||
|------------------|------------------|-----------|--------------------------------------------------| | ||
| `hidden` | `hidden` | `Boolean` | If present, the component will be hidden both visually and from screen readers | | ||
| `hiddenAudible` | `hiddenAudible` | `Boolean` | If present, the component will be hidden from screen readers, but seen visually | | ||
| `hiddenVisually` | `hiddenVisually` | `Boolean` | If present, the component will be hidden visually, but still read by screen readers | | ||
| `official` | `official` | `Boolean` | Set value for alaska airlines logo with official tagline | | ||
| `onDark` | `onDark` | `Boolean` | Set value for on-dark version of auro-icon | | ||
## Slots | ||
| Name | Description | | ||
|------|--------------------------------------------------| | ||
| | Hidden from visibility, used for a11y if icon description is needed | | ||
# auro-icon | ||
@@ -7,5 +28,5 @@ | ||
| Attribute | Type | Description | | ||
|--------------|-----------|-----------------------------| | ||
| `customSize` | `Boolean` | Allows for custom size use. | | ||
| Attribute | Type | Description | | ||
|--------------|-----------|----------------------------| | ||
| `customSize` | `Boolean` | Allows for custom size use | | ||
@@ -16,20 +37,17 @@ ## Properties | ||
|------------------|------------------|-----------|--------------------------------------------------| | ||
| `accent` | `accent` | `Boolean` | Sets the icon to use the accent style. | | ||
| `advisory` | `advisory` | `boolean` | | | ||
| `alaska` | `alaska` | `Boolean` | Set value for default alaska airlines logo. | | ||
| `alaskaTagline` | `alaskaTagline` | `Boolean` | Set value for alaska airlines logo with tagline. | | ||
| `category` | `category` | `String` | The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage. | | ||
| `customColor` | `customColor` | `Boolean` | Removes primary selector. | | ||
| `disabled` | `disabled` | `Boolean` | Sets the icon to use the disabled style. | | ||
| `emphasis` | `emphasis` | `Boolean` | Sets the icon to use the emphasis style. | | ||
| `error` | `error` | `boolean` | | | ||
| `accent` | `accent` | `Boolean` | Sets the icon to use the accent style | | ||
| `advisory` | `advisory` | `Boolean` | Sets the icon to use the advisory style | | ||
| `category` | `category` | `String` | The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage | | ||
| `customColor` | `customColor` | `Boolean` | Removes primary selector | | ||
| `disabled` | `disabled` | `Boolean` | Sets the icon to use the disabled style | | ||
| `emphasis` | `emphasis` | `Boolean` | Sets the icon to use the emphasis style | | ||
| `error` | `error` | `Boolean` | Sets the icon to use the error style | | ||
| `hidden` | `hidden` | `Boolean` | If present, the component will be hidden both visually and from screen readers | | ||
| `hiddenAudible` | `hiddenAudible` | `Boolean` | If present, the component will be hidden from screen readers, but seen visually | | ||
| `hiddenVisually` | `hiddenVisually` | `Boolean` | If present, the component will be hidden visually, but still read by screen readers | | ||
| `name` | `name` | `String` | The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage. | | ||
| `onDark` | `onDark` | `Boolean` | Set value for on-dark version of auro-icon. | | ||
| `primary` | `primary` | `Boolean` | Sets the icon to use the baseline primary icon style. | | ||
| `success` | `success` | `boolean` | | | ||
| `svg` | `svg` | | Internal property to store the svg. | | ||
| `warning` | `warning` | `Boolean` | Sets the icon to use the warning style. | | ||
| `name` | `name` | `String` | The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage | | ||
| `onDark` | `onDark` | `Boolean` | Set value for on-dark version of auro-icon | | ||
| `primary` | `primary` | `Boolean` | Sets the icon to use the baseline primary icon style | | ||
| `success` | `success` | `Boolean` | Sets the icon to use the success style | | ||
| `warning` | `warning` | `Boolean` | Sets the icon to use the warning style | | ||
@@ -36,0 +54,0 @@ ## Slots |
@@ -11,3 +11,3 @@ { | ||
"name": "@alaskaairux/auro-icon", | ||
"version": "2.0.3", | ||
"version": "3.0.0", | ||
"description": "Auro custom auro-icon element", | ||
@@ -32,10 +32,10 @@ "author": "Product design and research", | ||
"devDependencies": { | ||
"@alaskaairux/icons": "^4.0.2", | ||
"@alaskaairux/orion-design-tokens": "^2.12.2", | ||
"@alaskaairux/orion-web-core-style-sheets": "^2.12.1", | ||
"@babel/core": "^7.12.3", | ||
"@alaskaairux/icons": "^4.0.7", | ||
"@alaskaairux/orion-design-tokens": "^2.12.3", | ||
"@alaskaairux/orion-web-core-style-sheets": "^2.12.2", | ||
"@babel/core": "^7.12.9", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.12.1", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/runtime": "^7.12.1", | ||
"@babel/preset-env": "^7.12.7", | ||
"@babel/runtime": "^7.12.5", | ||
"@commitlint/cli": "^11.0.0", | ||
@@ -46,50 +46,58 @@ "@commitlint/config-conventional": "^11.0.0", | ||
"@polymer/iron-demo-helpers": "^3.1.0", | ||
"@polymer/polymer": "^3.3.1", | ||
"@rollup/plugin-alias": "^3.1.1", | ||
"@rollup/plugin-babel": "^5.2.2", | ||
"@rollup/plugin-commonjs": "^17.0.0", | ||
"@rollup/plugin-node-resolve": "^11.0.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/npm": "^7.0.6", | ||
"@semantic-release/npm": "^7.0.9", | ||
"@web/dev-server": "0.0.26", | ||
"@webcomponents/webcomponentsjs": "^2.5.0", | ||
"autoprefixer": "^10.0.1", | ||
"babel-loader": "^8.1.0", | ||
"autoprefixer": "^10.0.4", | ||
"babel-loader": "^8.2.2", | ||
"compression": "^1.7.4", | ||
"concat": "^1.0.3", | ||
"copy-webpack-plugin": "^6.2.1", | ||
"copyfiles": "^2.4.0", | ||
"core-js": "^3.6.5", | ||
"eslint": "^7.12.1", | ||
"copy-webpack-plugin": "^6.4.0", | ||
"copyfiles": "^2.4.1", | ||
"core-js": "^3.8.1", | ||
"eslint": "^7.15.0", | ||
"eslint-plugin-lit": "^1.2.4", | ||
"focus-visible": "^5.2.0", | ||
"husky": "^4.3.0", | ||
"husky": "^4.3.5", | ||
"lodash": "^4.17.20", | ||
"marked": "^1.2.2", | ||
"marked": "^1.2.5", | ||
"nodemon": "^2.0.6", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.1.4", | ||
"postcss-custom-properties": "^9.2.0", | ||
"postcss": "^8.1.14", | ||
"postcss-custom-properties": "^10.0.0", | ||
"postcss-discard-comments": "^4.0.2", | ||
"postcss-remove-rules": "^1.0.0", | ||
"postcss-selector-replace": "^1.0.2", | ||
"semantic-release": "^17.2.2", | ||
"rollup": "^2.34.2", | ||
"rollup-plugin-minify-html-literals": "^1.2.5", | ||
"rollup-plugin-serve": "^1.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"semantic-release": "^17.3.0", | ||
"sinon": "^9.2.1", | ||
"stylelint": "^13.7.2", | ||
"stylelint": "^13.8.0", | ||
"stylelint-config-standard": "^20.0.0", | ||
"wc-sass-render": "^1.2.3", | ||
"web-component-analyzer": "^1.1.6", | ||
"webpack": "^4.44.2", | ||
"webpack-bundle-analyzer": "^3.9.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-dev-server": "^3.11.0", | ||
"webpack-merge": "^5.3.0", | ||
"webpack-merge": "^5.4.0", | ||
"whatwg-fetch": "^3.5.0", | ||
"yaml-lint": "^1.2.4" | ||
}, | ||
"browserslist": [ | ||
"last 4 version", | ||
"> 1%", | ||
"IE 11" | ||
"last 2 Chrome versions", | ||
"last 2 iOS major versions", | ||
"ie 11", | ||
"last 2 Firefox versions", | ||
"last 2 Edge versions", | ||
"last 2 Safari major versions" | ||
], | ||
"scripts": { | ||
"build": "npm run ciBuild", | ||
"apiBuild": "wca analyze 'src/auro-icon.js' --outFiles docs/api.md", | ||
"bundler": "webpack --mode=production", | ||
"bundle:test": "webpack-dev-server --host 0.0.0.0", | ||
"apiBuild": "wca analyze 'src/**/auro-*.js' --outFiles docs/api.md", | ||
"bundler": "rollup -c", | ||
"bundle:test": "rollup -c -w", | ||
"postinstall": "node packageScripts/postinstall.js", | ||
@@ -113,3 +121,3 @@ "cssLint": "stylelint './src/*.css'", | ||
"postCss:component": "node ./scripts/postCss.js", | ||
"serve": "polymer serve --port 3001 --hostname 0.0.0.0" | ||
"serve": "web-dev-server --open demo/ --node-resolve --watch" | ||
}, | ||
@@ -122,22 +130,2 @@ "husky": { | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "entry", | ||
"corejs": "3.0.0" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
[ | ||
"@babel/plugin-transform-runtime", | ||
{ | ||
"regenerator": true | ||
} | ||
] | ||
] | ||
}, | ||
"release": { | ||
@@ -144,0 +132,0 @@ "branch": "master", |
@@ -8,3 +8,3 @@ 'use strict'; | ||
_______ __ __ __ | ||
_______ __ __ __ | ||
| __|.---.-.--.--. | |--.-----.| | |.-----. | ||
@@ -22,2 +22,6 @@ |__ || _ | | | | | -__|| | || _ | | ||
`) + chalk.hex('#ffd200').bold(`WARN: `) + chalk.hex('#f26135')(`The use of auro-icon for Alaska Airline's | ||
logo is `) + chalk.hex('#ffd200').bold(`DEPRECATED! `) + chalk.hex('#f26135')(`Please see auro-alaska | ||
for new logo support. | ||
Thanks for installing the latest version | ||
@@ -24,0 +28,0 @@ of `) + chalk.hex('#ffd200').bold(`auro-icon v${pjson.version}.`) + chalk.hex('#f26135')(` |
@@ -171,3 +171,3 @@ # auro-icon | ||
Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open three different shell sessions. One is for the **Gulp tasks**, the second is for a series of **npm tasks** and the last is to run the **Polymer server**. | ||
Once the project has been cloned to your local resource and you have installed all the dependencies you will need to open two different shell sessions. One is for the **npm tasks**, the second is to run the **server**. | ||
@@ -174,0 +174,0 @@ **Peer dependency:** Please make sure Polymer is installed globally in order to run the Polymer server. See [Auro Component Development Details](https://github.com/AlaskaAirlines/auro_docs/blob/master/src/TECH_DETAILS.md) for more information. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
413013
41
2240
55
9143
1
4