proto-autos-wc 0.0.263 → 0.0.264

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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-6893e420.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.12.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-6893e420.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.12.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.12.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-autos-wc.cjs.js', document.baseURI).href));
@@ -790,6 +790,9 @@ const actions = {
790
790
  updatePick,
791
791
  };
792
792
 
793
+ // WARNING: generated file...
794
+ const TW_VERSION = '3.0.10';
795
+
793
796
  const tw = (...classes) => {
794
797
  return classes.filter(Boolean).join(' ');
795
798
  };
@@ -824,7 +827,6 @@ const Eswat2Io = _props => {
824
827
  index.h(Fingerprint, { label: "eswat2" })));
825
828
  };
826
829
 
827
- const TW_VERSION = '3.0.9';
828
830
  const TwLabel = _props => {
829
831
  return (index.h("label", { class: "ml-auto align-top text-xs italic text-clrs-slate4" },
830
832
  "Tailwind ",
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "2.12.0",
7
+ "version": "2.12.1",
8
8
  "typescriptVersion": "4.3.5"
9
9
  },
10
10
  "collections": [
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core';
2
- const TW_VERSION = '3.0.9';
2
+ import { TW_VERSION } from '../../utils';
3
3
  const TwLabel = _props => {
4
4
  return (h("label", { class: "ml-auto align-top text-xs italic text-clrs-slate4" },
5
5
  "Tailwind ",
@@ -1,4 +1,5 @@
1
1
  export * from './bag';
2
2
  export * from './store';
3
+ export * from './tw-version';
3
4
  export * from './tw';
4
5
  export * from './types';
@@ -0,0 +1,4 @@
1
+ // WARNING: generated file...
2
+ const TW_VERSION = '3.0.10';
3
+ export { TW_VERSION };
4
+ export default TW_VERSION;
@@ -1,7 +1,7 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-5df118f7.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.12.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1,7 +1,7 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-5df118f7.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.12.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.12.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  const importMeta = import.meta.url;
@@ -786,6 +786,9 @@ const actions = {
786
786
  updatePick,
787
787
  };
788
788
 
789
+ // WARNING: generated file...
790
+ const TW_VERSION = '3.0.10';
791
+
789
792
  const tw = (...classes) => {
790
793
  return classes.filter(Boolean).join(' ');
791
794
  };
@@ -820,7 +823,6 @@ const Eswat2Io = _props => {
820
823
  h(Fingerprint, { label: "eswat2" })));
821
824
  };
822
825
 
823
- const TW_VERSION = '3.0.9';
824
826
  const TwLabel = _props => {
825
827
  return (h("label", { class: "ml-auto align-top text-xs italic text-clrs-slate4" },
826
828
  "Tailwind ",
@@ -1 +1 @@
1
- import{g as e,f as r,h as t,r as o,a as n}from"./p-f6a546ae.js";import{i,a}from"./p-cb77e4f2.js";const l="proto-autos",s=e=>{const r=localStorage.getItem(e?`${l}-${e}`:l);return r?JSON.parse(r):void 0},c=(e,r)=>{const t=e?`${l}-${e}`:l,o=JSON.stringify(r);localStorage.setItem(t,o)},d=e=>!("isConnected"in e)||e.isConnected,u=(()=>{let e;return(...r)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let r of e.keys())e.set(r,e.get(r).filter(d))})(...r)}),2e3)}})();var b=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}();function f(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){var r=this;f(this,e),this.interceptors=[],this.fetch=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return r.interceptorWrapper.apply(r,[fetch].concat(t))}}return b(e,[{key:"addInterceptors",value:function(e){var r=this,t=[];return Array.isArray(e)?e.map((function(e){return t.push(r.interceptors.length),r.interceptors.push(e)})):e instanceof Object&&(t.push(this.interceptors.length),this.interceptors.push(e)),this.updateInterceptors(),function(){return r.removeInterceptors(t)}}},{key:"removeInterceptors",value:function(e){var r=this;Array.isArray(e)&&(e.map((function(e){return r.interceptors.splice(e,1)})),this.updateInterceptors())}},{key:"updateInterceptors",value:function(){this.reversedInterceptors=this.interceptors.reduce((function(e,r){return[r].concat(e)}),[])}},{key:"clearInterceptors",value:function(){this.interceptors=[],this.updateInterceptors()}},{key:"interceptorWrapper",value:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];var n=Promise.resolve(t);return this.reversedInterceptors.forEach((function(e){var r=e.request,o=e.requestError;(r||o)&&(n=n.then((function(){return r.apply(void 0,t)}),o))})),n=n.then((function(){return e.apply(void 0,t)})),this.reversedInterceptors.forEach((function(e){var r=e.response,t=e.responseError;(r||t)&&(n=n.then(r,t))})),n}}]),e}(),h=function(){function e(r){var t=r.url,o=r.interceptors,n=r.headers,i=r.onStart,a=r.onEnd,l=r.omitEmptyVariables,s=void 0!==l&&l,c=r.requestOptions,d=void 0===c?{}:c;f(this,e);var u=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return u.requestObject=Object.assign({},{method:"POST",headers:Object.assign({},{Accept:"application/json","Content-Type":"application/json"},n),credentials:"same-origin"},d),u.url=t,u.omitEmptyVariables=s,u.requestQueueLength=0,u.EnumMap={},u.callbacks={onStart:i,onEnd:a},u.addInterceptors(o),u}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(e,m),b(e,[{key:"query",value:function(e){var r,t=this,o=e.operationName,n=e.query,i=e.variables,a=e.opts,l=void 0===a?{}:a,s=e.requestOptions,c=Object.assign({},this.requestObject,void 0===s?{}:s);return r=this.omitEmptyVariables||l.omitEmptyVariables?this.doOmitEmptyVariables(i):i,c.body=JSON.stringify({operationName:o,query:n,variables:r}),this.onStart(),this.fetch(this.url,c).then((function(e){return e.ok?e.json():{errors:[{message:e.statusText,stack:e}]}})).then((function(e){var r=e.data,o=e.errors;return new Promise((function(e,n){return t.onEnd(),r?Object.keys(r).every((function(e){return!r[e]}))?n(o):e({data:r,errors:o}):n(o||[{}])}))}))}},{key:"getUrl",value:function(){return this.url}},{key:"setUrl",value:function(e){this.url=e}},{key:"getEnumTypes",value:function(e){var r=this,t={},o=e.filter((function(e){return!r.EnumMap[e]||(t[e]=r.EnumMap[e],!1)}));if(!o.length)return new Promise((function(e){e({data:t})}));var n="\n query {\n "+o.map((function(e){return e+': __type(name: "'+e+'") {\n ...EnumFragment\n }'})).join("\n")+"\n }\n \n fragment EnumFragment on __Type {\n kind\n description\n enumValues {\n name\n description\n }\n }",i=Object.assign({},this.requestObject);return i.body=JSON.stringify({query:n}),this.onStart(),this.fetch(this.url,i).then((function(e){return e.ok?e.json():{errors:[{message:e.statusText,stack:e}]}})).then((function(e){var o=e.data,n=e.errors;return new Promise((function(e,i){if(r.onEnd(),!o)return i(n||[{message:"Do not get any data."}]);if(Object.keys(o).every((function(e){return!o[e]}))&&n&&n.length)return i(n);var a=Object.assign(t,o);return Object.keys(o).map((function(e){return r.EnumMap[e]=o[e],e})),e({data:a,errors:n})}))}))}},{key:"onStart",value:function(){this.requestQueueLength++,this.requestQueueLength>1||!this.callbacks.onStart||this.callbacks.onStart(this.requestQueueLength)}},{key:"onEnd",value:function(){this.requestQueueLength--,!this.requestQueueLength&&this.callbacks.onEnd&&this.callbacks.onEnd(this.requestQueueLength)}},{key:"doOmitEmptyVariables",value:function(e){var r=this,t={};return Object.keys(e).map((function(o){var n=e[o];return"string"==typeof n&&0===n.length||null==n||(t[o]=n instanceof Object?r.doOmitEmptyVariables(n):n),o})),t}}]),e}();const p={loading:!1,error:void 0,data:void 0,pick:0,dealer:void 0},{state:g}=(()=>{const t=((e,r=((e,r)=>e!==r))=>{let t=new Map(Object.entries(null!=e?e:{}));const o={dispose:[],get:[],set:[],reset:[]},n=()=>{t=new Map(Object.entries(null!=e?e:{})),o.reset.forEach((e=>e()))},i=e=>(o.get.forEach((r=>r(e))),t.get(e)),a=(e,n)=>{const i=t.get(e);r(n,i,e)&&(t.set(e,n),o.set.forEach((r=>r(e,n,i))))},l="undefined"==typeof Proxy?{}:new Proxy(e,{get:(e,r)=>i(r),ownKeys:()=>Array.from(t.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,r)=>t.has(r),set:(e,r,t)=>(a(r,t),!0)}),s=(e,r)=>(o[e].push(r),()=>{((e,r)=>{const t=e.indexOf(r);t>=0&&(e[t]=e[e.length-1],e.length--)})(o[e],r)});return{state:l,get:i,set:a,on:s,onChange:(r,t)=>{const o=s("set",((e,o)=>{e===r&&t(o)})),n=s("reset",(()=>t(e[r])));return()=>{o(),n()}},use:(...e)=>{const r=e.reduce(((e,r)=>(r.set&&e.push(s("set",r.set)),r.get&&e.push(s("get",r.get)),r.reset&&e.push(s("reset",r.reset)),r.dispose&&e.push(s("dispose",r.dispose)),e)),[]);return()=>r.forEach((e=>e()))},dispose:()=>{o.dispose.forEach((e=>e())),n()},reset:n,forceUpdate:e=>{const r=t.get(e);o.set.forEach((t=>t(e,r,r)))}}})(p,void 0);return t.use((()=>{if("function"!=typeof e)return{};const t=new Map;return{dispose:()=>t.clear(),get:r=>{const o=e();o&&((e,r,t)=>{const o=e.get(r);o?o.includes(t)||o.push(t):e.set(r,[t])})(t,r,o)},set:e=>{const o=t.get(e);o&&t.set(e,o.filter(r)),u(t)},reset:()=>{t.forEach((e=>e.forEach(r))),u(t)}}})()),t})(),v=(e=!1)=>{g.loading=e,g.error=void 0,g.pick=0,g.data=void 0,g.dealer=void 0},y=e=>{if(e){const{pick:r}=g;g.dealer=null!=r?e.list[r]:void 0,g.data=e,g.loading=!1}else g.data=void 0,g.loading=!1},w=e=>{const{data:r}=g;r&&void 0!==e?(g.pick=e,g.dealer=r.list[e]):(g.pick=0,g.dealer=void 0)};var x=new h({url:"https://gt-forza.vercel.app/graphql"});const C=()=>{v(!0),c("pick",0),x.query({operationName:"Uuid",query:"\n query Uuid($count: Int!) {\n uuid(count: $count)\n }\n",variables:{count:1}}).then((e=>{const r=e.data.uuid[0];x.query({operationName:"Solution",query:"\n query Solution($id: String!) {\n solution(id: $id) {\n id\n data {\n dealers {\n dealerId\n name\n vehicles {\n vin\n year\n make\n model\n color\n }\n }\n }\n }\n }\n",variables:{id:r}}).then((e=>{const t=JSON.parse(JSON.stringify(e.data.solution.data.dealers)),o={id:r,list:t};c("data",o),y(o)}))}))},k=()=>{v();const e=s("data"),r=s("pick");e?(y(e),r&&w(r)):C()},j=C,O=e=>{c("pick",e),w(e)},S=(...e)=>e.filter(Boolean).join(" "),z=e=>{const{value:r}=e,{dealerId:o,name:n,vehicles:i}=r||{},a=i?i.length:0;return t("div",{class:S("flex flex-wrap content-center","rounded-lg p-4 mb-4 bg-blue-200","border border-solid border-blue-400")},t("label",{class:"text-xl font-bold"},n?`${n} `:"",t("sup",null,a||"")),t("label",{class:"text-sm text-right ml-auto self-center"},o||""))},A=e=>{const r=e.hex||"currentColor",o=e.size||24;return t("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:r},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},M=()=>t("a",{class:"absolute top-0 right-0 mt-6 mr-6 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":"eswat2",title:"eswat2"},t(A,{label:"eswat2"})),$=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","3.0.9"),E=()=>t("div",{class:"flex flex-row mt-2 mb-4 mr-2"},t($,null)),N=(e,r)=>t("h1",{class:S("uppercase text-center text-clrs-red","mr-0 ml-0 mt-11 mb-11","font-thin text-6xl")},r),I=e=>{const r=e.hex||"currentColor",o=e.label||"loading...",n=e.size||24;return t("svg",{class:S(e.class||"","animate-spin"),width:n,height:n,fill:"none",viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,o),t("g",null,t("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:r,"stroke-width":"4"}),t("path",{class:"opacity-75",fill:r,d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},q=e=>{const r=e.hex||"currentColor",o=e.size||24;return t("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:r},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},T=()=>{const{loading:e,pick:r,data:o}=g||{},{list:n}=o||{list:[]},i=n.length-1;return e?"":t("div",{class:"flex"},t("div",{class:"refresh md:w-auto hover:text-clrs-red",onClick:()=>j()},t(q,null)),t("div",{class:S("inline-flex justify-end ml-auto","border border-solid border-gray-600","rounded-md")},n.map(((e,o)=>t("button",{class:S("border-none w-8 h-8 font-bold",0==o?"rounded-tl-md rounded-bl-md rounded-tr-none rounded-br-none":o==i?"rounded-tl-none rounded-bl-none rounded-tr-md rounded-br-md":"rounded-none",r==o?"text-white bg-clrs-red":"text-clrs-navy bg-clrs-yellow"),onClick:()=>O(o),title:`${e.name} (${e.vehicles.length})`},o+1)))))},P=/^\#[0-9]*/,U=e=>null!=e.match(P),B=e=>2554===e,_=e=>e>2010,J=e=>{const{vin:r,make:o,model:n,year:i,color:a}=e.value||{};return t("div",{class:S("flex align-middle","rounded-lg p-4 mb-1","border border-solid",B(i)?"bg-clrs-navy border-clrs-navy text-clrs-white":U(n)?"bg-yellow-300 border-yellow-600":_(i)?"bg-green-200 border-green-600":"bg-gray-300 border-gray-600")},t("div",{class:"flex flex-col mr-1.5"},t("label",{class:"text-xs mb-2"},r||""),t("label",{class:"text-lg font-bold"},o||""),t("label",{class:"text-sm italic mb-2"},n||""),t("label",null,i||"",", ",a||""),t("label",null,B(i)?"- exotic... [ Sierra 117 ]":U(n)?"- track only...":"")),t("proto-ikon-loader",{class:"ikon ml-auto self-center",name:o,label:o.toLowerCase()}))},H=e=>{const{list:r}=e,o=r.length;return 0===o?"":t("div",{class:"flex flex-col"},o?r.map((e=>t(J,{value:e}))):"")},D=e=>{const{dealer:r}=e,{vehicles:o}=r||{vehicles:[]},n=o;return r?t("div",{class:"flex flex-col"},t(z,{value:r}),t(H,{list:n})):""};let F=class{constructor(e){o(this,e),this.tag="proto-autos"}componentDidLoad(){k()}render(){const{loading:e,dealer:r}=g;return t("main",{id:"app",class:"ds1-main"},t(M,null),t(N,null,"Auto Dealers"),t(T,null),e?t(I,null):t("hr",{class:S("ml-0 mr-0 mt-4 mb-4","border-solid border-gray-300","border-r-0 border-b-0 border-l-0")}),t(D,{dealer:r}),t(E,null))}};F.style="*,::before,::after{--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.ds1-main{margin:1.5rem;display:flex;flex-direction:column;font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';color:var(--clrs-navy, #001f3f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.absolute{position:absolute}.top-0{top:0px}.right-0{right:0px}.mb-4{margin-bottom:1rem}.ml-auto{margin-left:auto}.mt-6{margin-top:1.5rem}.mr-6{margin-right:1.5rem}.mt-2{margin-top:0.5rem}.mr-2{margin-right:0.5rem}.mr-0{margin-right:0px}.ml-0{margin-left:0px}.mt-11{margin-top:2.75rem}.mb-11{margin-bottom:2.75rem}.mt-4{margin-top:1rem}.mb-1{margin-bottom:0.25rem}.mr-1\\.5{margin-right:0.375rem}.mr-1{margin-right:0.25rem}.mb-2{margin-bottom:0.5rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-8{height:2rem}.w-8{width:2rem}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.justify-end{justify-content:flex-end}.self-center{align-self:center}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-none{border-radius:0px}.rounded-tl-md{border-top-left-radius:0.375rem}.rounded-bl-md{border-bottom-left-radius:0.375rem}.rounded-tr-none{border-top-right-radius:0px}.rounded-br-none{border-bottom-right-radius:0px}.rounded-tl-none{border-top-left-radius:0px}.rounded-bl-none{border-bottom-left-radius:0px}.rounded-tr-md{border-top-right-radius:0.375rem}.rounded-br-md{border-bottom-right-radius:0.375rem}.border{border-width:1px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.border-l-0{border-left-width:0px}.border-solid{border-style:solid}.border-none{border-style:none}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-clrs-navy{border-color:var(--clrs-navy, #001f3f)}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-clrs-red{background-color:var(--clrs-red, #ff4136)}.bg-clrs-yellow{background-color:var(--clrs-yellow, #ffdc00)}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity:1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.p-4{padding:1rem}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-xs{font-size:0.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.text-clrs-gray{color:var(--clrs-gray, #aaaaaa)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-slate4{color:var(--clrs-slate4, #4e5964)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.opacity-25{opacity:0.25}.opacity-75{opacity:0.75}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.ikon{height:96px;width:96px}@media (min-width: 500px){.ikon{height:144px;width:144px}}@media (min-width: 700px){.ikon{height:192px;width:192px}}.hover\\:text-clrs-navy:hover{color:var(--clrs-navy, #001f3f)}.hover\\:text-clrs-red:hover{color:var(--clrs-red, #ff4136)}@media (min-width: 768px){.md\\:w-auto{width:auto}}";const V=Object.prototype.hasOwnProperty.call(window,"protoIkonFallback")?window.protoIkonFallback:"slug-icon";let L=class{constructor(e){o(this,e),this.hex="currentColor",this.name="slug",this.selected=!1,this.size=void 0,this.label=void 0}render(){const{name:e,hex:r,selected:o,size:n,label:l}=this,s=l||e;this.el.style.setProperty("--proto-ikon-size",n?`${n}px`:void 0);const c=(e=>{const r=e.toLowerCase().split(" ").join("-"),t=`${r}-icon`,o=`${r}-ikon`;return i.includes(t)?t:a.includes(o)?o:V})(e);return t("div",{class:"ikonBox"},t(c,{hex:r,selected:o,size:n,label:s}))}get el(){return n(this)}};L.style=".ikonBox{width:var(--proto-ikon-size);height:var(--proto-ikon-size);overflow:clip;margin-right:auto}";export{F as proto_autos,L as proto_ikon_loader}
1
+ import{g as e,f as r,h as t,r as o,a as n}from"./p-f6a546ae.js";import{i,a}from"./p-cb77e4f2.js";const l="proto-autos",s=e=>{const r=localStorage.getItem(e?`${l}-${e}`:l);return r?JSON.parse(r):void 0},c=(e,r)=>{const t=e?`${l}-${e}`:l,o=JSON.stringify(r);localStorage.setItem(t,o)},d=e=>!("isConnected"in e)||e.isConnected,u=(()=>{let e;return(...r)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let r of e.keys())e.set(r,e.get(r).filter(d))})(...r)}),2e3)}})();var b=function(){function e(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(r,t,o){return t&&e(r.prototype,t),o&&e(r,o),r}}();function f(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){var r=this;f(this,e),this.interceptors=[],this.fetch=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return r.interceptorWrapper.apply(r,[fetch].concat(t))}}return b(e,[{key:"addInterceptors",value:function(e){var r=this,t=[];return Array.isArray(e)?e.map((function(e){return t.push(r.interceptors.length),r.interceptors.push(e)})):e instanceof Object&&(t.push(this.interceptors.length),this.interceptors.push(e)),this.updateInterceptors(),function(){return r.removeInterceptors(t)}}},{key:"removeInterceptors",value:function(e){var r=this;Array.isArray(e)&&(e.map((function(e){return r.interceptors.splice(e,1)})),this.updateInterceptors())}},{key:"updateInterceptors",value:function(){this.reversedInterceptors=this.interceptors.reduce((function(e,r){return[r].concat(e)}),[])}},{key:"clearInterceptors",value:function(){this.interceptors=[],this.updateInterceptors()}},{key:"interceptorWrapper",value:function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];var n=Promise.resolve(t);return this.reversedInterceptors.forEach((function(e){var r=e.request,o=e.requestError;(r||o)&&(n=n.then((function(){return r.apply(void 0,t)}),o))})),n=n.then((function(){return e.apply(void 0,t)})),this.reversedInterceptors.forEach((function(e){var r=e.response,t=e.responseError;(r||t)&&(n=n.then(r,t))})),n}}]),e}(),h=function(){function e(r){var t=r.url,o=r.interceptors,n=r.headers,i=r.onStart,a=r.onEnd,l=r.omitEmptyVariables,s=void 0!==l&&l,c=r.requestOptions,d=void 0===c?{}:c;f(this,e);var u=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return u.requestObject=Object.assign({},{method:"POST",headers:Object.assign({},{Accept:"application/json","Content-Type":"application/json"},n),credentials:"same-origin"},d),u.url=t,u.omitEmptyVariables=s,u.requestQueueLength=0,u.EnumMap={},u.callbacks={onStart:i,onEnd:a},u.addInterceptors(o),u}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(e,m),b(e,[{key:"query",value:function(e){var r,t=this,o=e.operationName,n=e.query,i=e.variables,a=e.opts,l=void 0===a?{}:a,s=e.requestOptions,c=Object.assign({},this.requestObject,void 0===s?{}:s);return r=this.omitEmptyVariables||l.omitEmptyVariables?this.doOmitEmptyVariables(i):i,c.body=JSON.stringify({operationName:o,query:n,variables:r}),this.onStart(),this.fetch(this.url,c).then((function(e){return e.ok?e.json():{errors:[{message:e.statusText,stack:e}]}})).then((function(e){var r=e.data,o=e.errors;return new Promise((function(e,n){return t.onEnd(),r?Object.keys(r).every((function(e){return!r[e]}))?n(o):e({data:r,errors:o}):n(o||[{}])}))}))}},{key:"getUrl",value:function(){return this.url}},{key:"setUrl",value:function(e){this.url=e}},{key:"getEnumTypes",value:function(e){var r=this,t={},o=e.filter((function(e){return!r.EnumMap[e]||(t[e]=r.EnumMap[e],!1)}));if(!o.length)return new Promise((function(e){e({data:t})}));var n="\n query {\n "+o.map((function(e){return e+': __type(name: "'+e+'") {\n ...EnumFragment\n }'})).join("\n")+"\n }\n \n fragment EnumFragment on __Type {\n kind\n description\n enumValues {\n name\n description\n }\n }",i=Object.assign({},this.requestObject);return i.body=JSON.stringify({query:n}),this.onStart(),this.fetch(this.url,i).then((function(e){return e.ok?e.json():{errors:[{message:e.statusText,stack:e}]}})).then((function(e){var o=e.data,n=e.errors;return new Promise((function(e,i){if(r.onEnd(),!o)return i(n||[{message:"Do not get any data."}]);if(Object.keys(o).every((function(e){return!o[e]}))&&n&&n.length)return i(n);var a=Object.assign(t,o);return Object.keys(o).map((function(e){return r.EnumMap[e]=o[e],e})),e({data:a,errors:n})}))}))}},{key:"onStart",value:function(){this.requestQueueLength++,this.requestQueueLength>1||!this.callbacks.onStart||this.callbacks.onStart(this.requestQueueLength)}},{key:"onEnd",value:function(){this.requestQueueLength--,!this.requestQueueLength&&this.callbacks.onEnd&&this.callbacks.onEnd(this.requestQueueLength)}},{key:"doOmitEmptyVariables",value:function(e){var r=this,t={};return Object.keys(e).map((function(o){var n=e[o];return"string"==typeof n&&0===n.length||null==n||(t[o]=n instanceof Object?r.doOmitEmptyVariables(n):n),o})),t}}]),e}();const p={loading:!1,error:void 0,data:void 0,pick:0,dealer:void 0},{state:g}=(()=>{const t=((e,r=((e,r)=>e!==r))=>{let t=new Map(Object.entries(null!=e?e:{}));const o={dispose:[],get:[],set:[],reset:[]},n=()=>{t=new Map(Object.entries(null!=e?e:{})),o.reset.forEach((e=>e()))},i=e=>(o.get.forEach((r=>r(e))),t.get(e)),a=(e,n)=>{const i=t.get(e);r(n,i,e)&&(t.set(e,n),o.set.forEach((r=>r(e,n,i))))},l="undefined"==typeof Proxy?{}:new Proxy(e,{get:(e,r)=>i(r),ownKeys:()=>Array.from(t.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,r)=>t.has(r),set:(e,r,t)=>(a(r,t),!0)}),s=(e,r)=>(o[e].push(r),()=>{((e,r)=>{const t=e.indexOf(r);t>=0&&(e[t]=e[e.length-1],e.length--)})(o[e],r)});return{state:l,get:i,set:a,on:s,onChange:(r,t)=>{const o=s("set",((e,o)=>{e===r&&t(o)})),n=s("reset",(()=>t(e[r])));return()=>{o(),n()}},use:(...e)=>{const r=e.reduce(((e,r)=>(r.set&&e.push(s("set",r.set)),r.get&&e.push(s("get",r.get)),r.reset&&e.push(s("reset",r.reset)),r.dispose&&e.push(s("dispose",r.dispose)),e)),[]);return()=>r.forEach((e=>e()))},dispose:()=>{o.dispose.forEach((e=>e())),n()},reset:n,forceUpdate:e=>{const r=t.get(e);o.set.forEach((t=>t(e,r,r)))}}})(p,void 0);return t.use((()=>{if("function"!=typeof e)return{};const t=new Map;return{dispose:()=>t.clear(),get:r=>{const o=e();o&&((e,r,t)=>{const o=e.get(r);o?o.includes(t)||o.push(t):e.set(r,[t])})(t,r,o)},set:e=>{const o=t.get(e);o&&t.set(e,o.filter(r)),u(t)},reset:()=>{t.forEach((e=>e.forEach(r))),u(t)}}})()),t})(),v=(e=!1)=>{g.loading=e,g.error=void 0,g.pick=0,g.data=void 0,g.dealer=void 0},y=e=>{if(e){const{pick:r}=g;g.dealer=null!=r?e.list[r]:void 0,g.data=e,g.loading=!1}else g.data=void 0,g.loading=!1},w=e=>{const{data:r}=g;r&&void 0!==e?(g.pick=e,g.dealer=r.list[e]):(g.pick=0,g.dealer=void 0)};var x=new h({url:"https://gt-forza.vercel.app/graphql"});const C=()=>{v(!0),c("pick",0),x.query({operationName:"Uuid",query:"\n query Uuid($count: Int!) {\n uuid(count: $count)\n }\n",variables:{count:1}}).then((e=>{const r=e.data.uuid[0];x.query({operationName:"Solution",query:"\n query Solution($id: String!) {\n solution(id: $id) {\n id\n data {\n dealers {\n dealerId\n name\n vehicles {\n vin\n year\n make\n model\n color\n }\n }\n }\n }\n }\n",variables:{id:r}}).then((e=>{const t=JSON.parse(JSON.stringify(e.data.solution.data.dealers)),o={id:r,list:t};c("data",o),y(o)}))}))},k=()=>{v();const e=s("data"),r=s("pick");e?(y(e),r&&w(r)):C()},j=C,O=e=>{c("pick",e),w(e)},S=(...e)=>e.filter(Boolean).join(" "),z=e=>{const{value:r}=e,{dealerId:o,name:n,vehicles:i}=r||{},a=i?i.length:0;return t("div",{class:S("flex flex-wrap content-center","rounded-lg p-4 mb-4 bg-blue-200","border border-solid border-blue-400")},t("label",{class:"text-xl font-bold"},n?`${n} `:"",t("sup",null,a||"")),t("label",{class:"text-sm text-right ml-auto self-center"},o||""))},A=e=>{const r=e.hex||"currentColor",o=e.size||24;return t("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:r},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},M=()=>t("a",{class:"absolute top-0 right-0 mt-6 mr-6 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":"eswat2",title:"eswat2"},t(A,{label:"eswat2"})),$=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","3.0.10"),E=()=>t("div",{class:"flex flex-row mt-2 mb-4 mr-2"},t($,null)),N=(e,r)=>t("h1",{class:S("uppercase text-center text-clrs-red","mr-0 ml-0 mt-11 mb-11","font-thin text-6xl")},r),I=e=>{const r=e.hex||"currentColor",o=e.label||"loading...",n=e.size||24;return t("svg",{class:S(e.class||"","animate-spin"),width:n,height:n,fill:"none",viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,o),t("g",null,t("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:r,"stroke-width":"4"}),t("path",{class:"opacity-75",fill:r,d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},q=e=>{const r=e.hex||"currentColor",o=e.size||24;return t("svg",{class:e.class,width:o,height:o,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:r},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},T=()=>{const{loading:e,pick:r,data:o}=g||{},{list:n}=o||{list:[]},i=n.length-1;return e?"":t("div",{class:"flex"},t("div",{class:"refresh md:w-auto hover:text-clrs-red",onClick:()=>j()},t(q,null)),t("div",{class:S("inline-flex justify-end ml-auto","border border-solid border-gray-600","rounded-md")},n.map(((e,o)=>t("button",{class:S("border-none w-8 h-8 font-bold",0==o?"rounded-tl-md rounded-bl-md rounded-tr-none rounded-br-none":o==i?"rounded-tl-none rounded-bl-none rounded-tr-md rounded-br-md":"rounded-none",r==o?"text-white bg-clrs-red":"text-clrs-navy bg-clrs-yellow"),onClick:()=>O(o),title:`${e.name} (${e.vehicles.length})`},o+1)))))},P=/^\#[0-9]*/,U=e=>null!=e.match(P),B=e=>2554===e,_=e=>e>2010,J=e=>{const{vin:r,make:o,model:n,year:i,color:a}=e.value||{};return t("div",{class:S("flex align-middle","rounded-lg p-4 mb-1","border border-solid",B(i)?"bg-clrs-navy border-clrs-navy text-clrs-white":U(n)?"bg-yellow-300 border-yellow-600":_(i)?"bg-green-200 border-green-600":"bg-gray-300 border-gray-600")},t("div",{class:"flex flex-col mr-1.5"},t("label",{class:"text-xs mb-2"},r||""),t("label",{class:"text-lg font-bold"},o||""),t("label",{class:"text-sm italic mb-2"},n||""),t("label",null,i||"",", ",a||""),t("label",null,B(i)?"- exotic... [ Sierra 117 ]":U(n)?"- track only...":"")),t("proto-ikon-loader",{class:"ikon ml-auto self-center",name:o,label:o.toLowerCase()}))},H=e=>{const{list:r}=e,o=r.length;return 0===o?"":t("div",{class:"flex flex-col"},o?r.map((e=>t(J,{value:e}))):"")},D=e=>{const{dealer:r}=e,{vehicles:o}=r||{vehicles:[]},n=o;return r?t("div",{class:"flex flex-col"},t(z,{value:r}),t(H,{list:n})):""};let F=class{constructor(e){o(this,e),this.tag="proto-autos"}componentDidLoad(){k()}render(){const{loading:e,dealer:r}=g;return t("main",{id:"app",class:"ds1-main"},t(M,null),t(N,null,"Auto Dealers"),t(T,null),e?t(I,null):t("hr",{class:S("ml-0 mr-0 mt-4 mb-4","border-solid border-gray-300","border-r-0 border-b-0 border-l-0")}),t(D,{dealer:r}),t(E,null))}};F.style="*,::before,::after{--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.ds1-main{margin:1.5rem;display:flex;flex-direction:column;font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,\n 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';color:var(--clrs-navy, #001f3f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.absolute{position:absolute}.top-0{top:0px}.right-0{right:0px}.mb-4{margin-bottom:1rem}.ml-auto{margin-left:auto}.mt-6{margin-top:1.5rem}.mr-6{margin-right:1.5rem}.mt-2{margin-top:0.5rem}.mr-2{margin-right:0.5rem}.mr-0{margin-right:0px}.ml-0{margin-left:0px}.mt-11{margin-top:2.75rem}.mb-11{margin-bottom:2.75rem}.mt-4{margin-top:1rem}.mb-1{margin-bottom:0.25rem}.mr-1\\.5{margin-right:0.375rem}.mr-1{margin-right:0.25rem}.mb-2{margin-bottom:0.5rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-8{height:2rem}.w-8{width:2rem}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.justify-end{justify-content:flex-end}.self-center{align-self:center}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-none{border-radius:0px}.rounded-tl-md{border-top-left-radius:0.375rem}.rounded-bl-md{border-bottom-left-radius:0.375rem}.rounded-tr-none{border-top-right-radius:0px}.rounded-br-none{border-bottom-right-radius:0px}.rounded-tl-none{border-top-left-radius:0px}.rounded-bl-none{border-bottom-left-radius:0px}.rounded-tr-md{border-top-right-radius:0.375rem}.rounded-br-md{border-bottom-right-radius:0.375rem}.border{border-width:1px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.border-l-0{border-left-width:0px}.border-solid{border-style:solid}.border-none{border-style:none}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-clrs-navy{border-color:var(--clrs-navy, #001f3f)}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-clrs-red{background-color:var(--clrs-red, #ff4136)}.bg-clrs-yellow{background-color:var(--clrs-yellow, #ffdc00)}.bg-clrs-navy{background-color:var(--clrs-navy, #001f3f)}.bg-yellow-300{--tw-bg-opacity:1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity:1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.p-4{padding:1rem}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-6xl{font-size:3.75rem;line-height:1}.text-xs{font-size:0.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.text-clrs-gray{color:var(--clrs-gray, #aaaaaa)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-slate4{color:var(--clrs-slate4, #4e5964)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.opacity-25{opacity:0.25}.opacity-75{opacity:0.75}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),\n 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.ikon{height:96px;width:96px}@media (min-width: 500px){.ikon{height:144px;width:144px}}@media (min-width: 700px){.ikon{height:192px;width:192px}}.hover\\:text-clrs-navy:hover{color:var(--clrs-navy, #001f3f)}.hover\\:text-clrs-red:hover{color:var(--clrs-red, #ff4136)}@media (min-width: 768px){.md\\:w-auto{width:auto}}";const V=Object.prototype.hasOwnProperty.call(window,"protoIkonFallback")?window.protoIkonFallback:"slug-icon";let L=class{constructor(e){o(this,e),this.hex="currentColor",this.name="slug",this.selected=!1,this.size=void 0,this.label=void 0}render(){const{name:e,hex:r,selected:o,size:n,label:l}=this,s=l||e;this.el.style.setProperty("--proto-ikon-size",n?`${n}px`:void 0);const c=(e=>{const r=e.toLowerCase().split(" ").join("-"),t=`${r}-icon`,o=`${r}-ikon`;return i.includes(t)?t:a.includes(o)?o:V})(e);return t("div",{class:"ikonBox"},t(c,{hex:r,selected:o,size:n,label:s}))}get el(){return n(this)}};L.style=".ikonBox{width:var(--proto-ikon-size);height:var(--proto-ikon-size);overflow:clip;margin-right:auto}";export{F as proto_autos,L as proto_ikon_loader}
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-f6a546ae.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>a([["p-566b83ff",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a1cfef6c",[[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-29b1b0f0",[[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e14eb22d",[[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-d6b4433a",[[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a000806c",[[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-2f4af5bd",[[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-95978a17",[[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}]]],["p-8f71936e",[[0,"audi-ikon",{hex:[1],name:[1],size:[2]}]]],["p-98b82838",[[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-d79f7757",[[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-2d71ec39",[[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-3a559bea",[[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-a16cfde1",[[0,"bently-ikon",{hex:[1],name:[1],size:[2]}]]],["p-40e53cbc",[[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}]]],["p-5e0be80d",[[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}]]],["p-0830354f",[[0,"buick-ikon",{hex:[1],name:[1],size:[2]}]]],["p-79dde8ed",[[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}]]],["p-aaf524a1",[[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-13e0d343",[[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7c4ba80a",[[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-dcf8e8e6",[[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c41d483d",[[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-e2566c2f",[[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a4aa3567",[[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-67c52ca7",[[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}]]],["p-616abe20",[[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-31eccfe3",[[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f3c2a64c",[[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-8c5b432e",[[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-fd00f6ac",[[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}]]],["p-cc3d625e",[[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}]]],["p-aff20025",[[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e13eacc6",[[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-877cc9b2",[[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}]]],["p-64e8da6b",[[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-748d943a",[[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7817e433",[[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}]]],["p-3d7384ee",[[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7e269891",[[0,"ford-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9c8ca047",[[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}]]],["p-4a1c4e47",[[0,"geo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-10113083",[[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-6bc8334a",[[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}]]],["p-79c25028",[[0,"honda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-459762ac",[[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}]]],["p-ed3e5055",[[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a0055d0d",[[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}]]],["p-6b716397",[[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}]]],["p-95832d7d",[[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-bc14e0d2",[[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}]]],["p-6e4a1b65",[[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-e69234a5",[[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c9894d55",[[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}]]],["p-7689e4ae",[[0,"kia-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b654d1e2",[[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-4b524268",[[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2d4f375a",[[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}]]],["p-83905515",[[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e953f02b",[[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9eb26d22",[[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-86020ef6",[[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f2e5a8b8",[[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2149c094",[[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}]]],["p-378fa1c1",[[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-cdac14eb",[[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-877520a2",[[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-9890bcd3",[[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2c181ca1",[[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-93a2ac70",[[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}]]],["p-0040d18b",[[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b37b9290",[[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-b5895412",[[0,"mini-ikon",{hex:[1],name:[1],size:[2]}]]],["p-33ffc7e6",[[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e0a2819d",[[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d912918c",[[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d676b461",[[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c47c3bc8",[[0,"opel-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d5a48c73",[[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}]]],["p-91cc821d",[[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ad3cd492",[[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-f7d8d7da",[[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}]]],["p-ce7ba0e3",[[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b535cb79",[[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}]]],["p-3202e36b",[[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}]]],["p-47d5a6e1",[[0,"proto-ikon-raw",{hex:[1],name:[1],selected:[4],size:[2],label:[1]}]]],["p-b94c6073",[[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-e8d298bf",[[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-5d3ce26d",[[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-5d30de37",[[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-93bf43ef",[[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-1c57a7db",[[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-e9cd0f81",[[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ed7c5cc1",[[0,"ram-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f4de09cc",[[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ab8076c9",[[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-a97e01ac",[[0,"renault-ikon",{hex:[1],name:[1],size:[2]}]]],["p-fcadc2b7",[[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d6e383ef",[[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-df35ad98",[[0,"saab-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9150f182",[[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}]]],["p-654a604e",[[0,"scion-ikon",{hex:[1],name:[1],size:[2]}]]],["p-00e539ac",[[0,"seat-ikon",{hex:[1],name:[1],size:[2]}]]],["p-bf9c5fd3",[[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-065db414",[[0,"slug-icon",{label:[1],name:[1],size:[2]}]]],["p-f58e2677",[[0,"smart-ikon",{hex:[1],name:[1],size:[2]}]]],["p-bd43f711",[[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-209eadd8",[[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-b8f8a469",[[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2fce841e",[[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-5b5f636f",[[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}]]],["p-35fffea8",[[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f7fa41d0",[[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ee323969",[[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b0a160f4",[[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a5392585",[[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-23d0b210",[[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}]]],["p-91cc55ff",[[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-f8023522",[[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a20327f6",[[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-e45179ad",[[1,"proto-autos",{tag:[1]}],[1,"proto-ikon-loader",{hex:[1],name:[1],selected:[4],size:[2],label:[1]}]]]],e)));
1
+ import{p as e,b as a}from"./p-f6a546ae.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>a([["p-566b83ff",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a1cfef6c",[[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-29b1b0f0",[[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e14eb22d",[[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-d6b4433a",[[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a000806c",[[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-2f4af5bd",[[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-95978a17",[[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}]]],["p-8f71936e",[[0,"audi-ikon",{hex:[1],name:[1],size:[2]}]]],["p-98b82838",[[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-d79f7757",[[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-2d71ec39",[[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-3a559bea",[[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-a16cfde1",[[0,"bently-ikon",{hex:[1],name:[1],size:[2]}]]],["p-40e53cbc",[[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}]]],["p-5e0be80d",[[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}]]],["p-0830354f",[[0,"buick-ikon",{hex:[1],name:[1],size:[2]}]]],["p-79dde8ed",[[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}]]],["p-aaf524a1",[[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-13e0d343",[[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7c4ba80a",[[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-dcf8e8e6",[[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c41d483d",[[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-e2566c2f",[[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a4aa3567",[[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-67c52ca7",[[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}]]],["p-616abe20",[[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-31eccfe3",[[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f3c2a64c",[[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-8c5b432e",[[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-fd00f6ac",[[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}]]],["p-cc3d625e",[[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}]]],["p-aff20025",[[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e13eacc6",[[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-877cc9b2",[[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}]]],["p-64e8da6b",[[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-748d943a",[[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7817e433",[[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}]]],["p-3d7384ee",[[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-7e269891",[[0,"ford-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9c8ca047",[[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}]]],["p-4a1c4e47",[[0,"geo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-10113083",[[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-6bc8334a",[[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}]]],["p-79c25028",[[0,"honda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-459762ac",[[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}]]],["p-ed3e5055",[[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a0055d0d",[[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}]]],["p-6b716397",[[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}]]],["p-95832d7d",[[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-bc14e0d2",[[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}]]],["p-6e4a1b65",[[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-e69234a5",[[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c9894d55",[[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}]]],["p-7689e4ae",[[0,"kia-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b654d1e2",[[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-4b524268",[[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2d4f375a",[[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}]]],["p-83905515",[[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e953f02b",[[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9eb26d22",[[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-86020ef6",[[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f2e5a8b8",[[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2149c094",[[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}]]],["p-378fa1c1",[[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-cdac14eb",[[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-877520a2",[[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-9890bcd3",[[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2c181ca1",[[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-93a2ac70",[[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}]]],["p-0040d18b",[[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b37b9290",[[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-b5895412",[[0,"mini-ikon",{hex:[1],name:[1],size:[2]}]]],["p-33ffc7e6",[[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}]]],["p-e0a2819d",[[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d912918c",[[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d676b461",[[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-c47c3bc8",[[0,"opel-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d5a48c73",[[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}]]],["p-91cc821d",[[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ad3cd492",[[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-f7d8d7da",[[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}]]],["p-ce7ba0e3",[[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b535cb79",[[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}]]],["p-3202e36b",[[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}]]],["p-47d5a6e1",[[0,"proto-ikon-raw",{hex:[1],name:[1],selected:[4],size:[2],label:[1]}]]],["p-b94c6073",[[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-e8d298bf",[[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-5d3ce26d",[[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-5d30de37",[[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-93bf43ef",[[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-1c57a7db",[[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}]]],["p-e9cd0f81",[[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ed7c5cc1",[[0,"ram-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f4de09cc",[[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ab8076c9",[[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-a97e01ac",[[0,"renault-ikon",{hex:[1],name:[1],size:[2]}]]],["p-fcadc2b7",[[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}]]],["p-d6e383ef",[[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-df35ad98",[[0,"saab-ikon",{hex:[1],name:[1],size:[2]}]]],["p-9150f182",[[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}]]],["p-654a604e",[[0,"scion-ikon",{hex:[1],name:[1],size:[2]}]]],["p-00e539ac",[[0,"seat-ikon",{hex:[1],name:[1],size:[2]}]]],["p-bf9c5fd3",[[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}]]],["p-065db414",[[0,"slug-icon",{label:[1],name:[1],size:[2]}]]],["p-f58e2677",[[0,"smart-ikon",{hex:[1],name:[1],size:[2]}]]],["p-bd43f711",[[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-209eadd8",[[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-b8f8a469",[[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}]]],["p-2fce841e",[[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-5b5f636f",[[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}]]],["p-35fffea8",[[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}]]],["p-f7fa41d0",[[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-ee323969",[[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}]]],["p-b0a160f4",[[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a5392585",[[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-23d0b210",[[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}]]],["p-91cc55ff",[[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-f8023522",[[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}]]],["p-a20327f6",[[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]],["p-11f666e7",[[1,"proto-autos",{tag:[1]}],[1,"proto-ikon-loader",{hex:[1],name:[1],selected:[4],size:[2],label:[1]}]]]],e)));
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
666
666
  use: JSXBase.SVGAttributes;
667
667
  view: JSXBase.SVGAttributes;
668
668
  }
669
- interface SlotAttributes {
669
+ interface SlotAttributes extends JSXAttributes {
670
670
  name?: string;
671
671
  slot?: string;
672
672
  onSlotchange?: (event: Event) => void;
@@ -1427,9 +1427,7 @@ export declare namespace JSXBase {
1427
1427
  z?: number | string;
1428
1428
  zoomAndPan?: string;
1429
1429
  }
1430
- interface DOMAttributes<T = Element> {
1431
- key?: string | number;
1432
- ref?: (elm?: T) => void;
1430
+ interface DOMAttributes<T> extends JSXAttributes<T> {
1433
1431
  slot?: string;
1434
1432
  part?: string;
1435
1433
  exportparts?: string;
@@ -1550,6 +1548,10 @@ export declare namespace JSXBase {
1550
1548
  onTransitionEndCapture?: (event: TransitionEvent) => void;
1551
1549
  }
1552
1550
  }
1551
+ export interface JSXAttributes<T = Element> {
1552
+ key?: string | number;
1553
+ ref?: (elm?: T) => void;
1554
+ }
1553
1555
  export interface CustomElementsDefineOptions {
1554
1556
  exclude?: string[];
1555
1557
  resourcesUrl?: string;
@@ -1,4 +1,5 @@
1
1
  export * from './bag';
2
2
  export * from './store';
3
+ export * from './tw-version';
3
4
  export * from './tw';
4
5
  export * from './types';
@@ -0,0 +1,3 @@
1
+ declare const TW_VERSION = "3.0.10";
2
+ export { TW_VERSION };
3
+ export default TW_VERSION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-autos-wc",
3
- "version": "0.0.263",
3
+ "version": "0.0.264",
4
4
  "description": "prototype - a simple GraphQL demo rendered in Stencil and Tailwind",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -29,13 +29,13 @@
29
29
  "format": "prettier --write src cSpell.json"
30
30
  },
31
31
  "dependencies": {
32
- "@stencil/core": "2.12.0",
32
+ "@stencil/core": "2.12.1",
33
33
  "@stencil/store": "1.5.0",
34
34
  "axios": "0.24.0",
35
35
  "fetchql": "3.0.0",
36
- "proto-ikon-loader-wc": "0.0.27",
37
- "proto-tailwindcss-clrs": "0.0.84",
38
- "tailwindcss": "3.0.9"
36
+ "proto-ikon-loader-wc": "0.0.28",
37
+ "proto-tailwindcss-clrs": "0.0.85",
38
+ "tailwindcss": "3.0.10"
39
39
  },
40
40
  "license": "MIT",
41
41
  "devDependencies": {