proto-autos-wc 0.1.306 → 0.1.307

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.
@@ -887,7 +887,7 @@ const actions = {
887
887
  };
888
888
 
889
889
  // WARNING: generated file...
890
- const TW_VERSION = '4.3.4';
890
+ const TW_VERSION = '4.3.5';
891
891
 
892
892
  const tw = (...classes) => {
893
893
  return classes.filter(Boolean).join(' ');
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -1,4 +1,4 @@
1
1
  // WARNING: generated file...
2
- const TW_VERSION = '4.3.4';
2
+ const TW_VERSION = '4.3.5';
3
3
  export { TW_VERSION };
4
4
  export default TW_VERSION;
@@ -885,7 +885,7 @@ const actions = {
885
885
  };
886
886
 
887
887
  // WARNING: generated file...
888
- const TW_VERSION = '4.3.4';
888
+ const TW_VERSION = '4.3.5';
889
889
 
890
890
  const tw = (...classes) => {
891
891
  return classes.filter(Boolean).join(' ');
@@ -1 +1 @@
1
- import{S as e,h as t,r}from"./p-DJvMNIW6.js";const o="proto-autos",n=`${o}::data`,a=`${o}::pick`,i=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):void 0},l=(e,t)=>{const r=JSON.stringify(t);localStorage.setItem(e,r)},s=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,r)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var r;t&&(!("isConnected"in(r=t))||r.isConnected)&&o.add(e)})),e.set(r,o)}))})(...t)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,u=(e,t)=>{const r=e.indexOf(t);r>=0&&(e[r]=e[e.length-1],e.length--)};var f=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var b=function(){function e(){var t=this;h(this,e),this.interceptors=[],this.fetch=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.interceptorWrapper.apply(t,[fetch].concat(r))}}return f(e,[{key:"addInterceptors",value:function(e){var t=this,r=[];return Array.isArray(e)?e.map((function(e){return r.push(t.interceptors.length),t.interceptors.push(e)})):e instanceof Object&&(r.push(this.interceptors.length),this.interceptors.push(e)),this.updateInterceptors(),function(){return t.removeInterceptors(r)}}},{key:"removeInterceptors",value:function(e){var t=this;Array.isArray(e)&&(e.map((function(e){return t.interceptors.splice(e,1)})),this.updateInterceptors())}},{key:"updateInterceptors",value:function(){this.reversedInterceptors=this.interceptors.reduce((function(e,t){return[t].concat(e)}),[])}},{key:"clearInterceptors",value:function(){this.interceptors=[],this.updateInterceptors()}},{key:"interceptorWrapper",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var n=Promise.resolve(r);return this.reversedInterceptors.forEach((function(e){var t=e.request,o=e.requestError;(t||o)&&(n=n.then((function(){return t.apply(void 0,r)}),o))})),n=n.then((function(){return e.apply(void 0,r)})),this.reversedInterceptors.forEach((function(e){var t=e.response,r=e.responseError;(t||r)&&(n=n.then(t,r))})),n}}]),e}(),g=function(){function e(t){var r=t.url,o=t.interceptors,n=t.headers,a=t.onStart,i=t.onEnd,l=t.omitEmptyVariables,s=void 0!==l&&l,c=t.requestOptions,d=void 0===c?{}:c;h(this,e);var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(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=r,u.omitEmptyVariables=s,u.requestQueueLength=0,u.EnumMap={},u.callbacks={onStart:a,onEnd:i},u.addInterceptors(o),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,b),f(e,[{key:"query",value:function(e){var t,r=this,o=e.operationName,n=e.query,a=e.variables,i=e.opts,l=void 0===i?{}:i,s=e.requestOptions,c=Object.assign({},this.requestObject,void 0===s?{}:s);return t=this.omitEmptyVariables||l.omitEmptyVariables?this.doOmitEmptyVariables(a):a,c.body=JSON.stringify({operationName:o,query:n,variables:t}),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 t=e.data,o=e.errors;return new Promise((function(e,n){return r.onEnd(),t?Object.keys(t).every((function(e){return!t[e]}))?n(o):e({data:t,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 t=this,r={},o=e.filter((function(e){return!t.EnumMap[e]||(r[e]=t.EnumMap[e],!1)}));if(!o.length)return new Promise((function(e){e({data:r})}));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 }",a=Object.assign({},this.requestObject);return a.body=JSON.stringify({query:n}),this.onStart(),this.fetch(this.url,a).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,a){if(t.onEnd(),!o)return a(n||[{message:"Do not get any data."}]);if(Object.keys(o).every((function(e){return!o[e]}))&&n&&n.length)return a(n);var i=Object.assign(r,o);return Object.keys(o).map((function(e){return t.EnumMap[e]=o[e],e})),e({data:i,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 t=this,r={};return Object.keys(e).map((function(o){var n=e[o];return"string"==typeof n&&0===n.length||null==n||(r[o]=n instanceof Object?t.doOmitEmptyVariables(n):n),o})),r}}]),e}();const v={loading:!1,error:void 0,data:void 0,pick:0,dealer:void 0},{state:m}=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const r=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=r();let n=new Map(Object.entries(o));const a="undefined"!=typeof Proxy,i=a?null:{},l={dispose:[],get:[],set:[],reset:[]},s=new Map,c=()=>{n=new Map(Object.entries(r())),a||v(),l.reset.forEach((e=>e()))},d=e=>(l.get.forEach((t=>t(e))),n.get(e)),f=(e,r)=>{const o=n.get(e);t(r,o,e)&&(n.set(e,r),a||g(e),l.set.forEach((t=>t(e,r,o))))},h=a?new Proxy(o,{get:(e,t)=>d(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,r)=>(f(t,r),!0)}):(v(),i),b=(e,t)=>(l[e].push(t),()=>{u(l[e],t)});function g(e){!a&&i&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:()=>d(e),set(t){f(e,t)}}))}function v(){if(a||!i)return;const e=new Set(n.keys());for(const t of Object.keys(i))e.has(t)||delete i[t];for(const t of e)g(t)}return{state:h,get:d,set:f,on:b,onChange:(e,t)=>{const o=(r,o)=>{r===e&&t(o)},n=()=>{const o=r();t(o[e])},a=b("set",o),i=b("reset",n);return s.set(t,{setHandler:o,resetHandler:n,propName:e}),()=>{a(),i(),s.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(b("set",t.set)),t.get&&e.push(b("get",t.get)),t.reset&&e.push(b("reset",t.reset)),t.dispose&&e.push(b("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{l.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);l.set.forEach((r=>r(e,t,t)))},removeListener:(e,t)=>{const r=s.get(t);r&&r.propName===e&&(u(l.set,r.setHandler),u(l.reset,r.resetHandler),s.delete(t))}}})(v,void 0);return e.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const e=c,t=d,r=new WeakMap,o=new Map;return{dispose:()=>o.clear(),get:e=>{const n=t();n&&((e,t,r,o)=>{let n=t.get(o);n||(n=new WeakRef(o),t.set(o,n));let a=e.get(r);a||(a=new Set,e.set(r,a)),a.add(n)})(o,r,e,n)},set:t=>{const r=o.get(t);if(r){const n=new Set;r.forEach((t=>{const r=t.deref();r&&e(r)&&n.add(t)})),o.set(t,n)}s(o)},reset:()=>{o.forEach((t=>{t.forEach((t=>{const r=t.deref();r&&e(r)}))})),s(o)}}})()),e})(),p=(e=!1)=>{m.loading=e,m.error=void 0,m.pick=0,m.data=void 0,m.dealer=void 0},w=e=>{if(e){const{pick:t}=m;m.dealer=null!=t?e.list[t]:void 0,m.data=e,m.loading=!1}else m.data=void 0,m.loading=!1},y=e=>{const{data:t}=m;t&&void 0!==e?(m.pick=e,m.dealer=t.list[e]):(m.pick=0,m.dealer=void 0)};var x=new g({url:"https://gt-forza.vercel.app/graphql"});const k=()=>{p(!0),l(a,0),x.query({operationName:"Uuid",query:"\n query Uuid($count: Int!) {\n uuid(count: $count)\n }\n",variables:{count:1}}).then((e=>{const t=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:t}}).then((e=>{const r=JSON.parse(JSON.stringify(e.data.solution.data.dealers)),o={id:t,list:r};l(n,o),w(o)}))}))},j=()=>{p();const e=i(n),t=i(a);e?(w(e),t&&y(t)):k()},O=k,S=e=>{l(a,e),y(e)},N=(...e)=>e.filter(Boolean).join(" "),z=e=>{const{value:r}=e,{dealerId:o,name:n,vehicles:a}=r||{},i=a?a.length:0;return t("div",{class:N("flex flex-wrap content-center","mb-4 rounded-lg bg-blue-200 p-4","border border-solid border-blue-400")},t("label",{class:"text-xl font-bold"},n?`${n} `:"",t("sup",null,i||"")),t("label",{class:"ml-auto self-center text-right text-sm"},o||""))},E=/^\#[0-9]*/,I=e=>null!=e.match(E),A=e=>2554===e,C=e=>e>2010,q=e=>{const{vin:r,make:o,model:n,year:a,color:i}=e.value||{};return t("div",{class:N("flex align-middle","mb-1 rounded-lg p-4","border border-solid",A(a)?"border-clrs-navy bg-clrs-navy text-clrs-white":I(n)?"border-yellow-600 bg-yellow-300":C(a)?"border-green-600 bg-green-200":"border-gray-600 bg-gray-300")},t("div",{class:"mr-1.5 flex flex-col"},t("label",{class:"mb-2 text-xs"},r||""),t("label",{class:"text-lg font-bold"},o||""),t("label",{class:"mb-2 text-sm italic"},n||""),t("label",null,a||"",", ",i||""),t("label",null,A(a)?"- exotic... [ Sierra 117 ]":I(n)?"- track only...":"")),t("proto-ikon-loader",{class:"ikon ml-auto self-center",name:o,label:o.toLowerCase()}))},M=e=>{const{list:r}=e,o=r.length;return 0===o?"":t("div",{class:"flex flex-col"},o?r.map((e=>t(q,{value:e}))):"")},T=e=>{const{dealer:r}=e,{vehicles:o}=r||{vehicles:[]},n=o;return r?t("div",{class:"flex flex-col"},t(z,{value:r}),t(M,{list:n})):""},$="eswat2",P=()=>t("a",{class:"absolute right-0 top-0 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":$,target:"blank",title:$},t("proto-ikon-loader",{name:"fingerprint",size:24,label:"eswat2"})),U=()=>t("div",{class:"mb-4 mr-2 mt-2 flex flex-row"},t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.3.4")),J=e=>{const{label:r}=e;return t("h1",{class:N("text-center uppercase text-clrs-red","mb-11 ml-0 mr-0 mt-11","text-6xl font-thin")},r)},D=e=>{const r=e.hex||"currentColor",o=e.label||"loading...",n=e.size||24;return t("svg",{class:N(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"}))},H=()=>{const{loading:e,pick:r,data:o}=m||{},{list:n}=o||{list:[]},a=n.length-1;return e?"":t("div",{class:"flex"},t("div",{class:"refresh hover:text-clrs-red md:w-auto",onClick:()=>O()},t("proto-ikon-loader",{name:"refresh",size:24})),t("div",{class:N("ml-auto inline-flex justify-end","border border-solid border-gray-600","rounded-md")},n.map(((e,o)=>t("button",{class:N("h-8 w-8 border-none font-bold",0==o?"rounded-bl-md rounded-br-none rounded-tl-md rounded-tr-none":o==a?"rounded-bl-none rounded-br-md rounded-tl-none rounded-tr-md":"rounded-none",r==o?"bg-clrs-red text-white":"bg-clrs-yellow text-clrs-navy"),onClick:()=>S(o),title:`${e.name} (${e.vehicles.length})`},o+1)))))},_=class{constructor(e){r(this,e),this.tag="proto-autos"}componentDidLoad(){j()}render(){const{loading:e,dealer:r}=m;return t("main",{key:"eb918bee95389cd4c78c6a7b3134ada507c5a042",id:"app",class:"ds1-main relative"},t(P,{key:"efa617ee04ddd6c58650d1cf4d00f899c3520efa"}),t(J,{key:"6762516c1c9fc2d4490e9343d75f4f09f657fae6",label:"Auto Dealers"}),t(H,{key:"ce1aeeb560729f66726b859d6f9d5a4a410703b1"}),e?t(D,null):t("hr",{class:N("mb-4 ml-0 mr-0 mt-4","border-solid border-gray-300","border-b-0 border-l-0 border-r-0")}),t(T,{key:"63ef8ba16a60533a147c06e126442e9f2481f8fe",dealer:r}),t(U,{key:"00d32c34fcf933386a5e5f920e09f02f95dbfbf1"}))}};_.style=" @layer properties; @layer theme, base, components, utilities; @layer theme { :root, :host { --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --color-yellow-300: oklch(90.5% 0.182 98.111); --color-yellow-600: oklch(68.1% 0.162 75.834); --color-green-200: oklch(92.5% 0.084 155.995); --color-green-600: oklch(62.7% 0.194 149.214); --color-blue-200: oklch(88.2% 0.059 254.128); --color-blue-400: oklch(70.7% 0.165 254.624); --color-gray-300: oklch(87.2% 0.01 258.338); --color-gray-600: oklch(44.6% 0.03 256.802); --color-white: #fff; --spacing: 0.25rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-sm: 0.875rem; --text-sm--line-height: calc(1.25 / 0.875); --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-xl: 1.25rem; --text-xl--line-height: calc(1.75 / 1.25); --text-6xl: 3.75rem; --text-6xl--line-height: 1; --font-weight-thin: 100; --font-weight-bold: 700; --radius-md: 0.375rem; --radius-lg: 0.5rem; --animate-spin: spin 1s linear infinite; } } @layer utilities { .absolute { position: absolute; } .relative { position: relative; } .top-0 { top: 0px; } .right-0 { right: 0px; } .m-6 { margin: calc(var(--spacing) * 6); } .mt-2 { margin-top: calc(var(--spacing) * 2); } .mt-4 { margin-top: calc(var(--spacing) * 4); } .mt-11 { margin-top: calc(var(--spacing) * 11); } .mr-0 { margin-right: 0px; } .mr-1\\.5 { margin-right: calc(var(--spacing) * 1.5); } .mr-2 { margin-right: calc(var(--spacing) * 2); } .mb-1 { margin-bottom: var(--spacing); } .mb-2 { margin-bottom: calc(var(--spacing) * 2); } .mb-4 { margin-bottom: calc(var(--spacing) * 4); } .mb-11 { margin-bottom: calc(var(--spacing) * 11); } .ml-0 { margin-left: 0px; } .ml-auto { margin-left: auto; } .contents { display: contents; } .flex { display: flex; } .inline-flex { display: inline-flex; } .h-8 { height: calc(var(--spacing) * 8); } .w-8 { width: calc(var(--spacing) * 8); } .animate-spin { animation: var(--animate-spin); } .flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .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: var(--radius-lg); } .rounded-md { border-radius: var(--radius-md); } .rounded-none { border-radius: 0; } .rounded-tl-md { border-top-left-radius: var(--radius-md); } .rounded-tl-none { border-top-left-radius: 0; } .rounded-tr-md { border-top-right-radius: var(--radius-md); } .rounded-tr-none { border-top-right-radius: 0; } .rounded-br-md { border-bottom-right-radius: var(--radius-md); } .rounded-br-none { border-bottom-right-radius: 0; } .rounded-bl-md { border-bottom-left-radius: var(--radius-md); } .rounded-bl-none { border-bottom-left-radius: 0; } .border { border-style: var(--tw-border-style); border-width: 1px; } .border-r-0 { border-right-style: var(--tw-border-style); border-right-width: 0px; } .border-b-0 { border-bottom-style: var(--tw-border-style); border-bottom-width: 0px; } .border-l-0 { border-left-style: var(--tw-border-style); border-left-width: 0px; } .border-none { --tw-border-style: none; border-style: none; } .border-solid { --tw-border-style: solid; border-style: solid; } .border-blue-400 { border-color: var(--color-blue-400); } .border-clrs-navy { border-color: var(--clrs-navy, #001f3f); } .border-gray-300 { border-color: var(--color-gray-300); } .border-gray-600 { border-color: var(--color-gray-600); } .border-green-600 { border-color: var(--color-green-600); } .border-yellow-600 { border-color: var(--color-yellow-600); } .bg-blue-200 { background-color: var(--color-blue-200); } .bg-clrs-navy { background-color: var(--clrs-navy, #001f3f); } .bg-clrs-red { background-color: var(--clrs-red, #ff4136); } .bg-clrs-yellow { background-color: var(--clrs-yellow, #ffdc00); } .bg-gray-300 { background-color: var(--color-gray-300); } .bg-green-200 { background-color: var(--color-green-200); } .bg-yellow-300 { background-color: var(--color-yellow-300); } .p-4 { padding: calc(var(--spacing) * 4); } .text-center { text-align: center; } .text-right { text-align: right; } .align-middle { vertical-align: middle; } .align-top { vertical-align: top; } .font-sans { font-family: var(--font-sans); } .text-6xl { font-size: var(--text-6xl); line-height: var(--tw-leading, var(--text-6xl--line-height)); } .text-lg { font-size: var(--text-lg); line-height: var(--tw-leading, var(--text-lg--line-height)); } .text-sm { font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); } .text-xl { font-size: var(--text-xl); line-height: var(--tw-leading, var(--text-xl--line-height)); } .text-xs { font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } .font-bold { --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } .font-thin { --tw-font-weight: var(--font-weight-thin); font-weight: var(--font-weight-thin); } .text-clrs-gray { color: var(--clrs-gray, #aaaaaa); } .text-clrs-navy { color: var(--clrs-navy, #001f3f); } .text-clrs-red { color: var(--clrs-red, #ff4136); } .text-clrs-slate4 { color: var(--clrs-slate4, #4e5964); } .text-clrs-white { color: var(--clrs-white, #ffffff); } .text-white { color: var(--color-white); } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .opacity-25 { opacity: 25%; } .opacity-75 { opacity: 75%; } .shadow { --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } @media (hover: hover) { .hover\\:text-clrs-navy:hover { color: var(--clrs-navy, #001f3f); } .hover\\:text-clrs-red:hover { color: var(--clrs-red, #ff4136); } } @media (width >= 48rem) { .md\\:w-auto { width: auto; } } } @layer components { .ds1-main { margin: calc(var(--spacing) * 6); display: flex; flex-direction: column; font-family: var(--font-sans); color: var(--clrs-navy, #001f3f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } } .ikon { height: 96px; width: 96px; } @media (min-width: 500px) { .ikon { height: 144px; width: 144px; } } @media (min-width: 700px) { .ikon { height: 192px; width: 192px; } } @keyframes spin { to { transform: rotate(360deg); } } @layer properties { @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) { *, ::before, ::after, ::backdrop { --tw-border-style: solid; --tw-font-weight: initial; --tw-shadow: 0 0 #0000; --tw-shadow-color: initial; --tw-shadow-alpha: 100%; --tw-inset-shadow: 0 0 #0000; --tw-inset-shadow-color: initial; --tw-inset-shadow-alpha: 100%; --tw-ring-color: initial; --tw-ring-shadow: 0 0 #0000; --tw-inset-ring-color: initial; --tw-inset-ring-shadow: 0 0 #0000; --tw-ring-inset: initial; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; } } } ";export{_ as proto_autos}
1
+ import{S as e,h as t,r}from"./p-DJvMNIW6.js";const o="proto-autos",n=`${o}::data`,a=`${o}::pick`,i=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):void 0},l=(e,t)=>{const r=JSON.stringify(t);localStorage.setItem(e,r)},s=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{e.forEach(((t,r)=>{const o=new Set;t.forEach((e=>{const t=e.deref();var r;t&&(!("isConnected"in(r=t))||r.isConnected)&&o.add(e)})),e.set(r,o)}))})(...t)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,u=(e,t)=>{const r=e.indexOf(t);r>=0&&(e[r]=e[e.length-1],e.length--)};var f=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}();function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var b=function(){function e(){var t=this;h(this,e),this.interceptors=[],this.fetch=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.interceptorWrapper.apply(t,[fetch].concat(r))}}return f(e,[{key:"addInterceptors",value:function(e){var t=this,r=[];return Array.isArray(e)?e.map((function(e){return r.push(t.interceptors.length),t.interceptors.push(e)})):e instanceof Object&&(r.push(this.interceptors.length),this.interceptors.push(e)),this.updateInterceptors(),function(){return t.removeInterceptors(r)}}},{key:"removeInterceptors",value:function(e){var t=this;Array.isArray(e)&&(e.map((function(e){return t.interceptors.splice(e,1)})),this.updateInterceptors())}},{key:"updateInterceptors",value:function(){this.reversedInterceptors=this.interceptors.reduce((function(e,t){return[t].concat(e)}),[])}},{key:"clearInterceptors",value:function(){this.interceptors=[],this.updateInterceptors()}},{key:"interceptorWrapper",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var n=Promise.resolve(r);return this.reversedInterceptors.forEach((function(e){var t=e.request,o=e.requestError;(t||o)&&(n=n.then((function(){return t.apply(void 0,r)}),o))})),n=n.then((function(){return e.apply(void 0,r)})),this.reversedInterceptors.forEach((function(e){var t=e.response,r=e.responseError;(t||r)&&(n=n.then(t,r))})),n}}]),e}(),g=function(){function e(t){var r=t.url,o=t.interceptors,n=t.headers,a=t.onStart,i=t.onEnd,l=t.omitEmptyVariables,s=void 0!==l&&l,c=t.requestOptions,d=void 0===c?{}:c;h(this,e);var u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(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=r,u.omitEmptyVariables=s,u.requestQueueLength=0,u.EnumMap={},u.callbacks={onStart:a,onEnd:i},u.addInterceptors(o),u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,b),f(e,[{key:"query",value:function(e){var t,r=this,o=e.operationName,n=e.query,a=e.variables,i=e.opts,l=void 0===i?{}:i,s=e.requestOptions,c=Object.assign({},this.requestObject,void 0===s?{}:s);return t=this.omitEmptyVariables||l.omitEmptyVariables?this.doOmitEmptyVariables(a):a,c.body=JSON.stringify({operationName:o,query:n,variables:t}),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 t=e.data,o=e.errors;return new Promise((function(e,n){return r.onEnd(),t?Object.keys(t).every((function(e){return!t[e]}))?n(o):e({data:t,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 t=this,r={},o=e.filter((function(e){return!t.EnumMap[e]||(r[e]=t.EnumMap[e],!1)}));if(!o.length)return new Promise((function(e){e({data:r})}));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 }",a=Object.assign({},this.requestObject);return a.body=JSON.stringify({query:n}),this.onStart(),this.fetch(this.url,a).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,a){if(t.onEnd(),!o)return a(n||[{message:"Do not get any data."}]);if(Object.keys(o).every((function(e){return!o[e]}))&&n&&n.length)return a(n);var i=Object.assign(r,o);return Object.keys(o).map((function(e){return t.EnumMap[e]=o[e],e})),e({data:i,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 t=this,r={};return Object.keys(e).map((function(o){var n=e[o];return"string"==typeof n&&0===n.length||null==n||(r[o]=n instanceof Object?t.doOmitEmptyVariables(n):n),o})),r}}]),e}();const v={loading:!1,error:void 0,data:void 0,pick:0,dealer:void 0},{state:m}=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const r=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=r();let n=new Map(Object.entries(o));const a="undefined"!=typeof Proxy,i=a?null:{},l={dispose:[],get:[],set:[],reset:[]},s=new Map,c=()=>{n=new Map(Object.entries(r())),a||v(),l.reset.forEach((e=>e()))},d=e=>(l.get.forEach((t=>t(e))),n.get(e)),f=(e,r)=>{const o=n.get(e);t(r,o,e)&&(n.set(e,r),a||g(e),l.set.forEach((t=>t(e,r,o))))},h=a?new Proxy(o,{get:(e,t)=>d(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,r)=>(f(t,r),!0)}):(v(),i),b=(e,t)=>(l[e].push(t),()=>{u(l[e],t)});function g(e){!a&&i&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:()=>d(e),set(t){f(e,t)}}))}function v(){if(a||!i)return;const e=new Set(n.keys());for(const t of Object.keys(i))e.has(t)||delete i[t];for(const t of e)g(t)}return{state:h,get:d,set:f,on:b,onChange:(e,t)=>{const o=(r,o)=>{r===e&&t(o)},n=()=>{const o=r();t(o[e])},a=b("set",o),i=b("reset",n);return s.set(t,{setHandler:o,resetHandler:n,propName:e}),()=>{a(),i(),s.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(b("set",t.set)),t.get&&e.push(b("get",t.get)),t.reset&&e.push(b("reset",t.reset)),t.dispose&&e.push(b("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{l.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);l.set.forEach((r=>r(e,t,t)))},removeListener:(e,t)=>{const r=s.get(t);r&&r.propName===e&&(u(l.set,r.setHandler),u(l.reset,r.resetHandler),s.delete(t))}}})(v,void 0);return e.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const e=c,t=d,r=new WeakMap,o=new Map;return{dispose:()=>o.clear(),get:e=>{const n=t();n&&((e,t,r,o)=>{let n=t.get(o);n||(n=new WeakRef(o),t.set(o,n));let a=e.get(r);a||(a=new Set,e.set(r,a)),a.add(n)})(o,r,e,n)},set:t=>{const r=o.get(t);if(r){const n=new Set;r.forEach((t=>{const r=t.deref();r&&e(r)&&n.add(t)})),o.set(t,n)}s(o)},reset:()=>{o.forEach((t=>{t.forEach((t=>{const r=t.deref();r&&e(r)}))})),s(o)}}})()),e})(),p=(e=!1)=>{m.loading=e,m.error=void 0,m.pick=0,m.data=void 0,m.dealer=void 0},w=e=>{if(e){const{pick:t}=m;m.dealer=null!=t?e.list[t]:void 0,m.data=e,m.loading=!1}else m.data=void 0,m.loading=!1},y=e=>{const{data:t}=m;t&&void 0!==e?(m.pick=e,m.dealer=t.list[e]):(m.pick=0,m.dealer=void 0)};var x=new g({url:"https://gt-forza.vercel.app/graphql"});const k=()=>{p(!0),l(a,0),x.query({operationName:"Uuid",query:"\n query Uuid($count: Int!) {\n uuid(count: $count)\n }\n",variables:{count:1}}).then((e=>{const t=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:t}}).then((e=>{const r=JSON.parse(JSON.stringify(e.data.solution.data.dealers)),o={id:t,list:r};l(n,o),w(o)}))}))},j=()=>{p();const e=i(n),t=i(a);e?(w(e),t&&y(t)):k()},O=k,S=e=>{l(a,e),y(e)},N=(...e)=>e.filter(Boolean).join(" "),z=e=>{const{value:r}=e,{dealerId:o,name:n,vehicles:a}=r||{},i=a?a.length:0;return t("div",{class:N("flex flex-wrap content-center","mb-4 rounded-lg bg-blue-200 p-4","border border-solid border-blue-400")},t("label",{class:"text-xl font-bold"},n?`${n} `:"",t("sup",null,i||"")),t("label",{class:"ml-auto self-center text-right text-sm"},o||""))},E=/^\#[0-9]*/,I=e=>null!=e.match(E),A=e=>2554===e,C=e=>e>2010,q=e=>{const{vin:r,make:o,model:n,year:a,color:i}=e.value||{};return t("div",{class:N("flex align-middle","mb-1 rounded-lg p-4","border border-solid",A(a)?"border-clrs-navy bg-clrs-navy text-clrs-white":I(n)?"border-yellow-600 bg-yellow-300":C(a)?"border-green-600 bg-green-200":"border-gray-600 bg-gray-300")},t("div",{class:"mr-1.5 flex flex-col"},t("label",{class:"mb-2 text-xs"},r||""),t("label",{class:"text-lg font-bold"},o||""),t("label",{class:"mb-2 text-sm italic"},n||""),t("label",null,a||"",", ",i||""),t("label",null,A(a)?"- exotic... [ Sierra 117 ]":I(n)?"- track only...":"")),t("proto-ikon-loader",{class:"ikon ml-auto self-center",name:o,label:o.toLowerCase()}))},M=e=>{const{list:r}=e,o=r.length;return 0===o?"":t("div",{class:"flex flex-col"},o?r.map((e=>t(q,{value:e}))):"")},T=e=>{const{dealer:r}=e,{vehicles:o}=r||{vehicles:[]},n=o;return r?t("div",{class:"flex flex-col"},t(z,{value:r}),t(M,{list:n})):""},$="eswat2",P=()=>t("a",{class:"absolute right-0 top-0 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":$,target:"blank",title:$},t("proto-ikon-loader",{name:"fingerprint",size:24,label:"eswat2"})),U=()=>t("div",{class:"mb-4 mr-2 mt-2 flex flex-row"},t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.3.5")),J=e=>{const{label:r}=e;return t("h1",{class:N("text-center uppercase text-clrs-red","mb-11 ml-0 mr-0 mt-11","text-6xl font-thin")},r)},D=e=>{const r=e.hex||"currentColor",o=e.label||"loading...",n=e.size||24;return t("svg",{class:N(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"}))},H=()=>{const{loading:e,pick:r,data:o}=m||{},{list:n}=o||{list:[]},a=n.length-1;return e?"":t("div",{class:"flex"},t("div",{class:"refresh hover:text-clrs-red md:w-auto",onClick:()=>O()},t("proto-ikon-loader",{name:"refresh",size:24})),t("div",{class:N("ml-auto inline-flex justify-end","border border-solid border-gray-600","rounded-md")},n.map(((e,o)=>t("button",{class:N("h-8 w-8 border-none font-bold",0==o?"rounded-bl-md rounded-br-none rounded-tl-md rounded-tr-none":o==a?"rounded-bl-none rounded-br-md rounded-tl-none rounded-tr-md":"rounded-none",r==o?"bg-clrs-red text-white":"bg-clrs-yellow text-clrs-navy"),onClick:()=>S(o),title:`${e.name} (${e.vehicles.length})`},o+1)))))},_=class{constructor(e){r(this,e),this.tag="proto-autos"}componentDidLoad(){j()}render(){const{loading:e,dealer:r}=m;return t("main",{key:"eb918bee95389cd4c78c6a7b3134ada507c5a042",id:"app",class:"ds1-main relative"},t(P,{key:"efa617ee04ddd6c58650d1cf4d00f899c3520efa"}),t(J,{key:"6762516c1c9fc2d4490e9343d75f4f09f657fae6",label:"Auto Dealers"}),t(H,{key:"ce1aeeb560729f66726b859d6f9d5a4a410703b1"}),e?t(D,null):t("hr",{class:N("mb-4 ml-0 mr-0 mt-4","border-solid border-gray-300","border-b-0 border-l-0 border-r-0")}),t(T,{key:"63ef8ba16a60533a147c06e126442e9f2481f8fe",dealer:r}),t(U,{key:"00d32c34fcf933386a5e5f920e09f02f95dbfbf1"}))}};_.style=" @layer properties; @layer theme, base, components, utilities; @layer theme { :root, :host { --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --color-yellow-300: oklch(90.5% 0.182 98.111); --color-yellow-600: oklch(68.1% 0.162 75.834); --color-green-200: oklch(92.5% 0.084 155.995); --color-green-600: oklch(62.7% 0.194 149.214); --color-blue-200: oklch(88.2% 0.059 254.128); --color-blue-400: oklch(70.7% 0.165 254.624); --color-gray-300: oklch(87.2% 0.01 258.338); --color-gray-600: oklch(44.6% 0.03 256.802); --color-white: #fff; --spacing: 0.25rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-sm: 0.875rem; --text-sm--line-height: calc(1.25 / 0.875); --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-xl: 1.25rem; --text-xl--line-height: calc(1.75 / 1.25); --text-6xl: 3.75rem; --text-6xl--line-height: 1; --font-weight-thin: 100; --font-weight-bold: 700; --radius-md: 0.375rem; --radius-lg: 0.5rem; --animate-spin: spin 1s linear infinite; } } @layer utilities { .absolute { position: absolute; } .relative { position: relative; } .top-0 { top: 0px; } .right-0 { right: 0px; } .m-6 { margin: calc(var(--spacing) * 6); } .mt-2 { margin-top: calc(var(--spacing) * 2); } .mt-4 { margin-top: calc(var(--spacing) * 4); } .mt-11 { margin-top: calc(var(--spacing) * 11); } .mr-0 { margin-right: 0px; } .mr-1\\.5 { margin-right: calc(var(--spacing) * 1.5); } .mr-2 { margin-right: calc(var(--spacing) * 2); } .mb-1 { margin-bottom: var(--spacing); } .mb-2 { margin-bottom: calc(var(--spacing) * 2); } .mb-4 { margin-bottom: calc(var(--spacing) * 4); } .mb-11 { margin-bottom: calc(var(--spacing) * 11); } .ml-0 { margin-left: 0px; } .ml-auto { margin-left: auto; } .contents { display: contents; } .flex { display: flex; } .inline-flex { display: inline-flex; } .h-8 { height: calc(var(--spacing) * 8); } .w-8 { width: calc(var(--spacing) * 8); } .animate-spin { animation: var(--animate-spin); } .flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .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: var(--radius-lg); } .rounded-md { border-radius: var(--radius-md); } .rounded-none { border-radius: 0; } .rounded-tl-md { border-top-left-radius: var(--radius-md); } .rounded-tl-none { border-top-left-radius: 0; } .rounded-tr-md { border-top-right-radius: var(--radius-md); } .rounded-tr-none { border-top-right-radius: 0; } .rounded-br-md { border-bottom-right-radius: var(--radius-md); } .rounded-br-none { border-bottom-right-radius: 0; } .rounded-bl-md { border-bottom-left-radius: var(--radius-md); } .rounded-bl-none { border-bottom-left-radius: 0; } .border { border-style: var(--tw-border-style); border-width: 1px; } .border-r-0 { border-right-style: var(--tw-border-style); border-right-width: 0px; } .border-b-0 { border-bottom-style: var(--tw-border-style); border-bottom-width: 0px; } .border-l-0 { border-left-style: var(--tw-border-style); border-left-width: 0px; } .border-none { --tw-border-style: none; border-style: none; } .border-solid { --tw-border-style: solid; border-style: solid; } .border-blue-400 { border-color: var(--color-blue-400); } .border-clrs-navy { border-color: var(--clrs-navy, #001f3f); } .border-gray-300 { border-color: var(--color-gray-300); } .border-gray-600 { border-color: var(--color-gray-600); } .border-green-600 { border-color: var(--color-green-600); } .border-yellow-600 { border-color: var(--color-yellow-600); } .bg-blue-200 { background-color: var(--color-blue-200); } .bg-clrs-navy { background-color: var(--clrs-navy, #001f3f); } .bg-clrs-red { background-color: var(--clrs-red, #ff4136); } .bg-clrs-yellow { background-color: var(--clrs-yellow, #ffdc00); } .bg-gray-300 { background-color: var(--color-gray-300); } .bg-green-200 { background-color: var(--color-green-200); } .bg-yellow-300 { background-color: var(--color-yellow-300); } .p-4 { padding: calc(var(--spacing) * 4); } .text-center { text-align: center; } .text-right { text-align: right; } .align-middle { vertical-align: middle; } .align-top { vertical-align: top; } .font-sans { font-family: var(--font-sans); } .text-6xl { font-size: var(--text-6xl); line-height: var(--tw-leading, var(--text-6xl--line-height)); } .text-lg { font-size: var(--text-lg); line-height: var(--tw-leading, var(--text-lg--line-height)); } .text-sm { font-size: var(--text-sm); line-height: var(--tw-leading, var(--text-sm--line-height)); } .text-xl { font-size: var(--text-xl); line-height: var(--tw-leading, var(--text-xl--line-height)); } .text-xs { font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } .font-bold { --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } .font-thin { --tw-font-weight: var(--font-weight-thin); font-weight: var(--font-weight-thin); } .text-clrs-gray { color: var(--clrs-gray, #aaaaaa); } .text-clrs-navy { color: var(--clrs-navy, #001f3f); } .text-clrs-red { color: var(--clrs-red, #ff4136); } .text-clrs-slate4 { color: var(--clrs-slate4, #4e5964); } .text-clrs-white { color: var(--clrs-white, #ffffff); } .text-white { color: var(--color-white); } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .opacity-25 { opacity: 25%; } .opacity-75 { opacity: 75%; } .shadow { --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } @media (hover: hover) { .hover\\:text-clrs-navy:hover { color: var(--clrs-navy, #001f3f); } .hover\\:text-clrs-red:hover { color: var(--clrs-red, #ff4136); } } @media (width >= 48rem) { .md\\:w-auto { width: auto; } } } @layer components { .ds1-main { margin: calc(var(--spacing) * 6); display: flex; flex-direction: column; font-family: var(--font-sans); color: var(--clrs-navy, #001f3f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } } .ikon { height: 96px; width: 96px; } @media (min-width: 500px) { .ikon { height: 144px; width: 144px; } } @media (min-width: 700px) { .ikon { height: 192px; width: 192px; } } @keyframes spin { to { transform: rotate(360deg); } } @layer properties { @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) { *, ::before, ::after, ::backdrop { --tw-border-style: solid; --tw-font-weight: initial; --tw-shadow: 0 0 #0000; --tw-shadow-color: initial; --tw-shadow-alpha: 100%; --tw-inset-shadow: 0 0 #0000; --tw-inset-shadow-color: initial; --tw-inset-shadow-alpha: 100%; --tw-ring-color: initial; --tw-ring-shadow: 0 0 #0000; --tw-inset-ring-color: initial; --tw-inset-ring-shadow: 0 0 #0000; --tw-ring-inset: initial; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; } } } ";export{_ as proto_autos}
@@ -1 +1 @@
1
- import{p as t,B as a,c as n,w as e,N as r,H as o,b as i}from"./p-DJvMNIW6.js";export{s as setNonce}from"./p-DJvMNIW6.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const a=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&a.appendChild(n[s].cloneNode(!0));return a}};(()=>{a.isDev&&!a.isTesting&&n("Running in development mode."),a.cloneNodeFix&&m(o.prototype);const s=a.scriptDataOpts?e.document&&Array.from(e.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,p=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-301954a0",[[1,"proto-autos",{tag:[1]}]]]],s))));
1
+ import{p as t,B as a,c as n,w as e,N as r,H as o,b as i}from"./p-DJvMNIW6.js";export{s as setNonce}from"./p-DJvMNIW6.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const a=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&a.appendChild(n[s].cloneNode(!0));return a}};(()=>{a.isDev&&!a.isTesting&&n("Running in development mode."),a.cloneNodeFix&&m(o.prototype);const s=a.scriptDataOpts?e.document&&Array.from(e.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,p=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-d035d130",[[1,"proto-autos",{tag:[1]}]]]],s))));
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -1,3 +1,3 @@
1
- declare const TW_VERSION = "4.3.4";
1
+ declare const TW_VERSION = "4.3.5";
2
2
  export { TW_VERSION };
3
3
  export default TW_VERSION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-autos-wc",
3
- "version": "0.1.306",
3
+ "version": "0.1.307",
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",
@@ -36,18 +36,18 @@
36
36
  "devDependencies": {
37
37
  "autoprefixer": "10.6.2",
38
38
  "bumpp": "12.3.0",
39
- "concurrently": "10.0.6",
40
- "cspell": "10.4.0",
39
+ "concurrently": "10.0.7",
40
+ "cspell": "10.4.1",
41
41
  "eslint": "10.14.0",
42
42
  "only-allow": "1.2.2",
43
43
  "postcss": "8.5.32",
44
44
  "prettier": "3.9.10",
45
45
  "prettier-plugin-tailwindcss": "0.8.1",
46
- "proto-tailwindcss-clrs": "0.0.575",
47
- "tailwindcss": "4.3.4",
46
+ "proto-tailwindcss-clrs": "0.0.576",
47
+ "tailwindcss": "4.3.5",
48
48
  "typescript": "5.9.3",
49
49
  "workbox-build": "7.4.1",
50
50
  "yoctocolors": "2.2.0"
51
51
  },
52
- "packageManager": "pnpm@12.16.1+sha512.091d1dee7927575661b25dab3c2ae31cafc1c54d6b71ed6a6600cf0c1cb10434a447eae14015f1b23e2e6bedeed79df94a932e2164d2832280dce3fb32f656d1"
52
+ "packageManager": "pnpm@12.18.0"
53
53
  }