@pie-players/pie-section-player 0.3.72 → 0.3.74

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 (123) hide show
  1. package/README.md +198 -37
  2. package/dist/browser/assets/evaluation-worker-DkU_wGh3.js +155241 -0
  3. package/dist/browser/chunks/ItemToolBar-wr2myaah-2ce4b643.js +1 -0
  4. package/dist/browser/chunks/PUA-tLuTiQ7--f2b27953.js +1 -0
  5. package/dist/browser/chunks/ToolCoordinator-cc2dc319.js +1 -0
  6. package/dist/browser/chunks/accents-BTUYmhn9-cafeb96e.js +1 -0
  7. package/dist/browser/chunks/accents-b-i-CngHZsLL-e0eb98fd.js +1 -0
  8. package/dist/browser/chunks/arabic-BzEHMVZD-30ac1ade.js +1 -0
  9. package/dist/browser/chunks/arrows-VjxlU-jv-2e17c192.js +1 -0
  10. package/dist/browser/chunks/base-dfd67c41.js +1 -0
  11. package/dist/browser/chunks/braille-BeWC_Ruq-a3bb8ef9.js +1 -0
  12. package/dist/browser/chunks/braille-d-Dk6J96GO-d832bfbf.js +1 -0
  13. package/dist/browser/chunks/browser-a3c32178.js +36 -0
  14. package/dist/browser/chunks/calculator-element-271c142f.js +9 -0
  15. package/dist/browser/chunks/calligraphic-Cew9cU3x-04cf0735.js +1 -0
  16. package/dist/browser/chunks/cherokee-Cny3FYho-4da7d2f3.js +1 -0
  17. package/dist/browser/chunks/classPrivateFieldGet2-338e0179.js +1 -0
  18. package/dist/browser/chunks/custom-element-define-2a92deb0.js +1 -0
  19. package/dist/browser/chunks/cyrillic-CfCDulXU-5550df0b.js +1 -0
  20. package/dist/browser/chunks/cyrillic-ss-lU7bNGG9-12eb0188.js +1 -0
  21. package/dist/browser/chunks/defineProperty-a20a667d.js +1 -0
  22. package/dist/browser/chunks/devanagari-CDIz2h-r-18c38725.js +1 -0
  23. package/dist/browser/chunks/dist-41b39e7f.js +1 -0
  24. package/dist/browser/chunks/dist-59132a53.js +1 -0
  25. package/dist/browser/chunks/dist-60d7afef.js +1 -0
  26. package/dist/browser/chunks/dist-ca9b9622.js +1 -0
  27. package/dist/browser/chunks/double-struck-BpJEQk8y-500ce8dd.js +1 -0
  28. package/dist/browser/chunks/en-5ff22e17.js +1 -0
  29. package/dist/browser/chunks/es-a0ba6cb6.js +1 -0
  30. package/dist/browser/chunks/focus-trap-44913bf3.js +1 -0
  31. package/dist/browser/chunks/fraktur-rLEq9DEH-44cc14d8.js +1 -0
  32. package/dist/browser/chunks/greek-BlraJTyL-90ce8924.js +1 -0
  33. package/dist/browser/chunks/greek-ss-D-EN2PK0-91610739.js +1 -0
  34. package/dist/browser/chunks/hebrew-GiQZeybp-b583f555.js +1 -0
  35. package/dist/browser/chunks/latin-b-BhEnC7R2-d13e06ff.js +1 -0
  36. package/dist/browser/chunks/latin-bi-DqiIKv3U-1dec8705.js +1 -0
  37. package/dist/browser/chunks/latin-i-B1xtwaE1-21637466.js +1 -0
  38. package/dist/browser/chunks/latin-xfWFlLkD-5bcea5cf.js +1 -0
  39. package/dist/browser/chunks/logger-8b07fb72.js +1 -0
  40. package/dist/browser/chunks/marrows-DD1NgMQi-15b63755.js +1 -0
  41. package/dist/browser/chunks/math-DpWn1mbG-38eeb914.js +1 -0
  42. package/dist/browser/chunks/math-rendering-ready-9a0fd90a.js +1 -0
  43. package/dist/browser/chunks/mathjax-D2JHb_R_-64780dc5.js +232 -0
  44. package/dist/browser/chunks/module-0191e321.js +74 -0
  45. package/dist/browser/chunks/module-shim-58659a86.js +0 -0
  46. package/dist/browser/chunks/module-shim-b4470740.js +12 -0
  47. package/dist/browser/chunks/monospace-D116QD2a-98d484fd.js +1 -0
  48. package/dist/browser/chunks/monospace-ex-DcXpouKS-456b403c.js +1 -0
  49. package/dist/browser/chunks/monospace-l-Ct5wkMDs-f34a4a9e.js +1 -0
  50. package/dist/browser/chunks/mshapes-DCp86WSX-c0055952.js +1 -0
  51. package/dist/browser/chunks/nds-icon-button-d602f784.js +194 -0
  52. package/dist/browser/chunks/nl-NL-364d61b9.js +1 -0
  53. package/dist/browser/chunks/nl-NL-8b7e6d4b.js +1 -0
  54. package/dist/browser/chunks/overlay-containment-edaaff13.js +1 -0
  55. package/dist/browser/chunks/overlay-placement-e8058232.js +1 -0
  56. package/dist/browser/chunks/phonetics-BwOCw2Y9-d2e3af59.js +1 -0
  57. package/dist/browser/chunks/phonetics-ss-CRtMn02f-579b6135.js +1 -0
  58. package/dist/browser/chunks/pie-api-client-687c319a.js +1 -0
  59. package/dist/browser/chunks/pie-tool-calculator-cortex-0626bc24.js +9 -0
  60. package/dist/browser/chunks/pie-tool-calculator-geogebra-561236cb.js +9 -0
  61. package/dist/browser/chunks/pointer-gesture-ce75f0a7.js +1 -0
  62. package/dist/browser/chunks/preload-helper-6ad28da3.js +1 -0
  63. package/dist/browser/chunks/provider-4c704118.js +1 -0
  64. package/dist/browser/chunks/rolldown-runtime-1287ba31.js +1 -0
  65. package/dist/browser/chunks/runtime-C7H1jS4E-64772f5e.js +8413 -0
  66. package/dist/browser/chunks/sanitize-svg-icon-b9082bba.js +3 -0
  67. package/dist/browser/chunks/sans-serif-BYPZKlE9-2efdbcd9.js +1 -0
  68. package/dist/browser/chunks/sans-serif-b-B0kRKiC--b5530dce.js +1 -0
  69. package/dist/browser/chunks/sans-serif-bi-DXWul6mu-5370dba4.js +1 -0
  70. package/dist/browser/chunks/sans-serif-ex-Boux1kMP-aa178f31.js +1 -0
  71. package/dist/browser/chunks/sans-serif-i-676RFaSO-2db54474.js +1 -0
  72. package/dist/browser/chunks/sans-serif-r-DrN9xdZt-0fc72eea.js +1 -0
  73. package/dist/browser/chunks/script-0ohehnXc-526904f4.js +1 -0
  74. package/dist/browser/chunks/shapes-BG47NodJ-d59b0eca.js +1 -0
  75. package/dist/browser/chunks/src-BcptuNS5-ed25d7fd.js +191 -0
  76. package/dist/browser/chunks/sre-engine-wf9s43gg-f09289c5.js +53 -0
  77. package/dist/browser/chunks/symbols-BqnUxf_t-83087e87.js +1 -0
  78. package/dist/browser/chunks/symbols-b-i-eg9k5hmF-9c461ac2.js +1 -0
  79. package/dist/browser/chunks/tool-annotation-toolbar-997438b4.js +248 -0
  80. package/dist/browser/chunks/tool-answer-eliminator-35483abd.js +13 -0
  81. package/dist/browser/chunks/tool-color-scheme-b7de5cdf.js +26 -0
  82. package/dist/browser/chunks/tool-dictionary-cecff3b4.js +7 -0
  83. package/dist/browser/chunks/tool-graph-cb0338e8.js +11 -0
  84. package/dist/browser/chunks/tool-host-contract-b93b482c.js +1 -0
  85. package/dist/browser/chunks/tool-line-reader-f8ef3c6a.js +62 -0
  86. package/dist/browser/chunks/tool-periodic-table-43b133b8.js +153 -0
  87. package/dist/browser/chunks/tool-picture-dictionary-33721e91.js +4 -0
  88. package/dist/browser/chunks/tool-protractor-23f77028.js +17 -0
  89. package/dist/browser/chunks/tool-ruler-1d9a03a6.js +15 -0
  90. package/dist/browser/chunks/tool-tts-inline-98c2ce7a.js +179 -0
  91. package/dist/browser/chunks/variants-2LRNhOUP-966fc49d.js +1 -0
  92. package/dist/browser/chunks/versioned-tag-54a76be9.js +1 -0
  93. package/dist/browser/pie-section-player.js +1613 -0
  94. package/dist/browser.d.ts +10 -0
  95. package/dist/chunks/ItemToolBar-wr2myaah-1287ba31.js +28 -0
  96. package/dist/chunks/module-shim-58659a86.js +2129 -0
  97. package/dist/chunks/{nl-NL-9312c316.js → nl-NL-364d61b9.js} +8 -2
  98. package/dist/chunks/sre-engine-wf9s43gg-f09289c5.js +8 -0
  99. package/dist/components/shared/composition.d.ts +0 -1
  100. package/dist/components/shared/layout-host-methods.d.ts +400 -0
  101. package/dist/components/shared/missing-tool-providers.d.ts +16 -0
  102. package/dist/components/shared/player-preload.d.ts +14 -10
  103. package/dist/contracts/host-hooks.d.ts +4 -5
  104. package/dist/contracts/host-hooks.js +0 -0
  105. package/dist/contracts/layout-contract.js +0 -0
  106. package/dist/contracts/layout-parity-metadata.js +87 -0
  107. package/dist/contracts/public-events.d.ts +14 -15
  108. package/dist/contracts/public-events.js +12 -0
  109. package/dist/contracts/runtime-host-contract.js +0 -0
  110. package/dist/controllers/SectionController.d.ts +21 -0
  111. package/dist/controllers/toolkit-section-contracts.d.ts +1 -17
  112. package/dist/controllers/types.d.ts +17 -10
  113. package/dist/pie-section-player.js +19353 -37273
  114. package/dist/policies/index.d.ts +9 -2
  115. package/dist/policies/index.js +25 -0
  116. package/package.json +34 -29
  117. package/dist/chunks/module-a516757f.js +0 -73997
  118. package/dist/chunks/nl-NL-ef6dd604.js +0 -505
  119. package/dist/chunks/pie-api-client-22de9d9c.js +0 -161
  120. package/dist/chunks/rolldown-runtime-1287ba31.js +0 -20
  121. package/dist/chunks/sre-0162a7a9.js +0 -17637
  122. package/dist/contracts/stages.d.ts +0 -10
  123. package/dist/utils/z-index.d.ts +0 -5
@@ -0,0 +1,153 @@
1
+ import{g as rs,n as ls}from"./tool-host-contract-b93b482c.js";import{i as as,r as cs}from"./provider-4c704118.js";if(typeof window<"u"){var Si,$i;((Si=($i=window).__svelte??($i.__svelte={})).v??(Si.v=new Set)).add("5")}var _t={},D=Symbol("uninitialized"),qi=Array.isArray,ps=Array.prototype.indexOf,Ho=Array.prototype.includes,ho=Array.from,no=Object.keys,Wt=Object.defineProperty,ot=Object.getOwnPropertyDescriptor,ds=Object.getOwnPropertyDescriptors,us=Object.prototype,fs=Array.prototype,Vi=Object.getPrototypeOf,zi=Object.isExtensible,ms=()=>{};function ys(e){for(var t=0;t<e.length;t++)e[t]()}function Ui(){var e,t;return{promise:new Promise((o,i)=>{e=o,t=i}),resolve:e,reject:t}}function Nt(e){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nt(e)}function _s(e,t){if(Nt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,t||"default");if(Nt(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hs(e){var t=_s(e,"string");return Nt(t)=="symbol"?t:t+""}function W(e,t,o){return(t=hs(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var pe=1024,xe=2048,lt=4096,oi=8192,gs=16384,ii=32768,Mi=1<<25,ni=65536,wt=1<<19,bs=1<<20,At=1<<25,Ai=1<<21,vs=1<<22,so=1<<23,Ct=Symbol("$state"),Zi=Symbol("component"),Qi=Symbol("legacy props"),ws=Symbol(""),jo=Symbol("attributes"),Oo=Symbol("class"),Do=Symbol("style"),to=Symbol("text"),Gt=new class extends Error{constructor(...e){super(...e),W(this,"name","StaleReactionError"),W(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}},xs=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml");function ks(){console.warn("https://svelte.dev/e/derived_inert")}function go(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ss(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}var A=!1;function Ee(e){A=e}var C;function Y(e){if(e===null)throw go(),_t;return C=e}function bo(){return Y(Te(C))}function P(e){if(A){if(Te(C)!==null)throw go(),_t;C=e}}function $s(e=1){if(A){for(var t=e,o=C;t--;)o=Te(o);C=o}}function ro(e=!0){for(var t=0,o=C;;){if(o.nodeType===8){var i=o.data;if(i==="]"){if(t===0)return o;t-=1}else(i==="["||i==="[!"||i[0]==="["&&!isNaN(Number(i.slice(1))))&&(t+=1)}var n=Te(o);e&&o.remove(),o=n}}function Yi(e){if(!e||e.nodeType!==8)throw go(),_t;return e.data}function en(e){return e===this.v}function zs(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function tn(e){return!zs(e,this.v)}function Ms(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function As(e,t,o){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Cs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ts(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rs(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ws(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ns(){throw new Error("https://svelte.dev/e/hydration_failed")}function Es(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ls(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ps(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bs(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gs(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}var vo=!1,wo=!1,B=null;function ht(e){B=e}function on(e,t=!1,o){B={p:B,i:!1,c:null,e:null,s:e,x:null,r:$,l:wo&&!t?{s:null,u:null,$:[]}:null}}function nn(e){var t=B,o=t.e;if(o!==null){t.e=null;for(var i of o)$n(i)}return e!==void 0&&(t.x=e),t.i=!0,B=t.p,si(e)}function si(e={}){return Wt(e,Zi,{value:!0}),e}function Ht(){return!wo||B!==null&&B.l===null}var Ye=[];function sn(){var e=Ye;Ye=[],ys(e)}function Ie(e){if(Ye.length===0&&!Tt){var t=Ye;queueMicrotask(()=>{t===Ye&&sn()})}Ye.push(e)}function Hs(){for(;Ye.length>0;)sn()}var js=~(xe|lt|pe);function G(e,t){e.f=e.f&js|t}function ri(e){(e.f&512)!==0||e.deps===null?G(e,pe):G(e,lt)}function rn(e,t,o){(e.f&2048)!==0?t.add(e):e.f&4096&&o.add(e),G(e,pe)}function xo(e){var t=z,o=$;ue(null),Ce(null);try{return e()}finally{ue(t),Ce(o)}}function Os(e,t,o,i){const n=Ht()?Et:li;var s=e.filter(f=>!f.settled),l=t.map(n);if(o.length===0&&s.length===0){i(l);return}var a=$,c=Ds(),p=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(f=>f.promise)):null;function d(f){if((a.f&16384)===0){c();try{i([...l,...f])}catch(b){Ae(b,a)}lo()}}var u=ln();if(o.length===0){p.then(()=>d([])).finally(u);return}function m(){Promise.all(o.map(f=>Ks(f))).then(d).catch(f=>Ae(f,a)).finally(u)}p?p.then(()=>{c(),m(),lo()}):m()}function Ds(){var e=$,t=z,o=B,i=S;return function(n=!0){Ce(e),ue(t),ht(o),n&&!(e.f&16384)&&(i?.activate(),i?.apply())}}function lo(e=!0){Ce(null),ue(null),ht(null),e&&S?.deactivate()}function ln(){var e=$,t=e.b,o=S,i=!!t?.is_rendered();return t?.update_pending_count(1,o),o.increment(i,e),()=>{t?.update_pending_count(-1,o),o.decrement(i,e)}}function Et(e){var t=2|xe;return $!==null&&($.f|=wt),{ctx:B,deps:null,effects:null,equals:en,f:t,fn:e,reactions:null,rv:0,v:D,wv:0,parent:$,ac:null}}var $t=Symbol("obsolete");function Ks(e,t,o){let i=$;i===null&&Ms();var n=void 0,s=rt(D),l=!z,a=new Set;return lr(()=>{var c=$,p=Ui();n=p.promise;try{Promise.resolve(e()).then(p.resolve,f=>{f!==Gt&&p.reject(f)}).finally(lo)}catch(f){p.reject(f),lo()}var d=S;if(l){if((c.f&32768)!==0)var u=ln();if(i.b?.is_rendered())d.async_deriveds.get(c)?.reject($t);else for(const f of a.values())f.reject($t);a.add(p),d.async_deriveds.set(c,p)}const m=(f,b=void 0)=>{u?.(),a.delete(p),b!==$t&&(d.activate(),b?(s.f|=so,bt(s,b)):(s.f&8388608&&(s.f^=so),bt(s,f)),d.deactivate())};p.promise.then(m,f=>m(null,f||"unknown"))}),ir(()=>{for(const c of a)c.reject($t)}),new Promise(c=>{function p(d){function u(){d===n?c(s):p(n)}d.then(u,u)}p(n)})}function Ci(e){const t=Et(e);return Rn(t),t}function li(e){const t=Et(e);return t.equals=tn,t}function Xs(e){var t=e.effects;if(t!==null){e.effects=null;for(var o=0;o<t.length;o+=1)ee(t[o])}}function ai(e){var t,o=$,i=e.parent;if(!Pe&&i!==null&&e.v!==D&&(i.f&24576)!==0)return ks(),e.v;Ce(i);try{Xs(e),t=Ln(e)}finally{Ce(o)}return t}function an(e){var t=ai(e);if(!e.equals(t)&&(e.wv=Nn(),(!S?.is_fork||e.deps===null)&&(S!==null?(S.capture(e,t,!0),Xo?.capture(e,t,!0)):e.v=t,e.deps===null))){G(e,pe);return}Pe||(Q!==null?(di()||S?.is_fork)&&Q.set(e,t):ri(e))}function Is(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&xo(()=>{t.ac.abort(Gt),t.ac=null}),t.fn!==null&&(t.teardown=ms),Pt(t,0),mi(t))}function cn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&vt(t)}function pn(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ci(e,t){pn(e,t),t.add(e)}function w(e,t,o){pn(e,t),t.set(e,o)}function k(e,t,o){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}function v(e,t,o){return e.set(k(e,t),o),o}function r(e,t){return e.get(k(e,t))}var dn,Ko=null,pt=null,S=null,Xo=null,Q=null,Io=null,Tt=!1,Mo=!1,Lt=null,ao=null,un=0,Fs=1,Fo=new WeakMap,it=new WeakMap,mt=new WeakMap,co=new WeakMap,Xt=new WeakMap,dt=new WeakMap,Ze=new WeakMap,zt=new WeakMap,$e=new WeakMap,Ti=new WeakMap,gt=new WeakMap,Le=new WeakMap,De=new WeakMap,Ao=new WeakMap,It=new WeakMap,O=new WeakSet,at=class fn{constructor(){ci(this,O),W(this,"id",Fs++),w(this,Fo,!1),W(this,"linked",!0),w(this,it,null),w(this,mt,null),W(this,"async_deriveds",new Map),W(this,"current",new Map),W(this,"previous",new Map),w(this,co,new Set),w(this,Xt,new Set),w(this,dt,0),w(this,Ze,new Map),w(this,zt,null),w(this,$e,[]),w(this,Ti,[]),w(this,gt,new Set),w(this,Le,new Set),w(this,De,new Map),w(this,Ao,new Set),W(this,"is_fork",!1),w(this,It,!1),pt===null?Ko=pt=this:(v(mt,pt,this),v(it,this,pt)),pt=this}skip_effect(t){r(De,this).has(t)||r(De,this).set(t,{d:[],m:[]}),r(Ao,this).delete(t)}unskip_effect(t,o=i=>this.schedule(i)){var i=r(De,this).get(t);if(i){r(De,this).delete(t);for(var n of i.d)G(n,xe),o(n);for(n of i.m)G(n,lt),o(n)}r(Ao,this).add(t)}capture(t,o,i=!1){t.v!==D&&!this.previous.has(t)&&this.previous.set(t,t.v),!(t.f&8388608)&&(this.current.set(t,[o,i]),Q?.set(t,o)),this.is_fork||(t.v=o)}activate(){S=this}deactivate(){S=null,Q=null}flush(){try{Mo=!0,S=this,k(O,this,po).call(this)}finally{un=0,Io=null,Lt=null,ao=null,Mo=!1,S=null,Q=null,Me.clear()}}discard(){for(const t of r(Xt,this))t(this);r(Xt,this).clear();for(const t of this.async_deriveds.values())t.reject($t);k(O,this,uo).call(this),r(zt,this)?.resolve()}register_created_effect(t){r(Ti,this).push(t)}increment(t,o){if(v(dt,this,r(dt,this)+1),t){let i=r(Ze,this).get(o)??0;r(Ze,this).set(o,i+1)}}decrement(t,o){if(v(dt,this,r(dt,this)-1),t){let i=r(Ze,this).get(o)??0;i===1?r(Ze,this).delete(o):r(Ze,this).set(o,i-1)}r(It,this)||(v(It,this,!0),Ie(()=>{v(It,this,!1),this.linked&&this.flush()}))}transfer_effects(t,o){for(const i of t)r(gt,this).add(i);for(const i of o)r(Le,this).add(i);t.clear(),o.clear()}oncommit(t){r(co,this).add(t)}ondiscard(t){r(Xt,this).add(t)}settled(){return(r(zt,this)??v(zt,this,Ui())).promise}static ensure(){if(S===null){const t=S=new fn;!Mo&&!Tt&&Ie(()=>{r(Fo,t)||t.flush()})}return S}apply(){if(!vo||!this.is_fork&&r(it,this)===null&&r(mt,this)===null){Q=null;return}Q=new Map;for(const[o,[i]]of this.current)Q.set(o,i);for(let o=Ko;o!==null;o=r(mt,o))if(!(o===this||o.is_fork)){var t=!1;if(o.id<this.id){for(const[i,[,n]]of o.current)if(!n&&this.current.has(i)){t=!0;break}}if(!t)for(const[i,n]of o.previous)Q.has(i)||Q.set(i,n)}}schedule(t){if(Io=t,t.b?.is_pending&&(t.f&16777228)!==0&&(t.f&32768)===0){t.b.defer_effect(t);return}r($e,this).push(t)}};dn=at;function Ri(){if(this.is_fork)return!0;for(const o of r(Ze,this).keys()){for(var e=o,t=!1;e.parent!==null;){if(r(De,this).has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}function Js(){var e=[];for(const n of r($e,this))if(!((n.f&16384)!==0||(n.f&6144)===0)){for(var t=n,o=!1;t.parent!==null;){t=t.parent;var i=t.f;if((i&96)!==0){if((i&1024)===0){o=!0;break}t.f^=pe}}o||e.push(t)}return v($e,this,[]),e}function po(){v(Fo,this,!0);for(const l of r(gt,this))r(Le,this).delete(l),G(l,xe),this.schedule(l);for(const l of r(Le,this))G(l,lt),this.schedule(l);this.apply();for(var e=Lt=[],t=[],o=ao=[];r($e,this).length>0;){un++>1e3&&(k(O,this,uo).call(this),Zs());for(const l of k(O,this,Js).call(this))try{k(O,this,qs).call(this,l,e,t)}catch(a){throw _n(l),k(O,this,Ri).call(this)||this.discard(),a}}if(S=null,o.length>0){var i=dn.ensure();for(const l of o)i.schedule(l)}if(Lt=null,ao=null,k(O,this,Ri).call(this)){k(O,this,Ft).call(this,t),k(O,this,Ft).call(this,e);for(const[l,a]of r(De,this))yn(l,a);o.length>0&&k(O,S,po).call(S);return}const n=k(O,this,Vs).call(this);if(n){k(O,this,Ft).call(this,t),k(O,this,Ft).call(this,e),k(O,n,Us).call(n,this);return}r(gt,this).clear(),r(Le,this).clear();for(const l of r(co,this))l(this);r(co,this).clear(),Xo=this,Wi(t),Wi(e),Xo=null,r(zt,this)?.resolve();var s=S;if(r(dt,this)===0&&(r($e,this).length===0||s!==null)&&k(O,this,uo).call(this),r($e,this).length>0)if(s!==null){for(const l of r($e,this))r($e,s).push(l);v($e,this,[])}else s=this;s!==null&&(Me.clear(),k(O,s,po).call(s))}function qs(e,t,o){e.f^=pe;for(var i=e.first;i!==null;){var n=i.f,s=(n&96)!==0;if(!(s&&(n&1024)!==0||(n&8192)!==0||r(De,this).has(i))&&i.fn!==null){s?i.f^=pe:(n&4)!==0?t.push(i):vo&&(n&16777224)!==0?o.push(i):jt(i)&&(n&16&&r(Le,this).add(i),vt(i));var l=i.first;if(l!==null){i=l;continue}}for(;i!==null;){var a=i.next;if(a!==null){i=a;break}i=i.parent}}}function Vs(){for(var e=r(it,this);e!==null;){if(!e.is_fork){for(const[t,[,o]]of this.current)if(e.current.has(t)&&!o)return e}e=r(it,e)}return null}function Us(e){for(const[o,i]of e.current)!this.previous.has(o)&&e.previous.has(o)&&this.previous.set(o,e.previous.get(o)),this.current.set(o,i);for(const[o,i]of e.async_deriveds){const n=this.async_deriveds.get(o);n&&i.promise.then(n.resolve).catch(n.reject)}e.async_deriveds.clear(),this.transfer_effects(r(gt,e),r(Le,e));const t=o=>{var i=o.reactions;if(i!==null&&!((o.f&2)!==0&&(o.f&6144)===0))for(const l of i){var n=l.f;if((n&2)!==0)t(l);else{var s=l;n&4194320&&!this.async_deriveds.has(s)&&(r(Le,this).delete(s),G(s,xe),this.schedule(s))}}};for(const o of this.current.keys())t(o);this.oncommit(()=>e.discard()),k(O,e,uo).call(e),S=this,k(O,this,po).call(this)}function Ft(e){for(var t=0;t<e.length;t+=1)rn(e[t],r(gt,this),r(Le,this))}function uo(){if(this.linked){var e=r(it,this),t=r(mt,this);e===null?Ko=t:v(mt,e,t),t===null?pt=e:v(it,t,e),this.linked=!1}}function Jo(e){var t=Tt;Tt=!0;try{var o;for(e&&(S!==null&&!S.is_fork&&S.flush(),o=e());;){if(Hs(),S===null)return o;S.flush()}}finally{Tt=t}}function Zs(){try{Ws()}catch(e){Ae(e,Io)}}var Se=null;function Wi(e){var t=e.length;if(t!==0){for(var o=0;o<t;){var i=e[o++];if((i.f&24576)===0&&jt(i)&&(Se=new Set,vt(i),i.deps===null&&i.first===null&&i.nodes===null&&i.teardown===null&&i.ac===null&&An(i),Se?.size>0)){Me.clear();for(const n of Se){if((n.f&24576)!==0)continue;const s=[n];let l=n.parent;for(;l!==null;)Se.has(l)&&(Se.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const c=s[a];!(c.f&24576)&&vt(c)}}Se.clear()}}Se=null}}function mn(e){S.schedule(e)}function yn(e,t){if(!((e.f&32)!==0&&(e.f&1024)!==0)){(e.f&2048)!==0?t.d.push(e):e.f&4096&&t.m.push(e),G(e,pe);for(var o=e.first;o!==null;)yn(o,t),o=o.next}}function _n(e){G(e,pe);for(var t=e.first;t!==null;)_n(t),t=t.next}var fo=new Set,Me=new Map,hn=!1;function rt(e,t){return{f:0,v:e,reactions:null,equals:en,rv:0,wv:0}}function ce(e,t){const o=rt(e,t);return Rn(o),o}function gn(e,t=!1,o=!0){const i=rt(e);if(t||(i.equals=tn),wo&&o&&B!==null&&B.l!==null){var n;((n=B.l).s??(n.s=[])).push(i)}return i}function se(e,t,o=!1){return z!==null&&(!he||z.f&131072)&&Ht()&&z.f&4325394&&(be===null||!be.has(e))&&Bs(),bt(e,o?et(t):t,ao)}var Qe=null,qo=0;function bt(e,t,o=null){if(!e.equals(t)){Pe?Me.set(e,t):Me.has(e)||Me.set(e,e.v);var i=at.ensure();if(i.capture(e,t),(e.f&2)!==0){const n=e;e.f&2048&&ai(n),Q===null&&ri(n)}e.wv=Nn(),Qe=null,qo=0,bn(e,xe,o),Qe=null,Ht()&&$!==null&&$.f&1024&&!($.f&96)&&(ae===null?dr([e]):ae.push(e)),!i.is_fork&&fo.size>0&&!hn&&Qs()}return t}function Qs(){hn=!1;for(const e of fo){e.f&1024&&G(e,lt);let t;try{t=jt(e)}catch{t=!0}t&&vt(e)}fo.clear()}function Rt(e){se(e,e.v+1)}function bn(e,t,o){var i=e.reactions;if(i!==null){var n=Ht(),s=i.length;if(qo+=s,qo>1e5&&Qe===null&&(Qe=new Set),Qe!==null){if(Qe.has(e))return;Qe.add(e)}for(var l=0;l<s;l++){var a=i[l],c=a.f;if(!(!n&&a===$)){var p=(c&xe)===0;if(p&&G(a,t),(c&131072)!==0)fo.add(a);else if((c&2)!==0){var d=a;Q?.delete(d),bn(d,lt,o)}else if(p){var u=a;c&16&&Se!==null&&Se.add(u),o!==null?o.push(u):mn(u)}}}}}function et(e){if(typeof e!="object"||e===null||Ct in e||Zi in e)return e;const t=Vi(e);if(t!==us&&t!==fs)return e;var o=new Map,i=qi(e),n=ce(0),s=null,l=nt,a=c=>{if(nt===l)return c();var p=z,d=nt;ue(null),Li(l);var u=c();return ue(p),Li(d),u};return i&&o.set("length",ce(e.length,s)),new Proxy(e,{defineProperty(c,p,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Ls();var u=o.get(p);return u===void 0?a(()=>{var m=ce(d.value,s);return o.set(p,m),m}):se(u,d.value,!0),!0},deleteProperty(c,p){var d=o.get(p);if(d===void 0){if(p in c){const u=a(()=>ce(D,s));o.set(p,u),Rt(n)}}else se(d,D),Rt(n);return!0},get(c,p,d){if(p===Ct)return e;var u=o.get(p),m=p in c;if(u===void 0&&(!m||ot(c,p)?.writable)&&(u=a(()=>ce(et(m?c[p]:D),s)),o.set(p,u)),u!==void 0){var f=y(u);return f===D?void 0:f}return Reflect.get(c,p,d)},getOwnPropertyDescriptor(c,p){this.has?.(c,p);var d=Reflect.getOwnPropertyDescriptor(c,p),u=o.get(p);if(u!==void 0){var m=y(u);if(m===D)return;if(d&&"value"in d)d.value=m;else return{enumerable:!0,configurable:!0,value:m,writable:!0}}return d},has(c,p){if(p===Ct)return!0;var d=o.get(p),u=d!==void 0&&d.v!==D||Reflect.has(c,p);return(d!==void 0||$!==null&&(!u||ot(c,p)?.writable))&&(d===void 0&&(d=a(()=>ce(u?et(c[p]):D,s)),o.set(p,d)),y(d)===D)?!1:u},set(c,p,d,u){var m=o.get(p),f=p in c;if(i&&p==="length")for(var b=d;b<m.v;b+=1){var x=o.get(b+"");x!==void 0?se(x,D):b in c&&(x=a(()=>ce(D,s)),o.set(b+"",x))}if(m===void 0)(!f||ot(c,p)?.writable)&&(m=a(()=>ce(void 0,s)),se(m,et(d)),o.set(p,m));else{f=m.v!==D;var _=a(()=>et(d));se(m,_)}var g=Reflect.getOwnPropertyDescriptor(c,p);if(g?.set&&g.set.call(u,d),!f){if(i&&typeof p=="string"){var E=o.get("length"),N=Number(p);Number.isInteger(N)&&N>=E.v&&se(E,N+1)}Rt(n)}return!0},ownKeys(c){y(n);var p=Reflect.ownKeys(c).filter(m=>{var f=o.get(m);return f===void 0||f.v!==D});for(var[d,u]of o)u.v!==D&&!(d in c)&&p.push(d);return p},setPrototypeOf(){Ps()}})}var Ni,vn,wn,xn;function Vo(){if(Ni===void 0){Ni=window,vn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,o=Text.prototype;wn=ot(t,"firstChild").get,xn=ot(t,"nextSibling").get,zi(e)&&(e[Oo]=void 0,e[jo]=null,e[Do]=void 0,e.__e=void 0),zi(o)&&(o[to]=void 0)}}function oe(e=""){return document.createTextNode(e)}function Fe(e){return wn.call(e)}function Te(e){return xn.call(e)}function X(e,t){if(!A)return Fe(e);var o=Fe(C);if(o===null)o=C.appendChild(oe());else if(t&&o.nodeType!==3){var i=oe();return o?.before(i),Y(i),i}return t&&ko(o),Y(o),o}function Ys(e,t=!1){if(!A){var o=Fe(e);return o instanceof Comment&&o.data===""?Te(o):o}if(t){if(C?.nodeType!==3){var i=oe();return C?.before(i),Y(i),i}ko(C)}return C}function J(e,t=!1){if(!A)return Fe(e);var o=X(e,t);return P(e),o}function F(e,t=1,o=!1){let i=A?C:e;for(var n;t--;)n=i,i=Te(i);if(!A)return i;if(o){if(i?.nodeType!==3){var s=oe();return i===null?n?.after(s):i.before(s),Y(s),s}ko(i)}return Y(i),i}function kn(e){e.textContent=""}function Sn(){return!vo||Se!==null?!1:($.f&ii)!==0}function pi(e,t,o){return t==null||t==="http://www.w3.org/1999/xhtml"?o?document.createElement(e,{is:o}):document.createElement(e):o?document.createElementNS(t,e,{is:o}):document.createElementNS(t,e)}function ko(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function er(e){var t=$;if(t===null)return z.f|=so,e;if((t.f&32768)===0&&(t.f&4)===0)throw e;Ae(e,t)}function Ae(e,t){if(!(t!==null&&(t.f&16384)!==0)){for(;t!==null;){if((t.f&128)!==0&&(t.f&33570816)===0){if((t.f&32768)===0)throw e;try{t.b.error(e);return}catch(o){e=o}}t=t.parent}throw e}}function tr(e){$===null&&(z===null&&Rs(e),Ts()),Pe&&Cs(e)}function or(e,t){var o=t.last;o===null?t.last=t.first=e:(o.next=e,e.prev=o,t.last=e)}function Re(e,t){var o=$;o!==null&&o.f&8192&&(e|=oi);var i={ctx:B,deps:null,nodes:null,f:e|xe|512,first:null,fn:t,last:null,next:null,parent:o,b:o&&o.b,prev:null,teardown:null,wv:0,ac:null};S?.register_created_effect(i);var n=i;if((e&4)!==0)Lt!==null?Lt.push(i):at.ensure().schedule(i);else if(t!==null){try{vt(i)}catch(l){throw ee(i),l}n.deps===null&&n.teardown===null&&n.nodes===null&&n.first===n.last&&!(n.f&524288)&&(n=n.first,e&16&&e&65536&&n!==null&&(n.f|=ni))}if(n!==null&&(n.parent=o,o!==null&&or(n,o),z!==null&&(z.f&2)!==0&&(e&64)===0)){var s=z;(s.effects??(s.effects=[])).push(n)}return i}function di(){return z!==null&&!he}function ir(e){const t=Re(8,null);return G(t,pe),t.teardown=e,t}function nr(e){tr("$effect");var t=$.f;if(!z&&(t&32)!==0&&B!==null&&!B.i){var o=B;(o.e??(o.e=[])).push(e)}else return $n(e)}function $n(e){return Re(4|bs,e)}function sr(e){at.ensure();const t=Re(64|wt,e);return()=>{ee(t)}}function rr(e){at.ensure();const t=Re(64|wt,e);return(o={})=>new Promise(i=>{o.outro?ct(t,()=>{ee(t),i(void 0)}):(ee(t),i(void 0))})}function zn(e){return Re(4,e)}function lr(e){return Re(vs|wt,e)}function ui(e,t=0){return Re(8|t,e)}function Jt(e,t=[],o=[],i=[]){Os(i,t,o,n=>{Re(8,()=>{e(...n.map(y))})})}function fi(e,t=0){return Re(16|t,e)}function de(e){return Re(32|wt,e)}function Mn(e){var t=e.teardown;if(t!==null){const o=Pe,i=z;Ei(!0),ue(null);try{t.call(null)}catch(n){Ae(n,e.parent)}finally{Ei(o),ue(i)}}}function mi(e,t=!1){var o=e.first;for(e.first=e.last=null;o!==null;){const n=o.ac;n!==null&&xo(()=>{n.abort(Gt)});var i=o.next;(o.f&64)!==0?o.parent=null:ee(o,t),o=i}}function ar(e){for(var t=e.first;t!==null;){var o=t.next;!(t.f&32)&&ee(t),t=o}}function ee(e,t=!0){var o=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(cr(e.nodes.start,e.nodes.end),o=!0),e.f|=Mi,mi(e,t&&!o),Pt(e,0);var i=e.nodes&&e.nodes.t;if(i!==null)for(const s of i)s.stop();Mn(e),e.f^=Mi,e.f|=gs;var n=e.parent;n!==null&&n.first!==null&&An(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function cr(e,t){for(;e!==null;){var o=e===t?null:Te(e);e.remove(),e=o}}function An(e){var t=e.parent,o=e.prev,i=e.next;o!==null&&(o.next=i),i!==null&&(i.prev=o),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=o))}function ct(e,t,o=!0){var i=[];e.f|=256,Cn(e,i,!0);var n=()=>{o&&ee(e),t&&t()},s=i.length;if(s>0){var l=()=>--s||n();for(var a of i)a.out(l)}else n()}function Cn(e,t,o){if((e.f&8192)===0){e.f^=oi;var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||o)&&t.push(a);for(var n=e.first;n!==null;){var s=n.next;if((n.f&64)===0){var l=(n.f&65536)!==0||(n.f&32)!==0&&(e.f&16)!==0;Cn(n,t,l?o:!1)}n=s}}}function mo(e){e.f&=-257,Tn(e,!0)}function Tn(e,t){if((e.f&256)===0&&(e.f&8192)!==0){e.f^=oi,!(e.f&1024)&&(G(e,xe),at.ensure().schedule(e));for(var o=e.first;o!==null;){var i=o.next,n=(o.f&65536)!==0||(o.f&32)!==0;Tn(o,n?t:!1),o=i}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function yi(e,t){if(e.nodes)for(var o=e.nodes.start,i=e.nodes.end;o!==null;){var n=o===i?null:Te(o);t.append(o),o=n}}var pr=null,oo=!1,Pe=!1;function Ei(e){Pe=e}var z=null,he=!1;function ue(e){z=e}var $=null;function Ce(e){$=e}var be=null;function Rn(e){z!==null&&(z.f&2097152||z.f&2)&&(be??(be=new Set)).add(e)}var te=null,ne=0,ae=null;function dr(e){ae=e}var Wn=1,tt=0,nt=tt;function Li(e){nt=e}function Nn(){return++Wn}function jt(e){var t=e.f;if((t&2048)!==0)return!0;if((t&4096)!==0){for(var o=e.deps,i=o.length,n=0;n<i;n++){var s=o[n];if(jt(s)&&an(s),s.wv>e.wv)return!0}t&512&&Q===null&&G(e,pe)}return!1}function En(e,t,o=!0){var i=e.reactions;if(i!==null&&!(!vo&&be!==null&&be.has(e)))for(var n=0;n<i.length;n++){var s=i[n];(s.f&2)!==0?En(s,t,!1):t===s&&(o?G(s,xe):s.f&1024&&G(s,lt),mn(s))}}function Ln(e){var t=te,o=ne,i=ae,n=z,s=be,l=B,a=he,c=nt,p=e.f;te=null,ne=0,ae=null,z=(p&96)===0?e:null,be=null,ht(e.ctx),he=!1,nt=++tt,e.ac!==null&&(xo(()=>{e.ac.abort(Gt)}),e.ac=null);try{e.f|=Ai;var d=e.fn,u=d();e.f|=ii;var m=Pi(e);if(Ht()&&ae!==null&&!he&&m!==null&&(e.f&6146)===0)for(var f=0;f<ae.length;f++)En(ae[f],e);if(n!==null&&n!==e){if(tt++,n.deps!==null)for(let b=0;b<o;b+=1)n.deps[b].rv=tt;if(t!==null)for(const b of t)b.rv=tt;ae!==null&&(i===null?i=ae:i.push(...ae))}return e.f&8388608&&(e.f^=so),u}catch(b){return Pi(e),er(b)}finally{e.f^=Ai,te=t,ne=o,ae=i,z=n,be=s,ht(l),he=a,nt=c}}function Pi(e){var t=e.deps,o=S?.is_fork;if(te!==null){var i;if(o||Pt(e,ne),t!==null&&ne>0)for(t.length=ne+te.length,i=0;i<te.length;i++)t[ne+i]=te[i];else e.deps=t=te;if(di()&&(e.f&512)!==0)for(i=ne;i<t.length;i++){var n;((n=t[i]).reactions??(n.reactions=[])).push(e)}}else!o&&t!==null&&ne<t.length&&(Pt(e,ne),t.length=ne);return t}function ur(e,t){let o=t.reactions;if(o!==null){var i=ps.call(o,e);if(i!==-1){var n=o.length-1;n===0?o=t.reactions=null:(o[i]=o[n],o.pop())}}if(o===null&&(t.f&2)!==0&&(te===null||!Ho.call(te,t))){var s=t;s.f&512&&(s.f^=512),s.v!==D&&ri(s),s.ac!==null&&xo(()=>{s.ac.abort(Gt),s.ac=null,G(s,xe)}),Is(s),Pt(s,0)}}function Pt(e,t){var o=e.deps;if(o!==null)for(var i=t;i<o.length;i++)ur(e,o[i])}function vt(e){var t=e.f;if((t&16384)===0){G(e,pe);var o=$,i=oo;$=e,oo=(t&96)===0;try{(t&16777232)!==0?ar(e):mi(e),Mn(e);var n=Ln(e);e.teardown=typeof n=="function"?n:null,e.wv=Wn}finally{oo=i,$=o}}}function y(e){var t=(e.f&2)!==0;if(pr?.add(e),z!==null&&!he&&!($!==null&&($.f&16384)!==0)&&(be===null||!be.has(e))){var o=z.deps;if((z.f&2097152)!==0)e.rv<tt&&(e.rv=tt,te===null&&o!==null&&o[ne]===e?ne++:te===null?te=[e]:te.push(e));else{var i;(i=z).deps??(i.deps=[]),Ho.call(z.deps,e)||z.deps.push(e);var n=e.reactions;n===null?e.reactions=[z]:Ho.call(n,z)||n.push(z)}}if(Pe&&Me.has(e))return Me.get(e);if(t){var s=e;if(Pe){var l=s.v;return(!(s.f&1024)&&s.reactions!==null||Bn(s))&&(l=ai(s)),Me.set(s,l),l}var a=(s.f&512)===0&&!he&&z!==null&&(oo||(z.f&512)!==0),c=(s.f&ii)===0;jt(s)&&(a&&(s.f|=512),an(s)),a&&!c&&(cn(s),Pn(s))}if(Q?.has(e))return Q.get(e);if((e.f&8388608)!==0)throw e.v;return e.v}function Pn(e){if(e.f|=512,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),t.f&2&&!(t.f&512)&&(cn(t),Pn(t))}function Bn(e){if(e.v===D)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Me.has(t)||(t.f&2)!==0&&Bn(t))return!0;return!1}function _i(e){var t=he;try{return he=!0,e()}finally{he=t}}var yt=Symbol("events"),Gn=new Set,Uo=new Set;function qt(e,t,o){(t[yt]??(t[yt]={}))[e]=o}function fr(e){for(var t=0;t<e.length;t++)Gn.add(e[t]);for(var o of Uo)o(e)}var Co=null,To=!1;function Bi(e){var t=this,o=t.ownerDocument,i=e.type,n=e.composedPath?.()||[],s=n[0]||e.target;Co=e,To||(To=!0,setTimeout(()=>{To=!1,Co=null}));var l=0,a=Co===e&&e[yt];if(a){var c=n.indexOf(a);if(c!==-1&&(t===document||t===window)){e[yt]=t;return}var p=n.indexOf(t);if(p===-1)return;c<=p&&(l=c)}if(s=n[l]||e.target,s!==t){Wt(e,"currentTarget",{configurable:!0,get(){return s||o}});var d=z,u=$;ue(null),Ce(null);try{for(var m,f=[];s!==null&&s!==t;){try{var b=s[yt]?.[i];b!=null&&(!s.disabled||e.target===s)&&b.call(s,e)}catch(x){m?f.push(x):m=x}if(e.cancelBubble)break;l++,s=l<n.length?n[l]:null}if(m){for(let x of f)queueMicrotask(()=>{throw x});throw m}}finally{e[yt]=t,delete e.currentTarget,ue(d),Ce(u)}}}var mr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function yr(e){return mr?.createHTML(e)??e}function _r(e){var t=pi("template");return t.innerHTML=yr(e.replaceAll("<!>","<!---->")),t.content}function Ke(e,t){var o=$;o.nodes===null&&(o.nodes={start:e,end:t,a:null,t:null})}function xt(e,t){var o=(t&1)!==0,i=(t&2)!==0,n,s=!e.startsWith("<!>");return()=>{if(A)return Ke(C,null),C;n===void 0&&(n=_r(s?e:"<!>"+e),o||(n=Fe(n)));var l=i||vn?document.importNode(n,!0):n.cloneNode(!0);if(o){var a=Fe(l),c=l.lastChild;Ke(a,c)}else Ke(l,l);return l}}function Ro(e=""){if(!A){var t=oe(e+"");return Ke(t,t),t}var o=C;return o.nodeType!==3?(o.before(o=oe()),Y(o)):ko(o),Ke(o,o),o}function hr(){if(A)return Ke(C,null),C;var e=document.createDocumentFragment(),t=document.createComment(""),o=oe();return e.append(t,o),Ke(t,o),e}function _e(e,t){if(A){var o=$;(!(o.f&32768)||o.nodes.end===null)&&(o.nodes.end=C),bo();return}e!==null&&e.before(t)}var gr=["touchstart","touchmove"];function br(e){return gr.includes(e)}function vr(e){let t=0,o=rt(0),i;return()=>{di()&&(y(o),ui(()=>(t===0&&(i=_i(()=>e(()=>Rt(o)))),t+=1,()=>{Ie(()=>{t-=1,t===0&&(i?.(),i=void 0,Rt(o))})})))}}var wr=ni|wt;function xr(e,t,o,i){new kr(e,t,o,i)}var ve=new WeakMap,Zo=new WeakMap,ze=new WeakMap,Bt=new WeakMap,re=new WeakMap,we=new WeakMap,le=new WeakMap,ge=new WeakMap,Xe=new WeakMap,ut=new WeakMap,st=new WeakMap,Vt=new WeakMap,Qo=new WeakMap,Yo=new WeakMap,Ve=new WeakMap,Gi=new WeakMap,K=new WeakSet,kr=class{constructor(e,t,o,i){ci(this,K),W(this,"parent",void 0),W(this,"is_pending",!1),W(this,"transform_error",void 0),w(this,ve,void 0),w(this,Zo,A?C:null),w(this,ze,void 0),w(this,Bt,void 0),w(this,re,void 0),w(this,we,null),w(this,le,null),w(this,ge,null),w(this,Xe,null),w(this,ut,0),w(this,st,0),w(this,Vt,!1),w(this,Qo,new Set),w(this,Yo,new Set),w(this,Ve,null),w(this,Gi,vr(()=>(v(Ve,this,rt(r(ut,this))),()=>{v(Ve,this,null)}))),v(ve,this,e),v(ze,this,t),v(Bt,this,n=>{var s=$;s.b=this,s.f|=128,o(n)}),this.parent=$.b,this.transform_error=i??this.parent?.transform_error??(n=>n),v(re,this,fi(()=>{if(A){const n=r(Zo,this);bo();const s=n.data==="[!";if(n.data.startsWith("[?")){const l=JSON.parse(n.data.slice(2));k(K,this,$r).call(this,l)}else s?k(K,this,zr).call(this):k(K,this,Sr).call(this)}else k(K,this,jn).call(this)},wr)),A&&v(ve,this,C)}defer_effect(e){rn(e,r(Qo,this),r(Yo,this))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!r(ze,this).pending}update_pending_count(e,t){k(K,this,On).call(this,e,t),v(ut,this,r(ut,this)+e),r(Ve,this)&&!r(Vt,this)&&(v(Vt,this,!0),Ie(()=>{v(Vt,this,!1),r(Ve,this)&&bt(r(Ve,this),r(ut,this))}))}get_effect_pending(){return r(Gi,this).call(this),y(r(Ve,this))}error(e){if(!r(ze,this).onerror&&!r(ze,this).failed)throw e;S?.is_fork?(r(we,this)&&S.skip_effect(r(we,this)),r(le,this)&&S.skip_effect(r(le,this)),r(ge,this)&&S.skip_effect(r(ge,this)),S.oncommit(()=>{k(K,this,Hi).call(this,e)})):k(K,this,Hi).call(this,e)}};function Sr(){try{v(we,this,de(()=>r(Bt,this).call(this,r(ve,this))))}catch(e){this.error(e)}}function $r(e){const t=r(ze,this).failed,{reset:o,invoke_onerror:i}=k(K,this,Hn).call(this,e);Ie(i),t&&v(ge,this,de(()=>{t(r(ve,this),()=>e,()=>o)}))}function Hn(e){var t=!1,o=!1;const i=()=>{if(t){Ss();return}t=!0,o&&Gs(),r(ge,this)!==null&&ct(r(ge,this),()=>{v(ge,this,null)}),k(K,this,hi).call(this,()=>{k(K,this,jn).call(this)})};return{reset:i,invoke_onerror:()=>{try{o=!0,r(ze,this).onerror?.(e,i),o=!1}catch(n){Ae(n,r(re,this)&&r(re,this).parent)}}}}function zr(){const e=r(ze,this).pending;e&&(this.is_pending=!0,v(le,this,de(()=>e(r(ve,this)))),Ie(()=>{var t=v(Xe,this,document.createDocumentFragment()),o=oe(),i=!1;if(t.append(o),v(we,this,k(K,this,hi).call(this,()=>{try{return de(()=>r(Bt,this).call(this,o))}catch(n){try{this.error(n),i=!0}catch(s){Ae(s,r(re,this).parent)}return null}})),r(we,this)===null){v(Xe,this,null),i&&k(K,this,yo).call(this,S);return}r(st,this)===0&&(r(ve,this).before(t),v(Xe,this,null),ct(r(le,this),()=>{v(le,this,null)}),k(K,this,yo).call(this,S))}))}function jn(){try{if(this.is_pending=this.has_pending_snippet(),v(st,this,0),v(ut,this,0),v(we,this,de(()=>{r(Bt,this).call(this,r(ve,this))})),r(st,this)>0){var e=v(Xe,this,document.createDocumentFragment());yi(r(we,this),e);const t=r(ze,this).pending;v(le,this,de(()=>t(r(ve,this))))}else k(K,this,yo).call(this,S)}catch(t){this.error(t)}}function yo(e){this.is_pending=!1,e.transfer_effects(r(Qo,this),r(Yo,this))}function hi(e){var t=$,o=z,i=B;Ce(r(re,this)),ue(r(re,this)),ht(r(re,this).ctx);try{return at.ensure(),e()}finally{Ce(t),ue(o),ht(i)}}function On(e,t){if(!this.has_pending_snippet()){if(this.parent){var o;k(K,o=this.parent,On).call(o,e,t)}return}v(st,this,r(st,this)+e),r(st,this)===0&&(k(K,this,yo).call(this,t),r(le,this)&&ct(r(le,this),()=>{v(le,this,null)}),r(Xe,this)&&(r(ve,this).before(r(Xe,this)),v(Xe,this,null)))}function Hi(e){r(we,this)&&(ee(r(we,this)),v(we,this,null)),r(le,this)&&(ee(r(le,this)),v(le,this,null)),r(ge,this)&&(ee(r(ge,this)),v(ge,this,null)),A&&(Y(r(Zo,this)),$s(),Y(ro()));let t=r(ze,this).failed;const o=i=>{const{reset:n,invoke_onerror:s}=k(K,this,Hn).call(this,i);s(),t&&v(ge,this,k(K,this,hi).call(this,()=>{try{return de(()=>{var l=$;l.b=this,l.f|=128,t(r(ve,this),()=>i,()=>n)})}catch(l){return Ae(l,r(re,this).parent),null}}))};Ie(()=>{var i;try{i=this.transform_error(e)}catch(n){Ae(n,r(re,this)&&r(re,this).parent);return}i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(o,n=>Ae(n,r(re,this)&&r(re,this).parent)):o(i)})}function q(e,t){var o=t==null?"":typeof t=="object"?`${t}`:t;o!==(e[to]??(e[to]=e.nodeValue))&&(e[to]=o,e.nodeValue=`${o}`)}function Dn(e,t){return Kn(e,t)}function Mr(e,t){Vo(),t.intro=t.intro??!1;const o=t.target,i=A,n=C;try{for(var s=Fe(o);s&&(s.nodeType!==8||s.data!=="[");)s=Te(s);if(!s)throw _t;Ee(!0),Y(s);const l=Kn(e,{...t,anchor:s});return Ee(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==_t&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Ns(),Vo(),kn(o),Ee(!1),Dn(e,t)}finally{Ee(i),Y(n)}}var Ut=new Map;function Kn(e,{target:t,anchor:o,props:i={},events:n,context:s,intro:l=!0,transformError:a}){Vo();var c=void 0,p=rr(()=>{var d=o??t.appendChild(oe());xr(d,{pending:()=>{}},f=>{on({});var b=B;if(s&&(b.c=s),n&&(i.$$events=n),A&&Ke(f,null),c=e(f,i)||si(),A&&($.nodes.end=C,C===null||C.nodeType!==8||C.data!=="]"))throw go(),_t;nn()},a);var u=new Set,m=f=>{for(var b=0;b<f.length;b++){var x=f[b];if(!u.has(x)){u.add(x);var _=br(x);for(const N of[t,document]){var g=Ut.get(N);g===void 0&&(g=new Map,Ut.set(N,g));var E=g.get(x);E===void 0?(N.addEventListener(x,Bi,{passive:_}),g.set(x,1)):g.set(x,E+1)}}}};return m(ho(Gn)),Uo.add(m),()=>{for(var f of u)for(const _ of[t,document]){var b=Ut.get(_),x=b.get(f);--x==0?(_.removeEventListener(f,Bi),b.delete(f),b.size===0&&Ut.delete(_)):b.set(f,x)}Uo.delete(m),d!==o&&d.parentNode?.removeChild(d)}});return ei.set(c,p),c}var ei=new WeakMap;function Ar(e,t){const o=ei.get(e);return o?(ei.delete(e),o(t)):Promise.resolve()}var Ne=new WeakMap,je=new WeakMap,me=new WeakMap,kt=new WeakMap,Wo=new WeakMap,No=new WeakMap,ji=new WeakMap,Cr=class{constructor(e,t=!0){W(this,"anchor",void 0),w(this,Ne,new Map),w(this,je,new Map),w(this,me,new Map),w(this,kt,new Set),w(this,Wo,!0),w(this,No,o=>{if(r(Ne,this).has(o)){var i=r(Ne,this).get(o),n=r(je,this).get(i);if(n)mo(n),r(kt,this).delete(i);else{var s=r(me,this).get(i);s&&(mo(s.effect),r(je,this).set(i,s.effect),r(me,this).delete(i),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[l,a]of r(Ne,this)){if(r(Ne,this).delete(l),l===o)break;const c=r(me,this).get(a);c&&(ee(c.effect),r(me,this).delete(a))}for(const[l,a]of r(je,this)){if(l===i||r(kt,this).has(l))continue;const c=()=>{if(Array.from(r(Ne,this).values()).includes(l)){var p=document.createDocumentFragment();yi(a,p),p.append(oe()),r(me,this).set(l,{effect:a,fragment:p})}else ee(a);r(kt,this).delete(l),r(je,this).delete(l)};r(Wo,this)||!n?(r(kt,this).add(l),ct(a,c,!1)):c()}}}),w(this,ji,o=>{r(Ne,this).delete(o);const i=Array.from(r(Ne,this).values());for(const[n,s]of r(me,this))i.includes(n)||(ee(s.effect),r(me,this).delete(n))}),this.anchor=e,v(Wo,this,t)}ensure(e,t){var o=S,i=Sn();if(t&&!r(je,this).has(e)&&!r(me,this).has(e))if(i){var n=document.createDocumentFragment(),s=oe();n.append(s),r(me,this).set(e,{effect:de(()=>t(s)),fragment:n})}else r(je,this).set(e,de(()=>t(this.anchor)));if(r(Ne,this).set(o,e),i){for(const[l,a]of r(je,this))l===e?o.unskip_effect(a):o.skip_effect(a);for(const[l,a]of r(me,this))l===e?o.unskip_effect(a.effect):o.skip_effect(a.effect);o.oncommit(r(No,this)),o.ondiscard(r(ji,this))}else A&&(this.anchor=C),r(No,this).call(this,o)}};function Eo(e,t,o=!1){var i;A&&(i=C,bo());var n=new Cr(e),s=o?ni:0;function l(a,c){if(A){var p=Yi(i);if(a!==parseInt(p.substring(1))){var d=ro();Y(d),n.anchor=d,Ee(!1),n.ensure(a,c),Ee(!0);return}}n.ensure(a,c)}fi(()=>{var a=!1;t((c,p=0)=>{a=!0,l(p,c)}),a||l(-1,null)},s)}function Oi(e,t){return t}function Tr(e,t,o){for(var i=[],n=t.length,s,l=t.length,a=0;a<n;a++){let u=t[a];ct(u,()=>{if(s){if(s.pending.delete(u),s.done.add(u),s.pending.size===0){var m=e.outrogroups;ti(e,ho(s.done)),m.delete(s),m.size===0&&(e.outrogroups=null)}}else l-=1},!1)}if(l===0){var c=i.length===0&&o!==null&&e.pending.size===0;if(c){var p=o,d=p.parentNode;kn(d),d.append(p),e.items.clear()}ti(e,t,!c)}else s={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(s)}function ti(e,t,o=!0){var i;if(e.pending.size>0){i=new Set;for(const l of e.pending.values())for(const a of l)i.add(e.items.get(a).e)}for(var n=0;n<t.length;n++){var s=t[n];i?.has(s)?(s.f|=At,yi(s,document.createDocumentFragment())):ee(t[n],o)}}var Zt;function Qt(e,t,o,i,n,s=null){var l=e,a=new Map;if((t&4)!==0){var c=e;l=A?Y(Fe(c)):c.appendChild(oe())}A&&bo();var p=null,d=li(()=>{var g=o();return qi(g)?g:g==null?[]:ho(g)}),u,m=new Map,f=!0;function b(g){!(_.effect.f&16384)&&(_.pending.delete(g),_.fallback=p,Rr(_,u,l,t,i),p!==null&&(u.length===0?(p.f&33554432)===0?mo(p):(p.f^=At,Mt(p,null,l)):ct(p,()=>{p=null})))}function x(g){_.pending.delete(g)}var _={effect:fi(()=>{u=y(d);var g=u.length;let E=!1;A&&Yi(l)==="[!"!=(g===0)&&(l=ro(),Y(l),Ee(!1),E=!0);for(var N=new Set,h=S,T=Sn(),L=0;L<g;L+=1){A&&C.nodeType===8&&C.data==="]"&&(l=C,E=!0,Ee(!1));var V=u[L],ie=i(V,L),U=f?null:a.get(ie);U?(U.v&&bt(U.v,V),U.i&&bt(U.i,L),T&&h.unskip_effect(U.e)):(U=Wr(a,f?l:Zt??(Zt=oe()),V,ie,L,n,t,o),f||(U.e.f|=At),a.set(ie,U)),N.add(ie)}if(g===0&&s&&!p&&(f?p=de(()=>s(l)):(p=de(()=>s(Zt??(Zt=oe()))),p.f|=At)),g>N.size&&As("","",""),A&&g>0&&Y(ro()),!f)if(m.set(h,N),T){for(const[Z,Ot]of a)N.has(Z)||h.skip_effect(Ot.e);h.oncommit(b),h.ondiscard(x)}else b(h);E&&Ee(!0),y(d)}),flags:t,items:a,pending:m,outrogroups:null,fallback:p};f=!1,A&&(l=C)}function St(e){for(;e!==null&&(e.f&32)===0;)e=e.next;return e}function Rr(e,t,o,i,n){var s=(i&8)!==0,l=t.length,a=e.items,c=St(e.effect.first),p,d=null,u,m=[],f=[],b,x,_,g;if(s)for(g=0;g<l;g+=1)b=t[g],x=n(b,g),_=a.get(x).e,!(_.f&33554432)&&(_.nodes?.a?.measure(),(u??(u=new Set)).add(_));for(g=0;g<l;g+=1){if(b=t[g],x=n(b,g),_=a.get(x).e,e.outrogroups!==null)for(const Z of e.outrogroups)Z.pending.delete(_),Z.done.delete(_);if(_.f&8192&&(mo(_),s&&(_.nodes?.a?.unfix(),(u??(u=new Set)).delete(_))),(_.f&33554432)!==0)if(_.f^=At,_===c)Mt(_,null,o);else{var E=d?d.next:c;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Oe(e,d,_),Oe(e,_,E),Mt(_,E,o),d=_,m=[],f=[],c=St(d.next);continue}if(_!==c){if(p!==void 0&&p.has(_)){if(m.length<f.length){var N=f[0],h;d=N.prev;var T=m[0],L=m[m.length-1];for(h=0;h<m.length;h+=1)Mt(m[h],N,o);for(h=0;h<f.length;h+=1)p.delete(f[h]);Oe(e,T.prev,L.next),Oe(e,d,T),Oe(e,L,N),c=N,d=L,g-=1,m=[],f=[]}else p.delete(_),Mt(_,c,o),Oe(e,_.prev,_.next),Oe(e,_,d===null?e.effect.first:d.next),Oe(e,d,_),d=_;continue}for(m=[],f=[];c!==null&&c!==_;)(p??(p=new Set)).add(c),f.push(c),c=St(c.next);if(c===null)continue}!(_.f&33554432)&&m.push(_),d=_,c=St(_.next)}if(e.outrogroups!==null){for(const Z of e.outrogroups)Z.pending.size===0&&(ti(e,ho(Z.done)),e.outrogroups?.delete(Z));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||p!==void 0){var V=[];if(p!==void 0)for(_ of p)!(_.f&8192)&&V.push(_);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&V.push(c),c=St(c.next);var ie=V.length;if(ie>0){var U=(i&4)!==0&&l===0?o:null;if(s){for(g=0;g<ie;g+=1)V[g].nodes?.a?.measure();for(g=0;g<ie;g+=1)V[g].nodes?.a?.fix()}Tr(e,V,U)}}s&&Ie(()=>{if(u!==void 0)for(_ of u)_.nodes?.a?.apply()})}function Wr(e,t,o,i,n,s,l,a){var c=(l&1)!==0?(l&16)===0?gn(o,!1,!1):rt(o):null,p=(l&2)!==0?rt(n):null;return{v:c,i:p,e:de(()=>(s(t,c??o,p??n,a),()=>{e.delete(i)}))}}function Mt(e,t,o){if(e.nodes)for(var i=e.nodes.start,n=e.nodes.end,s=t&&(t.f&33554432)===0?t.nodes.start:o;i!==null;){var l=Te(i);if(s.before(i),i===n)return;i=l}}function Oe(e,t,o){t===null?e.effect.first=o:t.next=o,o===null?e.effect.last=t:o.prev=t}function Nr(e,t){zn(()=>{e=$?.parent?.nodes?.start??e;var o=e.getRootNode(),i=o.host?o:o.head??o.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const n=pi("style");n.id=t.hash,n.textContent=t.code,i.appendChild(n)}})}var Di=[...`
3
+ \r\f \v\uFEFF`];function Er(e,t,o){var i=e==null?"":""+e;if(t&&(i=i?i+" "+t:t),o){for(var n of Object.keys(o))if(o[n])i=i?i+" "+n:n;else if(i.length)for(var s=n.length,l=0;(l=i.indexOf(n,l))>=0;){var a=l+s;(l===0||Di.includes(i[l-1]))&&(a===i.length||Di.includes(i[a]))?i=(l===0?"":i.substring(0,l))+i.substring(a+1):l=a}}return i===""?null:i}function Ki(e,t=!1){var o=t?" !important;":";",i="";for(var n of Object.keys(e)){var s=e[n];s!=null&&s!==""&&(i+=" "+n+": "+s+o)}return i}function Lo(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Lr(e,t){if(t){var o="",i,n;if(Array.isArray(t)?(i=t[0],n=t[1]):i=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,"").trim();var s=!1,l=0,a=!1,c=[];i&&c.push(...Object.keys(i).map(Lo)),n&&c.push(...Object.keys(n).map(Lo));var p=0,d=-1;const x=e.length;for(var u=0;u<x;u++){var m=e[u];if(a?m==="/"&&e[u-1]==="*"&&(a=!1):s?s===m&&(s=!1):m==="/"&&e[u+1]==="*"?a=!0:m==='"'||m==="'"?s=m:m==="("?l++:m===")"&&l--,!a&&s===!1&&l===0){if(m===":"&&d===-1)d=u;else if(m===";"||u===x-1){if(d!==-1){var f=Lo(e.substring(p,d).trim());if(!c.includes(f)){m!==";"&&u++;var b=e.substring(p,u).trim();o+=" "+b+";"}}p=u+1,d=-1}}}}return i&&(o+=Ki(i)),n&&(o+=Ki(n,!0)),o=o.trim(),o===""?null:o}return e==null?null:String(e)}function Yt(e,t,o,i,n,s){var l=e[Oo];if(A||l!==o||l===void 0){var a=Er(o,i,s);(!A||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a)),e[Oo]=o}else if(s&&n!==s)for(var c in s){var p=!!s[c];(n==null||p!==!!n[c])&&e.classList.toggle(c,p)}return s}function Po(e,t={},o,i){for(var n in o){var s=o[n];t[n]!==s&&(o[n]==null?e.style.removeProperty(n):e.style.setProperty(n,s,i))}}function Xi(e,t,o,i){var n=e[Do];if(A||n!==t){var s=Lr(t,i);(!A||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e[Do]=t}else i&&(Array.isArray(i)?(Po(e,o?.[0],i[0]),Po(e,o?.[1],i[1],"important")):Po(e,o,i));return i}var Pr=Symbol("is custom element"),Br=Symbol("is html"),Gr=xs?"link":"LINK";function ye(e,t,o,i){var n=Hr(e);A&&(n[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Gr)||n[t]!==(n[t]=o)&&(t==="loading"&&(e[ws]=o),o==null?e.removeAttribute(t):typeof o!="string"&&jr(e).has(t)?e[t]=o:e.setAttribute(t,o))}function Hr(e){return e[jo]??(e[jo]={[Pr]:e.nodeName.includes("-"),[Br]:e.namespaceURI==="http://www.w3.org/1999/xhtml"})}var Ii=new Map;function jr(e){var t=e.getAttribute("is")||e.nodeName,o=Ii.get(t);if(o)return o;Ii.set(t,o=new Set);for(var i,n=e,s=Element.prototype;s!==n;){i=ds(n);for(var l in i)i[l].set&&l!=="innerHTML"&&l!=="textContent"&&l!=="innerText"&&o.add(l);n=Vi(n)}return o}var Xn,ft=new WeakMap,_o=new WeakMap,Bo=new WeakMap,Fi=new WeakSet,In=class{constructor(e){ci(this,Fi),w(this,ft,new WeakMap),w(this,_o,void 0),w(this,Bo,void 0),v(Bo,this,e)}observe(e,t){var o=r(ft,this).get(e)||new Set;return o.add(t),r(ft,this).set(e,o),k(Fi,this,Or).call(this).observe(e,r(Bo,this)),()=>{var i=r(ft,this).get(e);i.delete(t),i.size===0&&(r(ft,this).delete(e),r(_o,this).unobserve(e))}}};Xn=In;function Or(){return r(_o,this)??v(_o,this,new ResizeObserver(e=>{for(var t of e){Xn.entries.set(t.target,t);for(var o of r(ft,this).get(t.target)||[])o(t)}}))}W(In,"entries",new WeakMap);function Go(e,t){return e===t||e?.[Ct]===t}function Dr(e=si(),t,o,i){var n=B.r,s=$;return zn(()=>{var l,a;return ui(()=>{l=a,a=i?.()||[],_i(()=>{Go(o(...a),e)||(t(e,...a),l&&Go(o(...l),e)&&t(null,...l))})}),()=>{let c=s;for(;c!==n&&c.parent!==null&&c.parent.f&33554432;)c=c.parent;const p=()=>{a&&Go(o(...a),e)&&t(null,...a)},d=c.teardown;c.teardown=()=>{p(),d?.()}}}),e}var eo=!1;function Kr(e){var t=eo;try{return eo=!1,[e(),eo]}finally{eo=t}}function Ji(e,t,o,i){var n=!wo||(o&2)!==0,s=(o&8)!==0,l=(o&16)!==0,a=i,c=!0,p=void 0,d=()=>l&&n?(p??(p=Et(i)),y(p)):(c&&(c=!1,a=l?_i(i):i),a);let u;if(s){var m=Ct in e||Qi in e;u=ot(e,t)?.set??(m&&t in e?h=>e[t]=h:void 0)}var f,b=!1;s?[f,b]=Kr(()=>e[t]):f=e[t],f===void 0&&i!==void 0&&(f=d(),u&&(n&&Es(t),u(f)));var x;if(n?x=()=>{var h=e[t];return h===void 0?d():(c=!0,h)}:x=()=>{var h=e[t];return h!==void 0&&(a=void 0),h===void 0?a:h},n&&(o&4)===0)return x;if(u){var _=e.$$legacy;return(function(h,T){return arguments.length>0?((!n||!T||_||b)&&u(T?x():h),h):x()})}var g=!1,E=((o&1)!==0?Et:li)(()=>(g=!1,x()));s&&y(E);var N=$;return(function(h,T){if(arguments.length>0){const L=T?y(E):n&&s?et(h):h;return se(E,L),g=!0,a!==void 0&&(a=L),h}return Pe&&g||(N.f&16384)!==0?E.v:y(E)})}function Xr(e){return new Ir(e)}var Ue=new WeakMap,ke=new WeakMap,Ir=class{constructor(e){w(this,Ue,void 0),w(this,ke,void 0);var t=new Map,o=(n,s)=>{var l=gn(s,!1,!1);return t.set(n,l),l};const i=new Proxy({...e.props||{},$$events:{}},{get(n,s){return y(t.get(s)??o(s,Reflect.get(n,s)))},has(n,s){return s===Qi?!0:(y(t.get(s)??o(s,Reflect.get(n,s))),Reflect.has(n,s))},set(n,s,l){return se(t.get(s)??o(s,l),l),Reflect.set(n,s,l)}});v(ke,this,(e.hydrate?Mr:Dn)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError})),(!e?.props?.$$host||e.sync===!1)&&Jo(),v(Ue,this,i.$$events);for(const n of Object.keys(r(ke,this)))n==="$set"||n==="$destroy"||n==="$on"||Wt(this,n,{get(){return r(ke,this)[n]},set(s){r(ke,this)[n]=s},enumerable:!0});r(ke,this).$set=n=>{Object.assign(i,n)},r(ke,this).$destroy=()=>{Ar(r(ke,this))}}$set(e){r(ke,this).$set(e)}$on(e,t){r(Ue,this)[e]=r(Ue,this)[e]||[];const o=(...i)=>t.call(this,...i);return r(Ue,this)[e].push(o),()=>{r(Ue,this)[e]=r(Ue,this)[e].filter(i=>i!==o)}}$destroy(){r(ke,this).$destroy()}},Fn;typeof HTMLElement=="function"&&(Fn=class extends HTMLElement{constructor(e,t,o){super(),W(this,"$$ctor",void 0),W(this,"$$s",void 0),W(this,"$$c",void 0),W(this,"$$cn",!1),W(this,"$$d",{}),W(this,"$$r",!1),W(this,"$$p_d",{}),W(this,"$$l",{}),W(this,"$$l_u",new Map),W(this,"$$me",void 0),W(this,"$$shadowRoot",null),this.$$ctor=e,this.$$s=t,o&&(this.$$shadowRoot=this.attachShadow(o))}addEventListener(e,t,o){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,o)}removeEventListener(e,t,o){if(super.removeEventListener(e,t,o),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return n=>{const s=pi("slot");i!=="default"&&(s.name=i),_e(n,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},o=Fr(this);for(const i of this.$$s)i in o&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),t.default=!0):t[i]=e(i));for(const i of this.attributes){const n=this.$$g_p(i.name);n in this.$$d||(this.$$d[n]=io(n,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=Xr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=sr(()=>{ui(()=>{this.$$r=!0;for(const i of no(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const n=io(i,this.$$d[i],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,n)}this.$$r=!1})});for(const i in this.$$l)for(const n of this.$$l[i]){const s=this.$$c.$on(i,n);this.$$l_u.set(n,s)}this.$$l={}}}attributeChangedCallback(e,t,o){this.$$r||(e=this.$$g_p(e),this.$$d[e]=io(e,o,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return no(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function io(e,t,o,i){const n=o[e]?.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!o[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Fr(e){const t={};return e.childNodes.forEach(o=>{t[o.slot||"default"]=!0}),t}function Jr(e,t,o,i,n,s){let l=class extends Fn{constructor(){super(e,o,n),this.$$p_d=t}static get observedAttributes(){return no(t).map(a=>(t[a].attribute||a).toLowerCase())}};return no(t).forEach(a=>{Wt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(c){c=io(a,c,t),this.$$d[a]=c;var p=this.$$c;p&&(ot(p,a)?.get?p[a]=c:p.$set({[a]:c}))}})}),i.forEach(a=>{Wt(l.prototype,a,{get(){return this.$$c?.[a]}})}),s&&(l=s(l)),e.element=l,l}var qr={elements:[{name:"Hydrogen",atomic_mass:1.008,boil:20.271,category:"diatomic nonmetal",density:.08988,discovered_by:"Henry Cavendish",melt:13.99,molar_heat:28.836,named_by:"Antoine Lavoisier",number:1,period:1,group:1,phase:"Gas",symbol:"H",xpos:1,ypos:1,wxpos:1,wypos:1,shells:[1],electron_configuration:"1s1",electron_configuration_semantic:"1s1",electron_affinity:72.769,electronegativity_pauling:2.2,ionization_energies:[1312],block:"s"},{name:"Helium",atomic_mass:4.0026022,boil:4.222,category:"noble gas",density:.1786,discovered_by:"Pierre Janssen",melt:.95,molar_heat:null,named_by:null,number:2,period:1,group:18,phase:"Gas",symbol:"He",xpos:18,ypos:1,wxpos:32,wypos:1,shells:[2],electron_configuration:"1s2",electron_configuration_semantic:"1s2",electron_affinity:-48,electronegativity_pauling:null,ionization_energies:[2372.3,5250.5],block:"s"},{name:"Lithium",atomic_mass:6.94,boil:1603,category:"alkali metal",density:.534,discovered_by:"Johan August Arfwedson",melt:453.65,molar_heat:24.86,named_by:null,number:3,period:2,group:1,phase:"Solid",symbol:"Li",xpos:1,ypos:2,wxpos:1,wypos:2,shells:[2,1],electron_configuration:"1s2 2s1",electron_configuration_semantic:"[He] 2s1",electron_affinity:59.6326,electronegativity_pauling:.98,ionization_energies:[520.2,7298.1,11815],block:"s"},{name:"Beryllium",atomic_mass:9.01218315,boil:2742,category:"alkaline earth metal",density:1.85,discovered_by:"Louis Nicolas Vauquelin",melt:1560,molar_heat:16.443,named_by:null,number:4,period:2,group:2,phase:"Solid",symbol:"Be",xpos:2,ypos:2,wxpos:2,wypos:2,shells:[2,2],electron_configuration:"1s2 2s2",electron_configuration_semantic:"[He] 2s2",electron_affinity:-48,electronegativity_pauling:1.57,ionization_energies:[899.5,1757.1,14848.7,21006.6],block:"s"},{name:"Boron",atomic_mass:10.81,boil:4200,category:"metalloid",density:2.08,discovered_by:"Joseph Louis Gay-Lussac",melt:2349,molar_heat:11.087,named_by:null,number:5,period:2,group:13,phase:"Solid",symbol:"B",xpos:13,ypos:2,wxpos:27,wypos:2,shells:[2,3],electron_configuration:"1s2 2s2 2p1",electron_configuration_semantic:"[He] 2s2 2p1",electron_affinity:26.989,electronegativity_pauling:2.04,ionization_energies:[800.6,2427.1,3659.7,25025.8,32826.7],block:"p"},{name:"Carbon",atomic_mass:12.011,boil:null,category:"polyatomic nonmetal",density:1.821,discovered_by:"Ancient Egypt",melt:null,molar_heat:8.517,named_by:null,number:6,period:2,group:14,phase:"Solid",symbol:"C",xpos:14,ypos:2,wxpos:28,wypos:2,shells:[2,4],electron_configuration:"1s2 2s2 2p2",electron_configuration_semantic:"[He] 2s2 2p2",electron_affinity:121.7763,electronegativity_pauling:2.55,ionization_energies:[1086.5,2352.6,4620.5,6222.7,37831,47277],block:"p"},{name:"Nitrogen",atomic_mass:14.007,boil:77.355,category:"diatomic nonmetal",density:1.251,discovered_by:"Daniel Rutherford",melt:63.15,molar_heat:null,named_by:"Jean-Antoine Chaptal",number:7,period:2,group:15,phase:"Gas",symbol:"N",xpos:15,ypos:2,wxpos:29,wypos:2,shells:[2,5],electron_configuration:"1s2 2s2 2p3",electron_configuration_semantic:"[He] 2s2 2p3",electron_affinity:-6.8,electronegativity_pauling:3.04,ionization_energies:[1402.3,2856,4578.1,7475,9444.9,53266.6,64360],block:"p"},{name:"Oxygen",atomic_mass:15.999,boil:90.188,category:"diatomic nonmetal",density:1.429,discovered_by:"Carl Wilhelm Scheele",melt:54.36,molar_heat:null,named_by:"Antoine Lavoisier",number:8,period:2,group:16,phase:"Gas",symbol:"O",xpos:16,ypos:2,wxpos:30,wypos:2,shells:[2,6],electron_configuration:"1s2 2s2 2p4",electron_configuration_semantic:"[He] 2s2 2p4",electron_affinity:140.976,electronegativity_pauling:3.44,ionization_energies:[1313.9,3388.3,5300.5,7469.2,10989.5,13326.5,71330,84078],block:"p"},{name:"Fluorine",atomic_mass:18.9984031636,boil:85.03,category:"diatomic nonmetal",density:1.696,discovered_by:"André-Marie Ampère",melt:53.48,molar_heat:null,named_by:"Humphry Davy",number:9,period:2,group:17,phase:"Gas",symbol:"F",xpos:17,ypos:2,wxpos:31,wypos:2,shells:[2,7],electron_configuration:"1s2 2s2 2p5",electron_configuration_semantic:"[He] 2s2 2p5",electron_affinity:328.1649,electronegativity_pauling:3.98,ionization_energies:[1681,3374.2,6050.4,8407.7,11022.7,15164.1,17868,92038.1,106434.3],block:"p"},{name:"Neon",atomic_mass:20.17976,boil:27.104,category:"noble gas",density:.9002,discovered_by:"Morris Travers",melt:24.56,molar_heat:null,named_by:null,number:10,period:2,group:18,phase:"Gas",symbol:"Ne",xpos:18,ypos:2,wxpos:32,wypos:2,shells:[2,8],electron_configuration:"1s2 2s2 2p6",electron_configuration_semantic:"[He] 2s2 2p6",electron_affinity:-116,electronegativity_pauling:null,ionization_energies:[2080.7,3952.3,6122,9371,12177,15238,19999,23069.5,115379.5,131432],block:"p"},{name:"Sodium",atomic_mass:22.989769282,boil:1156.09,category:"alkali metal",density:.968,discovered_by:"Humphry Davy",melt:370.944,molar_heat:28.23,named_by:null,number:11,period:3,group:1,phase:"Solid",symbol:"Na",xpos:1,ypos:3,wxpos:1,wypos:3,shells:[2,8,1],electron_configuration:"1s2 2s2 2p6 3s1",electron_configuration_semantic:"[Ne] 3s1",electron_affinity:52.867,electronegativity_pauling:.93,ionization_energies:[495.8,4562,6910.3,9543,13354,16613,20117,25496,28932,141362,159076],block:"s"},{name:"Magnesium",atomic_mass:24.305,boil:1363,category:"alkaline earth metal",density:1.738,discovered_by:"Joseph Black",melt:923,molar_heat:24.869,named_by:null,number:12,period:3,group:2,phase:"Solid",symbol:"Mg",xpos:2,ypos:3,wxpos:2,wypos:3,shells:[2,8,2],electron_configuration:"1s2 2s2 2p6 3s2",electron_configuration_semantic:"[Ne] 3s2",electron_affinity:-40,electronegativity_pauling:1.31,ionization_energies:[737.7,1450.7,7732.7,10542.5,13630,18020,21711,25661,31653,35458,169988,189368],block:"s"},{name:"Aluminium",atomic_mass:26.98153857,boil:2743,category:"post-transition metal",density:2.7,discovered_by:null,melt:933.47,molar_heat:24.2,named_by:"Humphry Davy",number:13,period:3,group:13,phase:"Solid",symbol:"Al",xpos:13,ypos:3,wxpos:27,wypos:3,shells:[2,8,3],electron_configuration:"1s2 2s2 2p6 3s2 3p1",electron_configuration_semantic:"[Ne] 3s2 3p1",electron_affinity:41.762,electronegativity_pauling:1.61,ionization_energies:[577.5,1816.7,2744.8,11577,14842,18379,23326,27465,31853,38473,42647,201266,222316],block:"p"},{name:"Silicon",atomic_mass:28.085,boil:3538,category:"metalloid",density:2.329,discovered_by:"Jöns Jacob Berzelius",melt:1687,molar_heat:19.789,named_by:"Thomas Thomson (chemist)",number:14,period:3,group:14,phase:"Solid",symbol:"Si",xpos:14,ypos:3,wxpos:28,wypos:3,shells:[2,8,4],electron_configuration:"1s2 2s2 2p6 3s2 3p2",electron_configuration_semantic:"[Ne] 3s2 3p2",electron_affinity:134.0684,electronegativity_pauling:1.9,ionization_energies:[786.5,1577.1,3231.6,4355.5,16091,19805,23780,29287,33878,38726,45962,50502,235196,257923],block:"p"},{name:"Phosphorus",atomic_mass:30.9737619985,boil:null,category:"polyatomic nonmetal",density:1.823,discovered_by:"Hennig Brand",melt:null,molar_heat:23.824,named_by:null,number:15,period:3,group:15,phase:"Solid",symbol:"P",xpos:15,ypos:3,wxpos:29,wypos:3,shells:[2,8,5],electron_configuration:"1s2 2s2 2p6 3s2 3p3",electron_configuration_semantic:"[Ne] 3s2 3p3",electron_affinity:72.037,electronegativity_pauling:2.19,ionization_energies:[1011.8,1907,2914.1,4963.6,6273.9,21267,25431,29872,35905,40950,46261,54110,59024,271791,296195],block:"p"},{name:"Sulfur",atomic_mass:32.06,boil:717.8,category:"polyatomic nonmetal",density:2.07,discovered_by:"Ancient china",melt:388.36,molar_heat:22.75,named_by:null,number:16,period:3,group:16,phase:"Solid",symbol:"S",xpos:16,ypos:3,wxpos:30,wypos:3,shells:[2,8,6],electron_configuration:"1s2 2s2 2p6 3s2 3p4",electron_configuration_semantic:"[Ne] 3s2 3p4",electron_affinity:200.4101,electronegativity_pauling:2.58,ionization_energies:[999.6,2252,3357,4556,7004.3,8495.8,27107,31719,36621,43177,48710,54460,62930,68216,311048,337138],block:"p"},{name:"Chlorine",atomic_mass:35.45,boil:239.11,category:"diatomic nonmetal",density:3.2,discovered_by:"Carl Wilhelm Scheele",melt:171.6,molar_heat:null,named_by:null,number:17,period:3,group:17,phase:"Gas",symbol:"Cl",xpos:17,ypos:3,wxpos:31,wypos:3,shells:[2,8,7],electron_configuration:"1s2 2s2 2p6 3s2 3p5",electron_configuration_semantic:"[Ne] 3s2 3p5",electron_affinity:348.575,electronegativity_pauling:3.16,ionization_energies:[1251.2,2298,3822,5158.6,6542,9362,11018,33604,38600,43961,51068,57119,63363,72341,78095,352994,380760],block:"p"},{name:"Argon",atomic_mass:39.9481,boil:87.302,category:"noble gas",density:1.784,discovered_by:"Lord Rayleigh",melt:83.81,molar_heat:null,named_by:null,number:18,period:3,group:18,phase:"Gas",symbol:"Ar",xpos:18,ypos:3,wxpos:32,wypos:3,shells:[2,8,8],electron_configuration:"1s2 2s2 2p6 3s2 3p6",electron_configuration_semantic:"[Ne] 3s2 3p6",electron_affinity:-96,electronegativity_pauling:null,ionization_energies:[1520.6,2665.8,3931,5771,7238,8781,11995,13842,40760,46186,52002,59653,66199,72918,82473,88576,397605,427066],block:"p"},{name:"Potassium",atomic_mass:39.09831,boil:1032,category:"alkali metal",density:.862,discovered_by:"Humphry Davy",melt:336.7,molar_heat:29.6,named_by:null,number:19,period:4,group:1,phase:"Solid",symbol:"K",xpos:1,ypos:4,wxpos:1,wypos:4,shells:[2,8,8,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s1",electron_configuration_semantic:"[Ar] 4s1",electron_affinity:48.383,electronegativity_pauling:.82,ionization_energies:[418.8,3052,4420,5877,7975,9590,11343,14944,16963.7,48610,54490,60730,68950,75900,83080,93400,99710,444880,476063],block:"s"},{name:"Calcium",atomic_mass:40.0784,boil:1757,category:"alkaline earth metal",density:1.55,discovered_by:"Humphry Davy",melt:1115,molar_heat:25.929,named_by:null,number:20,period:4,group:2,phase:"Solid",symbol:"Ca",xpos:2,ypos:4,wxpos:2,wypos:4,shells:[2,8,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2",electron_configuration_semantic:"[Ar] 4s2",electron_affinity:2.37,electronegativity_pauling:1,ionization_energies:[589.8,1145.4,4912.4,6491,8153,10496,12270,14206,18191,20385,57110,63410,70110,78890,86310,94e3,104900,111711,494850,527762],block:"s"},{name:"Scandium",atomic_mass:44.9559085,boil:3109,category:"transition metal",density:2.985,discovered_by:"Lars Fredrik Nilson",melt:1814,molar_heat:25.52,named_by:null,number:21,period:4,group:3,phase:"Solid",symbol:"Sc",xpos:3,ypos:4,wxpos:17,wypos:4,shells:[2,8,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d1",electron_configuration_semantic:"[Ar] 3d1 4s2",electron_affinity:18,electronegativity_pauling:1.36,ionization_energies:[633.1,1235,2388.6,7090.6,8843,10679,13310,15250,17370,21726,24102,66320,73010,80160,89490,97400,105600,117e3,124270,547530,582163],block:"d"},{name:"Titanium",atomic_mass:47.8671,boil:3560,category:"transition metal",density:4.506,discovered_by:"William Gregor",melt:1941,molar_heat:25.06,named_by:"Martin Heinrich Klaproth",number:22,period:4,group:4,phase:"Solid",symbol:"Ti",xpos:4,ypos:4,wxpos:18,wypos:4,shells:[2,8,10,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d2",electron_configuration_semantic:"[Ar] 3d2 4s2",electron_affinity:7.289,electronegativity_pauling:1.54,ionization_energies:[658.8,1309.8,2652.5,4174.6,9581,11533,13590,16440,18530,20833,25575,28125,76015,83280,90880,100700,109100,117800,129900,137530,602930,639294],block:"d"},{name:"Vanadium",atomic_mass:50.94151,boil:3680,category:"transition metal",density:6,discovered_by:"Andrés Manuel del Río",melt:2183,molar_heat:24.89,named_by:"Isotopes of vanadium",number:23,period:4,group:5,phase:"Solid",symbol:"V",xpos:5,ypos:4,wxpos:19,wypos:4,shells:[2,8,11,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d3",electron_configuration_semantic:"[Ar] 3d3 4s2",electron_affinity:50.911,electronegativity_pauling:1.63,ionization_energies:[650.9,1414,2830,4507,6298.7,12363,14530,16730,19860,22240,24670,29730,32446,86450,94170,102300,112700,121600,130700,143400,151440,661050,699144],block:"d"},{name:"Chromium",atomic_mass:51.99616,boil:2944,category:"transition metal",density:7.19,discovered_by:"Louis Nicolas Vauquelin",melt:2180,molar_heat:23.35,named_by:null,number:24,period:4,group:6,phase:"Solid",symbol:"Cr",xpos:6,ypos:4,wxpos:20,wypos:4,shells:[2,8,13,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s1 3d5",electron_configuration_semantic:"[Ar] 3d5 4s1",electron_affinity:65.21,electronegativity_pauling:1.66,ionization_energies:[652.9,1590.6,2987,4743,6702,8744.9,15455,17820,20190,23580,26130,28750,34230,37066,97510,105800,114300,125300,134700,144300,157700,166090,721870,761733],block:"d"},{name:"Manganese",atomic_mass:54.9380443,boil:2334,category:"transition metal",density:7.21,discovered_by:"Torbern Olof Bergman",melt:1519,molar_heat:26.32,named_by:null,number:25,period:4,group:7,phase:"Solid",symbol:"Mn",xpos:7,ypos:4,wxpos:21,wypos:4,shells:[2,8,13,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d5",electron_configuration_semantic:"[Ar] 3d5 4s2",electron_affinity:-50,electronegativity_pauling:1.55,ionization_energies:[717.3,1509,3248,4940,6990,9220,11500,18770,21400,23960,27590,30330,33150,38880,41987,109480,118100,127100,138600,148500,158600,172500,181380,785450,827067],block:"d"},{name:"Iron",atomic_mass:55.8452,boil:3134,category:"transition metal",density:7.874,discovered_by:"5000 BC",melt:1811,molar_heat:25.1,named_by:null,number:26,period:4,group:8,phase:"Solid",symbol:"Fe",xpos:8,ypos:4,wxpos:22,wypos:4,shells:[2,8,14,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d6",electron_configuration_semantic:"[Ar] 3d6 4s2",electron_affinity:14.785,electronegativity_pauling:1.83,ionization_energies:[762.5,1561.9,2957,5290,7240,9560,12060,14580,22540,25290,28e3,31920,34830,37840,44100,47206,122200,131e3,140500,152600,163e3,173600,188100,195200,851800,895161],block:"d"},{name:"Cobalt",atomic_mass:58.9331944,boil:3200,category:"transition metal",density:8.9,discovered_by:"Georg Brandt",melt:1768,molar_heat:24.81,named_by:null,number:27,period:4,group:9,phase:"Solid",symbol:"Co",xpos:9,ypos:4,wxpos:23,wypos:4,shells:[2,8,15,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d7",electron_configuration_semantic:"[Ar] 3d7 4s2",electron_affinity:63.898,electronegativity_pauling:1.88,ionization_energies:[760.4,1648,3232,4950,7670,9840,12440,15230,17959,26570,29400,32400,36600,39700,42800,49396,52737,134810,145170,154700,167400,178100,189300,204500,214100,920870,966023],block:"d"},{name:"Nickel",atomic_mass:58.69344,boil:3003,category:"transition metal",density:8.908,discovered_by:"Axel Fredrik Cronstedt",melt:1728,molar_heat:26.07,named_by:null,number:28,period:4,group:10,phase:"Solid",symbol:"Ni",xpos:10,ypos:4,wxpos:24,wypos:4,shells:[2,8,16,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d8",electron_configuration_semantic:"[Ar] 3d8 4s2",electron_affinity:111.65,electronegativity_pauling:1.91,ionization_energies:[737.1,1753,3395,5300,7339,10400,12800,15600,18600,21670,30970,34e3,37100,41500,44800,48100,55101,58570,148700,159e3,169400,182700,194e3,205600,221400,231490,992718,1039668],block:"d"},{name:"Copper",atomic_mass:63.5463,boil:2835,category:"transition metal",density:8.96,discovered_by:"Middle East",melt:1357.77,molar_heat:24.44,named_by:null,number:29,period:4,group:11,phase:"Solid",symbol:"Cu",xpos:11,ypos:4,wxpos:25,wypos:4,shells:[2,8,18,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s1 3d10",electron_configuration_semantic:"[Ar] 3d10 4s1",electron_affinity:119.235,electronegativity_pauling:1.9,ionization_energies:[745.5,1957.9,3555,5536,7700,9900,13400,16e3,19200,22400,25600,35600,38700,42e3,46700,50200,53700,61100,64702,163700,174100,184900,198800,210500,222700,239100,249660,1067358,1116105],block:"d"},{name:"Zinc",atomic_mass:65.382,boil:1180,category:"transition metal",density:7.14,discovered_by:"India",melt:692.68,molar_heat:25.47,named_by:null,number:30,period:4,group:12,phase:"Solid",symbol:"Zn",xpos:12,ypos:4,wxpos:26,wypos:4,shells:[2,8,18,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10",electron_configuration_semantic:"[Ar] 3d10 4s2",electron_affinity:-58,electronegativity_pauling:1.65,ionization_energies:[906.4,1733.3,3833,5731,7970,10400,12900,16800,19600,23e3,26400,29990,40490,43800,47300,52300,55900,59700,67300,71200,179100],block:"d"},{name:"Gallium",atomic_mass:69.7231,boil:2673,category:"post-transition metal",density:5.91,discovered_by:"Lecoq de Boisbaudran",melt:302.9146,molar_heat:25.86,named_by:null,number:31,period:4,group:13,phase:"Solid",symbol:"Ga",xpos:13,ypos:4,wxpos:27,wypos:4,shells:[2,8,18,3],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p1",electron_configuration_semantic:"[Ar] 3d10 4s2 4p1",electron_affinity:41,electronegativity_pauling:1.81,ionization_energies:[578.8,1979.3,2963,6180],block:"p"},{name:"Germanium",atomic_mass:72.6308,boil:3106,category:"metalloid",density:5.323,discovered_by:"Clemens Winkler",melt:1211.4,molar_heat:23.222,named_by:null,number:32,period:4,group:14,phase:"Solid",symbol:"Ge",xpos:14,ypos:4,wxpos:28,wypos:4,shells:[2,8,18,4],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p2",electron_configuration_semantic:"[Ar] 3d10 4s2 4p2",electron_affinity:118.9352,electronegativity_pauling:2.01,ionization_energies:[762,1537.5,3302.1,4411,9020],block:"p"},{name:"Arsenic",atomic_mass:74.9215956,boil:null,category:"metalloid",density:5.727,discovered_by:"Bronze Age",melt:null,molar_heat:24.64,named_by:null,number:33,period:4,group:15,phase:"Solid",symbol:"As",xpos:15,ypos:4,wxpos:29,wypos:4,shells:[2,8,18,5],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p3",electron_configuration_semantic:"[Ar] 3d10 4s2 4p3",electron_affinity:77.65,electronegativity_pauling:2.18,ionization_energies:[947,1798,2735,4837,6043,12310],block:"p"},{name:"Selenium",atomic_mass:78.9718,boil:958,category:"polyatomic nonmetal",density:4.81,discovered_by:"Jöns Jakob Berzelius",melt:494,molar_heat:25.363,named_by:null,number:34,period:4,group:16,phase:"Solid",symbol:"Se",xpos:16,ypos:4,wxpos:30,wypos:4,shells:[2,8,18,6],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4",electron_configuration_semantic:"[Ar] 3d10 4s2 4p4",electron_affinity:194.9587,electronegativity_pauling:2.55,ionization_energies:[941,2045,2973.7,4144,6590,7880,14990],block:"p"},{name:"Bromine",atomic_mass:79.904,boil:332,category:"diatomic nonmetal",density:3.1028,discovered_by:"Antoine Jérôme Balard",melt:265.8,molar_heat:null,named_by:null,number:35,period:4,group:17,phase:"Liquid",symbol:"Br",xpos:17,ypos:4,wxpos:31,wypos:4,shells:[2,8,18,7],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p5",electron_configuration_semantic:"[Ar] 3d10 4s2 4p5",electron_affinity:324.537,electronegativity_pauling:2.96,ionization_energies:[1139.9,2103,3470,4560,5760,8550,9940,18600],block:"p"},{name:"Krypton",atomic_mass:83.7982,boil:119.93,category:"noble gas",density:3.749,discovered_by:"William Ramsay",melt:115.78,molar_heat:null,named_by:null,number:36,period:4,group:18,phase:"Gas",symbol:"Kr",xpos:18,ypos:4,wxpos:32,wypos:4,shells:[2,8,18,8],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6",electron_configuration_semantic:"[Ar] 3d10 4s2 4p6",electron_affinity:-96,electronegativity_pauling:3,ionization_energies:[1350.8,2350.4,3565,5070,6240,7570,10710,12138,22274,25880,29700,33800,37700,43100,47500,52200,57100,61800,75800,80400,85300,90400,96300,101400,111100,116290,282500,296200,311400,326200],block:"p"},{name:"Rubidium",atomic_mass:85.46783,boil:961,category:"alkali metal",density:1.532,discovered_by:"Robert Bunsen",melt:312.45,molar_heat:31.06,named_by:null,number:37,period:5,group:1,phase:"Solid",symbol:"Rb",xpos:1,ypos:5,wxpos:1,wypos:5,shells:[2,8,18,8,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1",electron_configuration_semantic:"[Kr] 5s1",electron_affinity:46.884,electronegativity_pauling:.82,ionization_energies:[403,2633,3860,5080,6850,8140,9570,13120,14500,26740],block:"s"},{name:"Strontium",atomic_mass:87.621,boil:1650,category:"alkaline earth metal",density:2.64,discovered_by:"William Cruickshank (chemist)",melt:1050,molar_heat:26.4,named_by:null,number:38,period:5,group:2,phase:"Solid",symbol:"Sr",xpos:2,ypos:5,wxpos:2,wypos:5,shells:[2,8,18,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2",electron_configuration_semantic:"[Kr] 5s2",electron_affinity:5.023,electronegativity_pauling:.95,ionization_energies:[549.5,1064.2,4138,5500,6910,8760,10230,11800,15600,17100,31270],block:"s"},{name:"Yttrium",atomic_mass:88.905842,boil:3203,category:"transition metal",density:4.472,discovered_by:"Johan Gadolin",melt:1799,molar_heat:26.53,named_by:null,number:39,period:5,group:3,phase:"Solid",symbol:"Y",xpos:3,ypos:5,wxpos:17,wypos:5,shells:[2,8,18,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d1",electron_configuration_semantic:"[Kr] 4d1 5s2",electron_affinity:29.6,electronegativity_pauling:1.22,ionization_energies:[600,1180,1980,5847,7430,8970,11190,12450,14110,18400,19900,36090],block:"d"},{name:"Zirconium",atomic_mass:91.2242,boil:4650,category:"transition metal",density:6.52,discovered_by:"Martin Heinrich Klaproth",melt:2128,molar_heat:25.36,named_by:null,number:40,period:5,group:4,phase:"Solid",symbol:"Zr",xpos:4,ypos:5,wxpos:18,wypos:5,shells:[2,8,18,10,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d2",electron_configuration_semantic:"[Kr] 4d2 5s2",electron_affinity:41.806,electronegativity_pauling:1.33,ionization_energies:[640.1,1270,2218,3313,7752,9500],block:"d"},{name:"Niobium",atomic_mass:92.906372,boil:5017,category:"transition metal",density:8.57,discovered_by:"Charles Hatchett",melt:2750,molar_heat:24.6,named_by:null,number:41,period:5,group:5,phase:"Solid",symbol:"Nb",xpos:5,ypos:5,wxpos:19,wypos:5,shells:[2,8,18,12,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d4",electron_configuration_semantic:"[Kr] 4d4 5s1",electron_affinity:88.516,electronegativity_pauling:1.6,ionization_energies:[652.1,1380,2416,3700,4877,9847,12100],block:"d"},{name:"Molybdenum",atomic_mass:95.951,boil:4912,category:"transition metal",density:10.28,discovered_by:"Carl Wilhelm Scheele",melt:2896,molar_heat:24.06,named_by:null,number:42,period:5,group:6,phase:"Solid",symbol:"Mo",xpos:6,ypos:5,wxpos:20,wypos:5,shells:[2,8,18,13,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d5",electron_configuration_semantic:"[Kr] 4d5 5s1",electron_affinity:72.1,electronegativity_pauling:2.16,ionization_energies:[684.3,1560,2618,4480,5257,6640.8,12125,13860,15835,17980,20190,22219,26930,29196,52490,55e3,61400,67700,74e3,80400,87e3,93400,98420,104400,121900,127700,133800,139800,148100,154500],block:"d"},{name:"Technetium",atomic_mass:98,boil:4538,category:"transition metal",density:11,discovered_by:"Emilio Segrè",melt:2430,molar_heat:24.27,named_by:null,number:43,period:5,group:7,phase:"Solid",symbol:"Tc",xpos:7,ypos:5,wxpos:21,wypos:5,shells:[2,8,18,13,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d5",electron_configuration_semantic:"[Kr] 4d5 5s2",electron_affinity:53,electronegativity_pauling:1.9,ionization_energies:[702,1470,2850],block:"d"},{name:"Ruthenium",atomic_mass:101.072,boil:4423,category:"transition metal",density:12.45,discovered_by:"Karl Ernst Claus",melt:2607,molar_heat:24.06,named_by:null,number:44,period:5,group:8,phase:"Solid",symbol:"Ru",xpos:8,ypos:5,wxpos:22,wypos:5,shells:[2,8,18,15,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d7",electron_configuration_semantic:"[Kr] 4d7 5s1",electron_affinity:100.96,electronegativity_pauling:2.2,ionization_energies:[710.2,1620,2747],block:"d"},{name:"Rhodium",atomic_mass:102.905502,boil:3968,category:"transition metal",density:12.41,discovered_by:"William Hyde Wollaston",melt:2237,molar_heat:24.98,named_by:null,number:45,period:5,group:9,phase:"Solid",symbol:"Rh",xpos:9,ypos:5,wxpos:23,wypos:5,shells:[2,8,18,16,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d8",electron_configuration_semantic:"[Kr] 4d8 5s1",electron_affinity:110.27,electronegativity_pauling:2.28,ionization_energies:[719.7,1740,2997],block:"d"},{name:"Palladium",atomic_mass:106.421,boil:3236,category:"transition metal",density:12.023,discovered_by:"William Hyde Wollaston",melt:1828.05,molar_heat:25.98,named_by:null,number:46,period:5,group:10,phase:"Solid",symbol:"Pd",xpos:10,ypos:5,wxpos:24,wypos:5,shells:[2,8,18,18],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 4d10",electron_configuration_semantic:"[Kr] 4d10",electron_affinity:54.24,electronegativity_pauling:2.2,ionization_energies:[804.4,1870,3177],block:"d"},{name:"Silver",atomic_mass:107.86822,boil:2435,category:"transition metal",density:10.49,discovered_by:"unknown, before 5000 BC",melt:1234.93,molar_heat:25.35,named_by:null,number:47,period:5,group:11,phase:"Solid",symbol:"Ag",xpos:11,ypos:5,wxpos:25,wypos:5,shells:[2,8,18,18,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s1 4d10",electron_configuration_semantic:"[Kr] 4d10 5s1",electron_affinity:125.862,electronegativity_pauling:1.93,ionization_energies:[731,2070,3361],block:"d"},{name:"Cadmium",atomic_mass:112.4144,boil:1040,category:"transition metal",density:8.65,discovered_by:"Karl Samuel Leberecht Hermann",melt:594.22,molar_heat:26.02,named_by:"Isotopes of cadmium",number:48,period:5,group:12,phase:"Solid",symbol:"Cd",xpos:12,ypos:5,wxpos:26,wypos:5,shells:[2,8,18,18,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10",electron_configuration_semantic:"[Kr] 4d10 5s2",electron_affinity:-68,electronegativity_pauling:1.69,ionization_energies:[867.8,1631.4,3616],block:"d"},{name:"Indium",atomic_mass:114.8181,boil:2345,category:"post-transition metal",density:7.31,discovered_by:"Ferdinand Reich",melt:429.7485,molar_heat:26.74,named_by:null,number:49,period:5,group:13,phase:"Solid",symbol:"In",xpos:13,ypos:5,wxpos:27,wypos:5,shells:[2,8,18,18,3],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p1",electron_configuration_semantic:"[Kr] 4d10 5s2 5p1",electron_affinity:37.043,electronegativity_pauling:1.78,ionization_energies:[558.3,1820.7,2704,5210],block:"p"},{name:"Tin",atomic_mass:118.7107,boil:2875,category:"post-transition metal",density:7.365,discovered_by:"unknown, before 3500 BC",melt:505.08,molar_heat:27.112,named_by:null,number:50,period:5,group:14,phase:"Solid",symbol:"Sn",xpos:14,ypos:5,wxpos:28,wypos:5,shells:[2,8,18,18,4],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p2",electron_configuration_semantic:"[Kr] 4d10 5s2 5p2",electron_affinity:107.2984,electronegativity_pauling:1.96,ionization_energies:[708.6,1411.8,2943,3930.3,7456],block:"p"},{name:"Antimony",atomic_mass:121.7601,boil:1908,category:"metalloid",density:6.697,discovered_by:"unknown, before 3000 BC",melt:903.78,molar_heat:25.23,named_by:null,number:51,period:5,group:15,phase:"Solid",symbol:"Sb",xpos:15,ypos:5,wxpos:29,wypos:5,shells:[2,8,18,18,5],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p3",electron_configuration_semantic:"[Kr] 4d10 5s2 5p3",electron_affinity:101.059,electronegativity_pauling:2.05,ionization_energies:[834,1594.9,2440,4260,5400,10400],block:"p"},{name:"Tellurium",atomic_mass:127.603,boil:1261,category:"metalloid",density:6.24,discovered_by:"Franz-Joseph Müller von Reichenstein",melt:722.66,molar_heat:25.73,named_by:null,number:52,period:5,group:16,phase:"Solid",symbol:"Te",xpos:16,ypos:5,wxpos:30,wypos:5,shells:[2,8,18,18,6],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p4",electron_configuration_semantic:"[Kr] 4d10 5s2 5p4",electron_affinity:190.161,electronegativity_pauling:2.1,ionization_energies:[869.3,1790,2698,3610,5668,6820,13200],block:"p"},{name:"Iodine",atomic_mass:126.904473,boil:457.4,category:"diatomic nonmetal",density:4.933,discovered_by:"Bernard Courtois",melt:386.85,molar_heat:null,named_by:null,number:53,period:5,group:17,phase:"Solid",symbol:"I",xpos:17,ypos:5,wxpos:31,wypos:5,shells:[2,8,18,18,7],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p5",electron_configuration_semantic:"[Kr] 4d10 5s2 5p5",electron_affinity:295.1531,electronegativity_pauling:2.66,ionization_energies:[1008.4,1845.9,3180],block:"p"},{name:"Xenon",atomic_mass:131.2936,boil:165.051,category:"noble gas",density:5.894,discovered_by:"William Ramsay",melt:161.4,molar_heat:null,named_by:null,number:54,period:5,group:18,phase:"Gas",symbol:"Xe",xpos:18,ypos:5,wxpos:32,wypos:5,shells:[2,8,18,18,8],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6",electron_configuration_semantic:"[Kr] 4d10 5s2 5p6",electron_affinity:-77,electronegativity_pauling:2.6,ionization_energies:[1170.4,2046.4,3099.4],block:"p"},{name:"Cesium",atomic_mass:132.905451966,boil:944,category:"alkali metal",density:1.93,discovered_by:"Robert Bunsen",melt:301.7,molar_heat:32.21,named_by:null,number:55,period:6,group:1,phase:"Solid",symbol:"Cs",xpos:1,ypos:6,wxpos:1,wypos:6,shells:[2,8,18,18,8,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1",electron_configuration_semantic:"[Xe] 6s1",electron_affinity:45.505,electronegativity_pauling:.79,ionization_energies:[375.7,2234.3,3400],block:"s"},{name:"Barium",atomic_mass:137.3277,boil:2118,category:"alkaline earth metal",density:3.51,discovered_by:"Carl Wilhelm Scheele",melt:1e3,molar_heat:28.07,named_by:null,number:56,period:6,group:2,phase:"Solid",symbol:"Ba",xpos:2,ypos:6,wxpos:2,wypos:6,shells:[2,8,18,18,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2",electron_configuration_semantic:"[Xe] 6s2",electron_affinity:13.954,electronegativity_pauling:.89,ionization_energies:[502.9,965.2,3600],block:"s"},{name:"Lanthanum",atomic_mass:138.905477,boil:3737,category:"lanthanide",density:6.162,discovered_by:"Carl Gustaf Mosander",melt:1193,molar_heat:27.11,named_by:null,number:57,period:6,group:3,phase:"Solid",symbol:"La",xpos:3,ypos:9,wxpos:3,wypos:6,shells:[2,8,18,18,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1",electron_configuration_semantic:"[Xe] 5d16s2",electron_affinity:53,electronegativity_pauling:1.1,ionization_energies:[538.1,1067,1850.3,4819,5940],block:"f"},{name:"Cerium",atomic_mass:140.1161,boil:3716,category:"lanthanide",density:6.77,discovered_by:"Martin Heinrich Klaproth",melt:1068,molar_heat:26.94,named_by:null,number:58,period:6,group:3,phase:"Solid",symbol:"Ce",xpos:4,ypos:9,wxpos:4,wypos:6,shells:[2,8,18,19,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 5d1 4f1",electron_configuration_semantic:"[Xe] 4f1 5d1 6s2",electron_affinity:55,electronegativity_pauling:1.12,ionization_energies:[534.4,1050,1949,3547,6325,7490],block:"f"},{name:"Praseodymium",atomic_mass:140.907662,boil:3403,category:"lanthanide",density:6.77,discovered_by:"Carl Auer von Welsbach",melt:1208,molar_heat:27.2,named_by:null,number:59,period:6,group:3,phase:"Solid",symbol:"Pr",xpos:5,ypos:9,wxpos:5,wypos:6,shells:[2,8,18,21,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f3",electron_configuration_semantic:"[Xe] 4f3 6s2",electron_affinity:93,electronegativity_pauling:1.13,ionization_energies:[527,1020,2086,3761,5551],block:"f"},{name:"Neodymium",atomic_mass:144.2423,boil:3347,category:"lanthanide",density:7.01,discovered_by:"Carl Auer von Welsbach",melt:1297,molar_heat:27.45,named_by:null,number:60,period:6,group:3,phase:"Solid",symbol:"Nd",xpos:6,ypos:9,wxpos:6,wypos:6,shells:[2,8,18,22,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f4",electron_configuration_semantic:"[Xe] 4f4 6s2",electron_affinity:184.87,electronegativity_pauling:1.14,ionization_energies:[533.1,1040,2130,3900],block:"f"},{name:"Promethium",atomic_mass:145,boil:3273,category:"lanthanide",density:7.26,discovered_by:"Chien Shiung Wu",melt:1315,molar_heat:null,named_by:"Isotopes of promethium",number:61,period:6,group:3,phase:"Solid",symbol:"Pm",xpos:7,ypos:9,wxpos:7,wypos:6,shells:[2,8,18,23,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f5",electron_configuration_semantic:"[Xe] 4f5 6s2",electron_affinity:12.45,electronegativity_pauling:1.13,ionization_energies:[540,1050,2150,3970],block:"f"},{name:"Samarium",atomic_mass:150.362,boil:2173,category:"lanthanide",density:7.52,discovered_by:"Lecoq de Boisbaudran",melt:1345,molar_heat:29.54,named_by:null,number:62,period:6,group:3,phase:"Solid",symbol:"Sm",xpos:8,ypos:9,wxpos:8,wypos:6,shells:[2,8,18,24,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f6",electron_configuration_semantic:"[Xe] 4f6 6s2",electron_affinity:15.63,electronegativity_pauling:1.17,ionization_energies:[544.5,1070,2260,3990],block:"f"},{name:"Europium",atomic_mass:151.9641,boil:1802,category:"lanthanide",density:5.264,discovered_by:"Eugène-Anatole Demarçay",melt:1099,molar_heat:27.66,named_by:null,number:63,period:6,group:3,phase:"Solid",symbol:"Eu",xpos:9,ypos:9,wxpos:9,wypos:6,shells:[2,8,18,25,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7",electron_configuration_semantic:"[Xe] 4f7 6s2",electron_affinity:11.2,electronegativity_pauling:1.2,ionization_energies:[547.1,1085,2404,4120],block:"f"},{name:"Gadolinium",atomic_mass:157.253,boil:3273,category:"lanthanide",density:7.9,discovered_by:"Jean Charles Galissard de Marignac",melt:1585,molar_heat:37.03,named_by:null,number:64,period:6,group:3,phase:"Solid",symbol:"Gd",xpos:10,ypos:9,wxpos:10,wypos:6,shells:[2,8,18,25,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f7 5d1",electron_configuration_semantic:"[Xe] 4f7 5d1 6s2",electron_affinity:13.22,electronegativity_pauling:1.2,ionization_energies:[593.4,1170,1990,4250],block:"f"},{name:"Terbium",atomic_mass:158.925352,boil:3396,category:"lanthanide",density:8.23,discovered_by:"Carl Gustaf Mosander",melt:1629,molar_heat:28.91,named_by:null,number:65,period:6,group:3,phase:"Solid",symbol:"Tb",xpos:11,ypos:9,wxpos:11,wypos:6,shells:[2,8,18,27,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f9",electron_configuration_semantic:"[Xe] 4f9 6s2",electron_affinity:112.4,electronegativity_pauling:1.1,ionization_energies:[565.8,1110,2114,3839],block:"f"},{name:"Dysprosium",atomic_mass:162.5001,boil:2840,category:"lanthanide",density:8.54,discovered_by:"Lecoq de Boisbaudran",melt:1680,molar_heat:27.7,named_by:null,number:66,period:6,group:3,phase:"Solid",symbol:"Dy",xpos:12,ypos:9,wxpos:12,wypos:6,shells:[2,8,18,28,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f10",electron_configuration_semantic:"[Xe] 4f10 6s2",electron_affinity:33.96,electronegativity_pauling:1.22,ionization_energies:[573,1130,2200,3990],block:"f"},{name:"Holmium",atomic_mass:164.930332,boil:2873,category:"lanthanide",density:8.79,discovered_by:"Marc Delafontaine",melt:1734,molar_heat:27.15,named_by:null,number:67,period:6,group:3,phase:"Solid",symbol:"Ho",xpos:13,ypos:9,wxpos:13,wypos:6,shells:[2,8,18,29,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f11",electron_configuration_semantic:"[Xe] 4f11 6s2",electron_affinity:32.61,electronegativity_pauling:1.23,ionization_energies:[581,1140,2204,4100],block:"f"},{name:"Erbium",atomic_mass:167.2593,boil:3141,category:"lanthanide",density:9.066,discovered_by:"Carl Gustaf Mosander",melt:1802,molar_heat:28.12,named_by:null,number:68,period:6,group:3,phase:"Solid",symbol:"Er",xpos:14,ypos:9,wxpos:14,wypos:6,shells:[2,8,18,30,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f12",electron_configuration_semantic:"[Xe] 4f12 6s2",electron_affinity:30.1,electronegativity_pauling:1.24,ionization_energies:[589.3,1150,2194,4120],block:"f"},{name:"Thulium",atomic_mass:168.934222,boil:2223,category:"lanthanide",density:9.32,discovered_by:"Per Teodor Cleve",melt:1818,molar_heat:27.03,named_by:null,number:69,period:6,group:3,phase:"Solid",symbol:"Tm",xpos:15,ypos:9,wxpos:15,wypos:6,shells:[2,8,18,31,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f13",electron_configuration_semantic:"[Xe] 4f13 6s2",electron_affinity:99,electronegativity_pauling:1.25,ionization_energies:[596.7,1160,2285,4120],block:"f"},{name:"Ytterbium",atomic_mass:173.0451,boil:1469,category:"lanthanide",density:6.9,discovered_by:"Jean Charles Galissard de Marignac",melt:1097,molar_heat:26.74,named_by:null,number:70,period:6,group:3,phase:"Solid",symbol:"Yb",xpos:16,ypos:9,wxpos:16,wypos:6,shells:[2,8,18,32,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14",electron_configuration_semantic:"[Xe] 4f14 6s2",electron_affinity:-1.93,electronegativity_pauling:1.1,ionization_energies:[603.4,1174.8,2417,4203],block:"f"},{name:"Lutetium",atomic_mass:174.96681,boil:3675,category:"lanthanide",density:9.841,discovered_by:"Georges Urbain",melt:1925,molar_heat:26.86,named_by:null,number:71,period:6,group:3,phase:"Solid",symbol:"Lu",xpos:17,ypos:9,wxpos:17,wypos:6,shells:[2,8,18,32,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d1",electron_configuration_semantic:"[Xe] 4f14 5d1 6s2",electron_affinity:33.4,electronegativity_pauling:1.27,ionization_energies:[523.5,1340,2022.3,4370,6445],block:"d"},{name:"Hafnium",atomic_mass:178.492,boil:4876,category:"transition metal",density:13.31,discovered_by:"Dirk Coster",melt:2506,molar_heat:25.73,named_by:null,number:72,period:6,group:4,phase:"Solid",symbol:"Hf",xpos:4,ypos:6,wxpos:18,wypos:6,shells:[2,8,18,32,10,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d2",electron_configuration_semantic:"[Xe] 4f14 5d2 6s2",electron_affinity:17.18,electronegativity_pauling:1.3,ionization_energies:[658.5,1440,2250,3216],block:"d"},{name:"Tantalum",atomic_mass:180.947882,boil:5731,category:"transition metal",density:16.69,discovered_by:"Anders Gustaf Ekeberg",melt:3290,molar_heat:25.36,named_by:null,number:73,period:6,group:5,phase:"Solid",symbol:"Ta",xpos:5,ypos:6,wxpos:19,wypos:6,shells:[2,8,18,32,11,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d3",electron_configuration_semantic:"[Xe] 4f14 5d3 6s2",electron_affinity:31,electronegativity_pauling:1.5,ionization_energies:[761,1500],block:"d"},{name:"Tungsten",atomic_mass:183.841,boil:6203,category:"transition metal",density:19.25,discovered_by:"Carl Wilhelm Scheele",melt:3695,molar_heat:24.27,named_by:null,number:74,period:6,group:6,phase:"Solid",symbol:"W",xpos:6,ypos:6,wxpos:20,wypos:6,shells:[2,8,18,32,12,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d4",electron_configuration_semantic:"[Xe] 4f14 5d4 6s2",electron_affinity:78.76,electronegativity_pauling:2.36,ionization_energies:[770,1700],block:"d"},{name:"Rhenium",atomic_mass:186.2071,boil:5869,category:"transition metal",density:21.02,discovered_by:"Masataka Ogawa",melt:3459,molar_heat:25.48,named_by:"Walter Noddack",number:75,period:6,group:7,phase:"Solid",symbol:"Re",xpos:7,ypos:6,wxpos:21,wypos:6,shells:[2,8,18,32,13,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d5",electron_configuration_semantic:"[Xe] 4f14 5d5 6s2",electron_affinity:5.8273,electronegativity_pauling:1.9,ionization_energies:[760,1260,2510,3640],block:"d"},{name:"Osmium",atomic_mass:190.233,boil:5285,category:"transition metal",density:22.59,discovered_by:"Smithson Tennant",melt:3306,molar_heat:24.7,named_by:null,number:76,period:6,group:8,phase:"Solid",symbol:"Os",xpos:8,ypos:6,wxpos:22,wypos:6,shells:[2,8,18,32,14,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d6",electron_configuration_semantic:"[Xe] 4f14 5d6 6s2",electron_affinity:103.99,electronegativity_pauling:2.2,ionization_energies:[840,1600],block:"d"},{name:"Iridium",atomic_mass:192.2173,boil:4403,category:"transition metal",density:22.56,discovered_by:"Smithson Tennant",melt:2719,molar_heat:25.1,named_by:null,number:77,period:6,group:9,phase:"Solid",symbol:"Ir",xpos:9,ypos:6,wxpos:23,wypos:6,shells:[2,8,18,32,15,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d7",electron_configuration_semantic:"[Xe] 4f14 5d7 6s2",electron_affinity:150.94,electronegativity_pauling:2.2,ionization_energies:[880,1600],block:"d"},{name:"Platinum",atomic_mass:195.0849,boil:4098,category:"transition metal",density:21.45,discovered_by:"Antonio de Ulloa",melt:2041.4,molar_heat:25.86,named_by:null,number:78,period:6,group:10,phase:"Solid",symbol:"Pt",xpos:10,ypos:6,wxpos:24,wypos:6,shells:[2,8,18,32,17,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d9",electron_configuration_semantic:"[Xe] 4f14 5d9 6s1",electron_affinity:205.041,electronegativity_pauling:2.28,ionization_energies:[870,1791],block:"d"},{name:"Gold",atomic_mass:196.9665695,boil:3243,category:"transition metal",density:19.3,discovered_by:"Middle East",melt:1337.33,molar_heat:25.418,named_by:null,number:79,period:6,group:11,phase:"Solid",symbol:"Au",xpos:11,ypos:6,wxpos:25,wypos:6,shells:[2,8,18,32,18,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s1 4f14 5d10",electron_configuration_semantic:"[Xe] 4f14 5d10 6s1",electron_affinity:222.747,electronegativity_pauling:2.54,ionization_energies:[890.1,1980],block:"d"},{name:"Mercury",atomic_mass:200.5923,boil:629.88,category:"transition metal",density:13.534,discovered_by:"unknown, before 2000 BCE",melt:234.321,molar_heat:27.983,named_by:null,number:80,period:6,group:12,phase:"Liquid",symbol:"Hg",xpos:12,ypos:6,wxpos:26,wypos:6,shells:[2,8,18,32,18,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2",electron_affinity:-48,electronegativity_pauling:2,ionization_energies:[1007.1,1810,3300],block:"d"},{name:"Thallium",atomic_mass:204.38,boil:1746,category:"post-transition metal",density:11.85,discovered_by:"William Crookes",melt:577,molar_heat:26.32,named_by:null,number:81,period:6,group:13,phase:"Solid",symbol:"Tl",xpos:13,ypos:6,wxpos:27,wypos:6,shells:[2,8,18,32,18,3],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p1",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p1",electron_affinity:36.4,electronegativity_pauling:1.62,ionization_energies:[589.4,1971,2878],block:"p"},{name:"Lead",atomic_mass:207.21,boil:2022,category:"post-transition metal",density:11.34,discovered_by:"Middle East",melt:600.61,molar_heat:26.65,named_by:null,number:82,period:6,group:14,phase:"Solid",symbol:"Pb",xpos:14,ypos:6,wxpos:28,wypos:6,shells:[2,8,18,32,18,4],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p2",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p2",electron_affinity:34.4204,electronegativity_pauling:1.87,ionization_energies:[715.6,1450.5,3081.5,4083,6640],block:"p"},{name:"Bismuth",atomic_mass:208.980401,boil:1837,category:"post-transition metal",density:9.78,discovered_by:"Claude François Geoffroy",melt:544.7,molar_heat:25.52,named_by:null,number:83,period:6,group:15,phase:"Solid",symbol:"Bi",xpos:15,ypos:6,wxpos:29,wypos:6,shells:[2,8,18,32,18,5],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p3",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p3",electron_affinity:90.924,electronegativity_pauling:2.02,ionization_energies:[703,1610,2466,4370,5400,8520],block:"p"},{name:"Polonium",atomic_mass:209,boil:1235,category:"post-transition metal",density:9.196,discovered_by:"Pierre Curie",melt:527,molar_heat:26.4,named_by:null,number:84,period:6,group:16,phase:"Solid",symbol:"Po",xpos:16,ypos:6,wxpos:30,wypos:6,shells:[2,8,18,32,18,6],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p4",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p4",electron_affinity:136,electronegativity_pauling:2,ionization_energies:[812.1],block:"p"},{name:"Astatine",atomic_mass:210,boil:610,category:"metalloid",density:6.35,discovered_by:"Dale R. Corson",melt:575,molar_heat:null,named_by:null,number:85,period:6,group:17,phase:"Solid",symbol:"At",xpos:17,ypos:6,wxpos:31,wypos:6,shells:[2,8,18,32,18,7],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p5",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p5",electron_affinity:233,electronegativity_pauling:2.2,ionization_energies:[899.003],block:"p"},{name:"Radon",atomic_mass:222,boil:211.5,category:"noble gas",density:9.73,discovered_by:"Friedrich Ernst Dorn",melt:202,molar_heat:null,named_by:null,number:86,period:6,group:18,phase:"Gas",symbol:"Rn",xpos:18,ypos:6,wxpos:32,wypos:6,shells:[2,8,18,32,18,8],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6",electron_configuration_semantic:"[Xe] 4f14 5d10 6s2 6p6",electron_affinity:-68,electronegativity_pauling:2.2,ionization_energies:[1037],block:"p"},{name:"Francium",atomic_mass:223,boil:950,category:"alkali metal",density:1.87,discovered_by:"Marguerite Perey",melt:300,molar_heat:null,named_by:null,number:87,period:7,group:1,phase:"Solid",symbol:"Fr",xpos:1,ypos:7,wxpos:1,wypos:7,shells:[2,8,18,32,18,8,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s1",electron_configuration_semantic:"[Rn] 7s1",electron_affinity:46.89,electronegativity_pauling:.79,ionization_energies:[380],block:"s"},{name:"Radium",atomic_mass:226,boil:2010,category:"alkaline earth metal",density:5.5,discovered_by:"Pierre Curie",melt:1233,molar_heat:null,named_by:null,number:88,period:7,group:2,phase:"Solid",symbol:"Ra",xpos:2,ypos:7,wxpos:2,wypos:7,shells:[2,8,18,32,18,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2",electron_configuration_semantic:"[Rn] 7s2",electron_affinity:9.6485,electronegativity_pauling:.9,ionization_energies:[509.3,979],block:"s"},{name:"Actinium",atomic_mass:227,boil:3500,category:"actinide",density:10,discovered_by:"Friedrich Oskar Giesel",melt:1500,molar_heat:27.2,named_by:null,number:89,period:7,group:3,phase:"Solid",symbol:"Ac",xpos:3,ypos:10,wxpos:3,wypos:7,shells:[2,8,18,32,18,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d1",electron_configuration_semantic:"[Rn] 6d1 7s2",electron_affinity:33.77,electronegativity_pauling:1.1,ionization_energies:[499,1170],block:"f"},{name:"Thorium",atomic_mass:232.03774,boil:5061,category:"actinide",density:11.724,discovered_by:"Jöns Jakob Berzelius",melt:2023,molar_heat:26.23,named_by:null,number:90,period:7,group:3,phase:"Solid",symbol:"Th",xpos:4,ypos:10,wxpos:4,wypos:7,shells:[2,8,18,32,18,10,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 6d2",electron_configuration_semantic:"[Rn] 6d2 7s2",electron_affinity:112.72,electronegativity_pauling:1.3,ionization_energies:[587,1110,1930,2780],block:"f"},{name:"Protactinium",atomic_mass:231.035882,boil:4300,category:"actinide",density:15.37,discovered_by:"William Crookes",melt:1841,molar_heat:null,named_by:"Otto Hahn",number:91,period:7,group:3,phase:"Solid",symbol:"Pa",xpos:5,ypos:10,wxpos:5,wypos:7,shells:[2,8,18,32,20,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f2 6d1",electron_configuration_semantic:"[Rn] 5f2 6d1 7s2",electron_affinity:53.03,electronegativity_pauling:1.5,ionization_energies:[568],block:"f"},{name:"Uranium",atomic_mass:238.028913,boil:4404,category:"actinide",density:19.1,discovered_by:"Martin Heinrich Klaproth",melt:1405.3,molar_heat:27.665,named_by:null,number:92,period:7,group:3,phase:"Solid",symbol:"U",xpos:6,ypos:10,wxpos:6,wypos:7,shells:[2,8,18,32,21,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f3 6d1",electron_configuration_semantic:"[Rn] 5f3 6d1 7s2",electron_affinity:50.94,electronegativity_pauling:1.38,ionization_energies:[597.6,1420],block:"f"},{name:"Neptunium",atomic_mass:237,boil:4447,category:"actinide",density:20.45,discovered_by:"Edwin McMillan",melt:912,molar_heat:29.46,named_by:null,number:93,period:7,group:3,phase:"Solid",symbol:"Np",xpos:7,ypos:10,wxpos:7,wypos:7,shells:[2,8,18,32,22,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f4 6d1",electron_configuration_semantic:"[Rn] 5f4 6d1 7s2",electron_affinity:45.85,electronegativity_pauling:1.36,ionization_energies:[604.5],block:"f"},{name:"Plutonium",atomic_mass:244,boil:3505,category:"actinide",density:19.816,discovered_by:"Glenn T. Seaborg",melt:912.5,molar_heat:35.5,named_by:null,number:94,period:7,group:3,phase:"Solid",symbol:"Pu",xpos:8,ypos:10,wxpos:8,wypos:7,shells:[2,8,18,32,24,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f6",electron_configuration_semantic:"[Rn] 5f6 7s2",electron_affinity:-48.33,electronegativity_pauling:1.28,ionization_energies:[584.7],block:"f"},{name:"Americium",atomic_mass:243,boil:2880,category:"actinide",density:12,discovered_by:"Glenn T. Seaborg",melt:1449,molar_heat:62.7,named_by:null,number:95,period:7,group:3,phase:"Solid",symbol:"Am",xpos:9,ypos:10,wxpos:9,wypos:7,shells:[2,8,18,32,25,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7",electron_configuration_semantic:"[Rn] 5f7 7s2",electron_affinity:9.93,electronegativity_pauling:1.13,ionization_energies:[578],block:"f"},{name:"Curium",atomic_mass:247,boil:3383,category:"actinide",density:13.51,discovered_by:"Glenn T. Seaborg",melt:1613,molar_heat:null,named_by:null,number:96,period:7,group:3,phase:"Solid",symbol:"Cm",xpos:10,ypos:10,wxpos:10,wypos:7,shells:[2,8,18,32,25,9,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f7 6d1",electron_configuration_semantic:"[Rn] 5f7 6d1 7s2",electron_affinity:27.17,electronegativity_pauling:1.28,ionization_energies:[581],block:"f"},{name:"Berkelium",atomic_mass:247,boil:2900,category:"actinide",density:14.78,discovered_by:"Lawrence Berkeley National Laboratory",melt:1259,molar_heat:null,named_by:null,number:97,period:7,group:3,phase:"Solid",symbol:"Bk",xpos:11,ypos:10,wxpos:11,wypos:7,shells:[2,8,18,32,27,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f9",electron_configuration_semantic:"[Rn] 5f9 7s2",electron_affinity:-165.24,electronegativity_pauling:1.3,ionization_energies:[601],block:"f"},{name:"Californium",atomic_mass:251,boil:1743,category:"actinide",density:15.1,discovered_by:"Lawrence Berkeley National Laboratory",melt:1173,molar_heat:null,named_by:null,number:98,period:7,group:3,phase:"Solid",symbol:"Cf",xpos:12,ypos:10,wxpos:12,wypos:7,shells:[2,8,18,32,28,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f10",electron_configuration_semantic:"[Rn] 5f10 7s2",electron_affinity:-97.31,electronegativity_pauling:1.3,ionization_energies:[608],block:"f"},{name:"Einsteinium",atomic_mass:252,boil:1269,category:"actinide",density:8.84,discovered_by:"Lawrence Berkeley National Laboratory",melt:1133,molar_heat:null,named_by:null,number:99,period:7,group:3,phase:"Solid",symbol:"Es",xpos:13,ypos:10,wxpos:13,wypos:7,shells:[2,8,18,32,29,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f11",electron_configuration_semantic:"[Rn] 5f11 7s2",electron_affinity:-28.6,electronegativity_pauling:1.3,ionization_energies:[619],block:"f"},{name:"Fermium",atomic_mass:257,boil:null,category:"actinide",density:null,discovered_by:"Lawrence Berkeley National Laboratory",melt:1800,molar_heat:null,named_by:null,number:100,period:7,group:3,phase:"Solid",symbol:"Fm",xpos:14,ypos:10,wxpos:14,wypos:7,shells:[2,8,18,32,30,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f12",electron_configuration_semantic:"[Rn] 5f12 7s2",electron_affinity:33.96,electronegativity_pauling:1.3,ionization_energies:[627],block:"f"},{name:"Mendelevium",atomic_mass:258,boil:null,category:"actinide",density:null,discovered_by:"Lawrence Berkeley National Laboratory",melt:1100,molar_heat:null,named_by:null,number:101,period:7,group:3,phase:"Solid",symbol:"Md",xpos:15,ypos:10,wxpos:15,wypos:7,shells:[2,8,18,32,31,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f13",electron_configuration_semantic:"[Rn] 5f13 7s2",electron_affinity:93.91,electronegativity_pauling:1.3,ionization_energies:[635],block:"f"},{name:"Nobelium",atomic_mass:259,boil:null,category:"actinide",density:null,discovered_by:"Joint Institute for Nuclear Research",melt:1100,molar_heat:null,named_by:null,number:102,period:7,group:3,phase:"Solid",symbol:"No",xpos:16,ypos:10,wxpos:16,wypos:7,shells:[2,8,18,32,32,8,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14",electron_configuration_semantic:"[Rn] 5f14 7s2",electron_affinity:-223.22,electronegativity_pauling:1.3,ionization_energies:[642],block:"f"},{name:"Lawrencium",atomic_mass:266,boil:null,category:"actinide",density:null,discovered_by:"Lawrence Berkeley National Laboratory",melt:1900,molar_heat:null,named_by:null,number:103,period:7,group:3,phase:"Solid",symbol:"Lr",xpos:17,ypos:10,wxpos:17,wypos:7,shells:[2,8,18,32,32,8,3],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 7p1",electron_configuration_semantic:"[Rn] 5f14 7s2 7p1",electron_affinity:-30.04,electronegativity_pauling:1.3,ionization_energies:[470],block:"d"},{name:"Rutherfordium",atomic_mass:267,boil:5800,category:"transition metal",density:23.2,discovered_by:"Joint Institute for Nuclear Research",melt:2400,molar_heat:null,named_by:null,number:104,period:7,group:4,phase:"Solid",symbol:"Rf",xpos:4,ypos:7,wxpos:18,wypos:7,shells:[2,8,18,32,32,10,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d2",electron_configuration_semantic:"[Rn] 5f14 6d2 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[580],block:"d"},{name:"Dubnium",atomic_mass:268,boil:null,category:"transition metal",density:29.3,discovered_by:"Joint Institute for Nuclear Research",melt:null,molar_heat:null,named_by:null,number:105,period:7,group:5,phase:"Solid",symbol:"Db",xpos:5,ypos:7,wxpos:19,wypos:7,shells:[2,8,18,32,32,11,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d3",electron_configuration_semantic:"*[Rn] 5f14 6d3 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Seaborgium",atomic_mass:269,boil:null,category:"transition metal",density:35,discovered_by:"Lawrence Berkeley National Laboratory",melt:null,molar_heat:null,named_by:null,number:106,period:7,group:6,phase:"Solid",symbol:"Sg",xpos:6,ypos:7,wxpos:20,wypos:7,shells:[2,8,18,32,32,12,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d4",electron_configuration_semantic:"*[Rn] 5f14 6d4 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Bohrium",atomic_mass:270,boil:null,category:"transition metal",density:37.1,discovered_by:"Gesellschaft für Schwerionenforschung",melt:null,molar_heat:null,named_by:null,number:107,period:7,group:7,phase:"Solid",symbol:"Bh",xpos:7,ypos:7,wxpos:21,wypos:7,shells:[2,8,18,32,32,13,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d5",electron_configuration_semantic:"*[Rn] 5f14 6d5 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Hassium",atomic_mass:269,boil:null,category:"transition metal",density:40.7,discovered_by:"Gesellschaft für Schwerionenforschung",melt:126,molar_heat:null,named_by:null,number:108,period:7,group:8,phase:"Solid",symbol:"Hs",xpos:8,ypos:7,wxpos:22,wypos:7,shells:[2,8,18,32,32,14,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d6",electron_configuration_semantic:"*[Rn] 5f14 6d6 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Meitnerium",atomic_mass:278,boil:null,category:"unknown, probably transition metal",density:37.4,discovered_by:"Gesellschaft für Schwerionenforschung",melt:null,molar_heat:null,named_by:null,number:109,period:7,group:9,phase:"Solid",symbol:"Mt",xpos:9,ypos:7,wxpos:23,wypos:7,shells:[2,8,18,32,32,15,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d7",electron_configuration_semantic:"*[Rn] 5f14 6d7 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Darmstadtium",atomic_mass:281,boil:null,category:"unknown, probably transition metal",density:34.8,discovered_by:"Gesellschaft für Schwerionenforschung",melt:null,molar_heat:null,named_by:null,number:110,period:7,group:10,phase:"Solid",symbol:"Ds",xpos:10,ypos:7,wxpos:24,wypos:7,shells:[2,8,18,32,32,16,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d8",electron_configuration_semantic:"*[Rn] 5f14 6d9 7s1",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Roentgenium",atomic_mass:282,boil:null,category:"unknown, probably transition metal",density:28.7,discovered_by:"Gesellschaft für Schwerionenforschung",melt:null,molar_heat:null,named_by:null,number:111,period:7,group:11,phase:"Solid",symbol:"Rg",xpos:11,ypos:7,wxpos:25,wypos:7,shells:[2,8,18,32,32,17,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d9",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s1",electron_affinity:151,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Copernicium",atomic_mass:285,boil:3570,category:"transition metal",density:14,discovered_by:"Gesellschaft für Schwerionenforschung",melt:null,molar_heat:null,named_by:null,number:112,period:7,group:12,phase:"Liquid",symbol:"Cn",xpos:12,ypos:7,wxpos:26,wypos:7,shells:[2,8,18,32,32,18,2],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"d"},{name:"Nihonium",atomic_mass:286,boil:1430,category:"unknown, probably transition metal",density:16,discovered_by:"RIKEN",melt:700,molar_heat:null,named_by:null,number:113,period:7,group:13,phase:"Solid",symbol:"Nh",xpos:13,ypos:7,wxpos:27,wypos:7,shells:[2,8,18,32,32,18,3],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p1",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p1",electron_affinity:66.6,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Flerovium",atomic_mass:289,boil:420,category:"post-transition metal",density:14,discovered_by:"Joint Institute for Nuclear Research",melt:340,molar_heat:null,named_by:null,number:114,period:7,group:14,phase:"Solid",symbol:"Fl",xpos:14,ypos:7,wxpos:28,wypos:7,shells:[2,8,18,32,32,18,4],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p2",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p2",electron_affinity:null,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Moscovium",atomic_mass:289,boil:1400,category:"unknown, probably post-transition metal",density:13.5,discovered_by:"Joint Institute for Nuclear Research",melt:670,molar_heat:null,named_by:null,number:115,period:7,group:15,phase:"Solid",symbol:"Mc",xpos:15,ypos:7,wxpos:29,wypos:7,shells:[2,8,18,32,32,18,5],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p3",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p3",electron_affinity:35.3,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Livermorium",atomic_mass:293,boil:1085,category:"unknown, probably post-transition metal",density:12.9,discovered_by:"Joint Institute for Nuclear Research",melt:709,molar_heat:null,named_by:null,number:116,period:7,group:16,phase:"Solid",symbol:"Lv",xpos:16,ypos:7,wxpos:30,wypos:7,shells:[2,8,18,32,32,18,6],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p4",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p4",electron_affinity:74.9,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Tennessine",atomic_mass:294,boil:883,category:"unknown, probably metalloid",density:7.17,discovered_by:"Joint Institute for Nuclear Research",melt:723,molar_heat:null,named_by:null,number:117,period:7,group:17,phase:"Solid",symbol:"Ts",xpos:17,ypos:7,wxpos:31,wypos:7,shells:[2,8,18,32,32,18,7],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p5",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p5",electron_affinity:165.9,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Oganesson",atomic_mass:294,boil:350,category:"unknown, predicted to be noble gas",density:4.95,discovered_by:"Joint Institute for Nuclear Research",melt:null,molar_heat:null,named_by:null,number:118,period:7,group:18,phase:"Solid",symbol:"Og",xpos:18,ypos:7,wxpos:32,wypos:7,shells:[2,8,18,32,32,18,8],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6",electron_configuration_semantic:"*[Rn] 5f14 6d10 7s2 7p6",electron_affinity:5.40318,electronegativity_pauling:null,ionization_energies:[],block:"p"},{name:"Ununennium",atomic_mass:315,boil:630,category:"unknown, but predicted to be an alkali metal",density:3,discovered_by:"GSI Helmholtz Centre for Heavy Ion Research",melt:null,molar_heat:null,named_by:null,number:119,period:8,group:1,phase:"Solid",symbol:"Uue",xpos:1,ypos:8,wxpos:1,wypos:8,shells:[2,8,18,32,32,18,8,1],electron_configuration:"1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p6 5s2 4d10 5p6 6s2 4f14 5d10 6p6 7s2 5f14 6d10 7p6 8s1",electron_configuration_semantic:"*[Uuo] 8s1",electron_affinity:63.87,electronegativity_pauling:null,ionization_energies:[],block:"s"}]},Vr=xt("<button> </button>"),Ur=xt('<div class="pie-tool-periodic-table__element-overview svelte-371yud" style="grid-row: 2 / span 2; grid-column: 3 / span 10;" aria-live="polite"><div><div class="pie-tool-periodic-table__left-col svelte-371yud"><div class="pie-tool-periodic-table__symbol-center svelte-371yud"> </div> <div class="pie-tool-periodic-table__element-name svelte-371yud"> </div></div> <div class="pie-tool-periodic-table__right-col svelte-371yud"><div class="pie-tool-periodic-table__top-row svelte-371yud"><div class="pie-tool-periodic-table__info-block svelte-371yud"><div class="pie-tool-periodic-table__label svelte-371yud"> </div> <div class="pie-tool-periodic-table__value svelte-371yud"> </div></div> <div class="pie-tool-periodic-table__info-block svelte-371yud"><div class="pie-tool-periodic-table__label svelte-371yud"> </div> <div class="pie-tool-periodic-table__value svelte-371yud"> </div></div></div> <div class="pie-tool-periodic-table__bottom-row svelte-371yud"><div class="pie-tool-periodic-table__info-block svelte-371yud"><div class="pie-tool-periodic-table__label svelte-371yud"> </div> <div class="pie-tool-periodic-table__value svelte-371yud"> </div></div> <div class="pie-tool-periodic-table__info-block svelte-371yud"><div class="pie-tool-periodic-table__label svelte-371yud"> </div> <div class="pie-tool-periodic-table__value svelte-371yud"> </div></div></div></div></div></div>'),Zr=xt('<button tabindex="0"><div class="pie-tool-periodic-table__atomic-number svelte-371yud"> </div> <div class="pie-tool-periodic-table__symbol svelte-371yud"> </div> <div class="pie-tool-periodic-table__name svelte-371yud"> </div> <div class="pie-tool-periodic-table__atomic-mass svelte-371yud"> </div></button>'),Qr=xt('<div class="pie-tool-periodic-table__group-label svelte-371yud"></div>'),Yr=xt('<div class="pie-tool-periodic-table__period-label svelte-371yud"><!></div>'),el=xt('<div class="pie-tool-periodic-table svelte-371yud" role="dialog" tabindex="-1"><div class="pie-tool-periodic-table__content svelte-371yud"><div class="pie-tool-periodic-table__wrapper svelte-371yud"><div class="pie-tool-periodic-table__grid svelte-371yud" role="grid"><div class="pie-tool-periodic-table__category-header pie-tool-periodic-table__category-badge-row svelte-371yud" role="presentation" style="grid-row: 1; grid-column: 2 / span 16;"><button> </button> <!></div> <!> <!></div> <div class="pie-tool-periodic-table__group-labels svelte-371yud" aria-hidden="true"></div> <div class="pie-tool-periodic-table__period-labels svelte-371yud" aria-hidden="true"></div></div></div></div>'),tl={hash:"svelte-371yud",code:`.pie-tool-periodic-table.svelte-371yud {position:relative;background:var(--pie-background, #fff);color:var(--pie-text, #111827);width:100%;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;}
4
+
5
+ /* Content wrapper */.pie-tool-periodic-table__content.svelte-371yud {flex:1;display:flex;flex-direction:column;min-height:0;overflow:auto;padding:10px 10px 0 16px; /* top | right | bottom | left */}
6
+
7
+ /* Wrapper needed for absolute positioning of overlays */.pie-tool-periodic-table__wrapper.svelte-371yud {position:relative;}
8
+
9
+ /* Main grid layout */.pie-tool-periodic-table__grid.svelte-371yud {display:grid;grid-gap:3px;grid-template-columns:repeat(18, minmax(35px, 1fr));grid-template-rows:repeat(10, minmax(35px, 1fr));margin:0 auto;width:100%;}
10
+
11
+ /* Category badge row (matching production implementation) */.pie-tool-periodic-table__category-header.pie-tool-periodic-table__category-badge-row.svelte-371yud {align-items:center;background-color:transparent;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding:0.5rem;}.pie-tool-periodic-table__category-badge.svelte-371yud {border:1px solid color-mix(in srgb, var(--pie-border-dark, #000) 12%, transparent);border-radius:1rem;cursor:pointer;font-size:0.7rem;line-height:1;padding:4px 6px;transition:background-color 0.2s ease, color 0.2s ease;white-space:nowrap;background:var(--pie-button-bg, #fff);color:var(--pie-button-color, var(--pie-text, #333));}.pie-tool-periodic-table__category-badge.svelte-371yud:hover {background:var(--pie-button-hover-bg, #f3f4f6);}.pie-tool-periodic-table__category-badge.pie-tool-periodic-table__category-badge--active.svelte-371yud {background-color:var(--pie-primary-dark, #2c3e50);border-color:var(--pie-primary-dark, #2c3e50);color:var(--pie-white, #fff);}
12
+
13
+ /* Element overview section (matching production implementation) */.pie-tool-periodic-table__element-overview.svelte-371yud {align-items:center;display:flex;height:100%;justify-content:center;padding:6px;z-index:2;}.pie-tool-periodic-table__selected-element.pie-tool-periodic-table__selected-grid.svelte-371yud {
14
+ /* This panel carries a category class for its label, but takes the theme
15
+ surface below rather than the category fill — so its ink stays with the
16
+ theme instead of the dark ink pinned for the pastel-filled cells. */color:var(--pie-text, #111827);align-items:center;border:2px solid var(--pie-border-dark, #000);border-radius:8px;box-sizing:border-box;display:flex;gap:16px;padding:12px;background:var(--pie-background, #fff);}.pie-tool-periodic-table__left-col.svelte-371yud {align-items:center;display:flex;flex-direction:column;min-width:0;}.pie-tool-periodic-table__symbol-center.svelte-371yud {font-size:2rem;font-weight:bold;line-height:1.2;margin-bottom:4px;}.pie-tool-periodic-table__element-name.svelte-371yud {
17
+ /* inherit, not --pie-text: this sits inside a category-filled cell, whose
18
+ ink is pinned for legibility against a fixed pastel. Outside one it
19
+ inherits --pie-text from the tool root anyway. */color:inherit;font-size:1rem;font-weight:500;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;}.pie-tool-periodic-table__right-col.svelte-371yud {display:flex;flex-direction:column;gap:8px;justify-content:space-between;min-width:0;}.pie-tool-periodic-table__top-row.svelte-371yud,
20
+ .pie-tool-periodic-table__bottom-row.svelte-371yud {display:flex;gap:8px;justify-content:space-between;min-width:0;}.pie-tool-periodic-table__info-block.svelte-371yud {display:flex;flex-direction:column;min-width:0;text-align:left;}.pie-tool-periodic-table__info-block.svelte-371yud .pie-tool-periodic-table__label:where(.svelte-371yud) {
21
+ /* See __element-name: inside the selected-element panel this sits on the
22
+ category fill. */color:inherit;font-size:0.75rem;font-weight:bold;margin-bottom:2px;}.pie-tool-periodic-table__info-block.svelte-371yud .pie-tool-periodic-table__value:where(.svelte-371yud) {color:inherit;font-size:0.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
23
+
24
+ /* Element styles */.pie-tool-periodic-table__element.svelte-371yud {background-color:var(--pie-background, #fff);border:1px solid color-mix(in srgb, var(--pie-border-dark, #000) 12%, transparent);border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;min-height:50px;padding:3px;position:relative;transition:transform 0.1s ease-in-out;}
25
+
26
+ /*
27
+ * A cell outside the active filter. It drops its category fill and takes the
28
+ * panel surface with theme ink, rather than fading: an opacity low enough to
29
+ * read as dimmed composites the cell text towards the page and takes it under
30
+ * 4.5:1 (0.4 leaves it near 1.8:1), and these cells stay focusable and
31
+ * clickable, so SC 1.4.3 applies to them. Removing the fill also survives a
32
+ * collapsed palette, where the grayscale() this rule used to apply is a no-op.
33
+ *
34
+ * The second cue is the border style, not its colour: under a palette the
35
+ * missing fill carries the state, but under a collapsed one every cell sits on
36
+ * a near-uniform surface, and dashed against solid is the difference a
37
+ * two-colour palette still has room for. Taking the border colour instead reads
38
+ * as emphasis, since the lit cells' own edge is deliberately faint.
39
+ *
40
+ * Declared before :hover, :focus and --selected so those keep their boundary
41
+ * on a filtered-out cell, which can still be any of the three.
42
+ */.pie-tool-periodic-table__element.pie-tool-periodic-table__element--dim.svelte-371yud {background-color:var(--pie-background, #fff);color:var(--pie-text, #111827);border-style:dashed;}.pie-tool-periodic-table__element.svelte-371yud:hover {border-color:var(--pie-primary-dark, #2c3e50);transform:scale(1.03);z-index:10;}.pie-tool-periodic-table__element.svelte-371yud:focus {outline:2px solid var(--pie-primary-dark, #2c3e50);outline-offset:2px;z-index:10;}.pie-tool-periodic-table__element.pie-tool-periodic-table__element--selected.svelte-371yud {border-color:var(--pie-primary-dark, #2c3e50);box-shadow:0 0 0 2px color-mix(in srgb, var(--pie-border-dark, #000) 12%, transparent);z-index:11;}
43
+
44
+ /*
45
+ * Text inside each element box. The secondary lines carry no opacity: size and
46
+ * weight already separate them from the symbol, and fading them spent contrast
47
+ * the palette cannot always afford. At 0.8 the atomic mass measured 4.12:1 under
48
+ * grey-on-light-grey and 4.00:1 under purple-on-light-green, whose ink and
49
+ * recessed surface only hold 6.46:1 and 5.44:1 to begin with.
50
+ */.pie-tool-periodic-table__atomic-number.svelte-371yud {font-size:9px;text-align:left;}.pie-tool-periodic-table__symbol.svelte-371yud {font-size:14px;font-weight:bold;margin:2px 0;text-align:center;}.pie-tool-periodic-table__name.svelte-371yud {font-size:8px;overflow:hidden;text-align:center;white-space:nowrap;}.pie-tool-periodic-table__atomic-mass.svelte-371yud {font-size:9px;text-align:right;}
51
+
52
+ /* Overlay for Group (column) labels */.pie-tool-periodic-table__group-labels.svelte-371yud {color:var(--pie-text, #333);display:flex;font-size:0.65rem;font-weight:bold;left:0;pointer-events:none;position:absolute;top:-1.2em;width:100%;}.pie-tool-periodic-table__group-label.svelte-371yud {text-align:center;}
53
+
54
+ /* Overlay for Period (row) labels */.pie-tool-periodic-table__period-labels.svelte-371yud {color:var(--pie-text, #333);display:flex;flex-direction:column;font-size:0.65rem;font-weight:bold;height:100%;justify-content:space-evenly;left:-1.2em;pointer-events:none;position:absolute;top:0;}.pie-tool-periodic-table__period-label.svelte-371yud {padding-right:0.2em;text-align:right;}
55
+
56
+ /*
57
+ * The category fills below are a fixed data encoding, so their ink has to be
58
+ * fixed too: everything carrying one otherwise inherits --pie-text, which is
59
+ * near-white under every dark theme and left the element symbol and name at
60
+ * about 1.2:1 on a pastel. The tightest pairing this ink leaves is the darkest
61
+ * fill in the set, #ff9e9e, at 9.0:1.
62
+ *
63
+ * A colour scheme takes that encoding away: --pie-fixed-hue-collapse is 100%
64
+ * under every scheme, which folds each fill into --pie-background-dark and the
65
+ * ink back into --pie-text — the two colours the learner asked for, plus the
66
+ * scheme's own recessed surface so a cell still reads as a cell. Category then
67
+ * lives where it does not depend on hue: the badge row filters by it, the
68
+ * selected-element panel names it, and each cell's accessible name carries it.
69
+ * The mixes are exact at both ends, so a Base Theme renders the authored
70
+ * pastels byte for byte.
71
+ */.pie-tool-periodic-table__category--alkali-metal.svelte-371yud,
72
+ .pie-tool-periodic-table__category--alkaline-earth-metal.svelte-371yud,
73
+ .pie-tool-periodic-table__category--alkaline-earth.svelte-371yud,
74
+ .pie-tool-periodic-table__category--lanthanide.svelte-371yud,
75
+ .pie-tool-periodic-table__category--actinide.svelte-371yud,
76
+ .pie-tool-periodic-table__category--transition-metal.svelte-371yud,
77
+ .pie-tool-periodic-table__category--post-transition-metal.svelte-371yud,
78
+ .pie-tool-periodic-table__category--metalloid.svelte-371yud,
79
+ .pie-tool-periodic-table__category--diatomic-nonmetal.svelte-371yud,
80
+ .pie-tool-periodic-table__category--noble-gas.svelte-371yud,
81
+ .pie-tool-periodic-table__category--polyatomic-nonmetal.svelte-371yud,
82
+ .pie-tool-periodic-table__category--nonmetal.svelte-371yud,
83
+ .pie-tool-periodic-table__category--halogen.svelte-371yud,
84
+ .pie-tool-periodic-table__category--unknown.svelte-371yud {color:color-mix(
85
+ in srgb,
86
+ var(--pie-text, #111827) var(--pie-fixed-hue-collapse, 0%),
87
+ #111827
88
+ );
89
+ /* Collapsed fills sit on the panel surface at about 1.1:1, so the cell edge
90
+ has to carry the separation a pastel used to: --pie-border is corrected to
91
+ 3:1 against the page on every palette. */border-color:color-mix(
92
+ in srgb,
93
+ var(--pie-border, #646464) var(--pie-fixed-hue-collapse, 0%),
94
+ color-mix(in srgb, var(--pie-border-dark, #000) 12%, transparent)
95
+ );}
96
+
97
+ /* Category-based background colors (matching production implementation) */.pie-tool-periodic-table__category--alkali-metal.svelte-371yud {background-color:color-mix(
98
+ in srgb,
99
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
100
+ #ff9e9e
101
+ );}.pie-tool-periodic-table__category--alkaline-earth-metal.svelte-371yud {background-color:color-mix(
102
+ in srgb,
103
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
104
+ #ffdc8a
105
+ );}.pie-tool-periodic-table__category--alkaline-earth.svelte-371yud {background-color:color-mix(
106
+ in srgb,
107
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
108
+ #ffdc8a
109
+ ); /* Also handle without "-metal" suffix */}.pie-tool-periodic-table__category--lanthanide.svelte-371yud {background-color:color-mix(
110
+ in srgb,
111
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
112
+ #f9a8d4
113
+ );}.pie-tool-periodic-table__category--actinide.svelte-371yud {background-color:color-mix(
114
+ in srgb,
115
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
116
+ #e0aaff
117
+ );}.pie-tool-periodic-table__category--transition-metal.svelte-371yud {background-color:color-mix(
118
+ in srgb,
119
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
120
+ #a3d8f4
121
+ );}.pie-tool-periodic-table__category--post-transition-metal.svelte-371yud {background-color:color-mix(
122
+ in srgb,
123
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
124
+ #b4f8c8
125
+ );}.pie-tool-periodic-table__category--metalloid.svelte-371yud {background-color:color-mix(
126
+ in srgb,
127
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
128
+ #d9f99d
129
+ );}.pie-tool-periodic-table__category--diatomic-nonmetal.svelte-371yud {background-color:color-mix(
130
+ in srgb,
131
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
132
+ #f5f5f5
133
+ );}.pie-tool-periodic-table__category--noble-gas.svelte-371yud {background-color:color-mix(
134
+ in srgb,
135
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
136
+ #c4b5fd
137
+ );}.pie-tool-periodic-table__category--polyatomic-nonmetal.svelte-371yud {background-color:color-mix(
138
+ in srgb,
139
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
140
+ #fbcfe8
141
+ );}.pie-tool-periodic-table__category--nonmetal.svelte-371yud {background-color:color-mix(
142
+ in srgb,
143
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
144
+ #f0f0f0
145
+ ); /* Production implementation also has this */}.pie-tool-periodic-table__category--halogen.svelte-371yud {background-color:color-mix(
146
+ in srgb,
147
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
148
+ #8ef5d0
149
+ ); /* Production implementation has halogen color */}.pie-tool-periodic-table__category--unknown.svelte-371yud {background-color:color-mix(
150
+ in srgb,
151
+ var(--pie-background-dark, #f5f5f5) var(--pie-fixed-hue-collapse, 0%),
152
+ #f5f5f5
153
+ );}`};function ol(e,t){on(t,!0),Nr(e,tl);let o=Ji(t,"visible",7,!1),i=Ji(t,"toolId",7,"periodicTable");const n=qr.elements;let s=ce(null),l=ce(null);const a=Ci(()=>as(y(l)));nr(()=>{if(y(s))return ls(y(s),h=>{se(l,h,!0)})});let c=ce(et(n[0]||null)),p=ce("All");function d(h){const T=h.toLowerCase();return T.indexOf("unknown")!==-1?"Unknown":{"alkali metal":"Alkali Metal","alkaline earth":"Alkaline Earth Metal","alkaline earth metal":"Alkaline Earth Metal","transition metal":"Transition Metal","post-transition metal":"Post-transition Metal",metalloid:"Metalloid",nonmetal:"Diatomic Nonmetal","polyatomic nonmetal":"Polyatomic Nonmetal","diatomic nonmetal":"Diatomic Nonmetal",halogen:"Diatomic Nonmetal","noble gas":"Noble Gas",lanthanide:"Lanthanide",actinide:"Actinide",metal:"Post-transition Metal"}[T]||h}function u(h){const T=cs(`tools.periodicTable.category.${h.toLowerCase().replace(/[^a-z]+(.)/g,(L,V)=>V.toUpperCase())}`);return y(a).hasKey?.(T)?y(a).t(T):h.split(" ").map(L=>L.charAt(0).toUpperCase()+L.slice(1)).join(" ")}let m=Ci(()=>{const h=new Set;return n.forEach(T=>{T.category&&h.add(d(T.category))}),Array.from(h).sort()});function f(h){return y(p)!=="All"&&d(h.category)!==y(p)}function b(h){se(c,h,!0)}function x(h){se(p,h,!0)}var _={get visible(){return o()},set visible(h=!1){o(h),Jo()},get toolId(){return i()},set toolId(h="periodicTable"){i(h),Jo()}},g=hr(),E=Ys(g),N=h=>{var T=el(),L=X(T),V=X(L),ie=X(V),U=X(ie),Z=X(U);let Ot;var Jn=J(Z,!0);Qt(F(Z,2),16,()=>y(m),H=>H,(H,M)=>{var R=Vr();let j;var fe=J(R,!0);Jt((We,Be,Ge)=>{j=Yt(R,1,`pie-tool-periodic-table__category-badge pie-tool-periodic-table__category--${We??""}`,"svelte-371yud",j,{"pie-tool-periodic-table__category-badge--active":y(p)===M}),ye(R,"aria-label",Be),ye(R,"aria-pressed",y(p)===M),q(fe,Ge)},[()=>M.replace(" ","-").toLowerCase(),()=>y(a).t("tools.periodicTable.filterByA11y",{category:u(M)}),()=>u(M)]),qt("click",R,()=>x(M)),_e(H,R)}),P(U);var gi=F(U,2),qn=H=>{var M=Ur(),R=X(M),j=X(R),fe=X(j),We=J(fe,!0),Be=J(F(fe,2),!0);P(j);var Ge=F(j,2),He=X(Ge),I=X(He),Je=X(I),qe=J(Je,!0),$o=J(F(Je,2),!0);P(I);var Dt=F(I,2),Kt=X(Dt),Vn=J(Kt,!0),Un=J(F(Kt,2),!0);P(Dt),P(He);var vi=F(He,2),zo=X(vi),wi=X(zo),Zn=J(wi,!0),Qn=J(F(wi,2),!0);P(zo);var xi=F(zo,2),ki=X(xi),Yn=J(ki,!0),es=J(F(ki,2),!0);P(xi),P(vi),P(Ge),P(R),P(M),Jt((ts,os,is,ns,ss)=>{Yt(R,1,`pie-tool-periodic-table__selected-element pie-tool-periodic-table__selected-grid pie-tool-periodic-table__category--${ts??""}`,"svelte-371yud"),q(We,y(c).symbol),q(Be,y(c).name),q(qe,os),q($o,y(c).atomic_mass),q(Vn,is),q(Un,y(c).number),q(Zn,ns),q(Qn,y(c).electron_configuration_semantic),q(Yn,ss),q(es,y(c).phase)},[()=>d(y(c).category).replace(" ","-").toLowerCase(),()=>y(a).t("tools.periodicTable.atomicMass"),()=>y(a).t("tools.periodicTable.atomicNumber"),()=>y(a).t("tools.periodicTable.electronConfig"),()=>y(a).t("tools.periodicTable.phase")]),_e(H,M)};Eo(gi,H=>{y(c)&&H(qn)}),Qt(F(gi,2),17,()=>n,H=>H.symbol,(H,M)=>{var R=Zr();let j;var fe=X(R),We=J(fe,!0),Be=F(fe,2),Ge=J(Be,!0),He=F(Be,2),I=J(He,!0),Je=J(F(He,2),!0);P(R),Jt((qe,$o,Dt,Kt)=>{j=Yt(R,1,`pie-tool-periodic-table__element pie-tool-periodic-table__category--${qe??""}`,"svelte-371yud",j,{"pie-tool-periodic-table__element--selected":y(c)?.symbol===y(M).symbol,"pie-tool-periodic-table__element--dim":$o}),Xi(R,`grid-row: ${y(M).ypos??""}; grid-column: ${y(M).xpos??""};`),ye(R,"title",y(M).name),ye(R,"aria-label",Dt),q(We,y(M).number),q(Ge,y(M).symbol),q(I,y(M).name),q(Je,Kt)},[()=>d(y(M).category).replace(" ","-").toLowerCase(),()=>f(y(M)),()=>y(a).t("tools.periodicTable.elementA11y",{name:y(M).name,symbol:y(M).symbol,number:y(M).number,mass:y(M).atomic_mass.toFixed(3),category:u(d(y(M).category))})+(f(y(M))?y(a).t("tools.periodicTable.outsideFilterA11y"):""),()=>y(M).atomic_mass.toFixed(3)]),qt("click",R,()=>b(y(M))),qt("keydown",R,qe=>{(qe.key==="Enter"||qe.key===" ")&&(qe.preventDefault(),b(y(M)))}),_e(H,R)}),P(ie);var So=F(ie,2);Qt(So,20,()=>Array(18),Oi,(H,M,R)=>{var j=Qr();Xi(j,`left: ${R*(100/18)}%; width: 5.555555555555555%;`),j.textContent=R+1,_e(H,j)}),P(So);var bi=F(So,2);Qt(bi,20,()=>Array(10),Oi,(H,M,R)=>{var j=Yr(),fe=X(j),We=I=>{},Be=I=>{_e(I,Ro("6"))},Ge=I=>{_e(I,Ro("7"))},He=I=>{var Je=Ro();Je.nodeValue=R-2,_e(I,Je)};Eo(fe,I=>{R<3?I(We):R===8?I(Be,1):R===9?I(Ge,2):I(He,-1)}),P(j),_e(H,j)}),P(bi),P(V),P(L),P(T),Dr(T,H=>se(s,H),()=>y(s)),Jt((H,M,R,j,fe,We)=>{ye(T,"lang",H),ye(T,"dir",M),ye(T,"aria-label",R),ye(T,"data-tool-id",i()),ye(ie,"aria-label",j),Ot=Yt(Z,1,"pie-tool-periodic-table__category-badge svelte-371yud",null,Ot,{"pie-tool-periodic-table__category-badge--active":y(p)==="All"}),ye(Z,"aria-label",fe),ye(Z,"aria-pressed",y(p)==="All"),q(Jn,We),T.dir=T.dir},[()=>y(a).getLocale(),()=>y(a).getDirection?.()??"ltr",()=>y(a).t("tools.periodicTable.toolA11y"),()=>y(a).t("tools.periodicTable.elementsA11y"),()=>y(a).t("tools.periodicTable.showAllA11y"),()=>y(a).t("tools.periodicTable.allElements")]),qt("click",Z,()=>x("All")),_e(h,T)};return Eo(E,h=>{o()&&h(N)}),_e(e,g),nn(_)}fr(["click","keydown"]);il("pie-tool-periodic-table",Jr(ol,{visible:{attribute:"visible",type:"Boolean"},toolId:{attribute:"tool-id",type:"String"}},[],[],{mode:"open"},rs));function il(e,t){customElements.get(e)||customElements.define(e,t)}export{ol as default};