gauge-page-header 0.0.481 → 0.0.482

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d5aa0180.js');
5
+ const index = require('./index-12e690ac.js');
6
6
 
7
7
  const eswat2IoCss = "a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";
8
8
  const Eswat2IoStyle0 = eswat2IoCss;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d5aa0180.js');
5
+ const index = require('./index-12e690ac.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.18.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.18.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('gauge-page-header.cjs.js', document.baseURI).href));
@@ -21,9 +21,10 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'gauge-page-header';
24
+ const BUILD = /* gauge-page-header */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
24
25
 
25
26
  /*
26
- Stencil Client Platform v4.18.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.18.2 | MIT Licensed | https://stenciljs.com
27
28
  */
28
29
  var __defProp = Object.defineProperty;
29
30
  var __export = (target, all) => {
@@ -589,8 +590,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
589
590
  return writeTask(dispatch) ;
590
591
  };
591
592
  var dispatchHooks = (hostRef, isInitialLoad) => {
593
+ const elm = hostRef.$hostElement$;
592
594
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
593
595
  const instance = hostRef.$lazyInstance$ ;
596
+ if (!instance) {
597
+ throw new Error(
598
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
599
+ );
600
+ }
594
601
  let maybePromise;
595
602
  endSchedule();
596
603
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -685,7 +692,10 @@ var appDidLoad = (who) => {
685
692
  }
686
693
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
687
694
  };
688
- var addHydratedFlag = (elm) => elm.classList.add("hydrated") ;
695
+ var addHydratedFlag = (elm) => {
696
+ var _a;
697
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
698
+ };
689
699
 
690
700
  // src/runtime/set-value.ts
691
701
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -742,11 +752,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
742
752
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
743
753
  const bundleId = cmpMeta.$lazyBundleId$;
744
754
  if (bundleId) {
745
- Cstr = loadModule(cmpMeta);
746
- if (Cstr.then) {
755
+ const CstrImport = loadModule(cmpMeta);
756
+ if (CstrImport && "then" in CstrImport) {
747
757
  const endLoad = uniqueTime();
748
- Cstr = await Cstr;
758
+ Cstr = await CstrImport;
749
759
  endLoad();
760
+ } else {
761
+ Cstr = CstrImport;
762
+ }
763
+ if (!Cstr) {
764
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
750
765
  }
751
766
  if (!Cstr.isProxied) {
752
767
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
@@ -767,9 +782,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
767
782
  endNewInstance();
768
783
  } else {
769
784
  Cstr = elm.constructor;
770
- customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
785
+ const cmpTag = elm.localName;
786
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
771
787
  }
772
- if (Cstr.style) {
788
+ if (Cstr && Cstr.style) {
773
789
  let style = Cstr.style;
774
790
  const scopeId2 = getScopeId(cmpMeta);
775
791
  if (!styles.has(scopeId2)) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-d5aa0180.js');
5
+ const index = require('./index-12e690ac.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.18.1",
8
+ "version": "4.18.2",
9
9
  "typescriptVersion": "5.4.5"
10
10
  },
11
11
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-a0de36e8.js';
1
+ import { r as registerInstance, h } from './index-750af230.js';
2
2
 
3
3
  const eswat2IoCss = "a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";
4
4
  const Eswat2IoStyle0 = eswat2IoCss;
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-a0de36e8.js';
2
- export { s as setNonce } from './index-a0de36e8.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-750af230.js';
2
+ export { s as setNonce } from './index-750af230.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.18.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.18.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,7 +1,8 @@
1
1
  const NAMESPACE = 'gauge-page-header';
2
+ const BUILD = /* gauge-page-header */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
2
3
 
3
4
  /*
4
- Stencil Client Platform v4.18.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.18.2 | MIT Licensed | https://stenciljs.com
5
6
  */
6
7
  var __defProp = Object.defineProperty;
7
8
  var __export = (target, all) => {
@@ -567,8 +568,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
567
568
  return writeTask(dispatch) ;
568
569
  };
569
570
  var dispatchHooks = (hostRef, isInitialLoad) => {
571
+ const elm = hostRef.$hostElement$;
570
572
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
571
573
  const instance = hostRef.$lazyInstance$ ;
574
+ if (!instance) {
575
+ throw new Error(
576
+ `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
577
+ );
578
+ }
572
579
  let maybePromise;
573
580
  endSchedule();
574
581
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -663,7 +670,10 @@ var appDidLoad = (who) => {
663
670
  }
664
671
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
665
672
  };
666
- var addHydratedFlag = (elm) => elm.classList.add("hydrated") ;
673
+ var addHydratedFlag = (elm) => {
674
+ var _a;
675
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
676
+ };
667
677
 
668
678
  // src/runtime/set-value.ts
669
679
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -720,11 +730,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
720
730
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
721
731
  const bundleId = cmpMeta.$lazyBundleId$;
722
732
  if (bundleId) {
723
- Cstr = loadModule(cmpMeta);
724
- if (Cstr.then) {
733
+ const CstrImport = loadModule(cmpMeta);
734
+ if (CstrImport && "then" in CstrImport) {
725
735
  const endLoad = uniqueTime();
726
- Cstr = await Cstr;
736
+ Cstr = await CstrImport;
727
737
  endLoad();
738
+ } else {
739
+ Cstr = CstrImport;
740
+ }
741
+ if (!Cstr) {
742
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
728
743
  }
729
744
  if (!Cstr.isProxied) {
730
745
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
@@ -745,9 +760,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
745
760
  endNewInstance();
746
761
  } else {
747
762
  Cstr = elm.constructor;
748
- customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
763
+ const cmpTag = elm.localName;
764
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
749
765
  }
750
- if (Cstr.style) {
766
+ if (Cstr && Cstr.style) {
751
767
  let style = Cstr.style;
752
768
  const scopeId2 = getScopeId(cmpMeta);
753
769
  if (!styles.has(scopeId2)) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-a0de36e8.js';
2
- export { s as setNonce } from './index-a0de36e8.js';
1
+ import { b as bootstrapLazy } from './index-750af230.js';
2
+ export { s as setNonce } from './index-750af230.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-287be38a.js";export{s as setNonce}from"./p-287be38a.js";import{g as o}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await o(),a([["p-3c7a91c1",[[1,"gauge-page-header",{vehicleInfo:[16]}],[1,"eswat2-io"]]]],e))));
1
+ import{p as e,b as a}from"./p-f4aed5f4.js";export{s as setNonce}from"./p-f4aed5f4.js";import{g as o}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await o(),a([["p-fb6cf6b6",[[1,"gauge-page-header",{vehicleInfo:[16]}],[1,"eswat2-io"]]]],e))));
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>r,map:()=>s,ok:()=>o,unwrap:()=>u,unwrapErr:()=>a});var o=e=>({isOk:!0,isErr:!1,value:e}),r=e=>({isOk:!1,isErr:!0,value:e});function s(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>o(e))):o(n)}if(e.isErr)return r(e.value);throw"should never get here"}var i,c,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",h=(e,t,...l)=>{let o=null,r=null,s=!1,i=!1;const c=[],u=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!n(o))&&(o+=""),s&&i?c[c.length-1].t+=o:c.push(s?m(null,o):o),i=s)};if(u(l),t){t.key&&(r=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=m(e,null);return a.l=t,c.length>0&&(a.o=c),a.i=r,a},m=(e,t)=>({u:0,h:e,t,m:null,o:null,l:null,i:null}),d={},p=new WeakMap,w=e=>"sc-"+e.p,y=(e,t,l,o,r,s)=>{if(l!==o){let i=J(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,n=v(l),r=v(o);t.remove(...n.filter((e=>e&&!r.includes(e)))),t.add(...r.filter((e=>e&&!n.includes(e))))}else if("key"===t);else if(i||"o"!==t[0]||"n"!==t[1]){const c=n(o);if((i||c&&null!==o)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&s||r)&&!c&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):J(Z,c)?c.slice(2):c[2]+t.slice(3),l||o){const n=t.endsWith(b);t=t.replace(g,""),l&&te.rel(e,t,l,n),o&&te.ael(e,t,o,n)}}},$=/\s/,v=e=>e?e.split($):[],b="Capture",g=RegExp(b+"$"),S=(e,n,l)=>{const o=11===n.m.nodeType&&n.m.host?n.m.host:n.m,r=e&&e.l||t,s=n.l||t;for(const e of j(Object.keys(r)))e in s||y(o,e,r[e],void 0,l,n.u);for(const e of j(Object.keys(s)))y(o,e,r[e],s[e],l,n.u)};function j(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var k=!1,O=(e,t,n)=>{const l=t.o[n];let o,r,s=0;if(null!==l.t)o=l.m=ee.createTextNode(l.t);else{if(k||(k="svg"===l.h),o=l.m=ee.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.h),k&&"foreignObject"===l.h&&(k=!1),S(null,l,k),null!=i&&o["s-si"]!==i&&o.classList.add(o["s-si"]=i),l.o)for(s=0;s<l.o.length;++s)r=O(e,l,s),r&&o.appendChild(r);"svg"===l.h?k=!1:"foreignObject"===o.tagName&&(k=!0)}return o["s-hn"]=c,o},E=(e,t,n,l,o,r)=>{let s,i=e;for(i.shadowRoot&&i.tagName===c&&(i=i.shadowRoot);o<=r;++o)l[o]&&(s=O(null,n,o),s&&(l[o].m=s,P(i,s,t)))},C=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.m;e&&e.remove()}}},M=(e,t,n=!1)=>e.h===t.h&&(!!n||e.i===t.i),x=(e,t,n=!1)=>{const l=t.m=e.m,o=e.o,r=t.o,s=t.h,i=t.t;null===i?(S(e,t,k="svg"===s||"foreignObject"!==s&&k),null!==o&&null!==r?((e,t,n,l,o=!1)=>{let r,s,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],d=l.length-1,p=l[0],w=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==p)p=l[++c];else if(null==w)w=l[--d];else if(M(h,p,o))x(h,p,o),h=t[++i],p=l[++c];else if(M(m,w,o))x(m,w,o),m=t[--f],w=l[--d];else if(M(h,w,o))x(h,w,o),P(e,h.m,m.m.nextSibling),h=t[++i],w=l[--d];else if(M(m,p,o))x(m,p,o),P(e,m.m,h.m),m=t[--f],p=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===p.i){u=a;break}u>=0?(s=t[u],s.h!==p.h?r=O(t&&t[c],n,u):(x(s,p,o),t[u]=void 0,r=s.m),p=l[++c]):(r=O(t&&t[c],n,c),p=l[++c]),r&&P(h.m.parentNode,r,h.m)}i>f?E(e,null==l[d+1]?null:l[d+1].m,n,l,c,d):c>d&&C(t,i,f)})(l,o,t,r,n):null!==r?(null!==e.t&&(l.textContent=""),E(l,null,t,r,0,r.length-1)):null!==o&&C(o,0,o.length-1),k&&"svg"===s&&(k=!1)):e.t!==i&&(l.data=i)},P=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),R=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},T=(e,t)=>{if(e.u|=16,!(4&e.u))return R(e,e.v),fe((()=>N(e,t)));e.u|=512},N=(e,t)=>{const n=e.S;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return A(void 0,(()=>H(e,n,t)))},A=(e,t)=>F(e)?e.then(t):t(),F=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,H=async(e,t,n)=>{var o;const r=e.$hostElement$,s=r["s-rc"];n&&(e=>{const t=e.j,n=e.$hostElement$,o=t.u,r=((e,t)=>{var n;const o=w(t),r=Y.get(o);if(e=11===e.nodeType?e:ee,r)if("string"==typeof r){let s,i=p.get(e=e.head||e);if(i||p.set(e,i=new Set),!i.has(o)){{s=ee.createElement("style"),s.innerHTML=r;const t=null!=(n=te.k)?n:l(ee);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.u&&(s.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(r)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(e);L(e,t,r,n),s&&(s.map((e=>e())),r["s-rc"]=void 0);{const t=null!=(o=r["s-p"])?o:[],n=()=>U(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},L=(e,t,n,l)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O||m(null,null),r=(e=>e&&e.h===d)(t)?t:h(null,null,t);if(c=l.tagName,n&&r.l)for(const e of Object.keys(r.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.l[e]=l[e]);r.h=null,r.u|=4,e.O=r,r.m=o.m=l.shadowRoot||l,i=l["s-sc"],x(o,r,n)})(e,t,l)}catch(t){K(t,e.$hostElement$)}return null},U=e=>{const t=e.$hostElement$,n=e.v;64&e.u||(e.u|=64,q(t),e.C(t),n||W()),e.$&&(e.$(),e.$=void 0),512&e.u&&ae((()=>T(e,!1))),e.u&=-517},W=()=>{q(ee.documentElement),ae((()=>(e=>{const t=te.ce("appload",{detail:{namespace:"gauge-page-header"}});return e.dispatchEvent(t),t})(Z)))},q=e=>e.classList.add(("hydrated","hydrated")),D=(e,t,l)=>{const o=e.prototype;return t.M&&Object.entries(t.M).map((([e,[r]])=>{(31&r||2&l&&32&r)&&Object.defineProperty(o,e,{get(){return((e,t)=>z(this).P.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=z(e);if(!r)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const s=r.P.get(t),i=r.u,c=r.S;l=(e=>(null==e||n(e),e))(l),8&i&&void 0!==s||l===s||Number.isNaN(s)&&Number.isNaN(l)||(r.P.set(t,l),c&&2==(18&i)&&T(r,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),e},G=(e,t={})=>{var n;const o=[],r=t.exclude||[],s=Z.customElements,i=ee.head,c=i.querySelector("meta[charset]"),u=ee.createElement("style"),a=[];let h,m=!0;Object.assign(te,t),te.R=new URL(t.resourcesUrl||"./",ee.baseURI).href;let d=!1;if(e.map((e=>{e[1].map((t=>{const n={u:t[0],p:t[1],M:t[2],T:t[3]};4&n.u&&(d=!0),n.M=t[2];const l=n.p,i=class extends HTMLElement{constructor(e){super(e),I(e=this,n),1&n.u&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),m?a.push(this):te.jmp((()=>(e=>{if(!(1&te.u)){const t=z(e),n=t.j,l=()=>{};if(1&t.u)(null==t?void 0:t.S)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){R(t,t.v=n);break}}n.M&&Object.entries(n.M).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.u)){if(t.u|=32,n.A){const e=X(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.p}#${t.F}" was not found`);l.isProxied||(D(l,n,2),l.isProxied=!0);const o=()=>{};t.u|=8;try{new l(t)}catch(e){K(e)}t.u&=-9,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128));if(l&&l.style){let e=l.style;const t=w(n);if(!Y.has(t)){const l=()=>{};((e,t,n)=>{let l=Y.get(e);le&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Y.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.v,r=()=>T(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(e,t,n)}l()}})(this)))}disconnectedCallback(){te.jmp((()=>(async()=>{if(!(1&te.u)){const e=z(this);(null==e?void 0:e.S)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return z(this).N}};n.A=e[0],r.includes(l)||s.get(l)||(o.push(l),s.define(l,D(i,n,1)))}))})),o.length>0&&(d&&(u.textContent+=f),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=te.k)?n:l(ee);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}m=!1,a.length?a.map((e=>e.connectedCallback())):te.jmp((()=>h=setTimeout(W,30)))},V=e=>te.k=e,_=new WeakMap,z=e=>_.get(e),B=(e,t)=>_.set(t.S=e,t),I=(e,t)=>{const n={u:0,$hostElement$:e,j:t,P:new Map};return n.N=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],_.set(e,n)},J=(e,t)=>t in e,K=(e,t)=>(0,console.error)(e,t),Q=new Map,X=e=>{const t=e.p.replace(/-/g,"_"),n=e.A,l=Q.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Q.set(n,e),e[t])),K)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Y=new Map,Z="undefined"!=typeof window?window:{},ee=Z.document||{head:{}},te={u:0,R:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},ne=e=>Promise.resolve(e),le=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),oe=!1,re=[],se=[],ie=(e,t)=>n=>{e.push(n),oe||(oe=!0,t&&4&te.u?ae(ue):te.raf(ue))},ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){K(e)}e.length=0},ue=()=>{ce(re),ce(se),(oe=re.length>0)&&te.raf(ue)},ae=e=>ne().then(e),fe=ie(se,!0);export{G as b,h,ne as p,B as r,V as s}
@@ -1 +1 @@
1
- import{r as e,h as a}from"./p-287be38a.js";const i="eswat2",r=class{constructor(a){e(this,a)}render(){return a("a",{key:"19b3032cee637162468f46d0adee024409fe18bf",href:"https://eswat2.dev","aria-label":i,title:i},(({hex:e="currentColor",size:i=24})=>a("svg",{width:i,height:i,viewBox:"0 0 24 24"},a("g",{fill:e},a("path",{d:"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25\n 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19\n 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61\n 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83\n 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79\n 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08\n 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77\n 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11\n 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57\n 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96\n 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44\n 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75\n 19.33,18.38Z"})),a("path",{d:"M0 0h24v24H0z",fill:"none"})))({}))}};r.style="a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";const s=e=>{if(navigator.clipboard)try{navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy!",e)}},c=class{constructor(a){e(this,a),this.vehicleInfo=void 0}yearMakeModel(){const{ModelYear:e,Make:a,Model:i}=this.vehicleInfo||{ModelYear:2020,Make:"-",Model:"-"};return`${e} ${a} ${i}`}isCertified(){const{IsCertified:e}=this.vehicleInfo||{IsCertified:!1};return e}isRetail(){const{RetailWholesale:e}=this.vehicleInfo||{RetailWholesale:"R"};return"R"===e}isNew(){const{NewUsed:e}=this.vehicleInfo||{NewUsed:"N"};return"N"===e}stockNumber(){const{StockNumber:e}=this.vehicleInfo||{StockNumber:"-"};return e}vin(){const{Vin:e}=this.vehicleInfo||{Vin:"-"};return e}daysInInventory(){const{DaysInInventory:e}=this.vehicleInfo||{DaysInInventory:0};return`${e} Days`}mileage(){const{Odometer:e}=this.vehicleInfo||{Odometer:0};return`${Intl.NumberFormat().format(e)} mi`}body(){const{BodyDescription:e}=this.vehicleInfo||{BodyDescription:"-"};return e}exteriorColor(){const{ExteriorColor:e}=this.vehicleInfo||{ExteriorColor:"-"};return e}interiorColor(){const{InteriorColor:e}=this.vehicleInfo||{InteriorColor:"-"};return e}driveTrain(){const{DriveTrainType:e}=this.vehicleInfo||{DriveTrainType:"-"};return e}engine(){const{EngineDescription:e}=this.vehicleInfo||{EngineDescription:"-"};return e}transmission(){const{TransmissionDescription:e}=this.vehicleInfo||{TransmissionDescription:"- "};return e}render(){var e="";return this.isNew()||(e=this.isCertified()?a("span",{class:"certified badge"},a("span",{role:"label"},"Certified")):a("span",{class:"not-certified badge"},a("span",{role:"label"},"Not Certified"))),[a("div",{key:"0d991decd8f3decc5fed001f20690eaef654eeea",class:"gauge-page-header"},a("eswat2-io",{key:"79c472d52bd91b87dddbbaaa853c087b561cf5ba"}),a("div",{key:"f8525320a5f1e2f9b155d62667d4de85ed290032",class:"year-make-model-container",onClick:()=>s(this.yearMakeModel()),title:"Click to Copy Year/Make/Model"},a("h1",{key:"185f78d4dbbbbb20850a520d4fd54acb18f25f9d",id:"year-make-model-header"},this.yearMakeModel()),a("span",{key:"960fdd7f015ad694464372f051ef1726c8a71ed2",class:"badge-set-container"},e,this.isRetail()?a("span",{class:"retail badge"},a("span",{role:"label"},"Retail")):a("span",{class:"wholesale badge"},a("span",{role:"label"},"Wholesale")))),a("div",{key:"0ae3adab71009085cb486c1c65dcdb4aaaa55ce6",class:"vehicle-identifier-info-container",onClick:()=>s(this.vin()),title:"Click to Copy VIN"},a("h4",{key:"a30f061c401340b209fca53ac65d36db175eb45c",id:"vehicle-identifier-info-header"},a("span",{key:"e94b11522a40108e0b99c480eff9d9e78aec470b",class:"vehicle-info-header-segment capitalize"},this.stockNumber()),a("span",{key:"dadb1cfd52b87784a948f45f77f13963a35707ed",class:"vehicle-info-header-segment capitalize"},this.vin()),a("span",{key:"139955772a602590e5bbcec354b894921e5a592b",class:"vehicle-info-header-segment"},this.daysInInventory()),a("span",{key:"e2f7c14a8f5c1cad99e7821c20d5d053fa2abf6e",class:"vehicle-info-header-segment"},this.mileage()))),a("div",{key:"07394b4a1806ab3ccc9c2c454a0c4d9bf49d0413",class:"vehicle-data-container"},a("div",{key:"c8f377e4884b0cae8a32cdd3ceecd653c2372bfb",class:"vehicle-info-segment"},a("h4",{key:"9e2f6f3220f3b7d58993be4c085dd6c2d83bc5c4",class:"segment-heading"},"Body"),a("p",{key:"f738ba1e1c74287c20b1db6efc3b7fd4dc0eae6d",class:"segment-value"},this.body())),a("div",{key:"60c883e9d2a202f565e55de9de7f1ecbfd6883b1",class:"vehicle-info-segment"},a("h4",{key:"b764d8ad6418a96eb7ec6f20d6e8e497da48e7fa",class:"segment-heading"},"Color"),a("p",{key:"3b77c23c478c96e77c0e07ade7272077503e9f82",class:"segment-value"},this.exteriorColor())),a("div",{key:"4a705ee722143b8660eb839f71f39921c22672a4",class:"vehicle-info-segment"},a("h4",{key:"612d6888563cb44fc88e6fea22a784f64935f9e0",class:"segment-heading"},"Int. Color"),a("p",{key:"9b51b24a0ebc2b4b3200e9a554047e4d3e9054d4",class:"segment-value"},this.interiorColor())),a("div",{key:"b68e17bd9efdb425f813ee9b94d2baf1e76ed1c0",class:"vehicle-info-segment"},a("h4",{key:"417d55c72032105115ece2f3aefe076be95ea80b",class:"segment-heading"},"Drive Train"),a("p",{key:"3b6ea726618ed8f84a39ffea0c75a85864f196a1",class:"segment-value"},this.driveTrain())),a("div",{key:"f12082fe6244ecc9f6cc3c02f9b035b1498fa04a",class:"vehicle-info-segment"},a("h4",{key:"27b4d35b5aed5054f6e7d68ee925425b7035bfb8",class:"segment-heading"},"Engine"),a("p",{key:"b8e4ca5e24ccdd1394ac4e149ae2c0771fca2ab7",class:"segment-value"},this.engine())),a("div",{key:"4abfe41c388cd113421c5eec4d444aa6db3f5676",class:"vehicle-info-segment"},a("h4",{key:"04d369b5fd240d3f38716379d46fd8b6103e32f4",class:"segment-heading"},"Transmission"),a("p",{key:"421e0ac28eabf1d2bd575c4b12e9f48b8342f892",class:"segment-value"},this.transmission()))))]}};c.style=":host{--clrs-navy:#001f3f;--clrs-blue:#0074d9;--clrs-aqua:#7fdbff;--clrs-teal:#39cccc;--clrs-olive:#3d9970;--clrs-green:#2ecc40;--clrs-lime:#01ff70;--clrs-yellow:#ffdc00;--clrs-orange:#ff851b;--clrs-red:#ff4136;--clrs-maroon:#85144b;--clrs-fuchsia:#f012be;--clrs-purple:#b10dc9;--clrs-black:#111111;--clrs-gray:#aaaaaa;--clrs-silver:#dddddd;--clrs-bada55:#bada55;--clrs-slate:#708090;--clrs-slate4:#4e5964;--clrs-white:#ffffff}.gauge-page-header{padding:0 5px;display:flex;flex-direction:column;color:var(--clrs-navy)}.gauge-page-header *{font-family:'Roboto'}.gauge-page-header .year-make-model-container{height:35px;display:flex;align-items:center}.gauge-page-header #year-make-model-header{font-size:32px;font-weight:500;margin-left:0}.gauge-page-header .vehicle-identifier-info-container{height:30px;margin-bottom:5px;}.gauge-page-header #vehicle-identifier-info-header{font-weight:400;margin-top:8px}.gauge-page-header .vehicle-info-header-segment{margin-right:1em}.gauge-page-header .vehicle-info-header-segment.capitalize{text-transform:uppercase}.gauge-page-header .vehicle-info-header-segment:not(:last-child):after{padding-left:1em;content:'|'}.gauge-page-header .vehicle-info-segment{float:left;margin-right:30px;font-size:14px}.gauge-page-header .vehicle-data-container{display:flex;flex-direction:row}.gauge-page-header .segment-heading{color:var(--clrs-slate);font-size:14px;font-weight:400;margin-bottom:4px}.gauge-page-header .segment-value{margin-top:0;font-weight:400}.gauge-page-header .badge-set-container{display:flex;padding-left:8px}.gauge-page-header .badge{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 10px;font-size:12px;border-radius:1em;font-weight:600;border:solid 1px;}.gauge-page-header .badge.certified{background-color:#f9fffb;border-color:#5ebb47}.gauge-page-header .badge.certified [role='label']{color:#008629}.gauge-page-header .badge.not-certified{border-color:#46576f}.gauge-page-header .badge.not-certified [role='label']{color:#46576f}.gauge-page-header .badge.retail{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.retail [role='label']{color:#0576b3}.gauge-page-header .badge.wholesale{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.wholesale [role='label']{color:#0576b3}";export{r as eswat2_io,c as gauge_page_header}
1
+ import{r as e,h as a}from"./p-f4aed5f4.js";const i="eswat2",r=class{constructor(a){e(this,a)}render(){return a("a",{key:"19b3032cee637162468f46d0adee024409fe18bf",href:"https://eswat2.dev","aria-label":i,title:i},(({hex:e="currentColor",size:i=24})=>a("svg",{width:i,height:i,viewBox:"0 0 24 24"},a("g",{fill:e},a("path",{d:"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25\n 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19\n 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61\n 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83\n 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79\n 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08\n 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77\n 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11\n 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57\n 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96\n 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44\n 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75\n 19.33,18.38Z"})),a("path",{d:"M0 0h24v24H0z",fill:"none"})))({}))}};r.style="a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";const s=e=>{if(navigator.clipboard)try{navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy!",e)}},c=class{constructor(a){e(this,a),this.vehicleInfo=void 0}yearMakeModel(){const{ModelYear:e,Make:a,Model:i}=this.vehicleInfo||{ModelYear:2020,Make:"-",Model:"-"};return`${e} ${a} ${i}`}isCertified(){const{IsCertified:e}=this.vehicleInfo||{IsCertified:!1};return e}isRetail(){const{RetailWholesale:e}=this.vehicleInfo||{RetailWholesale:"R"};return"R"===e}isNew(){const{NewUsed:e}=this.vehicleInfo||{NewUsed:"N"};return"N"===e}stockNumber(){const{StockNumber:e}=this.vehicleInfo||{StockNumber:"-"};return e}vin(){const{Vin:e}=this.vehicleInfo||{Vin:"-"};return e}daysInInventory(){const{DaysInInventory:e}=this.vehicleInfo||{DaysInInventory:0};return`${e} Days`}mileage(){const{Odometer:e}=this.vehicleInfo||{Odometer:0};return`${Intl.NumberFormat().format(e)} mi`}body(){const{BodyDescription:e}=this.vehicleInfo||{BodyDescription:"-"};return e}exteriorColor(){const{ExteriorColor:e}=this.vehicleInfo||{ExteriorColor:"-"};return e}interiorColor(){const{InteriorColor:e}=this.vehicleInfo||{InteriorColor:"-"};return e}driveTrain(){const{DriveTrainType:e}=this.vehicleInfo||{DriveTrainType:"-"};return e}engine(){const{EngineDescription:e}=this.vehicleInfo||{EngineDescription:"-"};return e}transmission(){const{TransmissionDescription:e}=this.vehicleInfo||{TransmissionDescription:"- "};return e}render(){var e="";return this.isNew()||(e=this.isCertified()?a("span",{class:"certified badge"},a("span",{role:"label"},"Certified")):a("span",{class:"not-certified badge"},a("span",{role:"label"},"Not Certified"))),[a("div",{key:"0d991decd8f3decc5fed001f20690eaef654eeea",class:"gauge-page-header"},a("eswat2-io",{key:"79c472d52bd91b87dddbbaaa853c087b561cf5ba"}),a("div",{key:"f8525320a5f1e2f9b155d62667d4de85ed290032",class:"year-make-model-container",onClick:()=>s(this.yearMakeModel()),title:"Click to Copy Year/Make/Model"},a("h1",{key:"185f78d4dbbbbb20850a520d4fd54acb18f25f9d",id:"year-make-model-header"},this.yearMakeModel()),a("span",{key:"960fdd7f015ad694464372f051ef1726c8a71ed2",class:"badge-set-container"},e,this.isRetail()?a("span",{class:"retail badge"},a("span",{role:"label"},"Retail")):a("span",{class:"wholesale badge"},a("span",{role:"label"},"Wholesale")))),a("div",{key:"0ae3adab71009085cb486c1c65dcdb4aaaa55ce6",class:"vehicle-identifier-info-container",onClick:()=>s(this.vin()),title:"Click to Copy VIN"},a("h4",{key:"a30f061c401340b209fca53ac65d36db175eb45c",id:"vehicle-identifier-info-header"},a("span",{key:"e94b11522a40108e0b99c480eff9d9e78aec470b",class:"vehicle-info-header-segment capitalize"},this.stockNumber()),a("span",{key:"dadb1cfd52b87784a948f45f77f13963a35707ed",class:"vehicle-info-header-segment capitalize"},this.vin()),a("span",{key:"139955772a602590e5bbcec354b894921e5a592b",class:"vehicle-info-header-segment"},this.daysInInventory()),a("span",{key:"e2f7c14a8f5c1cad99e7821c20d5d053fa2abf6e",class:"vehicle-info-header-segment"},this.mileage()))),a("div",{key:"07394b4a1806ab3ccc9c2c454a0c4d9bf49d0413",class:"vehicle-data-container"},a("div",{key:"c8f377e4884b0cae8a32cdd3ceecd653c2372bfb",class:"vehicle-info-segment"},a("h4",{key:"9e2f6f3220f3b7d58993be4c085dd6c2d83bc5c4",class:"segment-heading"},"Body"),a("p",{key:"f738ba1e1c74287c20b1db6efc3b7fd4dc0eae6d",class:"segment-value"},this.body())),a("div",{key:"60c883e9d2a202f565e55de9de7f1ecbfd6883b1",class:"vehicle-info-segment"},a("h4",{key:"b764d8ad6418a96eb7ec6f20d6e8e497da48e7fa",class:"segment-heading"},"Color"),a("p",{key:"3b77c23c478c96e77c0e07ade7272077503e9f82",class:"segment-value"},this.exteriorColor())),a("div",{key:"4a705ee722143b8660eb839f71f39921c22672a4",class:"vehicle-info-segment"},a("h4",{key:"612d6888563cb44fc88e6fea22a784f64935f9e0",class:"segment-heading"},"Int. Color"),a("p",{key:"9b51b24a0ebc2b4b3200e9a554047e4d3e9054d4",class:"segment-value"},this.interiorColor())),a("div",{key:"b68e17bd9efdb425f813ee9b94d2baf1e76ed1c0",class:"vehicle-info-segment"},a("h4",{key:"417d55c72032105115ece2f3aefe076be95ea80b",class:"segment-heading"},"Drive Train"),a("p",{key:"3b6ea726618ed8f84a39ffea0c75a85864f196a1",class:"segment-value"},this.driveTrain())),a("div",{key:"f12082fe6244ecc9f6cc3c02f9b035b1498fa04a",class:"vehicle-info-segment"},a("h4",{key:"27b4d35b5aed5054f6e7d68ee925425b7035bfb8",class:"segment-heading"},"Engine"),a("p",{key:"b8e4ca5e24ccdd1394ac4e149ae2c0771fca2ab7",class:"segment-value"},this.engine())),a("div",{key:"4abfe41c388cd113421c5eec4d444aa6db3f5676",class:"vehicle-info-segment"},a("h4",{key:"04d369b5fd240d3f38716379d46fd8b6103e32f4",class:"segment-heading"},"Transmission"),a("p",{key:"421e0ac28eabf1d2bd575c4b12e9f48b8342f892",class:"segment-value"},this.transmission()))))]}};c.style=":host{--clrs-navy:#001f3f;--clrs-blue:#0074d9;--clrs-aqua:#7fdbff;--clrs-teal:#39cccc;--clrs-olive:#3d9970;--clrs-green:#2ecc40;--clrs-lime:#01ff70;--clrs-yellow:#ffdc00;--clrs-orange:#ff851b;--clrs-red:#ff4136;--clrs-maroon:#85144b;--clrs-fuchsia:#f012be;--clrs-purple:#b10dc9;--clrs-black:#111111;--clrs-gray:#aaaaaa;--clrs-silver:#dddddd;--clrs-bada55:#bada55;--clrs-slate:#708090;--clrs-slate4:#4e5964;--clrs-white:#ffffff}.gauge-page-header{padding:0 5px;display:flex;flex-direction:column;color:var(--clrs-navy)}.gauge-page-header *{font-family:'Roboto'}.gauge-page-header .year-make-model-container{height:35px;display:flex;align-items:center}.gauge-page-header #year-make-model-header{font-size:32px;font-weight:500;margin-left:0}.gauge-page-header .vehicle-identifier-info-container{height:30px;margin-bottom:5px;}.gauge-page-header #vehicle-identifier-info-header{font-weight:400;margin-top:8px}.gauge-page-header .vehicle-info-header-segment{margin-right:1em}.gauge-page-header .vehicle-info-header-segment.capitalize{text-transform:uppercase}.gauge-page-header .vehicle-info-header-segment:not(:last-child):after{padding-left:1em;content:'|'}.gauge-page-header .vehicle-info-segment{float:left;margin-right:30px;font-size:14px}.gauge-page-header .vehicle-data-container{display:flex;flex-direction:row}.gauge-page-header .segment-heading{color:var(--clrs-slate);font-size:14px;font-weight:400;margin-bottom:4px}.gauge-page-header .segment-value{margin-top:0;font-weight:400}.gauge-page-header .badge-set-container{display:flex;padding-left:8px}.gauge-page-header .badge{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 10px;font-size:12px;border-radius:1em;font-weight:600;border:solid 1px;}.gauge-page-header .badge.certified{background-color:#f9fffb;border-color:#5ebb47}.gauge-page-header .badge.certified [role='label']{color:#008629}.gauge-page-header .badge.not-certified{border-color:#46576f}.gauge-page-header .badge.not-certified [role='label']{color:#46576f}.gauge-page-header .badge.retail{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.retail [role='label']{color:#0576b3}.gauge-page-header .badge.wholesale{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.wholesale [role='label']{color:#0576b3}";export{r as eswat2_io,c as gauge_page_header}
@@ -795,7 +795,6 @@ export declare namespace JSXBase {
795
795
  cite?: string;
796
796
  }
797
797
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
798
- autoFocus?: boolean;
799
798
  disabled?: boolean;
800
799
  form?: string;
801
800
  formAction?: string;
@@ -922,8 +921,6 @@ export declare namespace JSXBase {
922
921
  autocapitalize?: string;
923
922
  autoComplete?: string;
924
923
  autocomplete?: string;
925
- autoFocus?: boolean;
926
- autofocus?: boolean | string;
927
924
  capture?: string;
928
925
  checked?: boolean;
929
926
  crossOrigin?: string;
@@ -980,8 +977,6 @@ export declare namespace JSXBase {
980
977
  popoverTarget?: string;
981
978
  }
982
979
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
983
- autoFocus?: boolean;
984
- autofocus?: boolean | string;
985
980
  challenge?: string;
986
981
  disabled?: boolean;
987
982
  form?: string;
@@ -1130,7 +1125,6 @@ export declare namespace JSXBase {
1130
1125
  type?: string;
1131
1126
  }
1132
1127
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1133
- autoFocus?: boolean;
1134
1128
  disabled?: boolean;
1135
1129
  form?: string;
1136
1130
  multiple?: boolean;
@@ -1165,8 +1159,6 @@ export declare namespace JSXBase {
1165
1159
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1166
1160
  autoComplete?: string;
1167
1161
  autocomplete?: string;
1168
- autoFocus?: boolean;
1169
- autofocus?: boolean | string;
1170
1162
  cols?: number;
1171
1163
  disabled?: boolean;
1172
1164
  form?: string;
@@ -1219,6 +1211,8 @@ export declare namespace JSXBase {
1219
1211
  interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1220
1212
  innerHTML?: string;
1221
1213
  accessKey?: string;
1214
+ autoFocus?: boolean;
1215
+ autofocus?: boolean | string;
1222
1216
  class?: string | {
1223
1217
  [className: string]: boolean;
1224
1218
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gauge-page-header",
3
- "version": "0.0.481",
3
+ "version": "0.0.482",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -24,12 +24,12 @@
24
24
  "format": "prettier --write src"
25
25
  },
26
26
  "dependencies": {
27
- "@stencil/core": "4.18.1"
27
+ "@stencil/core": "4.18.2"
28
28
  },
29
29
  "license": "MIT",
30
30
  "devDependencies": {
31
- "cspell": "8.8.1",
32
- "eslint": "9.2.0",
31
+ "cspell": "8.8.3",
32
+ "eslint": "9.3.0",
33
33
  "prettier": "3.2.5",
34
34
  "typescript": "5.4.5"
35
35
  }
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>s,map:()=>r,ok:()=>o,unwrap:()=>u,unwrapErr:()=>a});var o=e=>({isOk:!0,isErr:!1,value:e}),s=e=>({isOk:!1,isErr:!0,value:e});function r(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>o(e))):o(n)}if(e.isErr)return s(e.value);throw"should never get here"}var i,c,u=e=>{if(e.isOk)return e.value;throw e.value},a=e=>{if(e.isErr)return e.value;throw e.value},f="slot-fb{display:contents}slot-fb[hidden]{display:none}",h=(e,t,...l)=>{let o=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!n(o))&&(o+=""),r&&i?c[c.length-1].t+=o:c.push(r?p(null,o):o),i=r)};if(u(l),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=p(e,null);return a.l=t,c.length>0&&(a.o=c),a.i=s,a},p=(e,t)=>({u:0,h:e,t,p:null,o:null,l:null,i:null}),d={},m=new WeakMap,y=e=>"sc-"+e.m,$=(e,t,l,o,s,r)=>{if(l!==o){let i=J(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,n=v(l),s=v(o);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("key"===t);else if(i||"o"!==t[0]||"n"!==t[1]){const c=n(o);if((i||c&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!c&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):J(Z,c)?c.slice(2):c[2]+t.slice(3),l||o){const n=t.endsWith(b);t=t.replace(g,""),l&&te.rel(e,t,l,n),o&&te.ael(e,t,o,n)}}},w=/\s/,v=e=>e?e.split(w):[],b="Capture",g=RegExp(b+"$"),S=(e,n,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,s=e&&e.l||t,r=n.l||t;for(const e of j(Object.keys(s)))e in r||$(o,e,s[e],void 0,l,n.u);for(const e of j(Object.keys(r)))$(o,e,s[e],r[e],l,n.u)};function j(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var O=!1,k=(e,t,n)=>{const l=t.o[n];let o,s,r=0;if(null!==l.t)o=l.p=ee.createTextNode(l.t);else{if(O||(O="svg"===l.h),o=l.p=ee.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.h),O&&"foreignObject"===l.h&&(O=!1),S(null,l,O),null!=i&&o["s-si"]!==i&&o.classList.add(o["s-si"]=i),l.o)for(r=0;r<l.o.length;++r)s=k(e,l,r),s&&o.appendChild(s);"svg"===l.h?O=!1:"foreignObject"===o.tagName&&(O=!0)}return o["s-hn"]=c,o},E=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===c&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=k(null,n,o),r&&(l[o].p=r,x(i,r,t)))},C=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.p;e&&e.remove()}}},M=(e,t,n=!1)=>e.h===t.h&&(!!n||e.i===t.i),P=(e,t,n=!1)=>{const l=t.p=e.p,o=e.o,s=t.o,r=t.h,i=t.t;null===i?(S(e,t,O="svg"===r||"foreignObject"!==r&&O),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(M(h,m,o))P(h,m,o),h=t[++i],m=l[++c];else if(M(p,y,o))P(p,y,o),p=t[--f],y=l[--d];else if(M(h,y,o))P(h,y,o),x(e,h.p,p.p.nextSibling),h=t[++i],y=l[--d];else if(M(p,m,o))P(p,m,o),x(e,p.p,h.p),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===m.i){u=a;break}u>=0?(r=t[u],r.h!==m.h?s=k(t&&t[c],n,u):(P(r,m,o),t[u]=void 0,s=r.p),m=l[++c]):(s=k(t&&t[c],n,c),m=l[++c]),s&&x(h.p.parentNode,s,h.p)}i>f?E(e,null==l[d+1]?null:l[d+1].p,n,l,c,d):c>d&&C(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),E(l,null,t,s,0,s.length-1)):null!==o&&C(o,0,o.length-1),O&&"svg"===r&&(O=!1)):e.t!==i&&(l.data=i)},x=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),T=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},N=(e,t)=>{if(e.u|=16,!(4&e.u))return T(e,e.v),fe((()=>R(e,t)));e.u|=512},R=(e,t)=>{const n=e.S;return A(void 0,(()=>L(e,n,t)))},A=(e,t)=>H(e)?e.then(t):t(),H=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,L=async(e,t,n)=>{var o;const s=e.$hostElement$,r=s["s-rc"];n&&(e=>{const t=e.j,n=e.$hostElement$,o=t.u,s=((e,t)=>{var n;const o=y(t),s=Y.get(o);if(e=11===e.nodeType?e:ee,s)if("string"==typeof s){let r,i=m.get(e=e.head||e);if(i||m.set(e,i=new Set),!i.has(o)){{r=ee.createElement("style"),r.innerHTML=s;const t=null!=(n=te.O)?n:l(ee);null!=t&&r.setAttribute("nonce",t),e.insertBefore(r,e.querySelector("link"))}4&t.u&&(r.innerHTML+=f),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);U(e,t,s,n),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const t=null!=(o=s["s-p"])?o:[],n=()=>W(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},U=(e,t,n,l)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k||p(null,null),s=(e=>e&&e.h===d)(t)?t:h(null,null,t);if(c=l.tagName,n&&s.l)for(const e of Object.keys(s.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.l[e]=l[e]);s.h=null,s.u|=4,e.k=s,s.p=o.p=l.shadowRoot||l,i=l["s-sc"],P(o,s,n)})(e,t,l)}catch(t){K(t,e.$hostElement$)}return null},W=e=>{const t=e.$hostElement$,n=e.v;64&e.u||(e.u|=64,D(t),e.C(t),n||q()),e.$&&(e.$(),e.$=void 0),512&e.u&&ae((()=>N(e,!1))),e.u&=-517},q=()=>{D(ee.documentElement),ae((()=>(e=>{const t=te.ce("appload",{detail:{namespace:"gauge-page-header"}});return e.dispatchEvent(t),t})(Z)))},D=e=>e.classList.add("hydrated"),F=(e,t,l)=>{const o=e.prototype;return t.M&&Object.entries(t.M).map((([e,[s]])=>{(31&s||2&l&&32&s)&&Object.defineProperty(o,e,{get(){return((e,t)=>z(this).P.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=z(e);if(!s)throw Error(`Couldn't find host element for "${o.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.P.get(t),i=s.u,c=s.S;l=(e=>(null==e||n(e),e))(l),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.P.set(t,l),c&&2==(18&i)&&N(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),e},G=(e,t={})=>{var n;const o=[],s=t.exclude||[],r=Z.customElements,i=ee.head,c=i.querySelector("meta[charset]"),u=ee.createElement("style"),a=[];let h,p=!0;Object.assign(te,t),te.T=new URL(t.resourcesUrl||"./",ee.baseURI).href;let d=!1;if(e.map((e=>{e[1].map((t=>{const n={u:t[0],m:t[1],M:t[2],N:t[3]};4&n.u&&(d=!0),n.M=t[2];const l=n.m,i=class extends HTMLElement{constructor(e){super(e),I(e=this,n),1&n.u&&e.attachShadow({mode:"open"})}connectedCallback(){h&&(clearTimeout(h),h=null),p?a.push(this):te.jmp((()=>(e=>{if(!(1&te.u)){const t=z(e),n=t.j,l=()=>{};if(1&t.u)(null==t?void 0:t.S)||(null==t?void 0:t.R)&&t.R.then((()=>{}));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){T(t,t.v=n);break}}n.M&&Object.entries(n.M).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.u)){if(t.u|=32,n.A){if(l=X(n),l.then){const e=()=>{};l=await l,e()}l.isProxied||(F(l,n,2),l.isProxied=!0);const e=()=>{};t.u|=8;try{new l(t)}catch(e){K(e)}t.u&=-9,e()}else l=e.constructor,customElements.whenDefined(n.m).then((()=>t.u|=128));if(l.style){let e=l.style;const t=y(n);if(!Y.has(t)){const l=()=>{};((e,t,n)=>{let l=Y.get(e);le&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Y.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.v,s=()=>N(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,t,n)}l()}})(this)))}disconnectedCallback(){te.jmp((()=>(async()=>{if(!(1&te.u)){const e=z(this);(null==e?void 0:e.S)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return z(this).R}};n.A=e[0],s.includes(l)||r.get(l)||(o.push(l),r.define(l,F(i,n,1)))}))})),o.length>0&&(d&&(u.textContent+=f),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=te.O)?n:l(ee);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}p=!1,a.length?a.map((e=>e.connectedCallback())):te.jmp((()=>h=setTimeout(q,30)))},V=e=>te.O=e,_=new WeakMap,z=e=>_.get(e),B=(e,t)=>_.set(t.S=e,t),I=(e,t)=>{const n={u:0,$hostElement$:e,j:t,P:new Map};return n.R=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],_.set(e,n)},J=(e,t)=>t in e,K=(e,t)=>(0,console.error)(e,t),Q=new Map,X=e=>{const t=e.m.replace(/-/g,"_"),n=e.A,l=Q.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(Q.set(n,e),e[t])),K)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Y=new Map,Z="undefined"!=typeof window?window:{},ee=Z.document||{head:{}},te={u:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},ne=e=>Promise.resolve(e),le=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),oe=!1,se=[],re=[],ie=(e,t)=>n=>{e.push(n),oe||(oe=!0,t&&4&te.u?ae(ue):te.raf(ue))},ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){K(e)}e.length=0},ue=()=>{ce(se),ce(re),(oe=se.length>0)&&te.raf(ue)},ae=e=>ne().then(e),fe=ie(re,!0);export{G as b,h,ne as p,B as r,V as s}