@roxyapi/ui 0.3.1 → 0.4.1

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 (165) hide show
  1. package/AGENTS.md +34 -7
  2. package/README.md +145 -26
  3. package/dist/cdn/components/ashtakavarga-grid.js +74 -19
  4. package/dist/cdn/components/ashtakavarga-grid.js.map +2 -2
  5. package/dist/cdn/components/biorhythm-chart.js +18 -4
  6. package/dist/cdn/components/biorhythm-chart.js.map +2 -2
  7. package/dist/cdn/components/choghadiya-grid.js +47 -12
  8. package/dist/cdn/components/choghadiya-grid.js.map +3 -3
  9. package/dist/cdn/components/compatibility-card.js +21 -7
  10. package/dist/cdn/components/compatibility-card.js.map +2 -2
  11. package/dist/cdn/components/dasha-timeline.js +113 -28
  12. package/dist/cdn/components/dasha-timeline.js.map +3 -3
  13. package/dist/cdn/components/data.js +27 -13
  14. package/dist/cdn/components/data.js.map +2 -2
  15. package/dist/cdn/components/divisional-chart.js +225 -118
  16. package/dist/cdn/components/divisional-chart.js.map +4 -4
  17. package/dist/cdn/components/dosha-card.js +18 -4
  18. package/dist/cdn/components/dosha-card.js.map +2 -2
  19. package/dist/cdn/components/endpoint-form.js +25 -11
  20. package/dist/cdn/components/endpoint-form.js.map +2 -2
  21. package/dist/cdn/components/guna-milan.js +20 -6
  22. package/dist/cdn/components/guna-milan.js.map +2 -2
  23. package/dist/cdn/components/hexagram.js +22 -8
  24. package/dist/cdn/components/hexagram.js.map +2 -2
  25. package/dist/cdn/components/horoscope-card.js +20 -6
  26. package/dist/cdn/components/horoscope-card.js.map +2 -2
  27. package/dist/cdn/components/kp-chart.js +19 -5
  28. package/dist/cdn/components/kp-chart.js.map +2 -2
  29. package/dist/cdn/components/kp-planets-table.js +17 -3
  30. package/dist/cdn/components/kp-planets-table.js.map +2 -2
  31. package/dist/cdn/components/kp-ruling-planets.js +17 -3
  32. package/dist/cdn/components/kp-ruling-planets.js.map +2 -2
  33. package/dist/cdn/components/location-search.js +18 -4
  34. package/dist/cdn/components/location-search.js.map +2 -2
  35. package/dist/cdn/components/moon-phase.js +27 -13
  36. package/dist/cdn/components/moon-phase.js.map +2 -2
  37. package/dist/cdn/components/nakshatra-card.js +16 -2
  38. package/dist/cdn/components/nakshatra-card.js.map +2 -2
  39. package/dist/cdn/components/natal-chart.js +79 -40
  40. package/dist/cdn/components/natal-chart.js.map +3 -3
  41. package/dist/cdn/components/numerology-card.js +18 -4
  42. package/dist/cdn/components/numerology-card.js.map +2 -2
  43. package/dist/cdn/components/panchang-table.js +53 -25
  44. package/dist/cdn/components/panchang-table.js.map +3 -3
  45. package/dist/cdn/components/shadbala-table.js +24 -10
  46. package/dist/cdn/components/shadbala-table.js.map +2 -2
  47. package/dist/cdn/components/synastry-chart.js +96 -48
  48. package/dist/cdn/components/synastry-chart.js.map +3 -3
  49. package/dist/cdn/components/tarot-card.js +17 -3
  50. package/dist/cdn/components/tarot-card.js.map +2 -2
  51. package/dist/cdn/components/tarot-spread.js +39 -25
  52. package/dist/cdn/components/tarot-spread.js.map +2 -2
  53. package/dist/cdn/components/transits-table.js +18 -4
  54. package/dist/cdn/components/transits-table.js.map +2 -2
  55. package/dist/cdn/components/vedic-kundli.js +215 -105
  56. package/dist/cdn/components/vedic-kundli.js.map +4 -4
  57. package/dist/cdn/components/vedic-planets-table.js +22 -8
  58. package/dist/cdn/components/vedic-planets-table.js.map +2 -2
  59. package/dist/cdn/components/western-planets-table.js +18 -4
  60. package/dist/cdn/components/western-planets-table.js.map +2 -2
  61. package/dist/cdn/components/yoga-list.js +17 -3
  62. package/dist/cdn/components/yoga-list.js.map +2 -2
  63. package/dist/cdn/roxy-ui.js +1082 -816
  64. package/dist/cdn/roxy-ui.js.map +4 -4
  65. package/dist/components/ashtakavarga-grid.d.ts +13 -1
  66. package/dist/components/ashtakavarga-grid.d.ts.map +1 -1
  67. package/dist/components/ashtakavarga-grid.js +86 -11
  68. package/dist/components/ashtakavarga-grid.js.map +2 -2
  69. package/dist/components/biorhythm-chart.js +14 -0
  70. package/dist/components/biorhythm-chart.js.map +2 -2
  71. package/dist/components/choghadiya-grid.d.ts +6 -0
  72. package/dist/components/choghadiya-grid.d.ts.map +1 -1
  73. package/dist/components/choghadiya-grid.js +50 -2
  74. package/dist/components/choghadiya-grid.js.map +2 -2
  75. package/dist/components/compatibility-card.js +14 -0
  76. package/dist/components/compatibility-card.js.map +2 -2
  77. package/dist/components/dasha-timeline.d.ts +10 -0
  78. package/dist/components/dasha-timeline.d.ts.map +1 -1
  79. package/dist/components/dasha-timeline.js +135 -4
  80. package/dist/components/dasha-timeline.js.map +2 -2
  81. package/dist/components/data.js +14 -0
  82. package/dist/components/data.js.map +2 -2
  83. package/dist/components/divisional-chart.d.ts +9 -6
  84. package/dist/components/divisional-chart.d.ts.map +1 -1
  85. package/dist/components/divisional-chart.js +546 -251
  86. package/dist/components/divisional-chart.js.map +4 -4
  87. package/dist/components/dosha-card.js +14 -0
  88. package/dist/components/dosha-card.js.map +2 -2
  89. package/dist/components/endpoint-form.js +14 -0
  90. package/dist/components/endpoint-form.js.map +2 -2
  91. package/dist/components/guna-milan.js +14 -0
  92. package/dist/components/guna-milan.js.map +2 -2
  93. package/dist/components/hexagram.js +14 -0
  94. package/dist/components/hexagram.js.map +2 -2
  95. package/dist/components/horoscope-card.js +14 -0
  96. package/dist/components/horoscope-card.js.map +2 -2
  97. package/dist/components/kp-chart.js +14 -0
  98. package/dist/components/kp-chart.js.map +2 -2
  99. package/dist/components/kp-planets-table.js +14 -0
  100. package/dist/components/kp-planets-table.js.map +2 -2
  101. package/dist/components/kp-ruling-planets.js +14 -0
  102. package/dist/components/kp-ruling-planets.js.map +2 -2
  103. package/dist/components/location-search.js +14 -0
  104. package/dist/components/location-search.js.map +2 -2
  105. package/dist/components/moon-phase.js +14 -0
  106. package/dist/components/moon-phase.js.map +2 -2
  107. package/dist/components/nakshatra-card.js +14 -0
  108. package/dist/components/nakshatra-card.js.map +2 -2
  109. package/dist/components/natal-chart.d.ts.map +1 -1
  110. package/dist/components/natal-chart.js +76 -6
  111. package/dist/components/natal-chart.js.map +2 -2
  112. package/dist/components/numerology-card.js +14 -0
  113. package/dist/components/numerology-card.js.map +2 -2
  114. package/dist/components/panchang-table.d.ts +1 -0
  115. package/dist/components/panchang-table.d.ts.map +1 -1
  116. package/dist/components/panchang-table.js +37 -1
  117. package/dist/components/panchang-table.js.map +2 -2
  118. package/dist/components/shadbala-table.js +14 -0
  119. package/dist/components/shadbala-table.js.map +2 -2
  120. package/dist/components/synastry-chart.d.ts +6 -0
  121. package/dist/components/synastry-chart.d.ts.map +1 -1
  122. package/dist/components/synastry-chart.js +106 -7
  123. package/dist/components/synastry-chart.js.map +2 -2
  124. package/dist/components/tarot-card.js +14 -0
  125. package/dist/components/tarot-card.js.map +2 -2
  126. package/dist/components/tarot-spread.js +14 -0
  127. package/dist/components/tarot-spread.js.map +2 -2
  128. package/dist/components/transits-table.js +14 -0
  129. package/dist/components/transits-table.js.map +2 -2
  130. package/dist/components/vedic-kundli.d.ts +14 -9
  131. package/dist/components/vedic-kundli.d.ts.map +1 -1
  132. package/dist/components/vedic-kundli.js +537 -245
  133. package/dist/components/vedic-kundli.js.map +4 -4
  134. package/dist/components/vedic-planets-table.js +14 -0
  135. package/dist/components/vedic-planets-table.js.map +2 -2
  136. package/dist/components/western-planets-table.js +14 -0
  137. package/dist/components/western-planets-table.js.map +2 -2
  138. package/dist/components/yoga-list.js +14 -0
  139. package/dist/components/yoga-list.js.map +2 -2
  140. package/dist/index.cjs +1397 -797
  141. package/dist/index.cjs.map +4 -4
  142. package/dist/index.js +1278 -678
  143. package/dist/index.js.map +4 -4
  144. package/dist/manifest.json +23 -23
  145. package/dist/styles/tokens.css +8 -23
  146. package/dist/utils/base-styles.d.ts.map +1 -1
  147. package/dist/utils/kundli-render.d.ts +43 -104
  148. package/dist/utils/kundli-render.d.ts.map +1 -1
  149. package/dist/utils/kundli-styles.d.ts +13 -0
  150. package/dist/utils/kundli-styles.d.ts.map +1 -0
  151. package/dist/version.d.ts +1 -1
  152. package/package.json +1 -1
  153. package/src/components/ashtakavarga-grid.ts +73 -11
  154. package/src/components/choghadiya-grid.ts +37 -2
  155. package/src/components/dasha-timeline.ts +135 -4
  156. package/src/components/divisional-chart.ts +40 -97
  157. package/src/components/natal-chart.ts +89 -6
  158. package/src/components/panchang-table.ts +34 -1
  159. package/src/components/synastry-chart.ts +84 -8
  160. package/src/components/vedic-kundli.ts +35 -95
  161. package/src/styles/tokens.css +8 -23
  162. package/src/utils/base-styles.ts +14 -0
  163. package/src/utils/kundli-render.ts +609 -270
  164. package/src/utils/kundli-styles.ts +124 -0
  165. package/src/version.ts +1 -1
@@ -1,6 +1,6 @@
1
- "use strict";var RoxyUI_synastry_chart=(()=>{var q=Object.defineProperty;var dt=Object.getOwnPropertyDescriptor;var Ht=Object.getOwnPropertyNames;var zt=Object.prototype.hasOwnProperty;var It=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},qt=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Ht(t))!zt.call(n,s)&&s!==e&&q(n,s,{get:()=>t[s],enumerable:!(r=dt(t,s))||r.enumerable});return n};var Dt=n=>qt(q({},"__esModule",{value:!0}),n),Y=(n,t,e,r)=>{for(var s=r>1?void 0:r?dt(t,e):t,o=n.length-1,i;o>=0;o--)(i=n[o])&&(s=(r?i(t,e,s):i(s))||s);return r&&s&&q(t,e,s),s};var oe={};It(oe,{RoxySynastryChart:()=>E});var D=globalThis,j=D.ShadowRoot&&(D.ShadyCSS===void 0||D.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,K=Symbol(),ut=new WeakMap,R=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==K)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(j&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=ut.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&ut.set(e,t))}return t}toString(){return this.cssText}},mt=n=>new R(typeof n=="string"?n:n+"",void 0,K),N=(n,...t)=>{let e=n.length===1?n[0]:t.reduce((r,s,o)=>r+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[o+1],n[0]);return new R(e,n,K)},gt=(n,t)=>{if(j)n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),s=D.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=e.cssText,n.appendChild(r)}},J=j?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return mt(e)})(n):n;var{is:jt,defineProperty:Bt,getOwnPropertyDescriptor:Gt,getOwnPropertyNames:Vt,getOwnPropertySymbols:Wt,getPrototypeOf:Ft}=Object,B=globalThis,ft=B.trustedTypes,Yt=ft?ft.emptyScript:"",Kt=B.reactiveElementPolyfillSupport,M=(n,t)=>n,T={toAttribute(n,t){switch(t){case Boolean:n=n?Yt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},G=(n,t)=>!jt(n,t),yt={attribute:!0,type:String,converter:T,reflect:!1,useDefault:!1,hasChanged:G};Symbol.metadata??=Symbol("metadata"),B.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(t,r,e);s!==void 0&&Bt(this.prototype,t,s)}}static getPropertyDescriptor(t,e,r){let{get:s,set:o}=Gt(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:s,set(i){let l=s?.call(this);o?.call(this,i),this.requestUpdate(t,l,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??yt}static _$Ei(){if(this.hasOwnProperty(M("elementProperties")))return;let t=Ft(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(M("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(M("properties"))){let e=this.properties,r=[...Vt(e),...Wt(e)];for(let s of r)this.createProperty(s,e[s])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,s]of e)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let s=this._$Eu(e,r);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let s of r)e.unshift(J(s))}else t!==void 0&&e.push(J(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ET(t,e){let r=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,r);if(s!==void 0&&r.reflect===!0){let o=(r.converter?.toAttribute!==void 0?r.converter:T).toAttribute(e,r.type);this._$Em=t,o==null?this.removeAttribute(s):this.setAttribute(s,o),this._$Em=null}}_$AK(t,e){let r=this.constructor,s=r._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let o=r.getPropertyOptions(s),i=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:T;this._$Em=s;let l=i.fromAttribute(e,o.type);this[s]=l??this._$Ej?.get(s)??l,this._$Em=null}}requestUpdate(t,e,r,s=!1,o){if(t!==void 0){let i=this.constructor;if(s===!1&&(o=this[t]),r??=i.getPropertyOptions(t),!((r.hasChanged??G)(o,e)||r.useDefault&&r.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,r))))return;this.C(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:r,reflect:s,wrapped:o},i){r&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),o!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),s===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,o]of this._$Ep)this[s]=o;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[s,o]of r){let{wrapped:i}=o,l=this[s];i!==!0||this._$AL.has(s)||l===void 0||this.C(s,void 0,o,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(r=>r.hostUpdate?.()),this.update(e)):this._$EM()}catch(r){throw t=!1,this._$EM(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[M("elementProperties")]=new Map,$[M("finalized")]=new Map,Kt?.({ReactiveElement:$}),(B.reactiveElementVersions??=[]).push("2.1.2");var st=globalThis,$t=n=>n,V=st.trustedTypes,xt=V?V.createPolicy("lit-html",{createHTML:n=>n}):void 0,wt="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,Et="?"+x,Jt=`<${Et}>`,A=document,L=()=>A.createComment(""),O=n=>n===null||typeof n!="object"&&typeof n!="function",nt=Array.isArray,Zt=n=>nt(n)||typeof n?.[Symbol.iterator]=="function",Z=`[
2
- \f\r]`,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,vt=/>/g,v=RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_t=/'/g,At=/"/g,Pt=/^(?:script|style|textarea|title)$/i,ot=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),u=ot(1),z=ot(2),pe=ot(3),S=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),St=new WeakMap,_=A.createTreeWalker(A,129);function Ct(n,t){if(!nt(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return xt!==void 0?xt.createHTML(t):t}var Qt=(n,t)=>{let e=n.length-1,r=[],s,o=t===2?"<svg>":t===3?"<math>":"",i=k;for(let l=0;l<e;l++){let a=n[l],p,d,c=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===k?d[1]==="!--"?i=bt:d[1]!==void 0?i=vt:d[2]!==void 0?(Pt.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=v):d[3]!==void 0&&(i=v):i===v?d[0]===">"?(i=s??k,c=-1):d[1]===void 0?c=-2:(c=i.lastIndex-d[2].length,p=d[1],i=d[3]===void 0?v:d[3]==='"'?At:_t):i===At||i===_t?i=v:i===bt||i===vt?i=k:(i=v,s=void 0);let f=i===v&&n[l+1].startsWith("/>")?" ":"";o+=i===k?a+Jt:c>=0?(r.push(p),a.slice(0,c)+wt+a.slice(c)+x+f):a+x+(c===-2?l:f)}return[Ct(n,o+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},U=class n{constructor({strings:t,_$litType$:e},r){let s;this.parts=[];let o=0,i=0,l=t.length-1,a=this.parts,[p,d]=Qt(t,e);if(this.el=n.createElement(p,r),_.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(s=_.nextNode())!==null&&a.length<l;){if(s.nodeType===1){if(s.hasAttributes())for(let c of s.getAttributeNames())if(c.endsWith(wt)){let m=d[i++],f=s.getAttribute(c).split(x),y=/([.?@])?(.*)/.exec(m);a.push({type:1,index:o,name:y[2],strings:f,ctor:y[1]==="."?X:y[1]==="?"?tt:y[1]==="@"?et:C}),s.removeAttribute(c)}else c.startsWith(x)&&(a.push({type:6,index:o}),s.removeAttribute(c));if(Pt.test(s.tagName)){let c=s.textContent.split(x),m=c.length-1;if(m>0){s.textContent=V?V.emptyScript:"";for(let f=0;f<m;f++)s.append(c[f],L()),_.nextNode(),a.push({type:2,index:++o});s.append(c[m],L())}}}else if(s.nodeType===8)if(s.data===Et)a.push({type:2,index:o});else{let c=-1;for(;(c=s.data.indexOf(x,c+1))!==-1;)a.push({type:7,index:o}),c+=x.length-1}o++}}static createElement(t,e){let r=A.createElement("template");return r.innerHTML=t,r}};function P(n,t,e=n,r){if(t===S)return t;let s=r!==void 0?e._$Co?.[r]:e._$Cl,o=O(t)?void 0:t._$litDirective$;return s?.constructor!==o&&(s?._$AO?.(!1),o===void 0?s=void 0:(s=new o(n),s._$AT(n,e,r)),r!==void 0?(e._$Co??=[])[r]=s:e._$Cl=s),s!==void 0&&(t=P(n,s._$AS(n,t.values),s,r)),t}var Q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:r}=this._$AD,s=(t?.creationScope??A).importNode(e,!0);_.currentNode=s;let o=_.nextNode(),i=0,l=0,a=r[0];for(;a!==void 0;){if(i===a.index){let p;a.type===2?p=new H(o,o.nextSibling,this,t):a.type===1?p=new a.ctor(o,a.name,a.strings,this,t):a.type===6&&(p=new rt(o,this,t)),this._$AV.push(p),a=r[++l]}i!==a?.index&&(o=_.nextNode(),i++)}return _.currentNode=A,s}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},H=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,s){this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=P(this,t,e),O(t)?t===h||t==null||t===""?(this._$AH!==h&&this._$AR(),this._$AH=h):t!==this._$AH&&t!==S&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Zt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==h&&O(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:r}=t,s=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=U.createElement(Ct(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===s)this._$AH.p(e);else{let o=new Q(s,this),i=o.u(this.options);o.p(e),this.T(i),this._$AH=o}}_$AC(t){let e=St.get(t.strings);return e===void 0&&St.set(t.strings,e=new U(t)),e}k(t){nt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,s=0;for(let o of t)s===e.length?e.push(r=new n(this.O(L()),this.O(L()),this,this.options)):r=e[s],r._$AI(o),s++;s<e.length&&(this._$AR(r&&r._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let r=$t(t).nextSibling;$t(t).remove(),t=r}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},C=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,s,o){this.type=1,this._$AH=h,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=h}_$AI(t,e=this,r,s){let o=this.strings,i=!1;if(o===void 0)t=P(this,t,e,0),i=!O(t)||t!==this._$AH&&t!==S,i&&(this._$AH=t);else{let l=t,a,p;for(t=o[0],a=0;a<o.length-1;a++)p=P(this,l[r+a],e,a),p===S&&(p=this._$AH[a]),i||=!O(p)||p!==this._$AH[a],p===h?t=h:t!==h&&(t+=(p??"")+o[a+1]),this._$AH[a]=p}i&&!s&&this.j(t)}j(t){t===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},X=class extends C{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===h?void 0:t}},tt=class extends C{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==h)}},et=class extends C{constructor(t,e,r,s,o){super(t,e,r,s,o),this.type=5}_$AI(t,e=this){if((t=P(this,t,e,0)??h)===S)return;let r=this._$AH,s=t===h&&r!==h||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==h&&(r===h||s);s&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}};var Xt=st.litHtmlPolyfillSupport;Xt?.(U,H),(st.litHtmlVersions??=[]).push("3.3.2");var Rt=(n,t,e)=>{let r=e?.renderBefore??t,s=r._$litPart$;if(s===void 0){let o=e?.renderBefore??null;r._$litPart$=s=new H(t.insertBefore(L(),o),o,void 0,e??{})}return s._$AI(n),s};var it=globalThis,b=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Rt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return S}};b._$litElement$=!0,b.finalized=!0,it.litElementHydrateSupport?.({LitElement:b});var te=it.litElementPolyfillSupport;te?.({LitElement:b});(it.litElementVersions??=[]).push("4.2.2");var Nt=n=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(n,t)}):customElements.define(n,t)};var ee={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:G},re=(n=ee,t,e)=>{let{kind:r,metadata:s}=e,o=globalThis.litPropertyMetadata.get(s);if(o===void 0&&globalThis.litPropertyMetadata.set(s,o=new Map),r==="setter"&&((n=Object.create(n)).wrapped=!0),o.set(e.name,n),r==="accessor"){let{name:i}=e;return{set(l){let a=t.get.call(this);t.set.call(this,l),this.requestUpdate(i,a,n,!0,l)},init(l){return l!==void 0&&this.C(i,void 0,n,l),l}}}if(r==="setter"){let{name:i}=e;return function(l){let a=this[i];t.call(this,l),this.requestUpdate(i,a,n,!0,l)}}throw Error("Unsupported decorator location: "+r)};function at(n){return(t,e)=>typeof e=="object"?re(n,t,e):((r,s,o)=>{let i=s.hasOwnProperty(o);return s.constructor.createProperty(o,r),i?Object.getOwnPropertyDescriptor(s,o):void 0})(n,t,e)}var Mt={Sun:"\u2609",Moon:"\u263D",Mercury:"\u263F",Venus:"\u2640",Earth:"\u2641",Mars:"\u2642",Jupiter:"\u2643",Saturn:"\u2644",Uranus:"\u2645",Neptune:"\u2646",Pluto:"\u2647",Rahu:"\u260A",Ketu:"\u260B",Ascendant:"Asc",Lagna:"La",NorthNode:"\u260A",SouthNode:"\u260B","North node":"\u260A","South node":"\u260B",Chiron:"\u26B7",Lilith:"\u26B8","Black moon lilith":"\u26B8"};var Tt={Aries:"\u2648",Taurus:"\u2649",Gemini:"\u264A",Cancer:"\u264B",Leo:"\u264C",Virgo:"\u264D",Libra:"\u264E",Scorpio:"\u264F",Sagittarius:"\u2650",Capricorn:"\u2651",Aquarius:"\u2652",Pisces:"\u2653"};var lt=["Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn","Aquarius","Pisces"],Ze=lt.map(n=>n.toLowerCase());var kt=N`
1
+ "use strict";var RoxyUI_synastry_chart=(()=>{var q=Object.defineProperty;var mt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var jt=Object.prototype.hasOwnProperty;var qt=(n,t)=>{for(var e in t)q(n,e,{get:t[e],enumerable:!0})},Dt=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of It(t))!jt.call(n,s)&&s!==e&&q(n,s,{get:()=>t[s],enumerable:!(r=mt(t,s))||r.enumerable});return n};var Bt=n=>Dt(q({},"__esModule",{value:!0}),n),K=(n,t,e,r)=>{for(var s=r>1?void 0:r?mt(t,e):t,o=n.length-1,i;o>=0;o--)(i=n[o])&&(s=(r?i(t,e,s):i(s))||s);return r&&s&&q(t,e,s),s};var le={};qt(le,{RoxySynastryChart:()=>P});var D=globalThis,B=D.ShadowRoot&&(D.ShadyCSS===void 0||D.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,J=Symbol(),gt=new WeakMap,T=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==J)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(B&&t===void 0){let r=e!==void 0&&e.length===1;r&&(t=gt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&gt.set(e,t))}return t}toString(){return this.cssText}},ft=n=>new T(typeof n=="string"?n:n+"",void 0,J),k=(n,...t)=>{let e=n.length===1?n[0]:t.reduce((r,s,o)=>r+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[o+1],n[0]);return new T(e,n,J)},yt=(n,t)=>{if(B)n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let r=document.createElement("style"),s=D.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=e.cssText,n.appendChild(r)}},Z=B?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(let r of t.cssRules)e+=r.cssText;return ft(e)})(n):n;var{is:Gt,defineProperty:Vt,getOwnPropertyDescriptor:Ft,getOwnPropertyNames:Wt,getOwnPropertySymbols:Yt,getPrototypeOf:Kt}=Object,G=globalThis,$t=G.trustedTypes,Jt=$t?$t.emptyScript:"",Zt=G.reactiveElementPolyfillSupport,L=(n,t)=>n,O={toAttribute(n,t){switch(t){case Boolean:n=n?Jt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},V=(n,t)=>!Gt(n,t),xt={attribute:!0,type:String,converter:O,reflect:!1,useDefault:!1,hasChanged:V};Symbol.metadata??=Symbol("metadata"),G.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(t,r,e);s!==void 0&&Vt(this.prototype,t,s)}}static getPropertyDescriptor(t,e,r){let{get:s,set:o}=Ft(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:s,set(i){let l=s?.call(this);o?.call(this,i),this.requestUpdate(t,l,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??xt}static _$Ei(){if(this.hasOwnProperty(L("elementProperties")))return;let t=Kt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(L("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(L("properties"))){let e=this.properties,r=[...Wt(e),...Yt(e)];for(let s of r)this.createProperty(s,e[s])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[r,s]of e)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[e,r]of this.elementProperties){let s=this._$Eu(e,r);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let r=new Set(t.flat(1/0).reverse());for(let s of r)e.unshift(Z(s))}else t!==void 0&&e.push(Z(t));return e}static _$Eu(t,e){let r=e.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return yt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ET(t,e){let r=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,r);if(s!==void 0&&r.reflect===!0){let o=(r.converter?.toAttribute!==void 0?r.converter:O).toAttribute(e,r.type);this._$Em=t,o==null?this.removeAttribute(s):this.setAttribute(s,o),this._$Em=null}}_$AK(t,e){let r=this.constructor,s=r._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let o=r.getPropertyOptions(s),i=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:O;this._$Em=s;let l=i.fromAttribute(e,o.type);this[s]=l??this._$Ej?.get(s)??l,this._$Em=null}}requestUpdate(t,e,r,s=!1,o){if(t!==void 0){let i=this.constructor;if(s===!1&&(o=this[t]),r??=i.getPropertyOptions(t),!((r.hasChanged??V)(o,e)||r.useDefault&&r.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,r))))return;this.C(t,e,r)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:r,reflect:s,wrapped:o},i){r&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),o!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),s===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,o]of this._$Ep)this[s]=o;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[s,o]of r){let{wrapped:i}=o,l=this[s];i!==!0||this._$AL.has(s)||l===void 0||this.C(s,void 0,o,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(r=>r.hostUpdate?.()),this.update(e)):this._$EM()}catch(r){throw t=!1,this._$EM(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[L("elementProperties")]=new Map,x[L("finalized")]=new Map,Zt?.({ReactiveElement:x}),(G.reactiveElementVersions??=[]).push("2.1.2");var nt=globalThis,bt=n=>n,F=nt.trustedTypes,vt=F?F.createPolicy("lit-html",{createHTML:n=>n}):void 0,Pt="$lit$",b=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+b,Qt=`<${Ct}>`,S=document,H=()=>S.createComment(""),z=n=>n===null||typeof n!="object"&&typeof n!="function",ot=Array.isArray,Xt=n=>ot(n)||typeof n?.[Symbol.iterator]=="function",Q=`[
2
+ \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_t=/-->/g,At=/>/g,_=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),St=/'/g,wt=/"/g,Rt=/^(?:script|style|textarea|title)$/i,it=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}),g=it(1),E=it(2),me=it(3),w=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Et=new WeakMap,A=S.createTreeWalker(S,129);function Nt(n,t){if(!ot(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return vt!==void 0?vt.createHTML(t):t}var te=(n,t)=>{let e=n.length-1,r=[],s,o=t===2?"<svg>":t===3?"<math>":"",i=U;for(let l=0;l<e;l++){let a=n[l],h,p,c=-1,u=0;for(;u<a.length&&(i.lastIndex=u,p=i.exec(a),p!==null);)u=i.lastIndex,i===U?p[1]==="!--"?i=_t:p[1]!==void 0?i=At:p[2]!==void 0?(Rt.test(p[2])&&(s=RegExp("</"+p[2],"g")),i=_):p[3]!==void 0&&(i=_):i===_?p[0]===">"?(i=s??U,c=-1):p[1]===void 0?c=-2:(c=i.lastIndex-p[2].length,h=p[1],i=p[3]===void 0?_:p[3]==='"'?wt:St):i===wt||i===St?i=_:i===_t||i===At?i=U:(i=_,s=void 0);let f=i===_&&n[l+1].startsWith("/>")?" ":"";o+=i===U?a+Qt:c>=0?(r.push(h),a.slice(0,c)+Pt+a.slice(c)+b+f):a+b+(c===-2?l:f)}return[Nt(n,o+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),r]},I=class n{constructor({strings:t,_$litType$:e},r){let s;this.parts=[];let o=0,i=0,l=t.length-1,a=this.parts,[h,p]=te(t,e);if(this.el=n.createElement(h,r),A.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(s=A.nextNode())!==null&&a.length<l;){if(s.nodeType===1){if(s.hasAttributes())for(let c of s.getAttributeNames())if(c.endsWith(Pt)){let u=p[i++],f=s.getAttribute(c).split(b),y=/([.?@])?(.*)/.exec(u);a.push({type:1,index:o,name:y[2],strings:f,ctor:y[1]==="."?tt:y[1]==="?"?et:y[1]==="@"?rt:R}),s.removeAttribute(c)}else c.startsWith(b)&&(a.push({type:6,index:o}),s.removeAttribute(c));if(Rt.test(s.tagName)){let c=s.textContent.split(b),u=c.length-1;if(u>0){s.textContent=F?F.emptyScript:"";for(let f=0;f<u;f++)s.append(c[f],H()),A.nextNode(),a.push({type:2,index:++o});s.append(c[u],H())}}}else if(s.nodeType===8)if(s.data===Ct)a.push({type:2,index:o});else{let c=-1;for(;(c=s.data.indexOf(b,c+1))!==-1;)a.push({type:7,index:o}),c+=b.length-1}o++}}static createElement(t,e){let r=S.createElement("template");return r.innerHTML=t,r}};function C(n,t,e=n,r){if(t===w)return t;let s=r!==void 0?e._$Co?.[r]:e._$Cl,o=z(t)?void 0:t._$litDirective$;return s?.constructor!==o&&(s?._$AO?.(!1),o===void 0?s=void 0:(s=new o(n),s._$AT(n,e,r)),r!==void 0?(e._$Co??=[])[r]=s:e._$Cl=s),s!==void 0&&(t=C(n,s._$AS(n,t.values),s,r)),t}var X=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:r}=this._$AD,s=(t?.creationScope??S).importNode(e,!0);A.currentNode=s;let o=A.nextNode(),i=0,l=0,a=r[0];for(;a!==void 0;){if(i===a.index){let h;a.type===2?h=new j(o,o.nextSibling,this,t):a.type===1?h=new a.ctor(o,a.name,a.strings,this,t):a.type===6&&(h=new st(o,this,t)),this._$AV.push(h),a=r[++l]}i!==a?.index&&(o=A.nextNode(),i++)}return A.currentNode=S,s}p(t){let e=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}},j=class n{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,s){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),z(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==w&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Xt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:r}=t,s=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=I.createElement(Nt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===s)this._$AH.p(e);else{let o=new X(s,this),i=o.u(this.options);o.p(e),this.T(i),this._$AH=o}}_$AC(t){let e=Et.get(t.strings);return e===void 0&&Et.set(t.strings,e=new I(t)),e}k(t){ot(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,r,s=0;for(let o of t)s===e.length?e.push(r=new n(this.O(H()),this.O(H()),this,this.options)):r=e[s],r._$AI(o),s++;s<e.length&&(this._$AR(r&&r._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let r=bt(t).nextSibling;bt(t).remove(),t=r}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},R=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,s,o){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=d}_$AI(t,e=this,r,s){let o=this.strings,i=!1;if(o===void 0)t=C(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==w,i&&(this._$AH=t);else{let l=t,a,h;for(t=o[0],a=0;a<o.length-1;a++)h=C(this,l[r+a],e,a),h===w&&(h=this._$AH[a]),i||=!z(h)||h!==this._$AH[a],h===d?t=d:t!==d&&(t+=(h??"")+o[a+1]),this._$AH[a]=h}i&&!s&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},et=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends R{constructor(t,e,r,s,o){super(t,e,r,s,o),this.type=5}_$AI(t,e=this){if((t=C(this,t,e,0)??d)===w)return;let r=this._$AH,s=t===d&&r!==d||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,o=t!==d&&(r===d||s);s&&this.element.removeEventListener(this.name,this,r),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},st=class{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}};var ee=nt.litHtmlPolyfillSupport;ee?.(I,j),(nt.litHtmlVersions??=[]).push("3.3.2");var Mt=(n,t,e)=>{let r=e?.renderBefore??t,s=r._$litPart$;if(s===void 0){let o=e?.renderBefore??null;r._$litPart$=s=new j(t.insertBefore(H(),o),o,void 0,e??{})}return s._$AI(n),s};var at=globalThis,v=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Mt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return w}};v._$litElement$=!0,v.finalized=!0,at.litElementHydrateSupport?.({LitElement:v});var re=at.litElementPolyfillSupport;re?.({LitElement:v});(at.litElementVersions??=[]).push("4.2.2");var Tt=n=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(n,t)}):customElements.define(n,t)};var se={attribute:!0,type:String,converter:O,reflect:!1,hasChanged:V},ne=(n=se,t,e)=>{let{kind:r,metadata:s}=e,o=globalThis.litPropertyMetadata.get(s);if(o===void 0&&globalThis.litPropertyMetadata.set(s,o=new Map),r==="setter"&&((n=Object.create(n)).wrapped=!0),o.set(e.name,n),r==="accessor"){let{name:i}=e;return{set(l){let a=t.get.call(this);t.set.call(this,l),this.requestUpdate(i,a,n,!0,l)},init(l){return l!==void 0&&this.C(i,void 0,n,l),l}}}if(r==="setter"){let{name:i}=e;return function(l){let a=this[i];t.call(this,l),this.requestUpdate(i,a,n,!0,l)}}throw Error("Unsupported decorator location: "+r)};function lt(n){return(t,e)=>typeof e=="object"?ne(n,t,e):((r,s,o)=>{let i=s.hasOwnProperty(o);return s.constructor.createProperty(o,r),i?Object.getOwnPropertyDescriptor(s,o):void 0})(n,t,e)}var kt={Sun:"\u2609",Moon:"\u263D",Mercury:"\u263F",Venus:"\u2640",Earth:"\u2641",Mars:"\u2642",Jupiter:"\u2643",Saturn:"\u2644",Uranus:"\u2645",Neptune:"\u2646",Pluto:"\u2647",Rahu:"\u260A",Ketu:"\u260B",Ascendant:"Asc",Lagna:"La",NorthNode:"\u260A",SouthNode:"\u260B","North node":"\u260A","South node":"\u260B",Chiron:"\u26B7",Lilith:"\u26B8","Black moon lilith":"\u26B8"};var Lt={Aries:"\u2648",Taurus:"\u2649",Gemini:"\u264A",Cancer:"\u264B",Leo:"\u264C",Virgo:"\u264D",Libra:"\u264E",Scorpio:"\u264F",Sagittarius:"\u2650",Capricorn:"\u2651",Aquarius:"\u2652",Pisces:"\u2653"};var N=["Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn","Aquarius","Pisces"],tr=N.map(n=>n.toLowerCase());var Ot=k`
4
4
  :host {
5
5
  display: block;
6
6
  container-type: inline-size;
@@ -82,46 +82,61 @@
82
82
  outline: 2px solid var(--roxy-ring, rgba(245, 158, 11, 0.4));
83
83
  outline-offset: 2px;
84
84
  }
85
- `;function w(n,t,e,r){let s=r*Math.PI/180;return{x:n+e*Math.cos(s),y:t+e*Math.sin(s)}}function ct(n,t=1){return typeof n!="number"||!Number.isFinite(n)?"":n.toFixed(t).replace(/\.?0+$/,"")}var Lt={conjunction:"aspect-conjunction",sextile:"aspect-sextile",square:"aspect-square",trine:"aspect-trine",opposition:"aspect-opposition"};function ht(n){return(n.type??"").toLowerCase().replace(/_/g,"-")}function F(n){return n?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():""}var pt=360,g=pt/2,Ot=170,se=154,Ut=124,I=96,E=class extends b{constructor(){super(...arguments);this.data=null}render(){if(!this.data)return u`<div class="roxy-empty" role="status">No synastry data</div>`;let{person1:e,person2:r,compatibilityScore:s,analysis:o}=this.data,i=this.data.interAspects??[],l=e?.planets??[],a=r?.planets??[],p=typeof s=="number"?Math.round(s):void 0,d=o?.overall,c=o?.strengths??[],m=o?.challenges??[];return l.length>0&&a.length>0?u`<div
85
+
86
+ /* Force the text-style variant on every Unicode glyph in the component.
87
+ * macOS and iOS substitute coloured emoji glyphs for the planetary and
88
+ * gender Unicode code points (Mars, Venus, Mercury, etc.) when the
89
+ * system colour-emoji font wins font selection. The text-style variant
90
+ * keeps glyphs monochrome so they inherit the surrounding fill colour
91
+ * and match the brand palette consistently across platforms.
92
+ *
93
+ * font-variant-emoji is part of CSS Fonts 4 (Safari 17+, Chrome 134+,
94
+ * Firefox 139+). On older browsers the rule is silently ignored.
95
+ */
96
+ :host {
97
+ font-variant-emoji: text;
98
+ }
99
+ `;function oe(n){let t=n%360;return t<0?t+360:t}function Ut(n){let t=oe(n),e=Math.floor(t/30)%12,r=t%30,s=Math.floor(r),o=(r-s)*60,i=Math.floor(o),l=Math.round((o-i)*60);return{sign:N[e]??"Aries",signIndex:e,degree:s,minute:i,second:l}}function $(n,t,e,r){let s=r*Math.PI/180;return{x:n+e*Math.cos(s),y:t+e*Math.sin(s)}}function ct(n,t=1){return typeof n!="number"||!Number.isFinite(n)?"":n.toFixed(t).replace(/\.?0+$/,"")}var Ht={conjunction:"aspect-conjunction",sextile:"aspect-sextile",square:"aspect-square",trine:"aspect-trine",opposition:"aspect-opposition"};function ht(n){return(n.type??"").toLowerCase().replace(/_/g,"-")}function Y(n){return n?n.charAt(0).toUpperCase()+n.slice(1).toLowerCase():""}var ut=360,m=ut/2,dt=170,ie=154,pt=124,M=96,P=class extends v{constructor(){super(...arguments);this.data=null}render(){if(!this.data)return g`<div class="roxy-empty" role="status">No synastry data</div>`;let{person1:e,person2:r,compatibilityScore:s,analysis:o}=this.data,i=this.data.interAspects??[],l=e?.planets??[],a=r?.planets??[],h=typeof s=="number"?Math.round(s):void 0,p=o?.overall,c=o?.strengths??[],u=o?.challenges??[];return l.length>0&&a.length>0?g`<div
86
100
  class="wrap"
87
101
  aria-label="Synastry compatibility chart"
88
102
  >
89
103
  <div class="head">
90
104
  <h2 class="title">Synastry</h2>
91
- ${typeof p=="number"?u`<span class="score" aria-label=${`Score ${p} of 100`}
92
- >${p} / 100</span
93
- >`:h}
105
+ ${typeof h=="number"?g`<span class="score" aria-label=${`Score ${h} of 100`}
106
+ >${h} / 100</span
107
+ >`:d}
94
108
  </div>
95
109
  <svg
96
- viewBox="0 0 ${pt} ${pt}"
110
+ viewBox="0 0 ${ut} ${ut}"
97
111
  role="img"
98
112
  aria-label="Dual chart wheel comparing two natal charts"
99
113
  >
100
114
  <title>Synastry dual wheel</title>
101
115
  <circle
102
116
  class="wheel-line"
103
- cx=${g}
104
- cy=${g}
105
- r=${Ot}
117
+ cx=${m}
118
+ cy=${m}
119
+ r=${dt}
106
120
  stroke-width="1.5"
107
121
  />
108
122
  <circle
109
123
  class="wheel-line"
110
- cx=${g}
111
- cy=${g}
112
- r=${I+14}
124
+ cx=${m}
125
+ cy=${m}
126
+ r=${M+14}
113
127
  stroke-width="0.8"
114
128
  />
115
129
  <circle
116
130
  class="wheel-line"
117
- cx=${g}
118
- cy=${g}
119
- r=${I-14}
131
+ cx=${m}
132
+ cy=${m}
133
+ r=${M-14}
120
134
  stroke-width="0.6"
121
135
  />
122
136
  ${this.renderSpokes()} ${this.renderSigns()}
123
137
  ${this.renderInterAspectLines(l,a,i)}
124
- ${this.renderRing(l,Ut,"p1")} ${this.renderRing(a,I,"p2")}
138
+ ${this.renderRing(l,pt,"p1",1)} ${this.renderRing(a,M,"p2",2)}
139
+ ${this.renderAscendants(this.data)}
125
140
  </svg>
126
141
  <div class="legend-row">
127
142
  <span><span class="swatch" style="background: var(--roxy-accent)"></span>Person 1</span>
@@ -129,31 +144,31 @@
129
144
  <span><span class="swatch" style="background: var(--roxy-success)"></span>harmonious</span>
130
145
  <span><span class="swatch" style="background: var(--roxy-danger)"></span>challenging</span>
131
146
  </div>
132
- ${d?u`<p class="summary">${d}</p>`:h}
133
- ${i.length>0?this.renderAspects(i):h}
134
- ${c.length>0||m.length>0?u`<div class="lists">
135
- ${c.length?u`<div>
147
+ ${p?g`<p class="summary">${p}</p>`:d}
148
+ ${i.length>0?this.renderAspects(i):d}
149
+ ${c.length>0||u.length>0?g`<div class="lists">
150
+ ${c.length?g`<div>
136
151
  <h3>Strengths</h3>
137
152
  <ul>
138
- ${c.map(y=>u`<li>${y}</li>`)}
153
+ ${c.map(y=>g`<li>${y}</li>`)}
139
154
  </ul>
140
- </div>`:h}
141
- ${m.length?u`<div>
155
+ </div>`:d}
156
+ ${u.length?g`<div>
142
157
  <h3>Challenges</h3>
143
158
  <ul>
144
- ${m.map(y=>u`<li>${y}</li>`)}
159
+ ${u.map(y=>g`<li>${y}</li>`)}
145
160
  </ul>
146
- </div>`:h}
147
- </div>`:h}
148
- </div>`:u`<div
161
+ </div>`:d}
162
+ </div>`:d}
163
+ </div>`:g`<div
149
164
  class="wrap"
150
165
  aria-label="Synastry compatibility chart"
151
166
  >
152
167
  <div class="head">
153
168
  <h2 class="title">Synastry</h2>
154
- ${typeof p=="number"?u`<span class="score" aria-label=${`Score ${p} of 100`}
155
- >${p} / 100</span
156
- >`:h}
169
+ ${typeof h=="number"?g`<span class="score" aria-label=${`Score ${h} of 100`}
170
+ >${h} / 100</span
171
+ >`:d}
157
172
  </div>
158
173
  <div class="missing-planets" role="status">
159
174
  Synastry response missing planet positions. Pass
@@ -161,23 +176,29 @@
161
176
  <code>person2.planets</code> arrays from the natal-chart endpoint, or
162
177
  use the <code>&lt;roxy-data&gt;</code> fallback.
163
178
  </div>
164
- ${d?u`<p class="summary">${d}</p>`:h}
165
- ${i.length>0?this.renderAspects(i):h}
166
- ${c.length>0||m.length>0?u`<div class="lists">
167
- ${c.length?u`<div>
179
+ ${p?g`<p class="summary">${p}</p>`:d}
180
+ ${i.length>0?this.renderAspects(i):d}
181
+ ${c.length>0||u.length>0?g`<div class="lists">
182
+ ${c.length?g`<div>
168
183
  <h3>Strengths</h3>
169
184
  <ul>
170
- ${c.map(y=>u`<li>${y}</li>`)}
185
+ ${c.map(y=>g`<li>${y}</li>`)}
171
186
  </ul>
172
- </div>`:h}
173
- ${m.length?u`<div>
187
+ </div>`:d}
188
+ ${u.length?g`<div>
174
189
  <h3>Challenges</h3>
175
190
  <ul>
176
- ${m.map(y=>u`<li>${y}</li>`)}
191
+ ${u.map(y=>g`<li>${y}</li>`)}
177
192
  </ul>
178
- </div>`:h}
179
- </div>`:h}
180
- </div>`}toAngle(e){return 180-e}renderSpokes(){return Array.from({length:12},(e,r)=>{let s=this.toAngle(r*30),o=w(g,g,I-14,s),i=w(g,g,Ot,s);return z`<line class="wheel-line" x1=${o.x} y1=${o.y} x2=${i.x} y2=${i.y} stroke-width="0.6" />`})}renderSigns(){return lt.map((e,r)=>{let s=this.toAngle(r*30+15),o=w(g,g,se,s);return z`<text class="sign" x=${o.x} y=${o.y} text-anchor="middle" dominant-baseline="central">${Tt[e]}</text>`})}renderRing(e,r,s){return e.map(o=>{if(!Number.isFinite(o.longitude))return h;let i=w(g,g,r,this.toAngle(o.longitude)),l=Mt[F(o.name)]??o.name.slice(0,2);return z`<text class=${s} x=${i.x} y=${i.y} text-anchor="middle" dominant-baseline="central"><title>${o.name}</title>${l}</text>`})}renderInterAspectLines(e,r,s){let o=(i,l)=>{let a=F(l);for(let p of i)if(F(p.name)===a&&typeof p.longitude=="number")return p.longitude};return s.map(i=>{let l=o(e,i.planet1),a=o(r,i.planet2);if(l===void 0||a===void 0)return h;let p=w(g,g,Ut-12,this.toAngle(l)),d=w(g,g,I+8,this.toAngle(a)),c=ht(i),m=Lt[c]??"aspect-other",f=ct(i.orb,1);return z`<line class=${`aspect ${m}`} x1=${p.x} y1=${p.y} x2=${d.x} y2=${d.y}><title>${i.planet1} ${c} ${i.planet2}${f?` (orb ${f}\xB0)`:""}</title></line>`})}renderAspects(e){return u`<table>
193
+ </div>`:d}
194
+ </div>`:d}
195
+ </div>`}toAngle(e){return 180-e}renderSpokes(){return Array.from({length:12},(e,r)=>{let s=this.toAngle(r*30),o=$(m,m,M-14,s),i=$(m,m,dt,s);return E`<line class="wheel-line" x1=${o.x} y1=${o.y} x2=${i.x} y2=${i.y} stroke-width="0.6" />`})}renderSigns(){return N.map((e,r)=>{let s=this.toAngle(r*30+15),o=$(m,m,ie,s);return E`<text class="sign" x=${o.x} y=${o.y} text-anchor="middle" dominant-baseline="central">${Lt[e]}</text>`})}renderRing(e,r,s,o){return e.map(i=>{if(!Number.isFinite(i.longitude))return d;let l=this.toAngle(i.longitude),a=$(m,m,r,l),p=$(m,m,r+(o===1?-12:-10),l),c=kt[Y(i.name)]??i.name.slice(0,2),u=Ut(i.longitude),f=i.isRetrograde===!0,y=`${u.degree}\xB0${String(u.minute).padStart(2,"0")}'`,zt=`${i.name}${f?" retrograde":""} - ${y} ${u.sign}`;return E`<g>
196
+ <text class=${s} x=${a.x} y=${a.y} text-anchor="middle" dominant-baseline="central"><title>${zt}</title>${c}<tspan class="person-tag" dy="-0.55em" dx="0.15em">${o}</tspan></text>
197
+ <text class="planet-deg" x=${p.x} y=${p.y} text-anchor="middle" dominant-baseline="central">${u.degree}°${f?E`<tspan class="retro"> ℞</tspan>`:d}</text>
198
+ </g>`})}renderAscendants(e){let r=[],s=(o,i)=>{if(!o)return;let l=N.findIndex(f=>f.toLowerCase()===o.sign.toLowerCase());if(l===-1)return;let a=l*30+o.degree,h=this.toAngle(a),p=i===1?pt+14:M+14,c=$(m,m,p,h),u=$(m,m,dt+14,h);r.push(E`<g>
199
+ <line class="asc-tick" x1=${c.x} y1=${c.y} x2=${u.x} y2=${u.y} />
200
+ <text class="asc-label" x=${u.x} y=${u.y} text-anchor="middle" dominant-baseline="central">Asc${i}</text>
201
+ </g>`)};return s(e.person1?.ascendant,1),s(e.person2?.ascendant,2),r}renderInterAspectLines(e,r,s){let o=(i,l)=>{let a=Y(l);for(let h of i)if(Y(h.name)===a&&typeof h.longitude=="number")return h.longitude};return s.map(i=>{let l=o(e,i.planet1),a=o(r,i.planet2);if(l===void 0||a===void 0)return d;let h=$(m,m,pt-12,this.toAngle(l)),p=$(m,m,M+8,this.toAngle(a)),c=ht(i),u=Ht[c]??"aspect-other",f=ct(i.orb,1);return E`<line class=${`aspect ${u}`} x1=${h.x} y1=${h.y} x2=${p.x} y2=${p.y}><title>${i.planet1} ${c} ${i.planet2}${f?` (orb ${f}\xB0)`:""}</title></line>`})}renderAspects(e){return g`<table>
181
202
  <thead>
182
203
  <tr>
183
204
  <th>Planet 1</th>
@@ -188,15 +209,15 @@
188
209
  </tr>
189
210
  </thead>
190
211
  <tbody>
191
- ${e.slice(0,12).map(r=>u`<tr>
212
+ ${e.slice(0,12).map(r=>g`<tr>
192
213
  <td>${r.planet1}</td>
193
214
  <td>${r.planet2}</td>
194
215
  <td>${ht(r)||""}</td>
195
216
  <td class="orb">${ct(r.orb,1)}</td>
196
- <td>${ne(r.strength)}</td>
217
+ <td>${ae(r.strength)}</td>
197
218
  </tr>`)}
198
219
  </tbody>
199
- </table>`}};E.styles=[kt,N`
220
+ </table>`}};P.styles=[Ot,k`
200
221
  .wrap {
201
222
  display: grid;
202
223
  gap: var(--roxy-space-md, 1rem);
@@ -226,7 +247,9 @@
226
247
  svg {
227
248
  display: block;
228
249
  width: 100%;
229
- max-width: 400px;
250
+ max-width: 560px;
251
+ aspect-ratio: 1 / 1;
252
+ height: auto;
230
253
  margin: 0 auto;
231
254
  }
232
255
 
@@ -248,6 +271,31 @@
248
271
  font-weight: 600;
249
272
  font-size: 13px;
250
273
  }
274
+ .person-tag {
275
+ font-size: 7px;
276
+ font-weight: 700;
277
+ opacity: 0.85;
278
+ }
279
+ .planet-deg {
280
+ fill: var(--roxy-muted, #71717a);
281
+ font-size: 7px;
282
+ font-family: var(--roxy-font-sans);
283
+ }
284
+ .planet-deg .retro {
285
+ fill: var(--roxy-danger, #dc2626);
286
+ }
287
+ .asc-tick {
288
+ stroke: var(--roxy-accent-fg, #b45309);
289
+ stroke-width: 1;
290
+ opacity: 0.75;
291
+ }
292
+ .asc-label {
293
+ fill: var(--roxy-accent-fg, #b45309);
294
+ font-size: 9px;
295
+ font-weight: 700;
296
+ font-family: var(--roxy-font-sans);
297
+ letter-spacing: 0.04em;
298
+ }
251
299
  .aspect {
252
300
  stroke-width: 0.8;
253
301
  fill: none;
@@ -348,7 +396,7 @@
348
396
  padding: 0 4px;
349
397
  border-radius: 4px;
350
398
  }
351
- `],Y([at({attribute:!1})],E.prototype,"data",2),E=Y([Nt("roxy-synastry-chart")],E);function ne(n){return typeof n=="number"?Math.round(n).toString():""}return Dt(oe);})();
399
+ `],K([lt({attribute:!1})],P.prototype,"data",2),P=K([Tt("roxy-synastry-chart")],P);function ae(n){return typeof n=="number"?Math.round(n).toString():""}return Bt(le);})();
352
400
  /*! Bundled license information:
353
401
 
354
402
  @lit/reactive-element/css-tag.js: