cos-design 4.0.0 → 4.1.0
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.
- package/CHANGELOG.md +24 -0
- package/README.md +46 -28
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/elements.cjs +1 -1
- package/dist/elements.js +665 -1347
- package/dist/{engine-DAYJbw0W.cjs → engine-D2OC52jQ.cjs} +3 -3
- package/dist/{engine-jGjtPKCP.js → engine-Dh44m7ox.js} +117 -102
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/clickSpark/element/index.d.ts +1 -0
- package/dist/src/components/weatherBackground/vue/useLiveWeather.d.ts +15 -0
- package/dist/style.css +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +583 -622
- package/package.json +2 -2
package/dist/elements.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});require('./style.css');const e=require("./engine-DAYJbw0W.cjs");;/* empty css */const t=require("./core-CszjZZo9.cjs");var n=`cos-audio-visualizer`;function r(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`bar-count`)&&(t.barCount=Number(e.getAttribute(`bar-count`))),t.useMic=e.hasAttribute(`use-mic`),t}var ee=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`bar-count`,`use-mic`]}connectedCallback(){this.ctrl=e.Bn(this,r(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(r(this))}};typeof customElements<`u`&&!customElements.get(`cos-audio-visualizer`)&&customElements.define(n,ee);var te=`cos-aurora`;function i(e){let t={};if(e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ne=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(i(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`]}connectedCallback(){this.ctrl=e.Vn(this,i(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(i(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora`)&&customElements.define(te,ne);var re=`cos-aurora-veil`;function a(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`band-count`)&&(t.bandCount=Number(e.getAttribute(`band-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ie=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(a(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`,`band-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Lt(this,a(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(a(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora-veil`)&&customElements.define(re,ie);var ae=`cos-barcode-scan`;function o(e){let t={};if(e.hasAttribute(`scan-color`)&&(t.scanColor=e.getAttribute(`scan-color`)??void 0),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var oe=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(o(this))}static get observedAttributes(){return[`scan-color`,`speed`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.Wn(this,o(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(o(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-barcode-scan`)&&customElements.define(ae,oe);var se=`cos-blur-text`;function s(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`animate-by`))try{t.animateBy=JSON.parse(e.getAttribute(`animate-by`)??`null`)}catch{}let n=e._animateBy;if(n!==void 0&&(t.animateBy=n),e.hasAttribute(`direction`))try{t.direction=JSON.parse(e.getAttribute(`direction`)??`null`)}catch{}let r=e._direction;return r!==void 0&&(t.direction=r),t.onAnimationComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`animation-complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ce=class extends HTMLElement{ctrl=null;_animateBy;get animateBy(){return this._animateBy}set animateBy(e){this._animateBy=e,this.ctrl?.update(s(this))}_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(s(this))}static get observedAttributes(){return[`text`,`animate-by`,`direction`,`stagger`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.Un(this,s(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(s(this))}};typeof customElements<`u`&&!customElements.get(`cos-blur-text`)&&customElements.define(se,ce);var le=`cos-bubble-field`;function c(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`bubble-count`)&&(t.bubbleCount=Number(e.getAttribute(`bubble-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var ue=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`bubble-count`,`speed`,`color`,`interactive`]}connectedCallback(){this.ctrl=e.Ht(this,c(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(c(this))}};typeof customElements<`u`&&!customElements.get(`cos-bubble-field`)&&customElements.define(le,ue);var de=`cos-burn-away`;function fe(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`completed-text`)&&(t.completedText=e.getAttribute(`completed-text`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var pe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`completed-text`]}connectedCallback(){this.ctrl=e.Hn(this,fe(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(fe(this))}ignite(){return this.ctrl?.ignite()}};typeof customElements<`u`&&!customElements.get(`cos-burn-away`)&&customElements.define(de,pe);var me=`cos-canvas-clock`;function l(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var he=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`]}connectedCallback(){this.ctrl=e.zn(this,l(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(l(this))}};typeof customElements<`u`&&!customElements.get(`cos-canvas-clock`)&&customElements.define(me,he);var ge=`cos-charge`;function _e(e){let t={};if(e.hasAttribute(`init-quantity`)&&(t.initQuantity=Number(e.getAttribute(`init-quantity`))),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`step`)&&(t.step=Number(e.getAttribute(`step`))),e.hasAttribute(`auto-charge`)){let n=e.getAttribute(`auto-charge`);t.autoCharge=n!==`false`&&n!==`0`}return t.onChange=(...t)=>{e.dispatchEvent(new CustomEvent(`change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ve=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`init-quantity`,`value`,`auto-charge`,`interval`,`step`]}connectedCallback(){this.ctrl=e.Rn(this,_e(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_e(this))}};typeof customElements<`u`&&!customElements.get(`cos-charge`)&&customElements.define(ge,ve);var ye=`cos-circular-text`;function u(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`on-hover`))try{t.onHover=JSON.parse(e.getAttribute(`on-hover`)??`null`)}catch{}let n=e._onHover;return n!==void 0&&(t.onHover=n),t}var be=class extends HTMLElement{ctrl=null;_onHover;get onHover(){return this._onHover}set onHover(e){this._onHover=e,this.ctrl?.update(u(this))}static get observedAttributes(){return[`text`,`spin-duration`,`on-hover`,`font-size`,`radius`,`color`]}connectedCallback(){this.ctrl=e.Ln(this,u(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(u(this))}};typeof customElements<`u`&&!customElements.get(`cos-circular-text`)&&customElements.define(ye,be);var xe=`cos-click-spark`;function d(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Se=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(d(this))}static get observedAttributes(){return[`color`,`count`,`default-content`,`slot-element`]}connectedCallback(){this.ctrl=e.In(this,d(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(d(this))}};typeof customElements<`u`&&!customElements.get(`cos-click-spark`)&&customElements.define(xe,Se);var Ce=`cos-confetti`;function we(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`particle-count`)&&(t.particleCount=Number(e.getAttribute(`particle-count`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}if(e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Te=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`particle-count`,`hint`]}connectedCallback(){this.ctrl=e.Fn(this,we(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(we(this))}burst(){return this.ctrl?.burst()}};typeof customElements<`u`&&!customElements.get(`cos-confetti`)&&customElements.define(Ce,Te);var Ee=`cos-count-up`;function De(e){let t={};return e.hasAttribute(`prefix`)&&(t.prefix=e.getAttribute(`prefix`)??void 0),e.hasAttribute(`suffix`)&&(t.suffix=e.getAttribute(`suffix`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`start`)&&(t.start=Number(e.getAttribute(`start`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`decimals`)&&(t.decimals=Number(e.getAttribute(`decimals`))),t}var Oe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`start`,`duration`,`decimals`,`prefix`,`suffix`,`color`]}connectedCallback(){this.ctrl=e.jn(this,De(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(De(this))}};typeof customElements<`u`&&!customElements.get(`cos-count-up`)&&customElements.define(Ee,Oe);var ke=`cos-countdown`;function f(e){let t={};if(e.hasAttribute(`target-date`)&&(t.targetDate=e.getAttribute(`target-date`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`invalid-text`)&&(t.invalidText=e.getAttribute(`invalid-text`)??void 0),e.hasAttribute(`ended-text`)&&(t.endedText=e.getAttribute(`ended-text`)??void 0),t.showLabels=e.hasAttribute(`show-labels`),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let n=e._labels;return n!==void 0&&(t.labels=n),t.onEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Ae=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(f(this))}static get observedAttributes(){return[`target-date`,`show-labels`,`color`,`labels`,`invalid-text`,`ended-text`]}connectedCallback(){this.ctrl=e.Mn(this,f(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(f(this))}};typeof customElements<`u`&&!customElements.get(`cos-countdown`)&&customElements.define(ke,Ae);var je=`cos-cursor-trail`;function Me(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`length`)&&(t.length=Number(e.getAttribute(`length`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var Ne=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`color`,`length`,`width`,`height`,`hint`]}connectedCallback(){this.ctrl=e.On(this,Me(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Me(this))}};typeof customElements<`u`&&!customElements.get(`cos-cursor-trail`)&&customElements.define(je,Ne);var Pe=`cos-curved-loop`;function p(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`curve-amount`)&&(t.curveAmount=Number(e.getAttribute(`curve-amount`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`direction`))try{t.direction=JSON.parse(e.getAttribute(`direction`)??`null`)}catch{}let n=e._direction;return n!==void 0&&(t.direction=n),t}var Fe=class extends HTMLElement{ctrl=null;_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(p(this))}static get observedAttributes(){return[`text`,`speed`,`curve-amount`,`direction`,`interactive`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.Pn(this,p(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(p(this))}};typeof customElements<`u`&&!customElements.get(`cos-curved-loop`)&&customElements.define(Pe,Fe);var Ie=`cos-cyber-grid`;function Le(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),t}var Re=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`color`,`speed`]}connectedCallback(){this.ctrl=e.Nn(this,Le(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Le(this))}};typeof customElements<`u`&&!customElements.get(`cos-cyber-grid`)&&customElements.define(Ie,Re);var ze=`cos-dandelion-field`;function Be(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`plant-count`)&&(t.plantCount=Number(e.getAttribute(`plant-count`))),e.hasAttribute(`seed-count`)&&(t.seedCount=Number(e.getAttribute(`seed-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var Ve=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`plant-count`,`seed-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Bt(this,Be(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Be(this))}};typeof customElements<`u`&&!customElements.get(`cos-dandelion-field`)&&customElements.define(ze,Ve);var He=`cos-dice-roll`;function m(e){let t={};if(e.hasAttribute(`roll-text`)&&(t.rollText=e.getAttribute(`roll-text`)??void 0),e.hasAttribute(`rolling-text`)&&(t.rollingText=e.getAttribute(`rolling-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`sides`))try{t.sides=JSON.parse(e.getAttribute(`sides`)??`null`)}catch{}let n=e._sides;return n!==void 0&&(t.sides=n),t.onRoll=(...t)=>{e.dispatchEvent(new CustomEvent(`roll`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Ue=class extends HTMLElement{ctrl=null;_sides;get sides(){return this._sides}set sides(e){this._sides=e,this.ctrl?.update(m(this))}static get observedAttributes(){return[`sides`,`roll-text`,`rolling-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.Dn(this,m(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(m(this))}};typeof customElements<`u`&&!customElements.get(`cos-dice-roll`)&&customElements.define(He,Ue);var We=`cos-dna-helix`;function Ge(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t}var Ke=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`]}connectedCallback(){this.ctrl=e.An(this,Ge(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ge(this))}};typeof customElements<`u`&&!customElements.get(`cos-dna-helix`)&&customElements.define(We,Ke);var qe=`cos-double-pendulum`;function h(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`color2`)&&(t.color2=e.getAttribute(`color2`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`trail-length`)&&(t.trailLength=Number(e.getAttribute(`trail-length`))),t}var Je=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`trail-length`,`color`,`color2`]}connectedCallback(){this.ctrl=e.En(this,h(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(h(this))}};typeof customElements<`u`&&!customElements.get(`cos-double-pendulum`)&&customElements.define(qe,Je);var Ye=`cos-electric-arc`;function g(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var Xe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`]}connectedCallback(){this.ctrl=e.kn(this,g(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(g(this))}};typeof customElements<`u`&&!customElements.get(`cos-electric-arc`)&&customElements.define(Ye,Xe);var Ze=`cos-fireworks`;function _(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}if(e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Qe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`hint`]}connectedCallback(){this.ctrl=e.Tn(this,_(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_(this))}launch(e){return this.ctrl?.launch(e)}};typeof customElements<`u`&&!customElements.get(`cos-fireworks`)&&customElements.define(Ze,Qe);var $e=`cos-flip-card`;function v(e){let t={};if(e.hasAttribute(`front-title`)&&(t.frontTitle=e.getAttribute(`front-title`)??void 0),e.hasAttribute(`front-subtitle`)&&(t.frontSubtitle=e.getAttribute(`front-subtitle`)??void 0),e.hasAttribute(`back-title`)&&(t.backTitle=e.getAttribute(`back-title`)??void 0),e.hasAttribute(`back-subtitle`)&&(t.backSubtitle=e.getAttribute(`back-subtitle`)??void 0),e.hasAttribute(`flipped`)){let n=e.getAttribute(`flipped`);t.flipped=n!==`false`&&n!==`0`}else t.flipped=void 0;if(e.hasAttribute(`default-flipped`)){let n=e.getAttribute(`default-flipped`);t.defaultFlipped=n!==`false`&&n!==`0`}if(e.hasAttribute(`disabled`)){let n=e.getAttribute(`disabled`);t.disabled=n!==`false`&&n!==`0`}return t.onReveal=(...t)=>{e.dispatchEvent(new CustomEvent(`reveal`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFlipChange=(...t)=>{e.dispatchEvent(new CustomEvent(`flip-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var et=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`front-title`,`front-subtitle`,`back-title`,`back-subtitle`,`flipped`,`default-flipped`,`disabled`]}connectedCallback(){this.ctrl=e.wn(this,v(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(v(this))}flip(){return this.ctrl?.flip()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-flip-card`)&&customElements.define($e,et);var tt=`cos-flip-counter`;function y(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`digits`)&&(t.digits=Number(e.getAttribute(`digits`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`auto-interval`)&&(t.autoInterval=Number(e.getAttribute(`auto-interval`))),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t}var nt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`digits`,`color`,`duration`,`auto`,`auto-interval`]}connectedCallback(){this.ctrl=e.Cn(this,y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(y(this))}};typeof customElements<`u`&&!customElements.get(`cos-flip-counter`)&&customElements.define(tt,nt);var rt=`cos-fuzzy-text`;function it(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`font-weight`)&&(t.fontWeight=Number(e.getAttribute(`font-weight`))),e.hasAttribute(`base-intensity`)&&(t.baseIntensity=Number(e.getAttribute(`base-intensity`))),e.hasAttribute(`hover-intensity`)&&(t.hoverIntensity=Number(e.getAttribute(`hover-intensity`))),e.hasAttribute(`fuzz-range`)&&(t.fuzzRange=Number(e.getAttribute(`fuzz-range`))),t.enableHover=e.hasAttribute(`enable-hover`),t}var at=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`font-weight`,`color`,`base-intensity`,`hover-intensity`,`enable-hover`,`fuzz-range`]}connectedCallback(){this.ctrl=e.Sn(this,it(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(it(this))}};typeof customElements<`u`&&!customElements.get(`cos-fuzzy-text`)&&customElements.define(rt,at);var ot=`cos-game-of-life`;function b(e){let t={};if(e.hasAttribute(`alive-color`)&&(t.aliveColor=e.getAttribute(`alive-color`)??void 0),e.hasAttribute(`grid-color`)&&(t.gridColor=e.getAttribute(`grid-color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let n=e._labels;return n!==void 0&&(t.labels=n),t}var st=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(b(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`speed`,`density`,`alive-color`,`grid-color`,`labels`]}connectedCallback(){this.ctrl=e.bn(this,b(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(b(this))}};typeof customElements<`u`&&!customElements.get(`cos-game-of-life`)&&customElements.define(ot,st);var ct=`cos-glitch-text`;function lt(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`glitch-color1`)&&(t.glitchColor1=e.getAttribute(`glitch-color1`)??void 0),e.hasAttribute(`glitch-color2`)&&(t.glitchColor2=e.getAttribute(`glitch-color2`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t}var ut=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`glitch-color1`,`glitch-color2`,`font-size`]}connectedCallback(){this.ctrl=e.yn(this,lt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(lt(this))}};typeof customElements<`u`&&!customElements.get(`cos-glitch-text`)&&customElements.define(ct,ut);var dt=`cos-gradient-flow`;function x(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ft=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(x(this))}static get observedAttributes(){return[`text`,`colors`,`font-size`]}connectedCallback(){this.ctrl=e.xn(this,x(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(x(this))}};typeof customElements<`u`&&!customElements.get(`cos-gradient-flow`)&&customElements.define(dt,ft);var pt=`cos-gravity-balls`;function mt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),t}var ht=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`]}connectedCallback(){this.ctrl=e.vn(this,mt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(mt(this))}};typeof customElements<`u`&&!customElements.get(`cos-gravity-balls`)&&customElements.define(pt,ht);var gt=`cos-holographic-card`;function _t(e){let t={};return e.hasAttribute(`title`)&&(t.title=e.getAttribute(`title`)??void 0),e.hasAttribute(`subtitle`)&&(t.subtitle=e.getAttribute(`subtitle`)??void 0),e.hasAttribute(`image`)&&(t.image=e.getAttribute(`image`)??void 0),t}var vt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`title`,`subtitle`,`image`]}connectedCallback(){this.ctrl=e._n(this,_t(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_t(this))}};typeof customElements<`u`&&!customElements.get(`cos-holographic-card`)&&customElements.define(gt,vt);var yt=`cos-ink-bloom`;function bt(e){let t={};if(e.hasAttribute(`ink-color`)&&(t.inkColor=e.getAttribute(`ink-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var xt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`ink-color`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Rt(this,bt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(bt(this))}};typeof customElements<`u`&&!customElements.get(`cos-ink-bloom`)&&customElements.define(yt,xt);var St=`cos-lava-bubble`;function Ct(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`heat`)&&(t.heat=Number(e.getAttribute(`heat`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`activity`)&&(t.activity=Number(e.getAttribute(`activity`))),t.fill=e.hasAttribute(`fill`),t.autoSpawn=e.hasAttribute(`auto-spawn`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var wt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`heat`,`speed`,`auto-spawn`,`activity`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.zt(this,Ct(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ct(this))}};typeof customElements<`u`&&!customElements.get(`cos-lava-bubble`)&&customElements.define(St,wt);var Tt=`cos-liquid-glass`;function S(e){let t={};if(e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`blur`)&&(t.blur=Number(e.getAttribute(`blur`))),e.hasAttribute(`border-radius`)&&(t.borderRadius=Number(e.getAttribute(`border-radius`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Et=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(S(this))}static get observedAttributes(){return[`blur`,`border-radius`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.mn(this,S(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(S(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-liquid-glass`)&&customElements.define(Tt,Et);var Dt=`cos-liquid-progress`;function Ot(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`max`)&&(t.max=Number(e.getAttribute(`max`))),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),t}var kt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`size`,`color`]}connectedCallback(){this.ctrl=e.gn(this,Ot(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ot(this))}};typeof customElements<`u`&&!customElements.get(`cos-liquid-progress`)&&customElements.define(Dt,kt);var At=`cos-lorenz-attractor`;function jt(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`point-count`)&&(t.pointCount=Number(e.getAttribute(`point-count`))),t}var Mt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`,`point-count`]}connectedCallback(){this.ctrl=e.hn(this,jt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(jt(this))}};typeof customElements<`u`&&!customElements.get(`cos-lorenz-attractor`)&&customElements.define(At,Mt);var Nt=`cos-magnetic-button`;function C(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`strength`)&&(t.strength=Number(e.getAttribute(`strength`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Pt=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(C(this))}static get observedAttributes(){return[`strength`,`color`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.pn(this,C(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(C(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-magnetic-button`)&&customElements.define(Nt,Pt);var Ft=`cos-matrix-rain`;function It(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`title`)&&(t.title=e.getAttribute(`title`)??void 0),e.hasAttribute(`subtitle`)&&(t.subtitle=e.getAttribute(`subtitle`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),t.fill=e.hasAttribute(`fill`),t.showOverlay=e.hasAttribute(`show-overlay`),t}var Lt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`show-overlay`,`title`,`subtitle`]}connectedCallback(){this.ctrl=e.fn(this,It(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(It(this))}};typeof customElements<`u`&&!customElements.get(`cos-matrix-rain`)&&customElements.define(Ft,Lt);var Rt=`cos-maze-generator`;function zt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),t.onGenerated=(...t)=>{e.dispatchEvent(new CustomEvent(`generated`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Bt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cell-size`]}connectedCallback(){this.ctrl=e.un(this,zt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(zt(this))}};typeof customElements<`u`&&!customElements.get(`cos-maze-generator`)&&customElements.define(Rt,Bt);var Vt=`cos-metaball-pool`;function Ht(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),t}var Ut=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`,`color`]}connectedCallback(){this.ctrl=e.dn(this,Ht(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ht(this))}};typeof customElements<`u`&&!customElements.get(`cos-metaball-pool`)&&customElements.define(Vt,Ut);var Wt=`cos-meteor-rain`;function Gt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`meteor-count`)&&(t.meteorCount=Number(e.getAttribute(`meteor-count`))),t.fill=e.hasAttribute(`fill`),t}var Kt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`meteor-count`]}connectedCallback(){this.ctrl=e.ln(this,Gt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Gt(this))}};typeof customElements<`u`&&!customElements.get(`cos-meteor-rain`)&&customElements.define(Wt,Kt);var qt=`cos-neon-text`;function Jt(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.flicker=e.hasAttribute(`flicker`),t}var Yt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`font-size`,`flicker`]}connectedCallback(){this.ctrl=e.sn(this,Jt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Jt(this))}};typeof customElements<`u`&&!customElements.get(`cos-neon-text`)&&customElements.define(qt,Yt);var Xt=`cos-network-graph`;function w(e){let t={};if(e.hasAttribute(`link-color`)&&(t.linkColor=e.getAttribute(`link-color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`node-radius`)&&(t.nodeRadius=Number(e.getAttribute(`node-radius`))),e.hasAttribute(`nodes`))try{t.nodes=JSON.parse(e.getAttribute(`nodes`)??`null`)}catch{}let n=e._nodes;if(n!==void 0&&(t.nodes=n),e.hasAttribute(`edges`))try{t.edges=JSON.parse(e.getAttribute(`edges`)??`null`)}catch{}let r=e._edges;return r!==void 0&&(t.edges=r),t}var Zt=class extends HTMLElement{ctrl=null;_nodes;get nodes(){return this._nodes}set nodes(e){this._nodes=e,this.ctrl?.update(w(this))}_edges;get edges(){return this._edges}set edges(e){this._edges=e,this.ctrl?.update(w(this))}static get observedAttributes(){return[`width`,`height`,`nodes`,`edges`,`link-color`,`node-radius`,`hint`]}connectedCallback(){this.ctrl=e.cn(this,w(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(w(this))}};typeof customElements<`u`&&!customElements.get(`cos-network-graph`)&&customElements.define(Xt,Zt);var Qt=`cos-newton-cradle`;function $t(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var en=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`ball-count`,`color`,`width`,`height`]}connectedCallback(){this.ctrl=e.on(this,$t(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update($t(this))}};typeof customElements<`u`&&!customElements.get(`cos-newton-cradle`)&&customElements.define(Qt,en);var tn=`cos-nine-grid`;function T(e){let t={};if(e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`target-index`)&&(t.targetIndex=Number(e.getAttribute(`target-index`))),t.disabled=e.hasAttribute(`disabled`),e.hasAttribute(`items`))try{t.items=JSON.parse(e.getAttribute(`items`)??`null`)}catch{}let n=e._items;return n!==void 0&&(t.items=n),t.onDrawEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`draw-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var nn=class extends HTMLElement{ctrl=null;_items;get items(){return this._items}set items(e){this._items=e,this.ctrl?.update(T(this))}static get observedAttributes(){return[`items`,`target-index`,`button-text`,`spinning-text`,`disabled`]}connectedCallback(){this.ctrl=e.an(this,T(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(T(this))}draw(e){return this.ctrl?.draw(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-nine-grid`)&&customElements.define(tn,nn);var rn=`cos-orbital-chart`;function E(e){let t={};if(e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`data`))try{t.data=JSON.parse(e.getAttribute(`data`)??`null`)}catch{}let n=e._data;return n!==void 0&&(t.data=n),t}var an=class extends HTMLElement{ctrl=null;_data;get data(){return this._data}set data(e){this._data=e,this.ctrl?.update(E(this))}static get observedAttributes(){return[`data`,`size`]}connectedCallback(){this.ctrl=e.in(this,E(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(E(this))}};typeof customElements<`u`&&!customElements.get(`cos-orbital-chart`)&&customElements.define(rn,an);var on=`cos-particle-network`;function D(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`particle-count`)&&(t.particleCount=Number(e.getAttribute(`particle-count`))),e.hasAttribute(`link-distance`)&&(t.linkDistance=Number(e.getAttribute(`link-distance`))),e.hasAttribute(`repel-radius`)&&(t.repelRadius=Number(e.getAttribute(`repel-radius`))),t.fill=e.hasAttribute(`fill`),t}var sn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`particle-count`,`link-distance`,`repel-radius`,`color`,`hint`]}connectedCallback(){this.ctrl=e.rn(this,D(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(D(this))}};typeof customElements<`u`&&!customElements.get(`cos-particle-network`)&&customElements.define(on,sn);var cn=`cos-photo-album`;function O(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`page-color`)&&(t.pageColor=e.getAttribute(`page-color`)??void 0),e.hasAttribute(`cover-color`)&&(t.coverColor=e.getAttribute(`cover-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`page-turn-duration`)&&(t.pageTurnDuration=Number(e.getAttribute(`page-turn-duration`))),e.hasAttribute(`show-page-number`)){let n=e.getAttribute(`show-page-number`);t.showPageNumber=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;if(n!==void 0&&(t.photos=n),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let r=e._labels;return r!==void 0&&(t.labels=r),t.onPageChange=(...t)=>{e.dispatchEvent(new CustomEvent(`page-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ln=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(O(this))}_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(O(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`initial-index`,`page-turn-duration`,`object-fit`,`show-page-number`,`page-color`,`cover-color`,`aria-label`,`labels`]}connectedCallback(){this.ctrl=e.nn(this,O(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(O(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-album`)&&customElements.define(cn,ln);var un=`cos-photo-carousel`;function k(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-angle`)&&(t.initialAngle=Number(e.getAttribute(`initial-angle`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFaceChange=(...t)=>{e.dispatchEvent(new CustomEvent(`face-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var dn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(k(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`radius`,`card-width`,`card-height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.tn(this,k(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(k(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-carousel`)&&customElements.define(un,dn);var fn=`cos-photo-clothesline`;function A(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`rope-color`)&&(t.ropeColor=e.getAttribute(`rope-color`)??void 0),e.hasAttribute(`band-color`)&&(t.bandColor=e.getAttribute(`band-color`)??void 0),e.hasAttribute(`pin-color`)&&(t.pinColor=e.getAttribute(`pin-color`)??void 0),e.hasAttribute(`frame-color`)&&(t.frameColor=e.getAttribute(`frame-color`)??void 0),e.hasAttribute(`background`)&&(t.background=e.getAttribute(`background`)??void 0),e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`photo-width`)&&(t.photoWidth=Number(e.getAttribute(`photo-width`))),e.hasAttribute(`photo-height`)&&(t.photoHeight=Number(e.getAttribute(`photo-height`))),e.hasAttribute(`photo-gap`)&&(t.photoGap=Number(e.getAttribute(`photo-gap`))),e.hasAttribute(`rope-top`)&&(t.ropeTop=Number(e.getAttribute(`rope-top`))),e.hasAttribute(`rope-sag`)&&(t.ropeSag=Number(e.getAttribute(`rope-sag`))),e.hasAttribute(`band-length`)&&(t.bandLength=Number(e.getAttribute(`band-length`))),e.hasAttribute(`band-width`)&&(t.bandWidth=Number(e.getAttribute(`band-width`))),e.hasAttribute(`max-pull`)&&(t.maxPull=Number(e.getAttribute(`max-pull`))),e.hasAttribute(`stiffness`)&&(t.stiffness=Number(e.getAttribute(`stiffness`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),e.hasAttribute(`tension`)&&(t.tension=Number(e.getAttribute(`tension`))),e.hasAttribute(`tilt`)&&(t.tilt=Number(e.getAttribute(`tilt`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var pn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(A(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`photo-width`,`photo-height`,`photo-gap`,`rope-top`,`rope-sag`,`band-length`,`band-width`,`max-pull`,`stiffness`,`damping`,`tension`,`tilt`,`rope-color`,`band-color`,`pin-color`,`frame-color`,`background`,`object-fit`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.en(this,A(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(A(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-clothesline`)&&customElements.define(fn,pn);var mn=`cos-photo-filmstrip`;function j(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`frame-width`)&&(t.frameWidth=Number(e.getAttribute(`frame-width`))),e.hasAttribute(`frame-height`)&&(t.frameHeight=Number(e.getAttribute(`frame-height`))),e.hasAttribute(`frame-gap`)&&(t.frameGap=Number(e.getAttribute(`frame-gap`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var hn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(j(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`show-caption`,`friction`,`drag-sensitivity`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.$t(this,j(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(j(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-filmstrip`)&&customElements.define(mn,hn);var gn=`cos-photo-fridge`;function M(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`scatter`)&&(t.scatter=Number(e.getAttribute(`scatter`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var _n=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(M(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Qt(this,M(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(M(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-fridge`)&&customElements.define(gn,_n);var vn=`cos-photo-lantern`;function N(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`frame-color`)&&(t.frameColor=e.getAttribute(`frame-color`)??void 0),e.hasAttribute(`paper-color`)&&(t.paperColor=e.getAttribute(`paper-color`)??void 0),e.hasAttribute(`light-color`)&&(t.lightColor=e.getAttribute(`light-color`)??void 0),e.hasAttribute(`background`)&&(t.background=e.getAttribute(`background`)??void 0),e.hasAttribute(`tassel-color`)&&(t.tasselColor=e.getAttribute(`tassel-color`)??void 0),e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`light-sway`)&&(t.lightSway=Number(e.getAttribute(`light-sway`))),e.hasAttribute(`initial-angle`)&&(t.initialAngle=Number(e.getAttribute(`initial-angle`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-accessories`)){let n=e.getAttribute(`show-accessories`);t.showAccessories=n!==`false`&&n!==`0`}if(e.hasAttribute(`silhouette`)){let n=e.getAttribute(`silhouette`);t.silhouette=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onFaceChange=(...t)=>{e.dispatchEvent(new CustomEvent(`face-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var yn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(N(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`frame-color`,`paper-color`,`light-color`,`background`,`light-sway`,`show-accessories`,`tassel-color`,`object-fit`,`silhouette`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.Zt(this,N(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(N(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lantern`)&&customElements.define(vn,yn);var bn=`cos-photo-lightbox`;function P(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`slide-width`)&&(t.slideWidth=Number(e.getAttribute(`slide-width`))),e.hasAttribute(`slide-height`)&&(t.slideHeight=Number(e.getAttribute(`slide-height`))),e.hasAttribute(`pull-threshold`)&&(t.pullThreshold=Number(e.getAttribute(`pull-threshold`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var xn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(P(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`slide-width`,`slide-height`,`pull-threshold`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Xt(this,P(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(P(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lightbox`)&&customElements.define(bn,xn);var Sn=`cos-photo-polaroid`;function F(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`scatter`)&&(t.scatter=Number(e.getAttribute(`scatter`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Cn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(F(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Yt(this,F(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(F(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-polaroid`)&&customElements.define(Sn,Cn);var wn=`cos-photo-postcard`;function I(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`pull-threshold`)&&(t.pullThreshold=Number(e.getAttribute(`pull-threshold`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`initial-flipped`)){let n=e.getAttribute(`initial-flipped`);t.initialFlipped=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFlipChange=(...t)=>{e.dispatchEvent(new CustomEvent(`flip-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Tn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(I(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`pull-threshold`,`show-caption`,`initial-index`,`initial-flipped`,`aria-label`]}connectedCallback(){this.ctrl=t.t(this,I(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(I(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-postcard`)&&customElements.define(wn,Tn);var En=`cos-photo-prism`;function L(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Dn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(L(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`size`,`auto-rotate`,`drag-sensitivity`,`friction`,`show-caption`,`aria-label`]}connectedCallback(){this.ctrl=e.Jt(this,L(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(L(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-prism`)&&customElements.define(En,Dn);var On=`cos-photo-scroll`;function R(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`frame-width`)&&(t.frameWidth=Number(e.getAttribute(`frame-width`))),e.hasAttribute(`frame-height`)&&(t.frameHeight=Number(e.getAttribute(`frame-height`))),e.hasAttribute(`frame-gap`)&&(t.frameGap=Number(e.getAttribute(`frame-gap`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var kn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(R(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`drag-sensitivity`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.qt(this,R(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(R(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-scroll`)&&customElements.define(On,kn);var An=`cos-photo-tunnel`;function z(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`depth-step`)&&(t.depthStep=Number(e.getAttribute(`depth-step`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-advance-speed`)&&(t.autoAdvanceSpeed=Number(e.getAttribute(`auto-advance-speed`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`auto-advance`)){let n=e.getAttribute(`auto-advance`);t.autoAdvance=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var jn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(z(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`depth-step`,`drag-sensitivity`,`friction`,`auto-advance`,`auto-advance-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Kt(this,z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(z(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-tunnel`)&&customElements.define(An,jn);var Mn=`cos-photo-view-master`;function B(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`disc-size`)&&(t.discSize=Number(e.getAttribute(`disc-size`))),e.hasAttribute(`peep-size`)&&(t.peepSize=Number(e.getAttribute(`peep-size`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Nn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(B(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`disc-size`,`peep-size`,`drag-sensitivity`,`friction`,`auto-rotate`,`auto-rotate-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Gt(this,B(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(B(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-view-master`)&&customElements.define(Mn,Nn);var Pn=`cos-plasma-ball`;function Fn(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`arc-count`)&&(t.arcCount=Number(e.getAttribute(`arc-count`))),t}var In=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`,`arc-count`]}connectedCallback(){this.ctrl=e.Wt(this,Fn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Fn(this))}};typeof customElements<`u`&&!customElements.get(`cos-plasma-ball`)&&customElements.define(Pn,In);var Ln=`cos-progress-chest`;function Rn(e){let t={};if(e.hasAttribute(`label`)&&(t.label=e.getAttribute(`label`)??void 0),e.hasAttribute(`opened-label`)&&(t.openedLabel=e.getAttribute(`opened-label`)??void 0),e.hasAttribute(`progress`)&&(t.progress=Number(e.getAttribute(`progress`))),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t.onOpen=(...t)=>{e.dispatchEvent(new CustomEvent(`open`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var zn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`progress`,`auto`,`label`,`opened-label`]}connectedCallback(){this.ctrl=e.Nt(this,Rn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Rn(this))}};typeof customElements<`u`&&!customElements.get(`cos-progress-chest`)&&customElements.define(Ln,zn);var Bn=`cos-radar-scan`;function Vn(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`blip-count`)&&(t.blipCount=Number(e.getAttribute(`blip-count`))),t}var Hn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`size`,`color`,`blip-count`]}connectedCallback(){this.ctrl=e.Mt(this,Vn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Vn(this))}};typeof customElements<`u`&&!customElements.get(`cos-radar-scan`)&&customElements.define(Bn,Hn);var Un=`cos-red-packet-rain`;function Wn(e){let t={};if(e.hasAttribute(`grabbed-label`)&&(t.grabbedLabel=e.getAttribute(`grabbed-label`)??void 0),e.hasAttribute(`ended-text`)&&(t.endedText=e.getAttribute(`ended-text`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t.onGrab=(...t)=>{e.dispatchEvent(new CustomEvent(`grab`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Gn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`duration`,`auto`,`grabbed-label`,`ended-text`,`hint`]}connectedCallback(){this.ctrl=e.jt(this,Wn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Wn(this))}start(){return this.ctrl?.start()}stop(){return this.ctrl?.stop()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-red-packet-rain`)&&customElements.define(Un,Gn);var Kn=`cos-return-city`;function qn(e){let t={};return e.hasAttribute(`star-count`)&&(t.starCount=Number(e.getAttribute(`star-count`))),e.hasAttribute(`glass-count`)&&(t.glassCount=Number(e.getAttribute(`glass-count`))),e.hasAttribute(`glass-radius`)&&(t.glassRadius=Number(e.getAttribute(`glass-radius`))),t}var Jn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`star-count`,`glass-count`,`glass-radius`]}connectedCallback(){this.ctrl=e.At(this,qn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(qn(this))}};typeof customElements<`u`&&!customElements.get(`cos-return-city`)&&customElements.define(Kn,Jn);var Yn=`cos-ripple-water`;function Xn(e){let t={};if(e.hasAttribute(`from-color`)&&(t.fromColor=e.getAttribute(`from-color`)??void 0),e.hasAttribute(`to-color`)&&(t.toColor=e.getAttribute(`to-color`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`wave-amplitude`)&&(t.waveAmplitude=Number(e.getAttribute(`wave-amplitude`))),e.hasAttribute(`wave-speed`)&&(t.waveSpeed=Number(e.getAttribute(`wave-speed`))),e.hasAttribute(`shimmer`)&&(t.shimmer=Number(e.getAttribute(`shimmer`))),e.hasAttribute(`reflection`)&&(t.reflection=Number(e.getAttribute(`reflection`))),e.hasAttribute(`ripple-strength`)&&(t.rippleStrength=Number(e.getAttribute(`ripple-strength`))),e.hasAttribute(`ripple-radius`)&&(t.rippleRadius=Number(e.getAttribute(`ripple-radius`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),e.hasAttribute(`spread`)&&(t.spread=Number(e.getAttribute(`spread`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-hint`)){let n=e.getAttribute(`show-hint`);t.showHint=n!==`false`&&n!==`0`}return t}var Zn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`from-color`,`to-color`,`color`,`wave-amplitude`,`wave-speed`,`shimmer`,`reflection`,`ripple-strength`,`ripple-radius`,`damping`,`spread`,`interactive`,`show-hint`,`hint`]}connectedCallback(){this.ctrl=e.wt(this,Xn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Xn(this))}};typeof customElements<`u`&&!customElements.get(`cos-ripple-water`)&&customElements.define(Yn,Zn);var Qn=`cos-rope-chain`;function V(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`segments`)&&(t.segments=Number(e.getAttribute(`segments`))),e.hasAttribute(`gravity`)&&(t.gravity=Number(e.getAttribute(`gravity`))),t}var $n=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`segments`,`color`,`gravity`]}connectedCallback(){this.ctrl=e.kt(this,V(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(V(this))}};typeof customElements<`u`&&!customElements.get(`cos-rope-chain`)&&customElements.define(Qn,$n);var er=`cos-rotating-text`;function H(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`highlight-color`)&&(t.highlightColor=e.getAttribute(`highlight-color`)??void 0),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var tr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(H(this))}static get observedAttributes(){return[`texts`,`interval`,`stagger`,`duration`,`font-size`,`color`,`highlight-color`]}connectedCallback(){this.ctrl=e.Ot(this,H(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(H(this))}};typeof customElements<`u`&&!customElements.get(`cos-rotating-text`)&&customElements.define(er,tr);var nr=`cos-sand-fall`;function U(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`clear-text`)&&(t.clearText=e.getAttribute(`clear-text`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),e.hasAttribute(`spawn-rate`)&&(t.spawnRate=Number(e.getAttribute(`spawn-rate`))),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var rr=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(U(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`colors`,`spawn-rate`,`hint`,`clear-text`]}connectedCallback(){this.ctrl=e.bt(this,U(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(U(this))}};typeof customElements<`u`&&!customElements.get(`cos-sand-fall`)&&customElements.define(nr,rr);var ir=`cos-scramble-text`;function ar(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`charset`)&&(t.charset=e.getAttribute(`charset`)??void 0),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),t}var or=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`duration`,`charset`]}connectedCallback(){this.ctrl=e.Ct(this,ar(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ar(this))}};typeof customElements<`u`&&!customElements.get(`cos-scramble-text`)&&customElements.define(ir,or);var sr=`cos-scratch-card`;function cr(e){let t={};return e.hasAttribute(`cover-color`)&&(t.coverColor=e.getAttribute(`cover-color`)??void 0),e.hasAttribute(`prize`)&&(t.prize=e.getAttribute(`prize`)??void 0),e.hasAttribute(`cover-text`)&&(t.coverText=e.getAttribute(`cover-text`)??void 0),e.hasAttribute(`reveal-threshold`)&&(t.revealThreshold=Number(e.getAttribute(`reveal-threshold`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.onReveal=(...t)=>{e.dispatchEvent(new CustomEvent(`reveal`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var lr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`cover-color`,`prize`,`cover-text`,`reveal-threshold`,`width`,`height`]}connectedCallback(){this.ctrl=e.St(this,cr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(cr(this))}reset(){return this.ctrl?.reset()}reveal(){return this.ctrl?.reveal()}};typeof customElements<`u`&&!customElements.get(`cos-scratch-card`)&&customElements.define(sr,lr);var ur=`cos-shiny-text`;function dr(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`shine-color`)&&(t.shineColor=e.getAttribute(`shine-color`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.disabled=e.hasAttribute(`disabled`),t}var fr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`speed`,`color`,`shine-color`,`font-size`,`disabled`]}connectedCallback(){this.ctrl=e.Et(this,dr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(dr(this))}};typeof customElements<`u`&&!customElements.get(`cos-shiny-text`)&&customElements.define(ur,fr);var pr=`cos-slot-machine`;function W(e){let t={};if(e.hasAttribute(`start-text`)&&(t.startText=e.getAttribute(`start-text`)??void 0),e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`jackpot-text`)&&(t.jackpotText=e.getAttribute(`jackpot-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`symbols`))try{t.symbols=JSON.parse(e.getAttribute(`symbols`)??`null`)}catch{}let n=e._symbols;if(n!==void 0&&(t.symbols=n),e.hasAttribute(`target-results`))try{t.targetResults=JSON.parse(e.getAttribute(`target-results`)??`null`)}catch{}let r=e._targetResults;return r!==void 0&&(t.targetResults=r),t.onSpinEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`spin-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var mr=class extends HTMLElement{ctrl=null;_symbols;get symbols(){return this._symbols}set symbols(e){this._symbols=e,this.ctrl?.update(W(this))}_targetResults;get targetResults(){return this._targetResults}set targetResults(e){this._targetResults=e,this.ctrl?.update(W(this))}static get observedAttributes(){return[`symbols`,`spin-duration`,`target-results`,`start-text`,`button-text`,`spinning-text`,`jackpot-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.xt(this,W(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(W(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-slot-machine`)&&customElements.define(pr,mr);var hr=`cos-smoke-fog`;function gr(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`background-color`)&&(t.backgroundColor=e.getAttribute(`background-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`disperse-strength`)&&(t.disperseStrength=Number(e.getAttribute(`disperse-strength`))),e.hasAttribute(`disperse-radius`)&&(t.disperseRadius=Number(e.getAttribute(`disperse-radius`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var _r=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`background-color`,`speed`,`disperse-strength`,`disperse-radius`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Ut(this,gr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(gr(this))}};typeof customElements<`u`&&!customElements.get(`cos-smoke-fog`)&&customElements.define(hr,_r);var vr=`cos-snowfall`;function G(e){let t={};if(e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`mode`))try{t.mode=JSON.parse(e.getAttribute(`mode`)??`null`)}catch{}let n=e._mode;return n!==void 0&&(t.mode=n),t}var yr=class extends HTMLElement{ctrl=null;_mode;get mode(){return this._mode}set mode(e){this._mode=e,this.ctrl?.update(G(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`mode`,`count`]}connectedCallback(){this.ctrl=e.Ft(this,G(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(G(this))}};typeof customElements<`u`&&!customElements.get(`cos-snowfall`)&&customElements.define(vr,yr);var br=`cos-soap-bubbles`;function xr(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var Sr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Vt(this,xr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(xr(this))}};typeof customElements<`u`&&!customElements.get(`cos-soap-bubbles`)&&customElements.define(br,Sr);var Cr=`cos-solar-system`;function wr(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.showOrbits=e.hasAttribute(`show-orbits`),t}var Tr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`show-orbits`]}connectedCallback(){this.ctrl=e.It(this,wr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(wr(this))}};typeof customElements<`u`&&!customElements.get(`cos-solar-system`)&&customElements.define(Cr,Tr);var Er=`cos-speedometer`;function Dr(e){let t={};return e.hasAttribute(`label`)&&(t.label=e.getAttribute(`label`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`max`)&&(t.max=Number(e.getAttribute(`max`))),t}var Or=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`label`,`color`]}connectedCallback(){this.ctrl=e.Dt(this,Dr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Dr(this))}};typeof customElements<`u`&&!customElements.get(`cos-speedometer`)&&customElements.define(Er,Or);var kr=`cos-split-reveal`;function Ar(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`delay`)&&(t.delay=Number(e.getAttribute(`delay`))),t}var jr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`delay`,`color`]}connectedCallback(){this.ctrl=e.yt(this,Ar(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ar(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-reveal`)&&customElements.define(kr,jr);var Mr=`cos-split-text`;function K(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`loop-pause`)&&(t.loopPause=Number(e.getAttribute(`loop-pause`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.loop=e.hasAttribute(`loop`),e.hasAttribute(`animation`))try{t.animation=JSON.parse(e.getAttribute(`animation`)??`null`)}catch{}let n=e._animation;return n!==void 0&&(t.animation=n),t}var Nr=class extends HTMLElement{ctrl=null;_animation;get animation(){return this._animation}set animation(e){this._animation=e,this.ctrl?.update(K(this))}static get observedAttributes(){return[`text`,`animation`,`stagger`,`duration`,`loop`,`loop-pause`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.vt(this,K(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(K(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-text`)&&customElements.define(Mr,Nr);var Pr=`cos-spotlight`;function q(e){let t={};if(e.hasAttribute(`dim-color`)&&(t.dimColor=e.getAttribute(`dim-color`)??void 0),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Fr=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(q(this))}static get observedAttributes(){return[`radius`,`dim-color`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.gt(this,q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(q(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-spotlight`)&&customElements.define(Pr,Fr);var Ir=`cos-spring-mass`;function Lr(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cols`)&&(t.cols=Number(e.getAttribute(`cols`))),e.hasAttribute(`rows`)&&(t.rows=Number(e.getAttribute(`rows`))),e.hasAttribute(`stiffness`)&&(t.stiffness=Number(e.getAttribute(`stiffness`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),t}var Rr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cols`,`rows`,`stiffness`,`damping`,`color`,`hint`]}connectedCallback(){this.ctrl=e._t(this,Lr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Lr(this))}};typeof customElements<`u`&&!customElements.get(`cos-spring-mass`)&&customElements.define(Ir,Rr);var zr=`cos-starfield`;function Br(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`star-count`)&&(t.starCount=Number(e.getAttribute(`star-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),t}var Vr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`star-count`,`speed`]}connectedCallback(){this.ctrl=e.Pt(this,Br(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Br(this))}};typeof customElements<`u`&&!customElements.get(`cos-starfield`)&&customElements.define(zr,Vr);var Hr=`cos-text-morph`;function J(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var Ur=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(J(this))}static get observedAttributes(){return[`texts`,`interval`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.mt(this,J(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(J(this))}};typeof customElements<`u`&&!customElements.get(`cos-text-morph`)&&customElements.define(Hr,Ur);var Wr=`cos-timeline-pulse`;function Y(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`current`)&&(t.current=Number(e.getAttribute(`current`))),e.hasAttribute(`steps`))try{t.steps=JSON.parse(e.getAttribute(`steps`)??`null`)}catch{}let n=e._steps;return n!==void 0&&(t.steps=n),t}var Gr=class extends HTMLElement{ctrl=null;_steps;get steps(){return this._steps}set steps(e){this._steps=e,this.ctrl?.update(Y(this))}static get observedAttributes(){return[`steps`,`current`,`color`]}connectedCallback(){this.ctrl=e.Tt(this,Y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Y(this))}};typeof customElements<`u`&&!customElements.get(`cos-timeline-pulse`)&&customElements.define(Wr,Gr);var Kr=`cos-true-focus`;function qr(e){let t={};return e.hasAttribute(`sentence`)&&(t.sentence=e.getAttribute(`sentence`)??void 0),e.hasAttribute(`separator`)&&(t.separator=e.getAttribute(`separator`)??void 0),e.hasAttribute(`border-color`)&&(t.borderColor=e.getAttribute(`border-color`)??void 0),e.hasAttribute(`glow-color`)&&(t.glowColor=e.getAttribute(`glow-color`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`blur-amount`)&&(t.blurAmount=Number(e.getAttribute(`blur-amount`))),e.hasAttribute(`animation-duration`)&&(t.animationDuration=Number(e.getAttribute(`animation-duration`))),e.hasAttribute(`pause-between-animations`)&&(t.pauseBetweenAnimations=Number(e.getAttribute(`pause-between-animations`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.manualMode=e.hasAttribute(`manual-mode`),t}var Jr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`sentence`,`separator`,`manual-mode`,`blur-amount`,`border-color`,`glow-color`,`animation-duration`,`pause-between-animations`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.pt(this,qr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(qr(this))}};typeof customElements<`u`&&!customElements.get(`cos-true-focus`)&&customElements.define(Kr,Jr);var Yr=`cos-turntable`;function X(e){let t={};if(e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`spin-rounds`)&&(t.spinRounds=Number(e.getAttribute(`spin-rounds`))),e.hasAttribute(`target-index`)&&(t.targetIndex=Number(e.getAttribute(`target-index`))),e.hasAttribute(`prizes`))try{t.prizes=JSON.parse(e.getAttribute(`prizes`)??`null`)}catch{}let n=e._prizes;return n!==void 0&&(t.prizes=n),t.onSpinEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`spin-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Xr=class extends HTMLElement{ctrl=null;_prizes;get prizes(){return this._prizes}set prizes(e){this._prizes=e,this.ctrl?.update(X(this))}static get observedAttributes(){return[`prizes`,`size`,`spin-duration`,`spin-rounds`,`target-index`,`button-text`,`spinning-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.ht(this,X(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(X(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-turntable`)&&customElements.define(Yr,Xr);var Zr=`cos-typewriter`;function Z(e){let t={};if(e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`delete-speed`)&&(t.deleteSpeed=Number(e.getAttribute(`delete-speed`))),e.hasAttribute(`pause`)&&(t.pause=Number(e.getAttribute(`pause`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var Qr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(Z(this))}static get observedAttributes(){return[`texts`,`speed`,`delete-speed`,`pause`]}connectedCallback(){this.ctrl=e.ft(this,Z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Z(this))}};typeof customElements<`u`&&!customElements.get(`cos-typewriter`)&&customElements.define(Zr,Qr);var $r=`cos-wave-button`;function Q(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`button-props`))try{t.buttonProps=JSON.parse(e.getAttribute(`button-props`)??`null`)}catch{}let n=e._buttonProps;return n!==void 0&&(t.buttonProps=n),t}var ei=class extends HTMLElement{ctrl=null;_buttonProps;get buttonProps(){return this._buttonProps}set buttonProps(e){this._buttonProps=e,this.ctrl?.update(Q(this))}static get observedAttributes(){return[`text`,`color`,`button-props`]}connectedCallback(){this.ctrl=e.dt(this,Q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Q(this))}getButton(){return this.ctrl?.getButton()}};typeof customElements<`u`&&!customElements.get(`cos-wave-button`)&&customElements.define($r,ei);var ti=`cos-wave-text`;function ni(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`amplitude`)&&(t.amplitude=Number(e.getAttribute(`amplitude`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t}var ri=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`amplitude`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.t(this,ni(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ni(this))}};typeof customElements<`u`&&!customElements.get(`cos-wave-text`)&&customElements.define(ti,ri);var ii=`cos-weather-background`;function $(e){let t={};if(e.hasAttribute(`time`)&&(t.time=e.getAttribute(`time`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`loading-text`)&&(t.loadingText=e.getAttribute(`loading-text`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`latitude`)&&(t.latitude=Number(e.getAttribute(`latitude`))),e.hasAttribute(`longitude`)&&(t.longitude=Number(e.getAttribute(`longitude`))),e.hasAttribute(`wind-level`)&&(t.windLevel=Number(e.getAttribute(`wind-level`))),e.hasAttribute(`rain-level`)&&(t.rainLevel=Number(e.getAttribute(`rain-level`))),e.hasAttribute(`snow-level`)&&(t.snowLevel=Number(e.getAttribute(`snow-level`))),e.hasAttribute(`hail-level`)&&(t.hailLevel=Number(e.getAttribute(`hail-level`))),e.hasAttribute(`fog-level`)&&(t.fogLevel=Number(e.getAttribute(`fog-level`))),e.hasAttribute(`smog-level`)&&(t.smogLevel=Number(e.getAttribute(`smog-level`))),t.fill=e.hasAttribute(`fill`),t.live=e.hasAttribute(`live`),e.hasAttribute(`loading`)){let n=e.getAttribute(`loading`);t.loading=n!==`false`&&n!==`0`}if(e.hasAttribute(`weather`)){let n=e.getAttribute(`weather`)??``;try{t.weather=JSON.parse(n)}catch{t.weather=n}}let n=e._weather;return n!==void 0&&(t.weather=n),t.onLiveWeather=(...t)=>{e.dispatchEvent(new CustomEvent(`live-weather`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ai=class extends HTMLElement{ctrl=null;_weather;get weather(){return this._weather}set weather(e){this._weather=e,this.ctrl?.update($(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`weather`,`time`,`live`,`latitude`,`longitude`,`wind-level`,`rain-level`,`snow-level`,`hail-level`,`fog-level`,`smog-level`,`loading`,`aria-label`,`loading-text`]}connectedCallback(){this.ctrl=e.n(this,$(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update($(this))}};typeof customElements<`u`&&!customElements.get(`cos-weather-background`)&&customElements.define(ii,ai);
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});require('./style.css');const e=require("./engine-D2OC52jQ.cjs");;/* empty css */const t=require("./core-CszjZZo9.cjs");let n=require("@cos-design/shared");var ee=`cos-audio-visualizer`;function te(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`barCount`,`bar-count`),(0,n.readBooleanAttr)(t,e,`useMic`,`use-mic`,`presence`),t}var ne=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`bar-count`,`use-mic`]}connectedCallback(){this.ctrl=e.Bn(this,te(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(te(this))}};typeof customElements<`u`&&!customElements.get(`cos-audio-visualizer`)&&customElements.define(ee,ne);var re=`cos-aurora`;function r(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readJsonAttr)(t,e,`colors`,`colors`),(0,n.readPropertyOverride)(t,e,`colors`,`_colors`),t}var ie=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(r(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`]}connectedCallback(){this.ctrl=e.Vn(this,r(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(r(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora`)&&customElements.define(re,ie);var ae=`cos-aurora-veil`;function i(e){let t={};return(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`bandCount`,`band-count`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),(0,n.readJsonAttr)(t,e,`colors`,`colors`),(0,n.readPropertyOverride)(t,e,`colors`,`_colors`),t}var oe=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(i(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`,`band-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Lt(this,i(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(i(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora-veil`)&&customElements.define(ae,oe);var se=`cos-barcode-scan`;function a(e){let t={};return(0,n.readStringAttr)(t,e,`scanColor`,`scan-color`),(0,n.readStringAttr)(t,e,`defaultContent`,`default-content`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readJsonAttr)(t,e,`slotElement`,`slot-element`),(0,n.readPropertyOverride)(t,e,`slotElement`,`_slotElement`),t}var ce=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(a(this))}static get observedAttributes(){return[`scan-color`,`speed`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.Wn(this,a(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(a(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-barcode-scan`)&&customElements.define(se,ce);var le=`cos-blur-text`;function o(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`stagger`,`stagger`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readJsonAttr)(t,e,`animateBy`,`animate-by`),(0,n.readPropertyOverride)(t,e,`animateBy`,`_animateBy`),(0,n.readJsonAttr)(t,e,`direction`,`direction`),(0,n.readPropertyOverride)(t,e,`direction`,`_direction`),t.onAnimationComplete=(0,n.optionCallbackDispatcher)(e,`animation-complete`),t}var ue=class extends HTMLElement{ctrl=null;_animateBy;get animateBy(){return this._animateBy}set animateBy(e){this._animateBy=e,this.ctrl?.update(o(this))}_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(o(this))}static get observedAttributes(){return[`text`,`animate-by`,`direction`,`stagger`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.Un(this,o(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(o(this))}};typeof customElements<`u`&&!customElements.get(`cos-blur-text`)&&customElements.define(le,ue);var de=`cos-bubble-field`;function fe(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`bubbleCount`,`bubble-count`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var pe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`bubble-count`,`speed`,`color`,`interactive`]}connectedCallback(){this.ctrl=e.Ht(this,fe(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(fe(this))}};typeof customElements<`u`&&!customElements.get(`cos-bubble-field`)&&customElements.define(de,pe);var me=`cos-burn-away`;function s(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`completedText`,`completed-text`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),t.onComplete=(0,n.optionCallbackDispatcher)(e,`complete`),t}var he=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`completed-text`]}connectedCallback(){this.ctrl=e.Hn(this,s(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(s(this))}ignite(){return this.ctrl?.ignite()}};typeof customElements<`u`&&!customElements.get(`cos-burn-away`)&&customElements.define(me,he);var ge=`cos-canvas-clock`;function _e(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),t}var ve=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`]}connectedCallback(){this.ctrl=e.zn(this,_e(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_e(this))}};typeof customElements<`u`&&!customElements.get(`cos-canvas-clock`)&&customElements.define(ge,ve);var ye=`cos-charge`;function be(e){let t={};return(0,n.readNumberAttr)(t,e,`initQuantity`,`init-quantity`),(0,n.readNumberAttr)(t,e,`value`,`value`),(0,n.readNumberAttr)(t,e,`interval`,`interval`),(0,n.readNumberAttr)(t,e,`step`,`step`),(0,n.readBooleanAttr)(t,e,`autoCharge`,`auto-charge`,`presence`),t.onChange=(0,n.optionCallbackDispatcher)(e,`change`),t.onComplete=(0,n.optionCallbackDispatcher)(e,`complete`),t}var xe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`init-quantity`,`value`,`auto-charge`,`interval`,`step`]}connectedCallback(){this.ctrl=e.Rn(this,be(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(be(this))}};typeof customElements<`u`&&!customElements.get(`cos-charge`)&&customElements.define(ye,xe);var Se=`cos-circular-text`;function c(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`spinDuration`,`spin-duration`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readNumberAttr)(t,e,`radius`,`radius`),(0,n.readJsonAttr)(t,e,`onHover`,`on-hover`),(0,n.readPropertyOverride)(t,e,`onHover`,`_onHover`),t}var Ce=class extends HTMLElement{ctrl=null;_onHover;get onHover(){return this._onHover}set onHover(e){this._onHover=e,this.ctrl?.update(c(this))}static get observedAttributes(){return[`text`,`spin-duration`,`on-hover`,`font-size`,`radius`,`color`]}connectedCallback(){this.ctrl=e.Ln(this,c(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(c(this))}};typeof customElements<`u`&&!customElements.get(`cos-circular-text`)&&customElements.define(Se,Ce);var we=`cos-click-spark`;function l(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`defaultContent`,`default-content`),(0,n.readNumberAttr)(t,e,`count`,`count`),(0,n.readJsonAttr)(t,e,`slotElement`,`slot-element`),(0,n.readPropertyOverride)(t,e,`slotElement`,`_slotElement`),t}var Te=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(l(this))}static get observedAttributes(){return[`color`,`count`,`default-content`,`slot-element`]}connectedCallback(){this.ctrl=e.In(this,l(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(l(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-click-spark`)&&customElements.define(we,Te);var Ee=`cos-confetti`;function De(e){let t={};return(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`particleCount`,`particle-count`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`auto`,`auto`,`optional-true`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t.onComplete=(0,n.optionCallbackDispatcher)(e,`complete`),t}var Oe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`particle-count`,`hint`]}connectedCallback(){this.ctrl=e.Fn(this,De(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(De(this))}burst(){return this.ctrl?.burst()}};typeof customElements<`u`&&!customElements.get(`cos-confetti`)&&customElements.define(Ee,Oe);var ke=`cos-count-up`;function u(e){let t={};return(0,n.readStringAttr)(t,e,`prefix`,`prefix`),(0,n.readStringAttr)(t,e,`suffix`,`suffix`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`value`,`value`),(0,n.readNumberAttr)(t,e,`start`,`start`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`decimals`,`decimals`),t}var Ae=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`start`,`duration`,`decimals`,`prefix`,`suffix`,`color`]}connectedCallback(){this.ctrl=e.jn(this,u(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(u(this))}};typeof customElements<`u`&&!customElements.get(`cos-count-up`)&&customElements.define(ke,Ae);var je=`cos-countdown`;function d(e){let t={};return(0,n.readStringAttr)(t,e,`targetDate`,`target-date`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`invalidText`,`invalid-text`),(0,n.readStringAttr)(t,e,`endedText`,`ended-text`),(0,n.readBooleanAttr)(t,e,`showLabels`,`show-labels`,`presence`),(0,n.readJsonAttr)(t,e,`labels`,`labels`),(0,n.readPropertyOverride)(t,e,`labels`,`_labels`),t.onEnd=(0,n.optionCallbackDispatcher)(e,`end`),t}var Me=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(d(this))}static get observedAttributes(){return[`target-date`,`show-labels`,`color`,`labels`,`invalid-text`,`ended-text`]}connectedCallback(){this.ctrl=e.Mn(this,d(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(d(this))}};typeof customElements<`u`&&!customElements.get(`cos-countdown`)&&customElements.define(je,Me);var Ne=`cos-cursor-trail`;function Pe(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`length`,`length`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),t}var Fe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`color`,`length`,`width`,`height`,`hint`]}connectedCallback(){this.ctrl=e.On(this,Pe(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Pe(this))}};typeof customElements<`u`&&!customElements.get(`cos-cursor-trail`)&&customElements.define(Ne,Fe);var Ie=`cos-curved-loop`;function f(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`curveAmount`,`curve-amount`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),(0,n.readJsonAttr)(t,e,`direction`,`direction`),(0,n.readPropertyOverride)(t,e,`direction`,`_direction`),t}var Le=class extends HTMLElement{ctrl=null;_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(f(this))}static get observedAttributes(){return[`text`,`speed`,`curve-amount`,`direction`,`interactive`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.Pn(this,f(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(f(this))}};typeof customElements<`u`&&!customElements.get(`cos-curved-loop`)&&customElements.define(Ie,Le);var Re=`cos-cyber-grid`;function ze(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),t}var Be=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`color`,`speed`]}connectedCallback(){this.ctrl=e.Nn(this,ze(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ze(this))}};typeof customElements<`u`&&!customElements.get(`cos-cyber-grid`)&&customElements.define(Re,Be);var Ve=`cos-dandelion-field`;function p(e){let t={};return(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`plantCount`,`plant-count`),(0,n.readNumberAttr)(t,e,`seedCount`,`seed-count`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var He=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`plant-count`,`seed-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Bt(this,p(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(p(this))}};typeof customElements<`u`&&!customElements.get(`cos-dandelion-field`)&&customElements.define(Ve,He);var Ue=`cos-dice-roll`;function m(e){let t={};return(0,n.readStringAttr)(t,e,`rollText`,`roll-text`),(0,n.readStringAttr)(t,e,`rollingText`,`rolling-text`),(0,n.readStringAttr)(t,e,`resultPrefix`,`result-prefix`),(0,n.readJsonAttr)(t,e,`sides`,`sides`),(0,n.readPropertyOverride)(t,e,`sides`,`_sides`),t.onRoll=(0,n.optionCallbackDispatcher)(e,`roll`),t}var We=class extends HTMLElement{ctrl=null;_sides;get sides(){return this._sides}set sides(e){this._sides=e,this.ctrl?.update(m(this))}static get observedAttributes(){return[`sides`,`roll-text`,`rolling-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.Dn(this,m(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(m(this))}};typeof customElements<`u`&&!customElements.get(`cos-dice-roll`)&&customElements.define(Ue,We);var Ge=`cos-dna-helix`;function h(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),t}var Ke=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`]}connectedCallback(){this.ctrl=e.An(this,h(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(h(this))}};typeof customElements<`u`&&!customElements.get(`cos-dna-helix`)&&customElements.define(Ge,Ke);var qe=`cos-double-pendulum`;function g(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`color2`,`color2`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`trailLength`,`trail-length`),t}var Je=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`trail-length`,`color`,`color2`]}connectedCallback(){this.ctrl=e.En(this,g(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(g(this))}};typeof customElements<`u`&&!customElements.get(`cos-double-pendulum`)&&customElements.define(qe,Je);var Ye=`cos-electric-arc`;function _(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),t}var Xe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`]}connectedCallback(){this.ctrl=e.kn(this,_(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_(this))}};typeof customElements<`u`&&!customElements.get(`cos-electric-arc`)&&customElements.define(Ye,Xe);var Ze=`cos-fireworks`;function v(e){let t={};return(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`auto`,`auto`,`optional-true`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t.onComplete=(0,n.optionCallbackDispatcher)(e,`complete`),t}var Qe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`hint`]}connectedCallback(){this.ctrl=e.Tn(this,v(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(v(this))}launch(e){return this.ctrl?.launch(e)}};typeof customElements<`u`&&!customElements.get(`cos-fireworks`)&&customElements.define(Ze,Qe);var $e=`cos-flip-card`;function y(e){let t={};return(0,n.readStringAttr)(t,e,`frontTitle`,`front-title`),(0,n.readStringAttr)(t,e,`frontSubtitle`,`front-subtitle`),(0,n.readStringAttr)(t,e,`backTitle`,`back-title`),(0,n.readStringAttr)(t,e,`backSubtitle`,`back-subtitle`),(0,n.readBooleanAttr)(t,e,`flipped`,`flipped`,`optional-undefined`),(0,n.readBooleanAttr)(t,e,`defaultFlipped`,`default-flipped`,`optional-true`),(0,n.readBooleanAttr)(t,e,`disabled`,`disabled`,`optional-true`),t.onReveal=(0,n.optionCallbackDispatcher)(e,`reveal`),t.onFlipChange=(0,n.optionCallbackDispatcher)(e,`flip-change`),t}var et=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`front-title`,`front-subtitle`,`back-title`,`back-subtitle`,`flipped`,`default-flipped`,`disabled`]}connectedCallback(){this.ctrl=e.wn(this,y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(y(this))}flip(){return this.ctrl?.flip()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-flip-card`)&&customElements.define($e,et);var tt=`cos-flip-counter`;function nt(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`value`,`value`),(0,n.readNumberAttr)(t,e,`digits`,`digits`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`autoInterval`,`auto-interval`),(0,n.readBooleanAttr)(t,e,`auto`,`auto`,`optional-true`),t}var rt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`digits`,`color`,`duration`,`auto`,`auto-interval`]}connectedCallback(){this.ctrl=e.Cn(this,nt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(nt(this))}};typeof customElements<`u`&&!customElements.get(`cos-flip-counter`)&&customElements.define(tt,rt);var it=`cos-fuzzy-text`;function at(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readNumberAttr)(t,e,`fontWeight`,`font-weight`),(0,n.readNumberAttr)(t,e,`baseIntensity`,`base-intensity`),(0,n.readNumberAttr)(t,e,`hoverIntensity`,`hover-intensity`),(0,n.readNumberAttr)(t,e,`fuzzRange`,`fuzz-range`),(0,n.readBooleanAttr)(t,e,`enableHover`,`enable-hover`,`presence`),t}var ot=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`font-weight`,`color`,`base-intensity`,`hover-intensity`,`enable-hover`,`fuzz-range`]}connectedCallback(){this.ctrl=e.Sn(this,at(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(at(this))}};typeof customElements<`u`&&!customElements.get(`cos-fuzzy-text`)&&customElements.define(it,ot);var st=`cos-game-of-life`;function b(e){let t={};return(0,n.readStringAttr)(t,e,`aliveColor`,`alive-color`),(0,n.readStringAttr)(t,e,`gridColor`,`grid-color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`cellSize`,`cell-size`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`density`,`density`),(0,n.readJsonAttr)(t,e,`labels`,`labels`),(0,n.readPropertyOverride)(t,e,`labels`,`_labels`),t}var ct=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(b(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`speed`,`density`,`alive-color`,`grid-color`,`labels`]}connectedCallback(){this.ctrl=e.bn(this,b(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(b(this))}};typeof customElements<`u`&&!customElements.get(`cos-game-of-life`)&&customElements.define(st,ct);var lt=`cos-glitch-text`;function ut(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`glitchColor1`,`glitch-color1`),(0,n.readStringAttr)(t,e,`glitchColor2`,`glitch-color2`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),t}var dt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`glitch-color1`,`glitch-color2`,`font-size`]}connectedCallback(){this.ctrl=e.yn(this,ut(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ut(this))}};typeof customElements<`u`&&!customElements.get(`cos-glitch-text`)&&customElements.define(lt,dt);var ft=`cos-gradient-flow`;function x(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readJsonAttr)(t,e,`colors`,`colors`),(0,n.readPropertyOverride)(t,e,`colors`,`_colors`),t}var pt=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(x(this))}static get observedAttributes(){return[`text`,`colors`,`font-size`]}connectedCallback(){this.ctrl=e.xn(this,x(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(x(this))}};typeof customElements<`u`&&!customElements.get(`cos-gradient-flow`)&&customElements.define(ft,pt);var mt=`cos-gravity-balls`;function ht(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`ballCount`,`ball-count`),t}var gt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`]}connectedCallback(){this.ctrl=e.vn(this,ht(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ht(this))}};typeof customElements<`u`&&!customElements.get(`cos-gravity-balls`)&&customElements.define(mt,gt);var _t=`cos-holographic-card`;function vt(e){let t={};return(0,n.readStringAttr)(t,e,`title`,`title`),(0,n.readStringAttr)(t,e,`subtitle`,`subtitle`),(0,n.readStringAttr)(t,e,`image`,`image`),t}var yt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`title`,`subtitle`,`image`]}connectedCallback(){this.ctrl=e._n(this,vt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(vt(this))}};typeof customElements<`u`&&!customElements.get(`cos-holographic-card`)&&customElements.define(_t,yt);var bt=`cos-ink-bloom`;function xt(e){let t={};return(0,n.readStringAttr)(t,e,`inkColor`,`ink-color`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var St=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`ink-color`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Rt(this,xt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(xt(this))}};typeof customElements<`u`&&!customElements.get(`cos-ink-bloom`)&&customElements.define(bt,St);var Ct=`cos-lava-bubble`;function wt(e){let t={};return(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`heat`,`heat`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`activity`,`activity`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`autoSpawn`,`auto-spawn`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var Tt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`heat`,`speed`,`auto-spawn`,`activity`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.zt(this,wt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(wt(this))}};typeof customElements<`u`&&!customElements.get(`cos-lava-bubble`)&&customElements.define(Ct,Tt);var Et=`cos-liquid-glass`;function S(e){let t={};return(0,n.readStringAttr)(t,e,`defaultContent`,`default-content`),(0,n.readNumberAttr)(t,e,`blur`,`blur`),(0,n.readNumberAttr)(t,e,`borderRadius`,`border-radius`),(0,n.readJsonAttr)(t,e,`slotElement`,`slot-element`),(0,n.readPropertyOverride)(t,e,`slotElement`,`_slotElement`),t}var Dt=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(S(this))}static get observedAttributes(){return[`blur`,`border-radius`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.mn(this,S(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(S(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-liquid-glass`)&&customElements.define(Et,Dt);var Ot=`cos-liquid-progress`;function kt(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`value`,`value`),(0,n.readNumberAttr)(t,e,`max`,`max`),(0,n.readNumberAttr)(t,e,`size`,`size`),t}var At=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`size`,`color`]}connectedCallback(){this.ctrl=e.gn(this,kt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(kt(this))}};typeof customElements<`u`&&!customElements.get(`cos-liquid-progress`)&&customElements.define(Ot,At);var jt=`cos-lorenz-attractor`;function Mt(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`pointCount`,`point-count`),t}var Nt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`,`point-count`]}connectedCallback(){this.ctrl=e.hn(this,Mt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Mt(this))}};typeof customElements<`u`&&!customElements.get(`cos-lorenz-attractor`)&&customElements.define(jt,Nt);var Pt=`cos-magnetic-button`;function C(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`defaultContent`,`default-content`),(0,n.readNumberAttr)(t,e,`strength`,`strength`),(0,n.readJsonAttr)(t,e,`slotElement`,`slot-element`),(0,n.readPropertyOverride)(t,e,`slotElement`,`_slotElement`),t}var Ft=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(C(this))}static get observedAttributes(){return[`strength`,`color`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.pn(this,C(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(C(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-magnetic-button`)&&customElements.define(Pt,Ft);var It=`cos-matrix-rain`;function Lt(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`title`,`title`),(0,n.readStringAttr)(t,e,`subtitle`,`subtitle`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`density`,`density`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`showOverlay`,`show-overlay`,`presence`),t}var Rt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`show-overlay`,`title`,`subtitle`]}connectedCallback(){this.ctrl=e.fn(this,Lt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Lt(this))}};typeof customElements<`u`&&!customElements.get(`cos-matrix-rain`)&&customElements.define(It,Rt);var zt=`cos-maze-generator`;function Bt(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`cellSize`,`cell-size`),t.onGenerated=(0,n.optionCallbackDispatcher)(e,`generated`),t}var Vt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cell-size`]}connectedCallback(){this.ctrl=e.un(this,Bt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Bt(this))}};typeof customElements<`u`&&!customElements.get(`cos-maze-generator`)&&customElements.define(zt,Vt);var Ht=`cos-metaball-pool`;function Ut(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`ballCount`,`ball-count`),t}var Wt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`,`color`]}connectedCallback(){this.ctrl=e.dn(this,Ut(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ut(this))}};typeof customElements<`u`&&!customElements.get(`cos-metaball-pool`)&&customElements.define(Ht,Wt);var Gt=`cos-meteor-rain`;function Kt(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`meteorCount`,`meteor-count`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),t}var qt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`meteor-count`]}connectedCallback(){this.ctrl=e.ln(this,Kt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Kt(this))}};typeof customElements<`u`&&!customElements.get(`cos-meteor-rain`)&&customElements.define(Gt,qt);var Jt=`cos-neon-text`;function Yt(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readBooleanAttr)(t,e,`flicker`,`flicker`,`presence`),t}var Xt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`font-size`,`flicker`]}connectedCallback(){this.ctrl=e.sn(this,Yt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Yt(this))}};typeof customElements<`u`&&!customElements.get(`cos-neon-text`)&&customElements.define(Jt,Xt);var Zt=`cos-network-graph`;function w(e){let t={};return(0,n.readStringAttr)(t,e,`linkColor`,`link-color`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`nodeRadius`,`node-radius`),(0,n.readJsonAttr)(t,e,`nodes`,`nodes`),(0,n.readPropertyOverride)(t,e,`nodes`,`_nodes`),(0,n.readJsonAttr)(t,e,`edges`,`edges`),(0,n.readPropertyOverride)(t,e,`edges`,`_edges`),t}var Qt=class extends HTMLElement{ctrl=null;_nodes;get nodes(){return this._nodes}set nodes(e){this._nodes=e,this.ctrl?.update(w(this))}_edges;get edges(){return this._edges}set edges(e){this._edges=e,this.ctrl?.update(w(this))}static get observedAttributes(){return[`width`,`height`,`nodes`,`edges`,`link-color`,`node-radius`,`hint`]}connectedCallback(){this.ctrl=e.cn(this,w(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(w(this))}};typeof customElements<`u`&&!customElements.get(`cos-network-graph`)&&customElements.define(Zt,Qt);var $t=`cos-newton-cradle`;function en(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`ballCount`,`ball-count`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),t}var tn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`ball-count`,`color`,`width`,`height`]}connectedCallback(){this.ctrl=e.on(this,en(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(en(this))}};typeof customElements<`u`&&!customElements.get(`cos-newton-cradle`)&&customElements.define($t,tn);var nn=`cos-nine-grid`;function T(e){let t={};return(0,n.readStringAttr)(t,e,`buttonText`,`button-text`),(0,n.readStringAttr)(t,e,`spinningText`,`spinning-text`),(0,n.readNumberAttr)(t,e,`targetIndex`,`target-index`),(0,n.readBooleanAttr)(t,e,`disabled`,`disabled`,`optional-true`),(0,n.readJsonAttr)(t,e,`items`,`items`),(0,n.readPropertyOverride)(t,e,`items`,`_items`),t.onDrawEnd=(0,n.optionCallbackDispatcher)(e,`draw-end`),t}var rn=class extends HTMLElement{ctrl=null;_items;get items(){return this._items}set items(e){this._items=e,this.ctrl?.update(T(this))}static get observedAttributes(){return[`items`,`target-index`,`button-text`,`spinning-text`,`disabled`]}connectedCallback(){this.ctrl=e.an(this,T(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(T(this))}draw(e){return this.ctrl?.draw(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-nine-grid`)&&customElements.define(nn,rn);var an=`cos-orbital-chart`;function E(e){let t={};return(0,n.readNumberAttr)(t,e,`size`,`size`),(0,n.readJsonAttr)(t,e,`data`,`data`),(0,n.readPropertyOverride)(t,e,`data`,`_data`),t}var on=class extends HTMLElement{ctrl=null;_data;get data(){return this._data}set data(e){this._data=e,this.ctrl?.update(E(this))}static get observedAttributes(){return[`data`,`size`]}connectedCallback(){this.ctrl=e.in(this,E(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(E(this))}};typeof customElements<`u`&&!customElements.get(`cos-orbital-chart`)&&customElements.define(an,on);var sn=`cos-particle-network`;function D(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`particleCount`,`particle-count`),(0,n.readNumberAttr)(t,e,`linkDistance`,`link-distance`),(0,n.readNumberAttr)(t,e,`repelRadius`,`repel-radius`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),t}var cn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`particle-count`,`link-distance`,`repel-radius`,`color`,`hint`]}connectedCallback(){this.ctrl=e.rn(this,D(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(D(this))}};typeof customElements<`u`&&!customElements.get(`cos-particle-network`)&&customElements.define(sn,cn);var ln=`cos-photo-album`;function O(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`objectFit`,`object-fit`),(0,n.readStringAttr)(t,e,`pageColor`,`page-color`),(0,n.readStringAttr)(t,e,`coverColor`,`cover-color`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readNumberAttr)(t,e,`pageTurnDuration`,`page-turn-duration`),(0,n.readBooleanAttr)(t,e,`showPageNumber`,`show-page-number`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),(0,n.readJsonAttr)(t,e,`labels`,`labels`),(0,n.readPropertyOverride)(t,e,`labels`,`_labels`),t.onPageChange=(0,n.optionCallbackDispatcher)(e,`page-change`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var un=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(O(this))}_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(O(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`initial-index`,`page-turn-duration`,`object-fit`,`show-page-number`,`page-color`,`cover-color`,`aria-label`,`labels`]}connectedCallback(){this.ctrl=e.nn(this,O(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(O(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-album`)&&customElements.define(ln,un);var dn=`cos-photo-carousel`;function k(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`radius`,`radius`),(0,n.readNumberAttr)(t,e,`cardWidth`,`card-width`),(0,n.readNumberAttr)(t,e,`cardHeight`,`card-height`),(0,n.readNumberAttr)(t,e,`autoRotateSpeed`,`auto-rotate-speed`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`initialAngle`,`initial-angle`),(0,n.readBooleanAttr)(t,e,`autoRotate`,`auto-rotate`,`optional-true`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onFaceChange=(0,n.optionCallbackDispatcher)(e,`face-change`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var fn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(k(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`radius`,`card-width`,`card-height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.tn(this,k(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(k(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-carousel`)&&customElements.define(dn,fn);var pn=`cos-photo-clothesline`;function A(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ropeColor`,`rope-color`),(0,n.readStringAttr)(t,e,`bandColor`,`band-color`),(0,n.readStringAttr)(t,e,`pinColor`,`pin-color`),(0,n.readStringAttr)(t,e,`frameColor`,`frame-color`),(0,n.readStringAttr)(t,e,`background`,`background`),(0,n.readStringAttr)(t,e,`objectFit`,`object-fit`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`photoWidth`,`photo-width`),(0,n.readNumberAttr)(t,e,`photoHeight`,`photo-height`),(0,n.readNumberAttr)(t,e,`photoGap`,`photo-gap`),(0,n.readNumberAttr)(t,e,`ropeTop`,`rope-top`),(0,n.readNumberAttr)(t,e,`ropeSag`,`rope-sag`),(0,n.readNumberAttr)(t,e,`bandLength`,`band-length`),(0,n.readNumberAttr)(t,e,`bandWidth`,`band-width`),(0,n.readNumberAttr)(t,e,`maxPull`,`max-pull`),(0,n.readNumberAttr)(t,e,`stiffness`,`stiffness`),(0,n.readNumberAttr)(t,e,`damping`,`damping`),(0,n.readNumberAttr)(t,e,`tension`,`tension`),(0,n.readNumberAttr)(t,e,`tilt`,`tilt`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t}var mn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(A(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`photo-width`,`photo-height`,`photo-gap`,`rope-top`,`rope-sag`,`band-length`,`band-width`,`max-pull`,`stiffness`,`damping`,`tension`,`tilt`,`rope-color`,`band-color`,`pin-color`,`frame-color`,`background`,`object-fit`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.en(this,A(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(A(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-clothesline`)&&customElements.define(pn,mn);var hn=`cos-photo-filmstrip`;function j(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`frameWidth`,`frame-width`),(0,n.readNumberAttr)(t,e,`frameHeight`,`frame-height`),(0,n.readNumberAttr)(t,e,`frameGap`,`frame-gap`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var gn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(j(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`show-caption`,`friction`,`drag-sensitivity`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.$t(this,j(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(j(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-filmstrip`)&&customElements.define(hn,gn);var _n=`cos-photo-fridge`;function M(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`cardWidth`,`card-width`),(0,n.readNumberAttr)(t,e,`cardHeight`,`card-height`),(0,n.readNumberAttr)(t,e,`scatter`,`scatter`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t}var vn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(M(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Qt(this,M(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(M(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-fridge`)&&customElements.define(_n,vn);var yn=`cos-photo-lantern`;function N(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`frameColor`,`frame-color`),(0,n.readStringAttr)(t,e,`paperColor`,`paper-color`),(0,n.readStringAttr)(t,e,`lightColor`,`light-color`),(0,n.readStringAttr)(t,e,`background`,`background`),(0,n.readStringAttr)(t,e,`tasselColor`,`tassel-color`),(0,n.readStringAttr)(t,e,`objectFit`,`object-fit`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`autoRotateSpeed`,`auto-rotate-speed`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`lightSway`,`light-sway`),(0,n.readNumberAttr)(t,e,`initialAngle`,`initial-angle`),(0,n.readBooleanAttr)(t,e,`autoRotate`,`auto-rotate`,`optional-true`),(0,n.readBooleanAttr)(t,e,`showAccessories`,`show-accessories`,`optional-true`),(0,n.readBooleanAttr)(t,e,`silhouette`,`silhouette`,`presence`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onFaceChange=(0,n.optionCallbackDispatcher)(e,`face-change`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t}var bn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(N(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`frame-color`,`paper-color`,`light-color`,`background`,`light-sway`,`show-accessories`,`tassel-color`,`object-fit`,`silhouette`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.Zt(this,N(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(N(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lantern`)&&customElements.define(yn,bn);var xn=`cos-photo-lightbox`;function P(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`slideWidth`,`slide-width`),(0,n.readNumberAttr)(t,e,`slideHeight`,`slide-height`),(0,n.readNumberAttr)(t,e,`pullThreshold`,`pull-threshold`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var Sn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(P(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`slide-width`,`slide-height`,`pull-threshold`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Xt(this,P(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(P(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lightbox`)&&customElements.define(xn,Sn);var Cn=`cos-photo-polaroid`;function F(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`cardWidth`,`card-width`),(0,n.readNumberAttr)(t,e,`cardHeight`,`card-height`),(0,n.readNumberAttr)(t,e,`scatter`,`scatter`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t}var wn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(F(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Yt(this,F(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(F(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-polaroid`)&&customElements.define(Cn,wn);var Tn=`cos-photo-postcard`;function I(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`cardWidth`,`card-width`),(0,n.readNumberAttr)(t,e,`cardHeight`,`card-height`),(0,n.readNumberAttr)(t,e,`pullThreshold`,`pull-threshold`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readBooleanAttr)(t,e,`initialFlipped`,`initial-flipped`,`presence`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t.onFlipChange=(0,n.optionCallbackDispatcher)(e,`flip-change`),t}var En=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(I(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`pull-threshold`,`show-caption`,`initial-index`,`initial-flipped`,`aria-label`]}connectedCallback(){this.ctrl=t.t(this,I(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(I(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-postcard`)&&customElements.define(Tn,En);var Dn=`cos-photo-prism`;function L(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`size`,`size`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readBooleanAttr)(t,e,`autoRotate`,`auto-rotate`,`optional-true`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t}var On=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(L(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`size`,`auto-rotate`,`drag-sensitivity`,`friction`,`show-caption`,`aria-label`]}connectedCallback(){this.ctrl=e.Jt(this,L(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(L(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-prism`)&&customElements.define(Dn,On);var kn=`cos-photo-scroll`;function R(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`frameWidth`,`frame-width`),(0,n.readNumberAttr)(t,e,`frameHeight`,`frame-height`),(0,n.readNumberAttr)(t,e,`frameGap`,`frame-gap`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var An=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(R(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`drag-sensitivity`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.qt(this,R(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(R(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-scroll`)&&customElements.define(kn,An);var jn=`cos-photo-tunnel`;function z(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`depthStep`,`depth-step`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`autoAdvanceSpeed`,`auto-advance-speed`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`autoAdvance`,`auto-advance`,`presence`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var Mn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(z(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`depth-step`,`drag-sensitivity`,`friction`,`auto-advance`,`auto-advance-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Kt(this,z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(z(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-tunnel`)&&customElements.define(jn,Mn);var Nn=`cos-photo-view-master`;function B(e){let t={};return(0,n.readStringAttr)(t,e,`width`,`width`),(0,n.readStringAttr)(t,e,`height`,`height`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`discSize`,`disc-size`),(0,n.readNumberAttr)(t,e,`peepSize`,`peep-size`),(0,n.readNumberAttr)(t,e,`dragSensitivity`,`drag-sensitivity`),(0,n.readNumberAttr)(t,e,`friction`,`friction`),(0,n.readNumberAttr)(t,e,`autoRotateSpeed`,`auto-rotate-speed`),(0,n.readNumberAttr)(t,e,`initialIndex`,`initial-index`),(0,n.readBooleanAttr)(t,e,`autoRotate`,`auto-rotate`,`optional-true`),(0,n.readBooleanAttr)(t,e,`showCaption`,`show-caption`,`optional-true`),(0,n.readJsonAttr)(t,e,`photos`,`photos`),(0,n.readPropertyOverride)(t,e,`photos`,`_photos`),t.onPhotoClick=(0,n.optionCallbackDispatcher)(e,`photo-click`),t.onIndexChange=(0,n.optionCallbackDispatcher)(e,`index-change`),t}var Pn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(B(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`disc-size`,`peep-size`,`drag-sensitivity`,`friction`,`auto-rotate`,`auto-rotate-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Gt(this,B(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(B(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-view-master`)&&customElements.define(Nn,Pn);var Fn=`cos-plasma-ball`;function In(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`arcCount`,`arc-count`),t}var Ln=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`,`arc-count`]}connectedCallback(){this.ctrl=e.Wt(this,In(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(In(this))}};typeof customElements<`u`&&!customElements.get(`cos-plasma-ball`)&&customElements.define(Fn,Ln);var Rn=`cos-progress-chest`;function zn(e){let t={};return(0,n.readStringAttr)(t,e,`label`,`label`),(0,n.readStringAttr)(t,e,`openedLabel`,`opened-label`),(0,n.readNumberAttr)(t,e,`progress`,`progress`),(0,n.readBooleanAttr)(t,e,`auto`,`auto`,`optional-true`),t.onOpen=(0,n.optionCallbackDispatcher)(e,`open`),t}var Bn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`progress`,`auto`,`label`,`opened-label`]}connectedCallback(){this.ctrl=e.Nt(this,zn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(zn(this))}};typeof customElements<`u`&&!customElements.get(`cos-progress-chest`)&&customElements.define(Rn,Bn);var Vn=`cos-radar-scan`;function Hn(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`size`,`size`),(0,n.readNumberAttr)(t,e,`blipCount`,`blip-count`),t}var Un=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`size`,`color`,`blip-count`]}connectedCallback(){this.ctrl=e.Mt(this,Hn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Hn(this))}};typeof customElements<`u`&&!customElements.get(`cos-radar-scan`)&&customElements.define(Vn,Un);var Wn=`cos-red-packet-rain`;function Gn(e){let t={};return(0,n.readStringAttr)(t,e,`grabbedLabel`,`grabbed-label`),(0,n.readStringAttr)(t,e,`endedText`,`ended-text`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`auto`,`auto`,`optional-true`),t.onGrab=(0,n.optionCallbackDispatcher)(e,`grab`),t.onEnd=(0,n.optionCallbackDispatcher)(e,`end`),t}var Kn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`duration`,`auto`,`grabbed-label`,`ended-text`,`hint`]}connectedCallback(){this.ctrl=e.jt(this,Gn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Gn(this))}start(){return this.ctrl?.start()}stop(){return this.ctrl?.stop()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-red-packet-rain`)&&customElements.define(Wn,Kn);var qn=`cos-return-city`;function Jn(e){let t={};return(0,n.readNumberAttr)(t,e,`starCount`,`star-count`),(0,n.readNumberAttr)(t,e,`glassCount`,`glass-count`),(0,n.readNumberAttr)(t,e,`glassRadius`,`glass-radius`),t}var Yn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`star-count`,`glass-count`,`glass-radius`]}connectedCallback(){this.ctrl=e.At(this,Jn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Jn(this))}};typeof customElements<`u`&&!customElements.get(`cos-return-city`)&&customElements.define(qn,Yn);var Xn=`cos-ripple-water`;function Zn(e){let t={};return(0,n.readStringAttr)(t,e,`fromColor`,`from-color`),(0,n.readStringAttr)(t,e,`toColor`,`to-color`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`waveAmplitude`,`wave-amplitude`),(0,n.readNumberAttr)(t,e,`waveSpeed`,`wave-speed`),(0,n.readNumberAttr)(t,e,`shimmer`,`shimmer`),(0,n.readNumberAttr)(t,e,`reflection`,`reflection`),(0,n.readNumberAttr)(t,e,`rippleStrength`,`ripple-strength`),(0,n.readNumberAttr)(t,e,`rippleRadius`,`ripple-radius`),(0,n.readNumberAttr)(t,e,`damping`,`damping`),(0,n.readNumberAttr)(t,e,`spread`,`spread`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),(0,n.readBooleanAttr)(t,e,`showHint`,`show-hint`,`optional-true`),t}var Qn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`from-color`,`to-color`,`color`,`wave-amplitude`,`wave-speed`,`shimmer`,`reflection`,`ripple-strength`,`ripple-radius`,`damping`,`spread`,`interactive`,`show-hint`,`hint`]}connectedCallback(){this.ctrl=e.wt(this,Zn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Zn(this))}};typeof customElements<`u`&&!customElements.get(`cos-ripple-water`)&&customElements.define(Xn,Qn);var $n=`cos-rope-chain`;function V(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`segments`,`segments`),(0,n.readNumberAttr)(t,e,`gravity`,`gravity`),t}var er=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`segments`,`color`,`gravity`]}connectedCallback(){this.ctrl=e.kt(this,V(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(V(this))}};typeof customElements<`u`&&!customElements.get(`cos-rope-chain`)&&customElements.define($n,er);var tr=`cos-rotating-text`;function H(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`highlightColor`,`highlight-color`),(0,n.readNumberAttr)(t,e,`interval`,`interval`),(0,n.readNumberAttr)(t,e,`stagger`,`stagger`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readJsonAttr)(t,e,`texts`,`texts`),(0,n.readPropertyOverride)(t,e,`texts`,`_texts`),t}var nr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(H(this))}static get observedAttributes(){return[`texts`,`interval`,`stagger`,`duration`,`font-size`,`color`,`highlight-color`]}connectedCallback(){this.ctrl=e.Ot(this,H(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(H(this))}};typeof customElements<`u`&&!customElements.get(`cos-rotating-text`)&&customElements.define(tr,nr);var rr=`cos-sand-fall`;function U(e){let t={};return(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readStringAttr)(t,e,`clearText`,`clear-text`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`cellSize`,`cell-size`),(0,n.readNumberAttr)(t,e,`spawnRate`,`spawn-rate`),(0,n.readJsonAttr)(t,e,`colors`,`colors`),(0,n.readPropertyOverride)(t,e,`colors`,`_colors`),t}var ir=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(U(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`colors`,`spawn-rate`,`hint`,`clear-text`]}connectedCallback(){this.ctrl=e.bt(this,U(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(U(this))}};typeof customElements<`u`&&!customElements.get(`cos-sand-fall`)&&customElements.define(rr,ir);var ar=`cos-scramble-text`;function or(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`charset`,`charset`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),t}var sr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`duration`,`charset`]}connectedCallback(){this.ctrl=e.Ct(this,or(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(or(this))}};typeof customElements<`u`&&!customElements.get(`cos-scramble-text`)&&customElements.define(ar,sr);var cr=`cos-scratch-card`;function lr(e){let t={};return(0,n.readStringAttr)(t,e,`coverColor`,`cover-color`),(0,n.readStringAttr)(t,e,`prize`,`prize`),(0,n.readStringAttr)(t,e,`coverText`,`cover-text`),(0,n.readNumberAttr)(t,e,`revealThreshold`,`reveal-threshold`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),t.onReveal=(0,n.optionCallbackDispatcher)(e,`reveal`),t}var ur=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`cover-color`,`prize`,`cover-text`,`reveal-threshold`,`width`,`height`]}connectedCallback(){this.ctrl=e.St(this,lr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(lr(this))}reset(){return this.ctrl?.reset()}reveal(){return this.ctrl?.reveal()}};typeof customElements<`u`&&!customElements.get(`cos-scratch-card`)&&customElements.define(cr,ur);var dr=`cos-shiny-text`;function fr(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`shineColor`,`shine-color`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readBooleanAttr)(t,e,`disabled`,`disabled`,`optional-true`),t}var pr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`speed`,`color`,`shine-color`,`font-size`,`disabled`]}connectedCallback(){this.ctrl=e.Et(this,fr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(fr(this))}};typeof customElements<`u`&&!customElements.get(`cos-shiny-text`)&&customElements.define(dr,pr);var mr=`cos-slot-machine`;function W(e){let t={};return(0,n.readStringAttr)(t,e,`startText`,`start-text`),(0,n.readStringAttr)(t,e,`buttonText`,`button-text`),(0,n.readStringAttr)(t,e,`spinningText`,`spinning-text`),(0,n.readStringAttr)(t,e,`jackpotText`,`jackpot-text`),(0,n.readStringAttr)(t,e,`resultPrefix`,`result-prefix`),(0,n.readNumberAttr)(t,e,`spinDuration`,`spin-duration`),(0,n.readJsonAttr)(t,e,`symbols`,`symbols`),(0,n.readPropertyOverride)(t,e,`symbols`,`_symbols`),(0,n.readJsonAttr)(t,e,`targetResults`,`target-results`),(0,n.readPropertyOverride)(t,e,`targetResults`,`_targetResults`),t.onSpinEnd=(0,n.optionCallbackDispatcher)(e,`spin-end`),t}var hr=class extends HTMLElement{ctrl=null;_symbols;get symbols(){return this._symbols}set symbols(e){this._symbols=e,this.ctrl?.update(W(this))}_targetResults;get targetResults(){return this._targetResults}set targetResults(e){this._targetResults=e,this.ctrl?.update(W(this))}static get observedAttributes(){return[`symbols`,`spin-duration`,`target-results`,`start-text`,`button-text`,`spinning-text`,`jackpot-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.xt(this,W(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(W(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-slot-machine`)&&customElements.define(mr,hr);var gr=`cos-smoke-fog`;function _r(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`backgroundColor`,`background-color`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`density`,`density`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`disperseStrength`,`disperse-strength`),(0,n.readNumberAttr)(t,e,`disperseRadius`,`disperse-radius`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var vr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`background-color`,`speed`,`disperse-strength`,`disperse-radius`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Ut(this,_r(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_r(this))}};typeof customElements<`u`&&!customElements.get(`cos-smoke-fog`)&&customElements.define(gr,vr);var yr=`cos-snowfall`;function G(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`count`,`count`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readJsonAttr)(t,e,`mode`,`mode`),(0,n.readPropertyOverride)(t,e,`mode`,`_mode`),t}var br=class extends HTMLElement{ctrl=null;_mode;get mode(){return this._mode}set mode(e){this._mode=e,this.ctrl?.update(G(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`mode`,`count`]}connectedCallback(){this.ctrl=e.Ft(this,G(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(G(this))}};typeof customElements<`u`&&!customElements.get(`cos-snowfall`)&&customElements.define(yr,br);var xr=`cos-soap-bubbles`;function Sr(e){let t={};return(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`count`,`count`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`interactive`,`interactive`,`optional-true`),t}var Cr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Vt(this,Sr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Sr(this))}};typeof customElements<`u`&&!customElements.get(`cos-soap-bubbles`)&&customElements.define(xr,Cr);var wr=`cos-solar-system`;function Tr(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`showOrbits`,`show-orbits`,`presence`),t}var Er=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`show-orbits`]}connectedCallback(){this.ctrl=e.It(this,Tr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Tr(this))}};typeof customElements<`u`&&!customElements.get(`cos-solar-system`)&&customElements.define(wr,Er);var Dr=`cos-speedometer`;function Or(e){let t={};return(0,n.readStringAttr)(t,e,`label`,`label`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`value`,`value`),(0,n.readNumberAttr)(t,e,`max`,`max`),t}var kr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`label`,`color`]}connectedCallback(){this.ctrl=e.Dt(this,Or(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Or(this))}};typeof customElements<`u`&&!customElements.get(`cos-speedometer`)&&customElements.define(Dr,kr);var Ar=`cos-split-reveal`;function jr(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`delay`,`delay`),t}var Mr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`delay`,`color`]}connectedCallback(){this.ctrl=e.yt(this,jr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(jr(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-reveal`)&&customElements.define(Ar,Mr);var Nr=`cos-split-text`;function K(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`stagger`,`stagger`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`loopPause`,`loop-pause`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readBooleanAttr)(t,e,`loop`,`loop`,`presence`),(0,n.readJsonAttr)(t,e,`animation`,`animation`),(0,n.readPropertyOverride)(t,e,`animation`,`_animation`),t}var Pr=class extends HTMLElement{ctrl=null;_animation;get animation(){return this._animation}set animation(e){this._animation=e,this.ctrl?.update(K(this))}static get observedAttributes(){return[`text`,`animation`,`stagger`,`duration`,`loop`,`loop-pause`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.vt(this,K(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(K(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-text`)&&customElements.define(Nr,Pr);var Fr=`cos-spotlight`;function q(e){let t={};return(0,n.readStringAttr)(t,e,`dimColor`,`dim-color`),(0,n.readStringAttr)(t,e,`defaultContent`,`default-content`),(0,n.readNumberAttr)(t,e,`radius`,`radius`),(0,n.readJsonAttr)(t,e,`slotElement`,`slot-element`),(0,n.readPropertyOverride)(t,e,`slotElement`,`_slotElement`),t}var Ir=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(q(this))}static get observedAttributes(){return[`radius`,`dim-color`,`default-content`,`slot-element`]}connectedCallback(){this.ctrl=e.gt(this,q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(q(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-spotlight`)&&customElements.define(Fr,Ir);var Lr=`cos-spring-mass`;function Rr(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readStringAttr)(t,e,`hint`,`hint`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`cols`,`cols`),(0,n.readNumberAttr)(t,e,`rows`,`rows`),(0,n.readNumberAttr)(t,e,`stiffness`,`stiffness`),(0,n.readNumberAttr)(t,e,`damping`,`damping`),t}var zr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cols`,`rows`,`stiffness`,`damping`,`color`,`hint`]}connectedCallback(){this.ctrl=e._t(this,Rr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Rr(this))}};typeof customElements<`u`&&!customElements.get(`cos-spring-mass`)&&customElements.define(Lr,zr);var Br=`cos-starfield`;function Vr(e){let t={};return(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`starCount`,`star-count`),(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),t}var Hr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`star-count`,`speed`]}connectedCallback(){this.ctrl=e.Pt(this,Vr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Vr(this))}};typeof customElements<`u`&&!customElements.get(`cos-starfield`)&&customElements.define(Br,Hr);var Ur=`cos-text-morph`;function J(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`interval`,`interval`),(0,n.readNumberAttr)(t,e,`duration`,`duration`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readJsonAttr)(t,e,`texts`,`texts`),(0,n.readPropertyOverride)(t,e,`texts`,`_texts`),t}var Wr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(J(this))}static get observedAttributes(){return[`texts`,`interval`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.mt(this,J(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(J(this))}};typeof customElements<`u`&&!customElements.get(`cos-text-morph`)&&customElements.define(Ur,Wr);var Gr=`cos-timeline-pulse`;function Y(e){let t={};return(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`current`,`current`),(0,n.readJsonAttr)(t,e,`steps`,`steps`),(0,n.readPropertyOverride)(t,e,`steps`,`_steps`),t}var Kr=class extends HTMLElement{ctrl=null;_steps;get steps(){return this._steps}set steps(e){this._steps=e,this.ctrl?.update(Y(this))}static get observedAttributes(){return[`steps`,`current`,`color`]}connectedCallback(){this.ctrl=e.Tt(this,Y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Y(this))}};typeof customElements<`u`&&!customElements.get(`cos-timeline-pulse`)&&customElements.define(Gr,Kr);var qr=`cos-true-focus`;function Jr(e){let t={};return(0,n.readStringAttr)(t,e,`sentence`,`sentence`),(0,n.readStringAttr)(t,e,`separator`,`separator`),(0,n.readStringAttr)(t,e,`borderColor`,`border-color`),(0,n.readStringAttr)(t,e,`glowColor`,`glow-color`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`blurAmount`,`blur-amount`),(0,n.readNumberAttr)(t,e,`animationDuration`,`animation-duration`),(0,n.readNumberAttr)(t,e,`pauseBetweenAnimations`,`pause-between-animations`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),(0,n.readBooleanAttr)(t,e,`manualMode`,`manual-mode`,`presence`),t}var Yr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`sentence`,`separator`,`manual-mode`,`blur-amount`,`border-color`,`glow-color`,`animation-duration`,`pause-between-animations`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.pt(this,Jr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Jr(this))}};typeof customElements<`u`&&!customElements.get(`cos-true-focus`)&&customElements.define(qr,Yr);var Xr=`cos-turntable`;function X(e){let t={};return(0,n.readStringAttr)(t,e,`buttonText`,`button-text`),(0,n.readStringAttr)(t,e,`spinningText`,`spinning-text`),(0,n.readStringAttr)(t,e,`resultPrefix`,`result-prefix`),(0,n.readNumberAttr)(t,e,`size`,`size`),(0,n.readNumberAttr)(t,e,`spinDuration`,`spin-duration`),(0,n.readNumberAttr)(t,e,`spinRounds`,`spin-rounds`),(0,n.readNumberAttr)(t,e,`targetIndex`,`target-index`),(0,n.readJsonAttr)(t,e,`prizes`,`prizes`),(0,n.readPropertyOverride)(t,e,`prizes`,`_prizes`),t.onSpinEnd=(0,n.optionCallbackDispatcher)(e,`spin-end`),t}var Zr=class extends HTMLElement{ctrl=null;_prizes;get prizes(){return this._prizes}set prizes(e){this._prizes=e,this.ctrl?.update(X(this))}static get observedAttributes(){return[`prizes`,`size`,`spin-duration`,`spin-rounds`,`target-index`,`button-text`,`spinning-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.ht(this,X(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(X(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-turntable`)&&customElements.define(Xr,Zr);var Qr=`cos-typewriter`;function Z(e){let t={};return(0,n.readNumberAttr)(t,e,`speed`,`speed`),(0,n.readNumberAttr)(t,e,`deleteSpeed`,`delete-speed`),(0,n.readNumberAttr)(t,e,`pause`,`pause`),(0,n.readJsonAttr)(t,e,`texts`,`texts`),(0,n.readPropertyOverride)(t,e,`texts`,`_texts`),t}var $r=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(Z(this))}static get observedAttributes(){return[`texts`,`speed`,`delete-speed`,`pause`]}connectedCallback(){this.ctrl=e.ft(this,Z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Z(this))}};typeof customElements<`u`&&!customElements.get(`cos-typewriter`)&&customElements.define(Qr,$r);var ei=`cos-wave-button`;function Q(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readJsonAttr)(t,e,`buttonProps`,`button-props`),(0,n.readPropertyOverride)(t,e,`buttonProps`,`_buttonProps`),t}var ti=class extends HTMLElement{ctrl=null;_buttonProps;get buttonProps(){return this._buttonProps}set buttonProps(e){this._buttonProps=e,this.ctrl?.update(Q(this))}static get observedAttributes(){return[`text`,`color`,`button-props`]}connectedCallback(){this.ctrl=e.dt(this,Q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Q(this))}getButton(){return this.ctrl?.getButton()}};typeof customElements<`u`&&!customElements.get(`cos-wave-button`)&&customElements.define(ei,ti);var ni=`cos-wave-text`;function ri(e){let t={};return(0,n.readStringAttr)(t,e,`text`,`text`),(0,n.readStringAttr)(t,e,`color`,`color`),(0,n.readNumberAttr)(t,e,`amplitude`,`amplitude`),(0,n.readNumberAttr)(t,e,`fontSize`,`font-size`),t}var ii=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`amplitude`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.t(this,ri(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ri(this))}};typeof customElements<`u`&&!customElements.get(`cos-wave-text`)&&customElements.define(ni,ii);var ai=`cos-weather-background`;function $(e){let t={};return(0,n.readStringAttr)(t,e,`time`,`time`),(0,n.readStringAttr)(t,e,`ariaLabel`,`aria-label`),(0,n.readStringAttr)(t,e,`loadingText`,`loading-text`),(0,n.readNumberAttr)(t,e,`width`,`width`),(0,n.readNumberAttr)(t,e,`height`,`height`),(0,n.readNumberAttr)(t,e,`latitude`,`latitude`),(0,n.readNumberAttr)(t,e,`longitude`,`longitude`),(0,n.readNumberAttr)(t,e,`windLevel`,`wind-level`),(0,n.readNumberAttr)(t,e,`rainLevel`,`rain-level`),(0,n.readNumberAttr)(t,e,`snowLevel`,`snow-level`),(0,n.readNumberAttr)(t,e,`hailLevel`,`hail-level`),(0,n.readNumberAttr)(t,e,`fogLevel`,`fog-level`),(0,n.readNumberAttr)(t,e,`smogLevel`,`smog-level`),(0,n.readBooleanAttr)(t,e,`fill`,`fill`,`presence`),(0,n.readBooleanAttr)(t,e,`live`,`live`,`presence`),(0,n.readBooleanAttr)(t,e,`loading`,`loading`,`presence`),(0,n.readJsonAttr)(t,e,`weather`,`weather`),(0,n.readPropertyOverride)(t,e,`weather`,`_weather`),t.onLiveWeather=(0,n.optionCallbackDispatcher)(e,`live-weather`),t}var oi=class extends HTMLElement{ctrl=null;_weather;get weather(){return this._weather}set weather(e){this._weather=e,this.ctrl?.update($(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`weather`,`time`,`live`,`latitude`,`longitude`,`wind-level`,`rain-level`,`snow-level`,`hail-level`,`fog-level`,`smog-level`,`loading`,`aria-label`,`loading-text`]}connectedCallback(){this.ctrl=e.n(this,$(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update($(this))}};typeof customElements<`u`&&!customElements.get(`cos-weather-background`)&&customElements.define(ai,oi);
|