analog-clock-components 0.1.369 → 0.1.370

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.
Files changed (38) hide show
  1. package/dist/analog-clock/analog-clock.esm.js +1 -2
  2. package/dist/analog-clock/index.esm.js +0 -2
  3. package/dist/analog-clock/p-70e2f846.entry.js +1 -0
  4. package/dist/analog-clock/p-d5ea3495.js +2 -3
  5. package/dist/cjs/analog-clock.cjs.entry.js +0 -2
  6. package/dist/cjs/analog-clock.cjs.js +0 -2
  7. package/dist/cjs/index-f043ca97.js +0 -2
  8. package/dist/cjs/index.cjs.js +0 -2
  9. package/dist/cjs/loader.cjs.js +0 -2
  10. package/dist/collection/components/analog-clock/analog-clock.js +0 -1
  11. package/dist/collection/index.js +0 -1
  12. package/dist/components/analog-clock.js +0 -2
  13. package/dist/components/index.js +0 -2
  14. package/dist/esm/analog-clock.entry.js +0 -2
  15. package/dist/esm/analog-clock.js +0 -2
  16. package/dist/esm/index-ea114e78.js +0 -2
  17. package/dist/esm/index.js +0 -2
  18. package/dist/esm/loader.js +0 -2
  19. package/package.json +1 -1
  20. package/dist/analog-clock/analog-clock.esm.js.map +0 -1
  21. package/dist/analog-clock/index.esm.js.map +0 -1
  22. package/dist/analog-clock/p-2690ab1a.entry.js +0 -2
  23. package/dist/analog-clock/p-2690ab1a.entry.js.map +0 -1
  24. package/dist/analog-clock/p-d5ea3495.js.map +0 -1
  25. package/dist/cjs/analog-clock.cjs.entry.js.map +0 -1
  26. package/dist/cjs/analog-clock.cjs.js.map +0 -1
  27. package/dist/cjs/index-f043ca97.js.map +0 -1
  28. package/dist/cjs/index.cjs.js.map +0 -1
  29. package/dist/cjs/loader.cjs.js.map +0 -1
  30. package/dist/collection/components/analog-clock/analog-clock.js.map +0 -1
  31. package/dist/collection/index.js.map +0 -1
  32. package/dist/components/analog-clock.js.map +0 -1
  33. package/dist/components/index.js.map +0 -1
  34. package/dist/esm/analog-clock.entry.js.map +0 -1
  35. package/dist/esm/analog-clock.js.map +0 -1
  36. package/dist/esm/index-ea114e78.js.map +0 -1
  37. package/dist/esm/index.js.map +0 -1
  38. package/dist/esm/loader.js.map +0 -1
@@ -1,2 +1 @@
1
- import{p as e,b as o}from"./p-d5ea3495.js";export{s as setNonce}from"./p-d5ea3495.js";const t=()=>{const o=import.meta.url;const s={};if(o!==""){s.resourcesUrl=new URL(".",o).href}return e(s)};t().then((e=>o([["p-2690ab1a",[[1,"analog-clock",{size:[2],timeZone:[2,"time-zone"],time:[32]}]]]],e)));
2
- //# sourceMappingURL=analog-clock.esm.js.map
1
+ import{p as e,b as o}from"./p-d5ea3495.js";export{s as setNonce}from"./p-d5ea3495.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((e=>o([["p-70e2f846",[[1,"analog-clock",{size:[2],timeZone:[2,"time-zone"],time:[32]}]]]],e)));
@@ -1,2 +0,0 @@
1
-
2
- //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ import{r as t,h as e}from"./p-d5ea3495.js";const r=class{constructor(e){t(this,e),this.size=void 0,this.timeZone=0,this.time=Date.now()}componentDidLoad(){this.timer=window.setInterval((()=>{this.time=Date.now()}),250)}disconnectedCallback(){clearInterval(this.timer)}get hour(){return new Date(this.time).getHours()}get minute(){return new Date(this.time).getMinutes()}get second(){return new Date(this.time).getSeconds()}hourToDegrees(){const t=this.hour+this.timeZone;return Math.floor(this.minute/2)+30*t}minuteToDegrees(){return Math.floor(this.second/10)+6*this.minute}secondToDegrees(){return 6*this.second}render(){return e("svg",{class:"clock",viewBox:"0 0 200 200",width:this.size,height:this.size},e("circle",{id:"circle",cx:"100",cy:"100",r:"95","stroke-width":"10",fill:"transparent"}),e("line",{id:"hour",transform:`rotate(${this.hourToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"60","stroke-width":"10","stroke-linecap":"round"}),e("line",{id:"minute",transform:`rotate(${this.minuteToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"30","stroke-width":"8","stroke-linecap":"round"}),e("line",{id:"second",transform:`rotate(${this.secondToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"20","stroke-width":"2","stroke-linecap":"round"}))}};r.style=".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";export{r as analog_clock}
@@ -1,3 +1,2 @@
1
- const t="analog-clock";let n;let e;let s=false;let o=false;const c=(t,n="")=>{{return()=>{}}};const l=(t,n)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f={};const r="http://www.w3.org/2000/svg";const u="http://www.w3.org/1999/xhtml";const a=t=>t!=null;const d=t=>{t=typeof t;return t==="object"||t==="function"};function h(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const p=(t,n,...e)=>{let s=null;let o=false;let c=false;const l=[];const i=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){i(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!d(s)){s=String(s)}if(o&&c){l[l.length-1].t+=s}else{l.push(o?y(null,s):s)}c=o}}};i(e);if(n){{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}const f=y(t,null);f.o=n;if(l.length>0){f.l=l}return f};const y=(t,n)=>{const e={i:0,u:t,t:n,h:null,l:null};{e.o=null}return e};const $={};const m=t=>t&&t.u===$;const w=(t,n)=>{if(t!=null&&!d(t)){if(n&2){return parseFloat(t)}return t}return t};const b=(t,n,e)=>{const s=at.ce(n,e);t.dispatchEvent(s);return s};const g=new WeakMap;const v=(t,n,e)=>{let s=ft.get(t);if(ht&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}ft.set(t,s)};const S=(t,n,e,s)=>{var o;let c=k(n);const l=ft.get(c);t=t.nodeType===11?t:ut;if(l){if(typeof l==="string"){t=t.head||t;let n=g.get(t);let e;if(!n){g.set(t,n=new Set)}if(!n.has(c)){{{e=ut.createElement("style");e.innerHTML=l}const n=(o=at.p)!==null&&o!==void 0?o:h(ut);if(n!=null){e.setAttribute("nonce",n)}t.insertBefore(e,t.querySelector("link"))}if(n){n.add(c)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return c};const j=t=>{const n=t.$;const e=t.m;const s=n.i;const o=c("attachStyles",n.g);const l=S(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=l;e.classList.add(l+"-h")}o()};const k=(t,n)=>"sc-"+t.g;const O=(t,n,e,s,o,c)=>{if(e!==s){let l=ot(t,n);n.toLowerCase();if(n==="class"){const n=t.classList;const o=M(e);const c=M(s);n.remove(...o.filter((t=>t&&!c.includes(t))));n.add(...c.filter((t=>t&&!o.includes(t))))}else{const i=d(s);if((l||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){l=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){{t.removeAttribute(n)}}}else if((!l||c&4||o)&&!i){s=s===true?"":s;{t.setAttribute(n,s)}}}}};const C=/\s/;const M=t=>!t?[]:t.split(C);const x=(t,n,e,s)=>{const o=n.h.nodeType===11&&n.h.host?n.h.host:n.h;const c=t&&t.o||f;const l=n.o||f;{for(s in c){if(!(s in l)){O(o,s,c[s],undefined,e,n.i)}}}for(s in l){O(o,s,c[s],l[s],e,n.i)}};const P=(t,e,o,c)=>{const l=e.l[o];let i=0;let f;let d;{if(!s){s=l.u==="svg"}f=l.h=ut.createElementNS(s?r:u,l.u);if(s&&l.u==="foreignObject"){s=false}{x(null,l,s)}if(a(n)&&f["s-si"]!==n){f.classList.add(f["s-si"]=n)}if(l.l){for(i=0;i<l.l.length;++i){d=P(t,l,i);if(d){f.appendChild(d)}}}{if(l.u==="svg"){s=false}else if(f.tagName==="foreignObject"){s=true}}}return f};const U=(t,n,s,o,c,l)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===e){i=i.shadowRoot}for(;c<=l;++c){if(o[c]){f=P(null,s,c);if(f){o[c].h=f;i.insertBefore(f,n)}}}};const E=(t,n,e,s,o)=>{for(;n<=e;++n){if(s=t[n]){o=s.h;o.remove()}}};const L=(t,n,e,s)=>{let o=0;let c=0;let l=n.length-1;let i=n[0];let f=n[l];let r=s.length-1;let u=s[0];let a=s[r];let d;while(o<=l&&c<=r){if(i==null){i=n[++o]}else if(f==null){f=n[--l]}else if(u==null){u=s[++c]}else if(a==null){a=s[--r]}else if(N(i,u)){T(i,u);i=n[++o];u=s[++c]}else if(N(f,a)){T(f,a);f=n[--l];a=s[--r]}else if(N(i,a)){T(i,a);t.insertBefore(i.h,f.h.nextSibling);i=n[++o];a=s[--r]}else if(N(f,u)){T(f,u);t.insertBefore(f.h,i.h);f=n[--l];u=s[++c]}else{{d=P(n&&n[c],e,c);u=s[++c]}if(d){{i.h.parentNode.insertBefore(d,i.h)}}}}if(o>l){U(t,s[r+1]==null?null:s[r+1].h,e,s,c,r)}else if(c>r){E(n,o,l)}};const N=(t,n)=>{if(t.u===n.u){return true}return false};const T=(t,n)=>{const e=n.h=t.h;const o=t.l;const c=n.l;const l=n.u;{{s=l==="svg"?true:l==="foreignObject"?false:s}{{x(t,n,s)}}if(o!==null&&c!==null){L(e,o,n,c)}else if(c!==null){U(e,null,n,c,0,c.length-1)}else if(o!==null){E(o,0,o.length-1)}if(s&&l==="svg"){s=false}}};const A=(t,s)=>{const o=t.m;const c=t.v||y(null,null);const l=m(s)?s:p(null,null,s);e=o.tagName;l.u=null;l.i|=4;t.v=l;l.h=c.h=o.shadowRoot||o;{n=o["s-sc"]}T(c,l)};const F=(t,n)=>{if(n&&!t.S&&n["s-p"]){n["s-p"].push(new Promise((n=>t.S=n)))}};const R=(t,n)=>{{t.i|=16}if(t.i&4){t.i|=512;return}F(t,t.j);const e=()=>W(t,n);return gt(e)};const W=(t,n)=>{const e=c("scheduleUpdate",t.$.g);const s=t.k;let o;e();return _(o,(()=>q(t,s,n)))};const q=async(t,n,e)=>{const s=t.m;const o=c("update",t.$.g);const l=s["s-rc"];if(e){j(t)}const i=c("render",t.$.g);{D(t,n)}if(l){l.map((t=>t()));s["s-rc"]=undefined}i();o();{const n=s["s-p"];const e=()=>H(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.i|=4;n.length=0}}};const D=(t,n,e)=>{try{n=n.render();{t.i&=~16}{t.i|=2}{{{A(t,n)}}}}catch(n){ct(n,t.m)}return null};const H=t=>{const n=t.$.g;const e=t.m;const s=c("postUpdate",n);const o=t.k;const l=t.j;if(!(t.i&64)){t.i|=64;{z(e)}{V(o,"componentDidLoad")}s();{t.O(e);if(!l){I()}}}else{s()}{if(t.S){t.S();t.S=undefined}if(t.i&512){bt((()=>R(t,false)))}t.i&=~(4|512)}};const I=n=>{{z(ut.documentElement)}bt((()=>b(rt,"appload",{detail:{namespace:t}})))};const V=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){ct(t)}}return undefined};const _=(t,n)=>t&&t.then?t.then(n):n();const z=t=>t.classList.add("hydrated");const B=(t,n)=>nt(t).C.get(n);const G=(t,n,e,s)=>{const o=nt(t);const c=o.C.get(n);const l=o.i;const i=o.k;e=w(e,s.M[n][0]);const f=Number.isNaN(c)&&Number.isNaN(e);const r=e!==c&&!f;if((!(l&8)||c===undefined)&&r){o.C.set(n,e);if(i){if((l&(2|16))===2){R(o,false)}}}};const J=(t,n,e)=>{if(n.M){const s=Object.entries(n.M);const o=t.prototype;s.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(o,t,{get(){return B(this,t)},set(e){G(this,t,e,n)},configurable:true,enumerable:true})}}));if(e&1){const n=new Map;o.attributeChangedCallback=function(t,e,s){at.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(o.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,n])=>n[0]&15)).map((([t,e])=>{const s=e[1]||t;n.set(s,t);return s}))}}return t};const K=async(t,n,e,s,o)=>{if((n.i&32)===0){{n.i|=32;o=it(e);if(o.then){const t=l();o=await o;t()}if(!o.isProxied){J(o,e,2);o.isProxied=true}const t=c("createInstance",e.g);{n.i|=8}try{new o(n)}catch(t){ct(t)}{n.i&=~8}t()}if(o.style){let t=o.style;const n=k(e);if(!ft.has(n)){const s=c("registerStyles",e.g);v(n,t,!!(e.i&1));s()}}}const i=n.j;const f=()=>R(n,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const Q=t=>{if((at.i&1)===0){const n=nt(t);const e=n.$;const s=c("connectedCallback",e.g);if(!(n.i&1)){n.i|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){F(n,n.j=e);break}}}if(e.M){Object.entries(e.M).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{K(t,n,e)}}s()}};const X=t=>{if((at.i&1)===0){const n=nt(t);const e=n.k;{V(e,"disconnectedCallback")}}};const Y=(t,n={})=>{var e;const s=c();const o=[];const l=n.exclude||[];const f=rt.customElements;const r=ut.head;const u=r.querySelector("meta[charset]");const a=ut.createElement("style");const d=[];let p;let y=true;Object.assign(at,n);at.P=new URL(n.resourcesUrl||"./",ut.baseURI).href;t.map((t=>{t[1].map((n=>{const e={i:n[0],g:n[1],M:n[2],U:n[3]};{e.M=n[2]}const s=e.g;const c=class extends HTMLElement{constructor(t){super(t);t=this;st(t,e);if(e.i&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(y){d.push(this)}else{at.jmp((()=>Q(this)))}}disconnectedCallback(){at.jmp((()=>X(this)))}componentOnReady(){return nt(this).L}};e.N=t[0];if(!l.includes(s)&&!f.get(s)){o.push(s);f.define(s,J(c,e,1))}}))}));{a.innerHTML=o+i;a.setAttribute("data-styles","");const t=(e=at.p)!==null&&e!==void 0?e:h(ut);if(t!=null){a.setAttribute("nonce",t)}r.insertBefore(a,u?u.nextSibling:r.firstChild)}y=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{at.jmp((()=>p=setTimeout(I,30)))}}s()};const Z=t=>at.p=t;const tt=new WeakMap;const nt=t=>tt.get(t);const et=(t,n)=>tt.set(n.k=t,n);const st=(t,n)=>{const e={i:0,m:t,$:n,C:new Map};{e.L=new Promise((t=>e.O=t));t["s-p"]=[];t["s-rc"]=[]}return tt.set(t,e)};const ot=(t,n)=>n in t;const ct=(t,n)=>(0,console.error)(t,n);const lt=new Map;const it=(t,n,e)=>{const s=t.g.replace(/-/g,"_");const o=t.N;const c=lt.get(o);if(c){return c[s]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{lt.set(o,t)}return t[s]}),ct)};const ft=new Map;const rt=typeof window!=="undefined"?window:{};const ut=rt.document||{head:{}};const at={i:0,P:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const dt=t=>Promise.resolve(t);const ht=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const pt=[];const yt=[];const $t=(t,n)=>e=>{t.push(e);if(!o){o=true;if(n&&at.i&4){bt(wt)}else{at.raf(wt)}}};const mt=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){ct(t)}}t.length=0};const wt=()=>{mt(pt);{mt(yt);if(o=pt.length>0){at.raf(wt)}}};const bt=t=>dt().then(t);const gt=$t(yt,true);export{Y as b,p as h,dt as p,et as r,Z as s};
3
- //# sourceMappingURL=p-d5ea3495.js.map
1
+ let t,n,e=!1,l=!1;const o={},s=t=>"object"==(t=typeof t)||"function"===t;function c(t){var n,e,l;return null!==(l=null===(e=null===(n=t.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const r=(t,n,...e)=>{let l=null,o=!1,c=!1;const r=[],u=n=>{for(let e=0;e<n.length;e++)l=n[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof t&&!s(l))&&(l+=""),o&&c?r[r.length-1].t+=l:r.push(o?i(null,l):l),c=o)};if(u(e),n){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}const a=i(t,null);return a.l=n,r.length>0&&(a.o=r),a},i=(t,n)=>({i:0,u:t,t:n,h:null,o:null,l:null}),u={},a=new WeakMap,f=t=>"sc-"+t.p,d=(t,n,e,l,o,c)=>{if(e!==l){let r=W(t,n);if(n.toLowerCase(),"class"===n){const n=t.classList,o=p(e),s=p(l);n.remove(...o.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!o.includes(t))))}else{const i=s(l);if((r||i&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[n]=l;else{const o=null==l?"":l;"list"===n?r=!1:null!=e&&t[n]==o||(t[n]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(n)||t.removeAttribute(n):(!r||4&c||o)&&!i&&t.setAttribute(n,l=!0===l?"":l)}}},h=/\s/,p=t=>t?t.split(h):[],$=(t,n,e,l)=>{const s=11===n.h.nodeType&&n.h.host?n.h.host:n.h,c=t&&t.l||o,r=n.l||o;for(l in c)l in r||d(s,l,c[l],void 0,e,n.i);for(l in r)d(s,l,c[l],r[l],e,n.i)},m=(n,l,o)=>{const s=l.o[o];let c,r,i=0;if(e||(e="svg"===s.u),c=s.h=z.createElementNS(e?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),e&&"foreignObject"===s.u&&(e=!1),$(null,s,e),null!=t&&c["s-si"]!==t&&c.classList.add(c["s-si"]=t),s.o)for(i=0;i<s.o.length;++i)r=m(n,s,i),r&&c.appendChild(r);return"svg"===s.u?e=!1:"foreignObject"===c.tagName&&(e=!0),c},y=(t,e,l,o,s,c)=>{let r,i=t;for(i.shadowRoot&&i.tagName===n&&(i=i.shadowRoot);s<=c;++s)o[s]&&(r=m(null,l,s),r&&(o[s].h=r,i.insertBefore(r,e)))},w=(t,n,e,l)=>{for(;n<=e;++n)(l=t[n])&&l.h.remove()},b=(t,n)=>t.u===n.u,v=(t,n)=>{const l=n.h=t.h,o=t.o,s=n.o,c=n.u;e="svg"===c||"foreignObject"!==c&&e,$(t,n,e),null!==o&&null!==s?((t,n,e,l)=>{let o,s=0,c=0,r=n.length-1,i=n[0],u=n[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&c<=a;)null==i?i=n[++s]:null==u?u=n[--r]:null==f?f=l[++c]:null==d?d=l[--a]:b(i,f)?(v(i,f),i=n[++s],f=l[++c]):b(u,d)?(v(u,d),u=n[--r],d=l[--a]):b(i,d)?(v(i,d),t.insertBefore(i.h,u.h.nextSibling),i=n[++s],d=l[--a]):b(u,f)?(v(u,f),t.insertBefore(u.h,i.h),u=n[--r],f=l[++c]):(o=m(n&&n[c],e,c),f=l[++c],o&&i.h.parentNode.insertBefore(o,i.h));s>r?y(t,null==l[a+1]?null:l[a+1].h,e,l,c,a):c>a&&w(n,s,r)})(l,o,n,s):null!==s?y(l,null,n,s,0,s.length-1):null!==o&&w(o,0,o.length-1),e&&"svg"===c&&(e=!1)},g=(t,n)=>{n&&!t.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>t.$=n)))},S=(t,n)=>{if(t.i|=16,!(4&t.i))return g(t,t.m),tt((()=>j(t,n)));t.i|=512},j=(t,n)=>{const e=t.v;return P(void 0,(()=>O(t,e,n)))},O=async(t,n,e)=>{const l=t.g,o=l["s-rc"];e&&(t=>{const n=t.S,e=t.g,l=n.i,o=((t,n)=>{var e;let l=f(n);const o=V.get(l);if(t=11===t.nodeType?t:z,o)if("string"==typeof o){let n,s=a.get(t=t.head||t);if(s||a.set(t,s=new Set),!s.has(l)){{n=z.createElement("style"),n.innerHTML=o;const l=null!==(e=B.j)&&void 0!==e?e:c(z);null!=l&&n.setAttribute("nonce",l),t.insertBefore(n,t.querySelector("link"))}s&&s.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(t);k(t,n),o&&(o.map((t=>t())),l["s-rc"]=void 0);{const n=l["s-p"],e=()=>M(t);0===n.length?e():(Promise.all(n).then(e),t.i|=4,n.length=0)}},k=(e,l)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l)=>{const o=e.g,s=e.O||i(null,null),c=(t=>t&&t.u===u)(l)?l:r(null,null,l);n=o.tagName,c.u=null,c.i|=4,e.O=c,c.h=s.h=o.shadowRoot||o,t=o["s-sc"],v(s,c)})(e,l)}catch(t){q(t,e.g)}return null},M=t=>{const n=t.g,e=t.v,l=t.m;64&t.i||(t.i|=64,E(n),x(e,"componentDidLoad"),t.k(n),l||C()),t.$&&(t.$(),t.$=void 0),512&t.i&&Z((()=>S(t,!1))),t.i&=-517},C=()=>{E(z.documentElement),Z((()=>(t=>{const n=B.ce("appload",{detail:{namespace:"analog-clock"}});return t.dispatchEvent(n),n})(_)))},x=(t,n,e)=>{if(t&&t[n])try{return t[n](e)}catch(t){q(t)}},P=(t,n)=>t&&t.then?t.then(n):n(),E=t=>t.classList.add("hydrated"),L=(t,n,e)=>{if(n.M){const l=Object.entries(n.M),o=t.prototype;if(l.map((([t,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(o,t,{get(){return((t,n)=>F(this).C.get(n))(0,t)},set(e){((t,n,e,l)=>{const o=F(t),c=o.C.get(n),r=o.i,i=o.v;e=((t,n)=>null==t||s(t)?t:2&n?parseFloat(t):t)(e,l.M[n][0]),8&r&&void 0!==c||e===c||Number.isNaN(c)&&Number.isNaN(e)||(o.C.set(n,e),i&&2==(18&r)&&S(o,!1))})(this,t,e,n)},configurable:!0,enumerable:!0})})),1&e){const n=new Map;o.attributeChangedCallback=function(t,e,l){B.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(o.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},t.observedAttributes=l.filter((([t,n])=>15&n[0])).map((([t,e])=>{const l=e[1]||t;return n.set(l,t),l}))}}return t},N=(t,n={})=>{var e;const l=[],o=n.exclude||[],s=_.customElements,r=z.head,i=r.querySelector("meta[charset]"),u=z.createElement("style"),a=[];let d,h=!0;Object.assign(B,n),B.P=new URL(n.resourcesUrl||"./",z.baseURI).href,t.map((t=>{t[1].map((n=>{const e={i:n[0],p:n[1],M:n[2],L:n[3]};e.M=n[2];const c=e.p,r=class extends HTMLElement{constructor(t){super(t),U(t=this,e),1&e.i&&t.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),h?a.push(this):B.jmp((()=>(t=>{if(0==(1&B.i)){const n=F(t),e=n.S,l=()=>{};if(!(1&n.i)){n.i|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){g(n,n.m=e);break}}e.M&&Object.entries(e.M).map((([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e,l,o)=>{if(0==(32&n.i)){{if(n.i|=32,(o=H(e)).then){const t=()=>{};o=await o,t()}o.isProxied||(L(o,e,2),o.isProxied=!0);const t=()=>{};n.i|=8;try{new o(n)}catch(t){q(t)}n.i&=-9,t()}if(o.style){let t=o.style;const n=f(e);if(!V.has(n)){const l=()=>{};((t,n,e)=>{let l=V.get(t);I&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,V.set(t,l)})(n,t,!!(1&e.i)),l()}}}const s=n.m,c=()=>S(n,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,n,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>(()=>{0==(1&B.i)&&x(F(this).v,"disconnectedCallback")})()))}componentOnReady(){return F(this).N}};e.T=t[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,L(r,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const t=null!==(e=B.j)&&void 0!==e?e:c(z);null!=t&&u.setAttribute("nonce",t),r.insertBefore(u,i?i.nextSibling:r.firstChild)}h=!1,a.length?a.map((t=>t.connectedCallback())):B.jmp((()=>d=setTimeout(C,30)))},T=t=>B.j=t,A=new WeakMap,F=t=>A.get(t),R=(t,n)=>A.set(n.v=t,n),U=(t,n)=>{const e={i:0,g:t,S:n,C:new Map};return e.N=new Promise((t=>e.k=t)),t["s-p"]=[],t["s-rc"]=[],A.set(t,e)},W=(t,n)=>n in t,q=(t,n)=>(0,console.error)(t,n),D=new Map,H=t=>{const n=t.p.replace(/-/g,"_"),e=t.T,l=D.get(e);return l?l[n]:import(`./${e}.entry.js`).then((t=>(D.set(e,t),t[n])),q)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,P:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l),ce:(t,n)=>new CustomEvent(t,n)},G=t=>Promise.resolve(t),I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),J=[],K=[],Q=(t,n)=>e=>{t.push(e),l||(l=!0,n&&4&B.i?Z(Y):B.raf(Y))},X=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){q(t)}t.length=0},Y=()=>{X(J),X(K),(l=J.length>0)&&B.raf(Y)},Z=t=>G().then(t),tt=Q(K,!0);export{N as b,r as h,G as p,R as r,T as s}
@@ -47,5 +47,3 @@ const AnalogClock = class {
47
47
  AnalogClock.style = analogClockCss;
48
48
 
49
49
  exports.analog_clock = AnalogClock;
50
-
51
- //# sourceMappingURL=analog-clock.cjs.entry.js.map
@@ -24,5 +24,3 @@ patchBrowser().then(options => {
24
24
  });
25
25
 
26
26
  exports.setNonce = index.setNonce;
27
-
28
- //# sourceMappingURL=analog-clock.cjs.js.map
@@ -1365,5 +1365,3 @@ exports.h = h;
1365
1365
  exports.promiseResolve = promiseResolve;
1366
1366
  exports.registerInstance = registerInstance;
1367
1367
  exports.setNonce = setNonce;
1368
-
1369
- //# sourceMappingURL=index-f043ca97.js.map
@@ -1,4 +1,2 @@
1
1
  'use strict';
2
2
 
3
-
4
- //# sourceMappingURL=index.cjs.js.map
@@ -20,5 +20,3 @@ const defineCustomElements = (win, options) => {
20
20
 
21
21
  exports.setNonce = index.setNonce;
22
22
  exports.defineCustomElements = defineCustomElements;
23
-
24
- //# sourceMappingURL=loader.cjs.js.map
@@ -93,4 +93,3 @@ export class AnalogClock {
93
93
  };
94
94
  }
95
95
  }
96
- //# sourceMappingURL=analog-clock.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=index.js.map
@@ -65,5 +65,3 @@ const AnalogClock = AnalogClock$1;
65
65
  const defineCustomElement = defineCustomElement$1;
66
66
 
67
67
  export { AnalogClock, defineCustomElement };
68
-
69
- //# sourceMappingURL=analog-clock.js.map
@@ -1,3 +1 @@
1
1
  export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
-
3
- //# sourceMappingURL=index.js.map
@@ -43,5 +43,3 @@ const AnalogClock = class {
43
43
  AnalogClock.style = analogClockCss;
44
44
 
45
45
  export { AnalogClock as analog_clock };
46
-
47
- //# sourceMappingURL=analog-clock.entry.js.map
@@ -19,5 +19,3 @@ const patchBrowser = () => {
19
19
  patchBrowser().then(options => {
20
20
  return bootstrapLazy([["analog-clock",[[1,"analog-clock",{"size":[2],"timeZone":[2,"time-zone"],"time":[32]}]]]], options);
21
21
  });
22
-
23
- //# sourceMappingURL=analog-clock.js.map
@@ -1339,5 +1339,3 @@ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1339
1339
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1340
1340
 
1341
1341
  export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
1342
-
1343
- //# sourceMappingURL=index-ea114e78.js.map
package/dist/esm/index.js CHANGED
@@ -1,3 +1 @@
1
1
 
2
-
3
- //# sourceMappingURL=index.js.map
@@ -16,5 +16,3 @@ const defineCustomElements = (win, options) => {
16
16
  };
17
17
 
18
18
  export { defineCustomElements };
19
-
20
- //# sourceMappingURL=loader.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analog-clock-components",
3
- "version": "0.1.369",
3
+ "version": "0.1.370",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- {"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","size","timeZone","time"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.0.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAmBA,MAAMA,EAAe,KAkCjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAiBnE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IAGrD,CAcI,OAAOC,EAAeJ,EAAK,ECrF/BL,IAAeU,MAAKC,GAEXC,EAAc,kCAA8B,CAAAC,KAAS,IAAAC,SAAA,gBAAAC,KAAA,UAAAJ"}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{r as t,h as e}from"./p-d5ea3495.js";const r=".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";const o=class{constructor(e){t(this,e);this.size=undefined;this.timeZone=0;this.time=Date.now()}componentDidLoad(){this.timer=window.setInterval((()=>{this.time=Date.now()}),250)}disconnectedCallback(){clearInterval(this.timer)}get hour(){return new Date(this.time).getHours()}get minute(){return new Date(this.time).getMinutes()}get second(){return new Date(this.time).getSeconds()}hourToDegrees(){const t=this.hour+this.timeZone;return Math.floor(this.minute/2)+t*30}minuteToDegrees(){return Math.floor(this.second/10)+this.minute*6}secondToDegrees(){return this.second*6}render(){return e("svg",{class:"clock",viewBox:"0 0 200 200",width:this.size,height:this.size},e("circle",{id:"circle",cx:"100",cy:"100",r:"95","stroke-width":"10",fill:"transparent"}),e("line",{id:"hour",transform:`rotate(${this.hourToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"60","stroke-width":"10","stroke-linecap":"round"}),e("line",{id:"minute",transform:`rotate(${this.minuteToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"30","stroke-width":"8","stroke-linecap":"round"}),e("line",{id:"second",transform:`rotate(${this.secondToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"20","stroke-width":"2","stroke-linecap":"round"}))}};o.style=r;export{o as analog_clock};
2
- //# sourceMappingURL=p-2690ab1a.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["analogClockCss","AnalogClock","undefined","Date","now","componentDidLoad","this","timer","window","setInterval","time","disconnectedCallback","clearInterval","hour","getHours","minute","getMinutes","second","getSeconds","hourToDegrees","timeZone","Math","floor","minuteToDegrees","secondToDegrees","render","h","class","viewBox","width","size","height","id","cx","cy","r","fill","transform","x1","y1","x2","y2"],"sources":["./src/components/analog-clock/analog-clock.css?tag=analog-clock&encapsulation=shadow","./src/components/analog-clock/analog-clock.tsx"],"sourcesContent":[".clock #circle {\n stroke: var(--clock-circle-color, black);\n}\n.clock #hour {\n stroke: var(--clock-hour-color, black);\n}\n.clock #minute {\n stroke: var(--clock-minute-color, black);\n}\n.clock #second {\n stroke: var(--clock-second-color, black);\n}\n","import { Component, Prop, State, h } from '@stencil/core';\n\n@Component({\n tag: 'analog-clock',\n styleUrl: 'analog-clock.css',\n shadow: true,\n})\nexport class AnalogClock {\n @Prop() size: number = undefined;\n @Prop({ attribute: 'time-zone' }) timeZone: number = 0;\n\n timer: number;\n\n @State() time: number = Date.now();\n\n componentDidLoad() {\n this.timer = window.setInterval(() => {\n this.time = Date.now();\n }, 250);\n }\n\n disconnectedCallback() {\n clearInterval(this.timer);\n }\n\n get hour(): number {\n return new Date(this.time).getHours();\n }\n\n get minute(): number {\n return new Date(this.time).getMinutes();\n }\n\n get second(): number {\n return new Date(this.time).getSeconds();\n }\n\n hourToDegrees(): number {\n const hour = this.hour + this.timeZone;\n return Math.floor(this.minute / 2) + hour * 30;\n }\n\n minuteToDegrees(): number {\n return Math.floor(this.second / 10) + this.minute * 6;\n }\n\n secondToDegrees(): number {\n return this.second * 6;\n }\n\n render() {\n return (\n <svg class=\"clock\" viewBox=\"0 0 200 200\" width={this.size} height={this.size}>\n <circle id=\"circle\" cx=\"100\" cy=\"100\" r=\"95\" stroke-width=\"10\" fill=\"transparent\" />\n <line id=\"hour\" transform={`rotate(${this.hourToDegrees()}, 100, 100)`} x1=\"100\" y1=\"100\" x2=\"100\" y2=\"60\" stroke-width=\"10\" stroke-linecap=\"round\" />\n <line id=\"minute\" transform={`rotate(${this.minuteToDegrees()}, 100, 100)`} x1=\"100\" y1=\"100\" x2=\"100\" y2=\"30\" stroke-width=\"8\" stroke-linecap=\"round\" />\n <line id=\"second\" transform={`rotate(${this.secondToDegrees()}, 100, 100)`} x1=\"100\" y1=\"100\" x2=\"100\" y2=\"20\" stroke-width=\"2\" stroke-linecap=\"round\" />\n </svg>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAiB,2N,MCOVC,EAAW,M,mCACCC,U,cAC8B,E,UAI7BC,KAAKC,K,CAE7BC,mBACEC,KAAKC,MAAQC,OAAOC,aAAY,KAC9BH,KAAKI,KAAOP,KAAKC,KAAK,GACrB,I,CAGLO,uBACEC,cAAcN,KAAKC,M,CAGjBM,WACF,OAAO,IAAIV,KAAKG,KAAKI,MAAMI,U,CAGzBC,aACF,OAAO,IAAIZ,KAAKG,KAAKI,MAAMM,Y,CAGzBC,aACF,OAAO,IAAId,KAAKG,KAAKI,MAAMQ,Y,CAG7BC,gBACE,MAAMN,EAAOP,KAAKO,KAAOP,KAAKc,SAC9B,OAAOC,KAAKC,MAAMhB,KAAKS,OAAS,GAAKF,EAAO,E,CAG9CU,kBACE,OAAOF,KAAKC,MAAMhB,KAAKW,OAAS,IAAMX,KAAKS,OAAS,C,CAGtDS,kBACE,OAAOlB,KAAKW,OAAS,C,CAGvBQ,SACE,OACEC,EAAA,OAAKC,MAAM,QAAQC,QAAQ,cAAcC,MAAOvB,KAAKwB,KAAMC,OAAQzB,KAAKwB,MACtEJ,EAAA,UAAQM,GAAG,SAASC,GAAG,MAAMC,GAAG,MAAMC,EAAE,KAAI,eAAc,KAAKC,KAAK,gBACpEV,EAAA,QAAMM,GAAG,OAAOK,UAAW,UAAU/B,KAAKa,6BAA8BmB,GAAG,MAAMC,GAAG,MAAMC,GAAG,MAAMC,GAAG,KAAI,eAAc,KAAI,iBAAgB,UAC5If,EAAA,QAAMM,GAAG,SAASK,UAAW,UAAU/B,KAAKiB,+BAAgCe,GAAG,MAAMC,GAAG,MAAMC,GAAG,MAAMC,GAAG,KAAI,eAAc,IAAG,iBAAgB,UAC/If,EAAA,QAAMM,GAAG,SAASK,UAAW,UAAU/B,KAAKkB,+BAAgCc,GAAG,MAAMC,GAAG,MAAMC,GAAG,MAAMC,GAAG,KAAI,eAAc,IAAG,iBAAgB,U"}