placer-toolkit 1.0.0-alpha.1 → 1.0.0-alpha.2
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/README.md +3 -3
- package/cdn/animations/index.js +1 -1
- package/cdn/chunks/{chunk.FRJVEU5T.js → chunk.3EUMG6CL.js} +1 -1
- package/cdn/chunks/chunk.4GFJDCKO.js +1 -0
- package/cdn/chunks/{chunk.7QACZ65P.js → chunk.4ZFWIEG2.js} +1 -1
- package/cdn/chunks/{chunk.3W3U22XZ.js → chunk.5OTOOMMJ.js} +2 -2
- package/cdn/chunks/{chunk.X2R6BEG6.js → chunk.5WAFFOC5.js} +1 -1
- package/cdn/chunks/{chunk.KAJLIWXW.js → chunk.5YXXLUP2.js} +1 -1
- package/cdn/chunks/{chunk.CPPIQZIX.js → chunk.63PFEC3G.js} +1 -1
- package/cdn/chunks/{chunk.QKAC37AW.js → chunk.63YZ2OGJ.js} +1 -1
- package/cdn/chunks/{chunk.QJW4B5ZA.js → chunk.6T73D5OE.js} +1 -1
- package/cdn/chunks/{chunk.FMX4I3UK.js → chunk.75Y77XUI.js} +1 -1
- package/cdn/chunks/{chunk.27OGTHUU.js → chunk.7IRWTX4A.js} +4 -2
- package/cdn/chunks/chunk.7SJBQWSL.js +1 -0
- package/cdn/chunks/{chunk.5GN7WBZZ.js → chunk.7UYSBZLK.js} +1 -1
- package/cdn/chunks/{chunk.3GK3WVES.js → chunk.AMJDSJZ5.js} +1 -1
- package/cdn/chunks/{chunk.7NENNBXF.js → chunk.BHNAOKFP.js} +1 -1
- package/cdn/chunks/{chunk.OTNAR7L6.js → chunk.C2RXDH23.js} +1 -1
- package/cdn/chunks/chunk.DQ2EFEM7.js +1 -0
- package/cdn/chunks/{chunk.ZXMWRI34.js → chunk.E4QLFQIH.js} +1 -1
- package/cdn/chunks/{chunk.KPFOJ3AE.js → chunk.G3WMDHXU.js} +1 -1
- package/cdn/chunks/{chunk.42FAXOHN.js → chunk.GRSW4YMQ.js} +1 -1
- package/cdn/chunks/chunk.H2EOXVSZ.js +1 -0
- package/cdn/chunks/{chunk.JYUJFFRU.js → chunk.ITURS4YZ.js} +1 -1
- package/cdn/chunks/{chunk.H6ECKKTE.js → chunk.IUL3BHES.js} +1 -1
- package/cdn/chunks/{chunk.OGE6TEB4.js → chunk.J35PXB2V.js} +1 -1
- package/cdn/chunks/{chunk.PZCBDERR.js → chunk.JTEIIDTY.js} +7 -0
- package/cdn/chunks/{chunk.B37DYXSW.js → chunk.KDTLVKSZ.js} +1 -1
- package/cdn/chunks/chunk.L4UUK6G4.js +1 -0
- package/cdn/chunks/{chunk.RWP3PQFC.js → chunk.LCCA4ADE.js} +1 -1
- package/cdn/chunks/{chunk.F43R654O.js → chunk.NTFNGAOW.js} +2 -2
- package/cdn/chunks/chunk.NYIRGEA7.js +1 -0
- package/cdn/chunks/{chunk.4BFMXGND.js → chunk.OI4TZZJC.js} +2 -2
- package/cdn/chunks/{chunk.YHRAEID4.js → chunk.OQDGIWGZ.js} +2 -2
- package/cdn/chunks/{chunk.66QLHFIJ.js → chunk.POW4JBEN.js} +2 -2
- package/cdn/chunks/{chunk.F6FZMCVL.js → chunk.QCISI32Q.js} +1 -1
- package/cdn/chunks/{chunk.2QHYIL7V.js → chunk.QPQZP354.js} +1 -1
- package/cdn/chunks/chunk.QY5QOZRE.js +1 -0
- package/cdn/chunks/{chunk.2QO5A33E.js → chunk.RWQ2HCYN.js} +1 -1
- package/cdn/chunks/{chunk.6IYESOGK.js → chunk.RYPVSVQS.js} +2 -2
- package/cdn/chunks/{chunk.CGTHXMHS.js → chunk.SPURF5RT.js} +1 -1
- package/cdn/chunks/{chunk.5DCQ2SSU.js → chunk.STH7HATQ.js} +1 -1
- package/cdn/chunks/chunk.SUPXW5XU.js +1 -0
- package/cdn/chunks/{chunk.XIULBXR6.js → chunk.TRVVBQVV.js} +3 -3
- package/cdn/chunks/{chunk.IW3CR6K6.js → chunk.U3P5JBYR.js} +1 -1
- package/cdn/chunks/chunk.UDGTTCHU.js +660 -0
- package/cdn/chunks/chunk.V4LKFSOV.js +1 -0
- package/cdn/chunks/{chunk.B57RWKDC.js → chunk.VVTMOSN2.js} +2 -2
- package/cdn/chunks/{chunk.L2HC7QQQ.js → chunk.XGNJKW3A.js} +1 -1
- package/cdn/chunks/chunk.XSSNRCMY.js +1 -0
- package/cdn/chunks/{chunk.P4QGQC4D.js → chunk.YDM7FW42.js} +1 -1
- package/cdn/chunks/{chunk.UCOHFRYL.js → chunk.YEQLZR6M.js} +1 -1
- package/cdn/chunks/{chunk.PG5VIBZX.js → chunk.YUNTZWZZ.js} +1 -1
- package/cdn/chunks/{chunk.SOIKOEBC.js → chunk.YVZPSF4R.js} +1 -1
- package/cdn/chunks/chunk.ZRRFT6U7.js +1 -0
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/animation/animations.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/color-picker/color-picker.js +1 -0
- package/cdn/components/comparer/comparer.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/details/details.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/dropdown-item/dropdown-item.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +1 -1
- package/cdn/components/format-date/format-date.js +1 -1
- package/cdn/components/format-number/format-number.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/qr-code/qr-code.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/rating/rating.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/scroller/scroller.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +1297 -296
- package/cdn/internal/watch.js +1 -1
- package/cdn/placer.js +1 -1
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/bg.js +1 -1
- package/cdn/translations/bn.js +1 -1
- package/cdn/translations/bs.js +1 -1
- package/cdn/translations/ca.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/cy.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-at.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/el.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es-es.js +1 -1
- package/cdn/translations/es.js +1 -0
- package/cdn/translations/et.js +1 -1
- package/cdn/translations/eu.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fil.js +1 -1
- package/cdn/translations/fo.js +1 -1
- package/cdn/translations/fr-ca.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/ga.js +1 -1
- package/cdn/translations/gu.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hi.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/is.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/ko.js +1 -1
- package/cdn/translations/lb.js +1 -1
- package/cdn/translations/lo.js +1 -1
- package/cdn/translations/lt.js +1 -1
- package/cdn/translations/lv.js +1 -1
- package/cdn/translations/mr.js +1 -1
- package/cdn/translations/ms.js +1 -1
- package/cdn/translations/mt.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl-be.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pa-guru.js +1 -1
- package/cdn/translations/pa.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/ps.js +1 -1
- package/cdn/translations/pt-br.js +1 -1
- package/cdn/translations/pt-pt.js +1 -1
- package/cdn/translations/pt.js +1 -0
- package/cdn/translations/ro.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sk.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sq.js +1 -1
- package/cdn/translations/sr.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/sw.js +1 -1
- package/cdn/translations/te.js +1 -1
- package/cdn/translations/th.js +1 -1
- package/cdn/translations/tl.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/ur.js +1 -1
- package/cdn/translations/vi.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-hk.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/dist/components/avatar/avatar.js +8 -0
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/checkbox/checkbox.js +8 -0
- package/dist/components/color-picker/color-picker.d.ts +206 -0
- package/dist/components/color-picker/color-picker.js +7014 -0
- package/dist/components/comparer/comparer.js +10 -0
- package/dist/components/copy-button/copy-button.js +10 -0
- package/dist/components/details/details.js +10 -0
- package/dist/components/dialog/dialog.js +2 -0
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/drawer.js +2 -0
- package/dist/components/dropdown/dropdown.js +2 -0
- package/dist/components/dropdown-item/dropdown-item.js +10 -0
- package/dist/components/format-bytes/format-bytes.js +2 -0
- package/dist/components/format-date/format-date.js +2 -0
- package/dist/components/format-number/format-number.js +2 -0
- package/dist/components/icon/icon.js +8 -0
- package/dist/components/icon/library.js +8 -0
- package/dist/components/icon/library.system.js +8 -0
- package/dist/components/input/input.js +12 -2
- package/dist/components/option/option.js +8 -0
- package/dist/components/popup/popup.js +2 -0
- package/dist/components/rating/rating.js +10 -0
- package/dist/components/scroller/scroller.js +2 -0
- package/dist/components/select/select.js +10 -0
- package/dist/components/spinner/spinner.js +2 -0
- package/dist/components/tab/tab.js +2 -0
- package/dist/components/tab-group/tab-group.js +2 -0
- package/dist/components/tag/tag.js +2 -0
- package/dist/components/tooltip/tooltip.js +2 -0
- package/dist/custom-elements.json +1454 -453
- package/dist/internal/watch.d.ts +1 -6
- package/dist/placer.d.ts +1 -0
- package/dist/placer.js +5560 -3338
- package/dist/translations/ar.js +2 -0
- package/dist/translations/bg.js +2 -0
- package/dist/translations/bn.js +2 -0
- package/dist/translations/bs.js +2 -0
- package/dist/translations/ca.js +2 -0
- package/dist/translations/cs.js +2 -0
- package/dist/translations/cy.js +2 -0
- package/dist/translations/da.js +2 -0
- package/dist/translations/de-at.js +2 -0
- package/dist/translations/de-ch.js +2 -0
- package/dist/translations/de.js +2 -0
- package/dist/translations/el.js +2 -0
- package/dist/translations/en-gb.js +2 -0
- package/dist/translations/en.js +2 -0
- package/dist/translations/es-es.js +25 -10
- package/dist/translations/{es-419.js → es.js} +13 -24
- package/dist/translations/et.js +2 -0
- package/dist/translations/eu.js +2 -0
- package/dist/translations/fa.js +2 -0
- package/dist/translations/fi.js +2 -0
- package/dist/translations/fil.js +2 -0
- package/dist/translations/fo.js +2 -0
- package/dist/translations/fr-ca.js +2 -0
- package/dist/translations/fr.js +2 -0
- package/dist/translations/ga.js +2 -0
- package/dist/translations/gu.js +2 -0
- package/dist/translations/he.js +2 -0
- package/dist/translations/hi.js +2 -0
- package/dist/translations/hr.js +2 -0
- package/dist/translations/hu.js +2 -0
- package/dist/translations/id.js +2 -0
- package/dist/translations/is.js +2 -0
- package/dist/translations/it.js +2 -0
- package/dist/translations/ja.js +2 -0
- package/dist/translations/ko.js +2 -0
- package/dist/translations/lb.js +2 -0
- package/dist/translations/lo.js +2 -0
- package/dist/translations/lt.js +2 -0
- package/dist/translations/lv.js +2 -0
- package/dist/translations/mr.js +2 -0
- package/dist/translations/ms.js +2 -0
- package/dist/translations/mt.js +2 -0
- package/dist/translations/nb.js +2 -0
- package/dist/translations/nl-be.js +2 -0
- package/dist/translations/nl.js +2 -0
- package/dist/translations/nn.js +3 -0
- package/dist/translations/pa-guru.js +2 -0
- package/dist/translations/pa.js +2 -0
- package/dist/translations/pl.js +2 -0
- package/dist/translations/ps.js +2 -0
- package/dist/translations/pt-br.js +25 -10
- package/dist/translations/pt-pt.js +28 -13
- package/dist/translations/pt.d.ts +3 -0
- package/dist/translations/pt.js +651 -0
- package/dist/translations/ro.js +2 -0
- package/dist/translations/ru.js +2 -0
- package/dist/translations/sk.js +2 -0
- package/dist/translations/sl.js +2 -0
- package/dist/translations/sq.js +2 -0
- package/dist/translations/sr.js +2 -0
- package/dist/translations/sv.js +2 -0
- package/dist/translations/sw.js +2 -0
- package/dist/translations/te.js +2 -0
- package/dist/translations/th.js +2 -0
- package/dist/translations/tl.js +2 -0
- package/dist/translations/tr.js +2 -0
- package/dist/translations/uk.js +2 -0
- package/dist/translations/ur.js +2 -0
- package/dist/translations/vi.js +2 -0
- package/dist/translations/zh-cn.js +2 -0
- package/dist/translations/zh-hk.js +2 -0
- package/dist/translations/zh-tw.js +2 -0
- package/dist/utilities/icon-library.js +8 -0
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +2 -0
- package/package.json +4 -4
- package/cdn/chunks/chunk.2Z64GICQ.js +0 -1
- package/cdn/chunks/chunk.4STPWUBX.js +0 -1
- package/cdn/chunks/chunk.7IO6HSMP.js +0 -1
- package/cdn/chunks/chunk.AQZIBV2H.js +0 -1
- package/cdn/chunks/chunk.C77HSL2F.js +0 -1
- package/cdn/chunks/chunk.CJ4QNCKY.js +0 -1
- package/cdn/chunks/chunk.DZUE5PWB.js +0 -1
- package/cdn/chunks/chunk.OKOC6DQF.js +0 -1
- package/cdn/chunks/chunk.SDJDVDUH.js +0 -1
- package/cdn/chunks/chunk.YF7XKQNZ.js +0 -1
- package/cdn/translations/es-419.js +0 -1
- /package/dist/translations/{es-419.d.ts → es.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://app.netlify.com/projects/placer-toolkit/deploys)
|
|
6
6
|
|
|
7
|
-
> !
|
|
7
|
+
> [!NOTE]
|
|
8
8
|
> 📦 This is a **monorepo** containing the Placer Toolkit core and its documentation site.
|
|
9
9
|
|
|
10
10
|
## 🚧 Alpha notice
|
|
@@ -45,7 +45,7 @@ npm run preview # To spin up the production server provided by Astro
|
|
|
45
45
|
|
|
46
46
|
## 📄 Licence
|
|
47
47
|
|
|
48
|
-
This project is
|
|
48
|
+
This project is licensed under the [MIT License](LICENSE.md).
|
|
49
49
|
|
|
50
50
|
## 💖 Special thanks
|
|
51
51
|
|
|
@@ -57,6 +57,6 @@ Placer Toolkit was built with the help of these fantastic libraries:
|
|
|
57
57
|
- [Custom Elements Manifest](https://custom-elements-manifest.open-wc.org)
|
|
58
58
|
- [Pagefind](https://pagefind.app)
|
|
59
59
|
|
|
60
|
-
Additionally, Placer Toolkit is heavily inspired by [Shoelace](https://shoelace.style)—a forward‐thinking library of web components. Shoelace is
|
|
60
|
+
Additionally, Placer Toolkit is heavily inspired by [Shoelace](https://shoelace.style)—a forward‐thinking library of web components. Shoelace is licensed under the [MIT License](https://github.com/shoelace-style/shoelace/blob/next/LICENSE.md). More recently, elements of [Web Awesome](https://webawesome.com) have also influenced Placer Toolkit’s development.
|
|
61
61
|
|
|
62
62
|
© 2025 Placer and its contributors
|
package/cdn/animations/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk.
|
|
1
|
+
import"../chunks/chunk.DQ2EFEM7.js";import{a as h}from"../chunks/chunk.6RYC5FEW.js";import{a as g}from"../chunks/chunk.ORA34WZP.js";import{a as f}from"../chunks/chunk.4X4XH4O2.js";import{a as e}from"../chunks/chunk.TSGCOVAS.js";import{a as d}from"../chunks/chunk.NPYG3KBW.js";import{a as c}from"../chunks/chunk.EDLGCMPJ.js";import{a as b}from"../chunks/chunk.UY4REGW5.js";import{a}from"../chunks/chunk.HNKZJPU5.js";import{a as p}from"../chunks/chunk.ZDVLHLRA.js";import{a as o}from"../chunks/chunk.LGGEB3IB.js";import{a as n}from"../chunks/chunk.GUYJ76FZ.js";import{a as m}from"../chunks/chunk.LVUPLZGE.js";import{a as l}from"../chunks/chunk.TMAMLCL3.js";import{a as k}from"../chunks/chunk.4VMSMOA5.js";import{a as j}from"../chunks/chunk.X2UEAQ7T.js";import{a as i}from"../chunks/chunk.R4FKXVN2.js";import{a as x}from"../chunks/chunk.5MJRUHKK.js";import{a as w}from"../chunks/chunk.YPCDSPNA.js";import{a as v}from"../chunks/chunk.WLREBMFL.js";import{a as u}from"../chunks/chunk.U3MA3RIB.js";import{a as t}from"../chunks/chunk.KPQGFV2T.js";import{a as s}from"../chunks/chunk.V7QO7LZ4.js";import{a as r}from"../chunks/chunk.YWY7M46V.js";import{a as q}from"../chunks/chunk.ADVDY32Z.js";import{a as Sa}from"../chunks/chunk.HTBAOVSV.js";import{a as E}from"../chunks/chunk.6C4VTMLQ.js";import{a as D}from"../chunks/chunk.TMMJRXEV.js";import{a as C}from"../chunks/chunk.P4UE3S5U.js";import{a as B}from"../chunks/chunk.IJB4PCJH.js";import{a as A}from"../chunks/chunk.L2CNBOZJ.js";import{a as z}from"../chunks/chunk.LWZCSGTE.js";import{a as y}from"../chunks/chunk.RFDMVIMA.js";import{a as M}from"../chunks/chunk.NU2STAMX.js";import{a as L}from"../chunks/chunk.B27E7VEZ.js";import{a as K}from"../chunks/chunk.V4EXVX5U.js";import{a as J}from"../chunks/chunk.PP72VCB4.js";import{a as I}from"../chunks/chunk.CQPLNRNB.js";import{a as H}from"../chunks/chunk.TSZI2CPF.js";import{a as G}from"../chunks/chunk.F7QM26VX.js";import{a as F}from"../chunks/chunk.N72C3VU3.js";import{a as U}from"../chunks/chunk.6SP3MLBX.js";import{a as T}from"../chunks/chunk.V3AEPIKH.js";import{a as S}from"../chunks/chunk.2SM5MTG6.js";import{a as R}from"../chunks/chunk.Z6NCEETZ.js";import{a as Q}from"../chunks/chunk.4CAEAIFN.js";import{a as P}from"../chunks/chunk.PCTA7J6C.js";import{a as O}from"../chunks/chunk.PBL2P7GX.js";import{a as N}from"../chunks/chunk.7QYDQTBC.js";import{a as aa}from"../chunks/chunk.G443HDU2.js";import{a as $}from"../chunks/chunk.O537LU5E.js";import{a as _}from"../chunks/chunk.MO7QMIH2.js";import{a as Z}from"../chunks/chunk.EZBCPDK5.js";import{a as Y}from"../chunks/chunk.DG6SQOFC.js";import{a as X}from"../chunks/chunk.ZJK5UEUE.js";import{a as W}from"../chunks/chunk.2K4PNLGV.js";import{a as V}from"../chunks/chunk.22DZRUGL.js";import{a as ia}from"../chunks/chunk.SEIDC2AV.js";import{a as ha}from"../chunks/chunk.IGMWK7NZ.js";import{a as ga}from"../chunks/chunk.ESSED3D6.js";import{a as fa}from"../chunks/chunk.UJQFNBOE.js";import{a as ea}from"../chunks/chunk.LDRHXIYA.js";import{a as da}from"../chunks/chunk.SXVGSAUS.js";import{a as ca}from"../chunks/chunk.IJXVLI7F.js";import{a as ba}from"../chunks/chunk.M256MZ2P.js";import{a as qa}from"../chunks/chunk.LHYUHRTC.js";import{a as pa}from"../chunks/chunk.MM4THVKJ.js";import{a as oa}from"../chunks/chunk.XNUSDBIN.js";import{a as na}from"../chunks/chunk.5PONJGRH.js";import{a as ma}from"../chunks/chunk.MAQ3AU52.js";import{a as la}from"../chunks/chunk.IFDHHGOU.js";import{a as ka}from"../chunks/chunk.TARXG5U3.js";import{a as ja}from"../chunks/chunk.5G3DFRPP.js";import{a as ya}from"../chunks/chunk.ELYXTKTB.js";import{a as xa}from"../chunks/chunk.G4SAKBPC.js";import{a as wa}from"../chunks/chunk.2SQLMTYR.js";import{a as va}from"../chunks/chunk.3U3NAHEY.js";import{a as ua}from"../chunks/chunk.GMD2IG67.js";import{a as ta}from"../chunks/chunk.NE3XXRZM.js";import{a as sa}from"../chunks/chunk.Y4QDLYQS.js";import{a as ra}from"../chunks/chunk.4NL2VE5O.js";import{a as Ga}from"../chunks/chunk.U7RBI2DC.js";import{a as Fa}from"../chunks/chunk.ZE2WQTE4.js";import{a as Ea}from"../chunks/chunk.ECBLO7D3.js";import{a as Da}from"../chunks/chunk.4W3OJG5Y.js";import{a as Ca}from"../chunks/chunk.M2NVAC3Z.js";import{a as Ba}from"../chunks/chunk.BGH5L7N6.js";import{a as Aa}from"../chunks/chunk.IJMKJLO7.js";import{a as za}from"../chunks/chunk.EMVTQD7Z.js";import{a as Oa}from"../chunks/chunk.5HIUPHOM.js";import{a as Na}from"../chunks/chunk.DNS43PE3.js";import{a as Ma}from"../chunks/chunk.P7GBRX2Q.js";import{a as La}from"../chunks/chunk.KYRT75BX.js";import{a as Ka}from"../chunks/chunk.LI6ACV6L.js";import{a as Ja}from"../chunks/chunk.ZVANQQXU.js";import{a as Ia}from"../chunks/chunk.DRJDBJ6E.js";import{a as Ha}from"../chunks/chunk.EZBP4Q35.js";import{a as Ra}from"../chunks/chunk.OD26IPSI.js";import{a as Qa}from"../chunks/chunk.HGR2N7GN.js";import{a as Pa}from"../chunks/chunk.7UGLJJM6.js";import"../chunks/chunk.E6MOE4FE.js";export{n as backInDown,o as backInLeft,p as backInRight,q as backInUp,r as backOutDown,s as backOutLeft,t as backOutRight,u as backOutUp,a as bounce,v as bounceIn,w as bounceInDown,x as bounceInLeft,y as bounceInRight,z as bounceInUp,A as bounceOut,B as bounceOutDown,C as bounceOutLeft,D as bounceOutRight,E as bounceOutUp,Sa as easings,F as fadeIn,G as fadeInBottomLeft,H as fadeInBottomRight,I as fadeInDown,J as fadeInDownBig,K as fadeInLeft,L as fadeInLeftBig,M as fadeInRight,N as fadeInRightBig,O as fadeInTopLeft,P as fadeInTopRight,Q as fadeInUp,R as fadeInUpBig,S as fadeOut,T as fadeOutBottomLeft,U as fadeOutBottomRight,V as fadeOutDown,W as fadeOutDownBig,X as fadeOutLeft,Y as fadeOutLeftBig,Z as fadeOutRight,_ as fadeOutRightBig,$ as fadeOutTopLeft,aa as fadeOutTopRight,ba as fadeOutUp,ca as fadeOutUpBig,b as flash,da as flip,ea as flipInX,fa as flipInY,ga as flipOutX,ha as flipOutY,c as headShake,d as heartBeat,Ea as hinge,Fa as jackInTheBox,e as jello,ia as lightSpeedInLeft,ja as lightSpeedInRight,ka as lightSpeedOutLeft,la as lightSpeedOutRight,f as pulse,Ga as rollIn,Ha as rollOut,ma as rotateIn,na as rotateInDownLeft,oa as rotateInDownRight,pa as rotateInUpLeft,qa as rotateInUpRight,ra as rotateOut,sa as rotateOutDownLeft,ta as rotateOutDownRight,ua as rotateOutUpLeft,va as rotateOutUpRight,g as rubberBand,h as shake,i as shakeX,j as shakeY,wa as slideInDown,xa as slideInLeft,ya as slideInRight,za as slideInUp,Aa as slideOutDown,Ba as slideOutLeft,Ca as slideOutRight,Da as slideOutUp,k as swing,l as tada,m as wobble,Ia as zoomIn,Ja as zoomInDown,Ka as zoomInLeft,La as zoomInRight,Ma as zoomInUp,Na as zoomOut,Oa as zoomOutDown,Pa as zoomOutLeft,Qa as zoomOutRight,Ra as zoomOutUp};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as u}from"./chunk.
|
|
1
|
+
import{a as u}from"./chunk.63PFEC3G.js";import{a as c,b as r,c as o,e as d,g as h}from"./chunk.NYYTSWQF.js";import{a}from"./chunk.H2EOXVSZ.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{b as s}from"./chunk.E6MOE4FE.js";var f=`:host {
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
align-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk.QY5QOZRE.js";import{a as o}from"./chunk.ZY64ASSW.js";var a={...r,$code:"pt-BR",$name:"Portugu\xEAs do Brasil",copied:"Copiado!",pickAColorFromTheScreen:"Escolher uma cor da tela",scrollToEnd:"Rolar at\xE9 o final",scrollToStart:"Rolar at\xE9 o in\xEDcio"};o(a);var l=a;export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,b as i,g as s}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.
|
|
1
|
+
import{a as o,b as i,g as s}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.E4QLFQIH.js";import{d as r}from"./chunk.2N5ZK4F4.js";import{b as t}from"./chunk.E6MOE4FE.js";var e=class extends s{constructor(){super(...arguments);this.localize=new m(this);this.date=new Date;this.hourFormat="auto"}static get styles(){return[]}render(){let n=new Date(this.date),d=this.hourFormat==="auto"?void 0:this.hourFormat==="12";if(isNaN(n.getMilliseconds()))return;let h=this.localize.date(n,{weekday:this.weekday,era:this.era,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:d});return r`<time datetime=${n.toISOString()}>${h}</time>`}};t([i()],e.prototype,"date",2),t([i()],e.prototype,"weekday",2),t([i()],e.prototype,"era",2),t([i()],e.prototype,"year",2),t([i()],e.prototype,"month",2),t([i()],e.prototype,"day",2),t([i()],e.prototype,"hour",2),t([i()],e.prototype,"minute",2),t([i()],e.prototype,"second",2),t([i({attribute:"time-zone-name"})],e.prototype,"timeZoneName",2),t([i({attribute:"time-zone"})],e.prototype,"timeZone",2),t([i({attribute:"hour-format"})],e.prototype,"hourFormat",2),e=t([o("pc-format-date")],e);export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"./chunk.
|
|
1
|
+
import{a as L}from"./chunk.RWQ2HCYN.js";import{a as z}from"./chunk.KKVT4LHX.js";import{a as l}from"./chunk.RZZMGXAZ.js";import{a as g,b as s,e as v,g as k}from"./chunk.NYYTSWQF.js";import{a as T}from"./chunk.RQ34LIU5.js";import{a as m}from"./chunk.OOQOIJSK.js";import{a as h}from"./chunk.U2DNK7H4.js";import{a as x}from"./chunk.H2EOXVSZ.js";import{a as w}from"./chunk.P7X6ERDI.js";import{a as E}from"./chunk.D5CFOPIE.js";import{a as f,b as u}from"./chunk.R2GXUKDX.js";import{a as r,c}from"./chunk.N5AZOOIZ.js";import{a as C}from"./chunk.E4QLFQIH.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{b as o}from"./chunk.E6MOE4FE.js";var S=`:host {
|
|
2
2
|
--size: 25rem;
|
|
3
3
|
--header-spacing: var(--pc-spacing-xl);
|
|
4
4
|
--body-spacing: var(--pc-spacing-s) var(--pc-spacing-xl);
|
|
@@ -176,7 +176,7 @@ import{a as L}from"./chunk.2QO5A33E.js";import{a as z}from"./chunk.KKVT4LHX.js";
|
|
|
176
176
|
border: 1px solid oklch(100% 0 0);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
-
`;document.addEventListener("click",y=>{let d=y.target.closest("[data-drawer]");if(d instanceof Element){let[e,a]=T(d.getAttribute("data-drawer")||"");if(e==="open"&&a?.length){let n=d.getRootNode().getElementById(a);n?.localName==="pc-drawer"?n.open=!0:console.warn(`A drawer with an id of \u201C${a}\u201D could not be found in this document.`)}}});document.addEventListener("pointerdown",()=>{});r("drawer.showTop",{keyframes:[{opacity:0,translate:"0 -100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideTop",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 -100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showBottom",{keyframes:[{opacity:0,translate:"0 100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideBottom",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}});var t=class extends k{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new C(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1;this.noLightDismiss=!1;this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.open&&(e.preventDefault(),e.stopPropagation(),this.requestClose(this.drawer))}}firstUpdated(){this.open&&(this.addOpenListeners(),this.drawer.showModal(),f(this))}disconnectedCallback(){super.disconnectedCallback(),u(this),this.removeOpenListeners()}async requestClose(e){if(h(this,"pc-hide",{cancelable:!0,detail:{source:e}}).defaultPrevented){this.open=!0;let b=
|
|
179
|
+
`;document.addEventListener("click",y=>{let d=y.target.closest("[data-drawer]");if(d instanceof Element){let[e,a]=T(d.getAttribute("data-drawer")||"");if(e==="open"&&a?.length){let n=d.getRootNode().getElementById(a);n?.localName==="pc-drawer"?n.open=!0:console.warn(`A drawer with an id of \u201C${a}\u201D could not be found in this document.`)}}});document.addEventListener("pointerdown",()=>{});r("drawer.showTop",{keyframes:[{opacity:0,translate:"0 -100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideTop",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 -100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showBottom",{keyframes:[{opacity:0,translate:"0 100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideBottom",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}});var t=class extends k{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new C(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1;this.noLightDismiss=!1;this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.open&&(e.preventDefault(),e.stopPropagation(),this.requestClose(this.drawer))}}firstUpdated(){this.open&&(this.addOpenListeners(),this.drawer.showModal(),f(this))}disconnectedCallback(){super.disconnectedCallback(),u(this),this.removeOpenListeners()}async requestClose(e){if(h(this,"pc-hide",{cancelable:!0,detail:{source:e}}).defaultPrevented){this.open=!0;let b=c(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.drawer,b.keyframes,b.options);return}this.removeOpenListeners(),this.drawer.classList.add("hide"),this.drawer.classList.remove("show");let i=c(this,`drawer.hide${w(this.placement)}`,{dir:this.localize.dir()});await l(this.drawer,i.keyframes,i.options),this.open=!1,this.drawer.close(),u(this);let n=this.originalTrigger;return typeof n?.focus=="function"&&setTimeout(()=>n.focus()),m(this,"pc-after-hide")}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDrawerCancel(e){e.preventDefault(),!this.drawer.classList.contains("hide")&&e.target===this.drawer&&this.requestClose(this.drawer)}handleDrawerClick(e){let i=e.target.closest('[data-drawer="close"]');i&&(e.stopPropagation(),this.requestClose(i))}async handleDrawerPointerDown(e){if(e.target===this.drawer)if(!this.noLightDismiss)this.requestClose(this.drawer);else{let a=c(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.drawer,a.keyframes,a.options)}}handleOpenChange(){this.open&&!this.drawer.open?this.show():this.drawer.open&&(this.open=!0,this.requestClose(this.drawer))}async show(){if(h(this,"pc-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}this.addOpenListeners(),this.originalTrigger=document.activeElement,this.open=!0,this.drawer.showModal(),f(this),requestAnimationFrame(()=>{let i=this.querySelector("[autofocus]");i&&typeof i.focus=="function"?i.focus():this.drawer.focus()}),this.drawer.classList.add("show"),this.drawer.classList.remove("hide");let a=c(this,`drawer.show${w(this.placement)}`,{dir:this.localize.dir()});return l(this.drawer,a.keyframes,a.options),m(this,"pc-after-show")}render(){return p`
|
|
180
180
|
<dialog
|
|
181
181
|
part="drawer"
|
|
182
182
|
class=${z({drawer:!0,open:this.open,top:this.placement==="top",end:this.placement==="end",bottom:this.placement==="bottom",start:this.placement==="start","has-footer":this.hasSlotController.test("footer")})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l,b as i,g as u}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.
|
|
1
|
+
import{a as l,b as i,g as u}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.E4QLFQIH.js";import{b as e}from"./chunk.E6MOE4FE.js";var t=class extends u{constructor(){super(...arguments);this.localize=new c(this);this.value=0;this.unit="byte";this.display="short";this.useSI=!1}static get styles(){return[]}render(){if(isNaN(this.value))return"";let h=["","kilo","mega","giga","tera"],p=["","kilo","mega","giga","tera","peta"],s=this.unit==="bit"?h:p,r=Math.max(0,Math.min(Math.floor(Math.log10(this.value)/3),s.length-1)),a=parseFloat((this.value/Math.pow(1e3,r)).toPrecision(3));if(this.useSI){let o=["","k","M","G","T","P"][r],n=this.localize.number(a,{style:"decimal"}).replace(".",",");switch(this.display){case"narrow":return`${n}${o}${this.unit==="byte"?"B":"b"}`;case"short":return`${n}\u202F${o}${this.unit==="byte"?"B":"b"}`;case"long":let b=a===1?"":"s";return`${n}\xA0${s[r]}${this.unit}${b}`;default:return""}}let m=s[r]+this.unit;return this.localize.number(a,{style:"unit",unit:m,unitDisplay:this.display})}};e([i({type:Number})],t.prototype,"value",2),e([i()],t.prototype,"unit",2),e([i()],t.prototype,"display",2),e([i({attribute:"use-si",type:Boolean})],t.prototype,"useSI",2),t=e([l("pc-format-bytes")],t);export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Rt}from"./chunk.KKVT4LHX.js";import{a as Bt}from"./chunk.U2DNK7H4.js";import{a as Pt,b as A,e as Et,g as kt}from"./chunk.NYYTSWQF.js";import{a as Dt}from"./chunk.ZXMWRI34.js";import{d as At}from"./chunk.2N5ZK4F4.js";import{b as x}from"./chunk.E6MOE4FE.js";var V=Math.min,C=Math.max,lt=Math.round,at=Math.floor,$=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},we={start:"end",end:"start"};function ht(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}var be=new Set(["top","bottom"]);function W(t){return be.has(X(t))?"y":"x"}function pt(t){return St(W(t))}function Nt(t,e,n){n===void 0&&(n=!1);let o=Q(t),i=pt(t),r=mt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Ft(t){let e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>we[e])}var $t=["left","right"],Mt=["right","left"],ve=["top","bottom"],xe=["bottom","top"];function Ae(t,e,n){switch(t){case"top":case"bottom":return n?e?Mt:$t:e?$t:Mt;case"left":case"right":return e?ve:xe;default:return[]}}function Ht(t,e,n,o){let i=Q(t),r=Ae(X(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ot(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function Z(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Vt(t,e,n){let{reference:o,floating:i}=t,r=W(e),s=pt(e),l=mt(s),c=X(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2,d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}var Wt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Vt(a,o,c),h=o,d={},m=0;for(let g=0;g<l.length;g++){let{name:y,fn:p}=l[g],{x:w,y:v,data:R,reset:E}=await p({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=v??u,d={...d,[y]:{...d[y],...R}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:u}=Vt(a,h,c)),g=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function gt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=J(e,t),m=Ot(d),y=l[h?u==="floating"?"reference":"floating":u],p=Z(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(y)))==null||n?y:y.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Z(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:v,strategy:c}):w);return{top:(p.top-E.top+m.top)/R.y,bottom:(E.bottom-p.bottom+m.bottom)/R.y,left:(p.left-E.left+m.left)/R.x,right:(E.right-p.right+m.right)/R.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=J(t,e)||{};if(a==null)return{};let u=Ot(f),h={x:n,y:o},d=pt(i),m=mt(d),g=await s.getDimensions(a),y=d==="y",p=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[d]-h[d]-r.floating[m],E=h[d]-r.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),S=k?k[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(k)))&&(S=l.floating[v]||r.floating[m]);let _=R/2-E/2,F=S/2-g[m]/2-1,L=V(u[p],F),q=V(u[w],F),H=L,U=S-g[m]-q,O=S/2-g[m]/2+_,G=ht(H,O,U),j=!c.arrow&&Q(i)!=null&&O!==G&&r.reference[m]/2-(O<H?L:q)-g[m]/2<0,B=j?O<H?O-H:O-U:0;return{[d]:h[d]+B,data:{[d]:G,centerOffset:O-G-B,...j&&{alignmentOffset:B}},reset:j}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(i),w=W(l),v=X(l)===l,R=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=h||(v||!g?[st(l)]:Ft(l)),k=m!=="none";!h&&k&&E.push(...Ht(l,g,m,R));let S=[l,...E],_=await gt(e,y),F=[],L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&F.push(_[p]),u){let O=Nt(i,s,R);F.push(_[O[0]],_[O[1]])}if(L=[...L,{placement:i,overflows:F}],!F.every(O=>O<=0)){var q,H;let O=(((q=r.flip)==null?void 0:q.index)||0)+1,G=S[O];if(G&&(!(u==="alignment"?w!==W(G):!1)||L.every(D=>W(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:G}};let j=(H=L.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(d){case"bestFit":{var U;let B=(U=L.filter(D=>{if(k){let K=W(D.placement);return K===w||K==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(K=>K>0).reduce((K,ge)=>K+ge,0)]).sort((D,K)=>D[1]-K[1])[0])==null?void 0:U[0];B&&(j=B);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};var Re=new Set(["left","top"]);async function Se(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=X(n),l=Q(n),c=W(n)==="y",a=Re.has(s)?-1:1,f=r&&c?-1:1,u=J(e,t),{mainAxis:h,crossAxis:d,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}var Xt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:l}=e,c=await Se(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:p,y:w}=y;return{x:p,y:w}}},...c}=J(t,e),a={x:n,y:o},f=await gt(e,c),u=W(X(i)),h=St(u),d=a[h],m=a[u];if(r){let y=h==="y"?"top":"left",p=h==="y"?"bottom":"right",w=d+f[y],v=d-f[p];d=ht(w,d,v)}if(s){let y=u==="y"?"top":"left",p=u==="y"?"bottom":"right",w=m+f[y],v=m-f[p];m=ht(w,m,v)}let g=l.fn({...e,[h]:d,[u]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:r,[u]:s}}}}}};var It=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:r,platform:s,elements:l}=e,{apply:c=()=>{},...a}=J(t,e),f=await gt(e,a),u=X(i),h=Q(i),d=W(i)==="y",{width:m,height:g}=r.floating,y,p;u==="top"||u==="bottom"?(y=u,p=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=u,y=h==="end"?"top":"bottom");let w=g-f.top-f.bottom,v=m-f.left-f.right,R=V(g-f[y],w),E=V(m-f[p],v),k=!e.middlewareData.shift,S=R,_=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(S=w),k&&!h){let L=C(f.left,0),q=C(f.right,0),H=C(f.top,0),U=C(f.bottom,0);d?_=m-2*(L!==0||q!==0?L+q:C(f.left,f.right)):S=g-2*(H!==0||U!==0?H+U:C(f.top,f.bottom))}await c({...e,availableWidth:_,availableHeight:S});let F=await s.getDimensions(l.floating);return m!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window<"u"}function tt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function M(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function ot(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Oe.has(i)}var Ce=new Set(["table","td","th"]);function Kt(t){return Ce.has(tt(t))}var Te=[":popover-open",":modal"];function ct(t){return Te.some(e=>{try{return t.matches(e)}catch{return!1}})}var Le=["transform","translate","scale","rotate","perspective"],ze=["transform","translate","scale","rotate","perspective","filter"],Pe=["paint","layout","strict","content"];function it(t){let e=wt(),n=z(t)?P(t):t;return Le.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ze.some(o=>(n.willChange||"").includes(o))||Pe.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=Y(t);for(;N(e)&&!et(e);){if(it(e))return e;if(ct(e))return null;e=Y(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var ke=new Set(["html","body","#document"]);function et(t){return ke.has(tt(t))}function P(t){return T(t).getComputedStyle(t)}function ft(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||M(t);return qt(e)?e.host:e}function Jt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ot(e)?e:Jt(e)}function I(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=T(i);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ot(i)?i:[],l&&n?I(l):[])}return e.concat(i,I(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=P(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=lt(n)!==r||lt(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function Tt(t){return z(t)?t:t.contextElement}function rt(t){let e=Tt(t);if(!N(e))return $(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=ee(e),s=(r?lt(n.width):n.width)/o,l=(r?lt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Be=$(0);function ne(t){let e=T(t);return!wt()||!e.visualViewport?Be:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function De(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=Tt(t),s=$(1);e&&(o?z(o)&&(s=rt(o)):s=rt(t));let l=De(r,n,o)?ne(r):$(0),c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){let h=T(r),d=o&&z(o)?T(o):o,m=h,g=bt(m);for(;g&&o&&d!==m;){let y=rt(g),p=g.getBoundingClientRect(),w=P(g),v=p.left+(g.clientLeft+parseFloat(w.paddingLeft))*y.x,R=p.top+(g.clientTop+parseFloat(w.paddingTop))*y.y;c*=y.x,a*=y.y,f*=y.x,u*=y.y,c+=v,a+=R,m=T(g),g=bt(m)}}return Z({width:f,height:u,x:c,y:a})}function vt(t,e){let n=ft(t).scrollLeft;return e?e.left+n:nt(M(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-vt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function $e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=M(o),l=e?ct(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),u=N(o);if((u||!u&&!r)&&((tt(o)!=="body"||ot(s))&&(c=ft(o)),N(o))){let d=nt(o);a=rt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}let h=s&&!u&&!r?oe(s,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function Me(t){return Array.from(t.getClientRects())}function Ne(t){let e=M(t),n=ft(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+vt(t),l=-n.scrollTop;return P(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}var Qt=25;function Fe(t,e){let n=T(t),o=M(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;let f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}let a=vt(o);if(a<=0){let f=o.ownerDocument,u=f.body,h=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-u.clientWidth-d);m<=Qt&&(r-=m)}else a<=Qt&&(r+=a);return{width:r,height:s,x:l,y:c}}var He=new Set(["absolute","fixed"]);function Ve(t,e){let n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?rt(t):$(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function Zt(t,e,n){let o;if(e==="viewport")o=Fe(t,n);else if(e==="document")o=Ne(M(t));else if(z(e))o=Ve(e,n);else{let i=ne(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Z(o)}function ie(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:P(n).position==="fixed"||ie(n,e)}function We(t,e){let n=e.get(t);if(n)return n;let o=I(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),i=null,r=P(t).position==="fixed",s=r?Y(t):t;for(;z(s)&&!et(s);){let l=P(s),c=it(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&He.has(i.position)||ot(s)&&!c&&ie(t,s))?o=o.filter(f=>f!==s):i=l,s=Y(s)}return e.set(t,o),o}function _e(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?ct(e)?[]:We(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,f)=>{let u=Zt(e,f,i);return a.top=C(u.top,a.top),a.right=V(u.right,a.right),a.bottom=V(u.bottom,a.bottom),a.left=C(u.left,a.left),a},Zt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Xe(t,e,n){let o=N(e),i=M(e),r=n==="fixed",s=nt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=vt(i)}if(o||!o&&!r)if((tt(e)!=="body"||ot(i))&&(l=ft(e)),o){let d=nt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();let f=i&&!o&&!r?oe(i,l):$(0),u=s.left+l.scrollLeft-c.x-f.x,h=s.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function Ct(t){return P(t).position==="static"}function te(t,e){if(!N(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ct(t))return n;if(!N(t)){let i=Y(t);for(;i&&!et(i);){if(z(i)&&!Ct(i))return i;i=Y(i)}return n}let o=te(t,e);for(;o&&Kt(o)&&Ct(o);)o=te(o,e);return o&&et(o)&&Ct(o)&&!it(o)?n:o||Gt(t)||n}var Ye=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,o=await n(t.floating);return{reference:Xe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ie(t){return P(t).direction==="rtl"}var ut={convertOffsetParentRelativeRectToViewportRelativeRect:$e,getDocumentElement:M,getClippingRect:_e,getOffsetParent:re,getElementRects:Ye,getClientRects:Me,getDimensions:je,getScale:rt,isElement:z,isRTL:Ie};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qe(t,e){let n=null,o,i=M(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();let a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;let m=at(u),g=at(i.clientWidth-(f+h)),y=at(i.clientHeight-(u+d)),p=at(f),v={rootMargin:-m+"px "+-g+"px "+-y+"px "+-p+"px",threshold:C(0,V(1,c))||1},R=!0;function E(k){let S=k[0].intersectionRatio;if(S!==c){if(!R)return s();S?s(!1,S):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=Tt(t),f=i||r?[...a?I(a):[],...I(e)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u=a&&l?qe(a,n):null,h=-1,d=null;s&&(d=new ResizeObserver(p=>{let[w]=p;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let m,g=c?nt(t):null;c&&y();function y(){let p=nt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(y)}return n(),()=>{var p;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(p=d)==null||p.disconnect(),d=null,c&&cancelAnimationFrame(m)}}var ae=Xt;var ce=Yt,fe=jt,Lt=It;var ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:ut,...n},r={...i.platform,_c:o};return Wt(t,e,{...i,platform:r})};function he(t){return Ue(t)}function zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ue(t){for(let e=t;e;e=zt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zt(t);e;e=zt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||it(n)||e.tagName==="BODY"))return e}return null}var me=`/*! Popup is a low\u2010level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML. */
|
|
1
|
+
import{a as Rt}from"./chunk.KKVT4LHX.js";import{a as Pt,b as A,e as Et,g as kt}from"./chunk.NYYTSWQF.js";import{a as Bt}from"./chunk.U2DNK7H4.js";import{a as Dt}from"./chunk.E4QLFQIH.js";import{d as At}from"./chunk.2N5ZK4F4.js";import{b as x}from"./chunk.E6MOE4FE.js";var V=Math.min,C=Math.max,lt=Math.round,at=Math.floor,$=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},we={start:"end",end:"start"};function ht(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}var be=new Set(["top","bottom"]);function W(t){return be.has(X(t))?"y":"x"}function pt(t){return St(W(t))}function Nt(t,e,n){n===void 0&&(n=!1);let o=Q(t),i=pt(t),r=mt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Ft(t){let e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>we[e])}var $t=["left","right"],Mt=["right","left"],ve=["top","bottom"],xe=["bottom","top"];function Ae(t,e,n){switch(t){case"top":case"bottom":return n?e?Mt:$t:e?$t:Mt;case"left":case"right":return e?ve:xe;default:return[]}}function Ht(t,e,n,o){let i=Q(t),r=Ae(X(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ot(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function Z(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Vt(t,e,n){let{reference:o,floating:i}=t,r=W(e),s=pt(e),l=mt(s),c=X(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2,d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}var Wt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Vt(a,o,c),h=o,d={},m=0;for(let g=0;g<l.length;g++){let{name:y,fn:p}=l[g],{x:w,y:v,data:R,reset:E}=await p({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=v??u,d={...d,[y]:{...d[y],...R}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:u}=Vt(a,h,c)),g=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function gt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=J(e,t),m=Ot(d),y=l[h?u==="floating"?"reference":"floating":u],p=Z(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(y)))==null||n?y:y.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Z(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:v,strategy:c}):w);return{top:(p.top-E.top+m.top)/R.y,bottom:(E.bottom-p.bottom+m.bottom)/R.y,left:(p.left-E.left+m.left)/R.x,right:(E.right-p.right+m.right)/R.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=J(t,e)||{};if(a==null)return{};let u=Ot(f),h={x:n,y:o},d=pt(i),m=mt(d),g=await s.getDimensions(a),y=d==="y",p=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[d]-h[d]-r.floating[m],E=h[d]-r.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),S=k?k[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(k)))&&(S=l.floating[v]||r.floating[m]);let _=R/2-E/2,F=S/2-g[m]/2-1,L=V(u[p],F),q=V(u[w],F),H=L,U=S-g[m]-q,O=S/2-g[m]/2+_,G=ht(H,O,U),j=!c.arrow&&Q(i)!=null&&O!==G&&r.reference[m]/2-(O<H?L:q)-g[m]/2<0,B=j?O<H?O-H:O-U:0;return{[d]:h[d]+B,data:{[d]:G,centerOffset:O-G-B,...j&&{alignmentOffset:B}},reset:j}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(i),w=W(l),v=X(l)===l,R=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=h||(v||!g?[st(l)]:Ft(l)),k=m!=="none";!h&&k&&E.push(...Ht(l,g,m,R));let S=[l,...E],_=await gt(e,y),F=[],L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&F.push(_[p]),u){let O=Nt(i,s,R);F.push(_[O[0]],_[O[1]])}if(L=[...L,{placement:i,overflows:F}],!F.every(O=>O<=0)){var q,H;let O=(((q=r.flip)==null?void 0:q.index)||0)+1,G=S[O];if(G&&(!(u==="alignment"?w!==W(G):!1)||L.every(D=>W(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:G}};let j=(H=L.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(d){case"bestFit":{var U;let B=(U=L.filter(D=>{if(k){let K=W(D.placement);return K===w||K==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(K=>K>0).reduce((K,ge)=>K+ge,0)]).sort((D,K)=>D[1]-K[1])[0])==null?void 0:U[0];B&&(j=B);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};var Re=new Set(["left","top"]);async function Se(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=X(n),l=Q(n),c=W(n)==="y",a=Re.has(s)?-1:1,f=r&&c?-1:1,u=J(e,t),{mainAxis:h,crossAxis:d,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}var Xt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:l}=e,c=await Se(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:p,y:w}=y;return{x:p,y:w}}},...c}=J(t,e),a={x:n,y:o},f=await gt(e,c),u=W(X(i)),h=St(u),d=a[h],m=a[u];if(r){let y=h==="y"?"top":"left",p=h==="y"?"bottom":"right",w=d+f[y],v=d-f[p];d=ht(w,d,v)}if(s){let y=u==="y"?"top":"left",p=u==="y"?"bottom":"right",w=m+f[y],v=m-f[p];m=ht(w,m,v)}let g=l.fn({...e,[h]:d,[u]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:r,[u]:s}}}}}};var It=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:r,platform:s,elements:l}=e,{apply:c=()=>{},...a}=J(t,e),f=await gt(e,a),u=X(i),h=Q(i),d=W(i)==="y",{width:m,height:g}=r.floating,y,p;u==="top"||u==="bottom"?(y=u,p=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=u,y=h==="end"?"top":"bottom");let w=g-f.top-f.bottom,v=m-f.left-f.right,R=V(g-f[y],w),E=V(m-f[p],v),k=!e.middlewareData.shift,S=R,_=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(S=w),k&&!h){let L=C(f.left,0),q=C(f.right,0),H=C(f.top,0),U=C(f.bottom,0);d?_=m-2*(L!==0||q!==0?L+q:C(f.left,f.right)):S=g-2*(H!==0||U!==0?H+U:C(f.top,f.bottom))}await c({...e,availableWidth:_,availableHeight:S});let F=await s.getDimensions(l.floating);return m!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window<"u"}function tt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function M(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function ot(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Oe.has(i)}var Ce=new Set(["table","td","th"]);function Kt(t){return Ce.has(tt(t))}var Te=[":popover-open",":modal"];function ct(t){return Te.some(e=>{try{return t.matches(e)}catch{return!1}})}var Le=["transform","translate","scale","rotate","perspective"],ze=["transform","translate","scale","rotate","perspective","filter"],Pe=["paint","layout","strict","content"];function it(t){let e=wt(),n=z(t)?P(t):t;return Le.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ze.some(o=>(n.willChange||"").includes(o))||Pe.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=Y(t);for(;N(e)&&!et(e);){if(it(e))return e;if(ct(e))return null;e=Y(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var ke=new Set(["html","body","#document"]);function et(t){return ke.has(tt(t))}function P(t){return T(t).getComputedStyle(t)}function ft(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||M(t);return qt(e)?e.host:e}function Jt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ot(e)?e:Jt(e)}function I(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=T(i);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ot(i)?i:[],l&&n?I(l):[])}return e.concat(i,I(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=P(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=lt(n)!==r||lt(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function Tt(t){return z(t)?t:t.contextElement}function rt(t){let e=Tt(t);if(!N(e))return $(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=ee(e),s=(r?lt(n.width):n.width)/o,l=(r?lt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Be=$(0);function ne(t){let e=T(t);return!wt()||!e.visualViewport?Be:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function De(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=Tt(t),s=$(1);e&&(o?z(o)&&(s=rt(o)):s=rt(t));let l=De(r,n,o)?ne(r):$(0),c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){let h=T(r),d=o&&z(o)?T(o):o,m=h,g=bt(m);for(;g&&o&&d!==m;){let y=rt(g),p=g.getBoundingClientRect(),w=P(g),v=p.left+(g.clientLeft+parseFloat(w.paddingLeft))*y.x,R=p.top+(g.clientTop+parseFloat(w.paddingTop))*y.y;c*=y.x,a*=y.y,f*=y.x,u*=y.y,c+=v,a+=R,m=T(g),g=bt(m)}}return Z({width:f,height:u,x:c,y:a})}function vt(t,e){let n=ft(t).scrollLeft;return e?e.left+n:nt(M(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-vt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function $e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=M(o),l=e?ct(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),u=N(o);if((u||!u&&!r)&&((tt(o)!=="body"||ot(s))&&(c=ft(o)),N(o))){let d=nt(o);a=rt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}let h=s&&!u&&!r?oe(s,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function Me(t){return Array.from(t.getClientRects())}function Ne(t){let e=M(t),n=ft(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+vt(t),l=-n.scrollTop;return P(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}var Qt=25;function Fe(t,e){let n=T(t),o=M(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;let f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}let a=vt(o);if(a<=0){let f=o.ownerDocument,u=f.body,h=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-u.clientWidth-d);m<=Qt&&(r-=m)}else a<=Qt&&(r+=a);return{width:r,height:s,x:l,y:c}}var He=new Set(["absolute","fixed"]);function Ve(t,e){let n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?rt(t):$(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function Zt(t,e,n){let o;if(e==="viewport")o=Fe(t,n);else if(e==="document")o=Ne(M(t));else if(z(e))o=Ve(e,n);else{let i=ne(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Z(o)}function ie(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:P(n).position==="fixed"||ie(n,e)}function We(t,e){let n=e.get(t);if(n)return n;let o=I(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),i=null,r=P(t).position==="fixed",s=r?Y(t):t;for(;z(s)&&!et(s);){let l=P(s),c=it(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&He.has(i.position)||ot(s)&&!c&&ie(t,s))?o=o.filter(f=>f!==s):i=l,s=Y(s)}return e.set(t,o),o}function _e(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?ct(e)?[]:We(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,f)=>{let u=Zt(e,f,i);return a.top=C(u.top,a.top),a.right=V(u.right,a.right),a.bottom=V(u.bottom,a.bottom),a.left=C(u.left,a.left),a},Zt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Xe(t,e,n){let o=N(e),i=M(e),r=n==="fixed",s=nt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=vt(i)}if(o||!o&&!r)if((tt(e)!=="body"||ot(i))&&(l=ft(e)),o){let d=nt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();let f=i&&!o&&!r?oe(i,l):$(0),u=s.left+l.scrollLeft-c.x-f.x,h=s.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function Ct(t){return P(t).position==="static"}function te(t,e){if(!N(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ct(t))return n;if(!N(t)){let i=Y(t);for(;i&&!et(i);){if(z(i)&&!Ct(i))return i;i=Y(i)}return n}let o=te(t,e);for(;o&&Kt(o)&&Ct(o);)o=te(o,e);return o&&et(o)&&Ct(o)&&!it(o)?n:o||Gt(t)||n}var Ye=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,o=await n(t.floating);return{reference:Xe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ie(t){return P(t).direction==="rtl"}var ut={convertOffsetParentRelativeRectToViewportRelativeRect:$e,getDocumentElement:M,getClippingRect:_e,getOffsetParent:re,getElementRects:Ye,getClientRects:Me,getDimensions:je,getScale:rt,isElement:z,isRTL:Ie};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qe(t,e){let n=null,o,i=M(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();let a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;let m=at(u),g=at(i.clientWidth-(f+h)),y=at(i.clientHeight-(u+d)),p=at(f),v={rootMargin:-m+"px "+-g+"px "+-y+"px "+-p+"px",threshold:C(0,V(1,c))||1},R=!0;function E(k){let S=k[0].intersectionRatio;if(S!==c){if(!R)return s();S?s(!1,S):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=Tt(t),f=i||r?[...a?I(a):[],...I(e)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u=a&&l?qe(a,n):null,h=-1,d=null;s&&(d=new ResizeObserver(p=>{let[w]=p;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let m,g=c?nt(t):null;c&&y();function y(){let p=nt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(y)}return n(),()=>{var p;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(p=d)==null||p.disconnect(),d=null,c&&cancelAnimationFrame(m)}}var ae=Xt;var ce=Yt,fe=jt,Lt=It;var ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:ut,...n},r={...i.platform,_c:o};return Wt(t,e,{...i,platform:r})};function he(t){return Ue(t)}function zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ue(t){for(let e=t;e;e=zt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zt(t);e;e=zt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||it(n)||e.tagName==="BODY"))return e}return null}var me=`/*! Popup is a low\u2010level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML. */
|
|
2
2
|
|
|
3
3
|
:host {
|
|
4
4
|
--arrow-color: var(--pc-color-neutral-fill-normal);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as g,b as s,c as b,g as v}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.U2DNK7H4.js";import{a as d}from"./chunk.H2EOXVSZ.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{a as R,b as S,c}from"./chunk.G3WMDHXU.js";import{b as r}from"./chunk.E6MOE4FE.js";var w=`:host {
|
|
2
2
|
--fa-primary-color: currentColor;
|
|
3
3
|
--fa-secondary-color: currentColor;
|
|
4
4
|
--fa-primary-opacity: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c,b as a,c as d,d as h,e as p,g as u}from"./chunk.NYYTSWQF.js";import{a as w}from"./chunk.
|
|
1
|
+
import{a as c,b as a,c as d,d as h,e as p,g as u}from"./chunk.NYYTSWQF.js";import{a as w}from"./chunk.E4QLFQIH.js";import{d as l}from"./chunk.2N5ZK4F4.js";import{b as i}from"./chunk.E6MOE4FE.js";var v=`:host {
|
|
2
2
|
--shadow-color: var(--pc-color-surface-default);
|
|
3
3
|
--shadow-size: 2rem;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as m}from"./chunk.
|
|
1
|
+
import{a as m}from"./chunk.63PFEC3G.js";import{a as d}from"./chunk.KKVT4LHX.js";import{a as s,b as a,c as o,g as l}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{d as r}from"./chunk.2N5ZK4F4.js";import{b as i}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
--size: 3rem;
|
|
3
3
|
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as S}from"./chunk.
|
|
1
|
+
import{a as S}from"./chunk.BHNAOKFP.js";import{a as x}from"./chunk.RWQ2HCYN.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as y,b,c as u,d as T,e as h,g as w}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.U2DNK7H4.js";import{a as f}from"./chunk.H2EOXVSZ.js";import{c as g}from"./chunk.R2GXUKDX.js";import{a as k}from"./chunk.E4QLFQIH.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{b as o}from"./chunk.E6MOE4FE.js";var A=`:host {
|
|
2
2
|
--indicator-color: var(--pc-color-primary-fill-loud);
|
|
3
3
|
--track-width: 4px;
|
|
4
4
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as t,b as e,g as a}from"./chunk.NYYTSWQF.js";import{a as i}from"./chunk.H2EOXVSZ.js";import{b as o}from"./chunk.E6MOE4FE.js";var l=`:host {
|
|
2
2
|
--color: var(--pc-color-surface-border);
|
|
3
3
|
--stroke-width: var(--pc-panel-border-width);
|
|
4
4
|
--spacing: var(--pc-content-spacing);
|
|
5
|
+
|
|
6
|
+
flex-shrink: 0;
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
:host([orientation="horizontal"]) {
|
|
@@ -22,4 +24,4 @@ import{a as i}from"./chunk.DZUE5PWB.js";import{a as t,b as a,g as e}from"./chunk
|
|
|
22
24
|
background-color: var(--color);
|
|
23
25
|
border-radius: var(--pc-border-radius-pill);
|
|
24
26
|
}
|
|
25
|
-
`;var r=class extends
|
|
27
|
+
`;var r=class extends a{constructor(){super(...arguments);this.orientation="horizontal"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}};r.css=l,o([e({reflect:!0})],r.prototype,"orientation",2),o([i("vertical")],r.prototype,"handleVerticalChange",1),r=o([t("pc-divider")],r);export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk.ZY64ASSW.js";var e={$code:"es",$name:"Espa\xF1ol",$dir:"ltr",carousel:"Carrusel",clearEntry:"Borrar entrada",close:"Cerrar",copied:"\xA1Copiado!",copy:"Copiar",currentValue:"Valor actual",error:"Error",goToSlide:(o,r)=>`Ir a la diapositiva ${o} de ${r}`,hidePassword:"Ocultar contrase\xF1a",hue:"Tono",loading:"Cargando\u2026",nextSlide:"Siguiente diapositiva",numOptionsSelected:o=>o===0?"No hay opciones seleccionadas":o===1?"Una opci\xF3n seleccionada":`${o} opciones seleccionadas`,opacity:"Opacidad",pickAColorFromTheScreen:"Seleccione un color de la pantalla",previousSlide:"Diapositiva anterior",progress:"Progreso",remove:"Eliminar",resize:"Cambiar tama\xF1o",scrollableRegion:"Regi\xF3n desplazable",scrollToEnd:"Despl\xE1cese hasta el final",scrollToStart:"Despl\xE1cese al inicio",showPassword:"Mostrar contrase\xF1a",slideNum:o=>`Diapositiva ${o}`,toggleColorFormat:"Alternar formato de color"};a(e);var l=e;export{l as a};
|
|
@@ -15,7 +15,7 @@ import{a as h}from"./chunk.KKVT4LHX.js";import{a as b,b as g,c as i,e as d,g as
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.button-group.has-outlined ::slotted(:not(:first-child)) {
|
|
18
|
-
margin-inline-start: calc(-1 * var(--pc-spacing-
|
|
18
|
+
margin-inline-start: calc(-1 * var(--pc-spacing-xxxs));
|
|
19
19
|
}
|
|
20
20
|
`;function l(u){let r="pc-button";return u.closest(r)??u.querySelector(r)}var e=class extends c{constructor(){super(...arguments);this.hasOutlined=!1;this.disableRole=!1;this.label=""}handleFocus(t){l(t.target)?.toggleAttribute("data-pc-button-group-button-focus",!0)}handleBlur(t){l(t.target)?.toggleAttribute("data-pc-button-group-button-focus",!1)}handleMouseOver(t){l(t.target)?.toggleAttribute("data-pc-button-group-button-hover",!0)}handleMouseOut(t){l(t.target)?.toggleAttribute("data-pc-button-group-button-hover",!1)}handleSlotChange(){let t=[...this.defaultSlot.assignedElements({flatten:!0})];this.hasOutlined=!1,t.forEach(o=>{let s=t.indexOf(o),n=l(o);n&&(n.variant.split(" ").includes("outlined")&&(this.hasOutlined=!0),n.toggleAttribute("data-pc-button-group-button",!0),n.toggleAttribute("data-pc-button-group-button-first",s===0),n.toggleAttribute("data-pc-button-group-button-inner",s>0&&s<t.length-1),n.toggleAttribute("data-pc-button-group-button-last",s===t.length-1))})}render(){return p`
|
|
21
21
|
<div
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk.
|
|
1
|
+
import{a as d}from"./chunk.RWQ2HCYN.js";import{a as c}from"./chunk.KKVT4LHX.js";import{a as r,b as i,e as l,g as s}from"./chunk.NYYTSWQF.js";import{a as n}from"./chunk.U2DNK7H4.js";import{a as o}from"./chunk.H2EOXVSZ.js";import{a as p}from"./chunk.E4QLFQIH.js";import{d as a}from"./chunk.2N5ZK4F4.js";import{b as t}from"./chunk.E6MOE4FE.js";var b=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a,b as l,g as o}from"./chunk.NYYTSWQF.js";import{a as d}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{d as i}from"./chunk.2N5ZK4F4.js";import{b as r}from"./chunk.E6MOE4FE.js";var h=`:host {
|
|
2
2
|
display: contents;
|
|
3
3
|
}
|
|
4
4
|
`;var e=class extends o{constructor(){super(...arguments);this.observedElements=[];this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(t=>{d(this,"pc-resize",{detail:{entries:t}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let t=this.shadowRoot.querySelector("slot");if(t!==null){let b=t.assignedElements({flatten:!0});this.observedElements.forEach(s=>this.resizeObserver.unobserve(s)),this.observedElements=[],b.forEach(s=>{this.resizeObserver.observe(s),this.observedElements.push(s)})}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return i`<slot @slotchange=${this.handleSlotChange}></slot>`}};e.css=h,r([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([n("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=r([a("pc-resize-observer")],e);export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as K}from"./chunk.KWVZRE3E.js";import{a as I}from"./chunk.DZUE5PWB.js";import{a as J,b as S,e as O,g as U}from"./chunk.NYYTSWQF.js";import{d as $}from"./chunk.2N5ZK4F4.js";import{b as w}from"./chunk.E6MOE4FE.js";var W=null,V=class{};V.render=function(d,H){W(d,H)};self.QrCreator=V;(function(d){function H(M,o,n,s){var r={},t=d(n,o);t.u(M),t.J(),s=s||0;var u=t.h(),i=t.h()+2*s;return r.text=M,r.level=o,r.version=n,r.O=i,r.a=function(f,p){return f-=s,p-=s,0>f||f>=u||0>p||p>=u?!1:t.a(f,p)},r}function R(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a,c,z,A){l?(M.lineTo(h+z,e+A),M.arcTo(h,e,a,c,t)):M.lineTo(h,e)}u?M.moveTo(o+t,n):M.moveTo(o,n),x(i,s,n,s,r,-t,0),x(f,s,r,o,r,0,-t),x(p,o,r,o,n,t,0),x(u,o,n,s,n,0,t)}function C(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a){M.moveTo(l+e,h),M.lineTo(l,h),M.lineTo(l,h+a),M.arcTo(l,h,l+e,h,t)}u&&x(o,n,t,t),i&&x(s,n,-t,t),f&&x(s,r,-t,-t),p&&x(o,r,t,-t)}function N(M,o){var n=o.fill;if(typeof n=="string")M.fillStyle=n;else{var s=n.type,r=n.colorStops;if(n=n.position.map(u=>Math.round(u*o.size)),s==="linear-gradient")var t=M.createLinearGradient.apply(M,n);else if(s==="radial-gradient")t=M.createRadialGradient.apply(M,n);else throw Error("Unsupported fill");r.forEach(([u,i])=>{t.addColorStop(u,i)}),M.fillStyle=t}}function m(M,o){r:{var n=o.text,s=o.v,r=o.N,t=o.K,u=o.P;for(r=Math.max(1,r||1),t=Math.min(40,t||40);r<=t;r+=1)try{var i=H(n,s,r,u);break r}catch{}i=void 0}if(!i)return null;for(n=M.getContext("2d"),o.background&&(n.fillStyle=o.background,n.fillRect(o.left,o.top,o.size,o.size)),s=i.O,t=o.size/s,n.beginPath(),u=0;u<s;u+=1)for(r=0;r<s;r+=1){var f=n,p=o.left+r*t,x=o.top+u*t,l=u,h=r,e=i.a,a=p+t,c=x+t,z=l-1,A=l+1,y=h-1,v=h+1,L=Math.floor(Math.min(.5,Math.max(0,o.R))*t),E=e(l,h),G=e(z,y),j=e(z,h);z=e(z,v);var B=e(l,v);v=e(A,v),h=e(A,h),A=e(A,y),l=e(l,y),p=Math.round(p),x=Math.round(x),a=Math.round(a),c=Math.round(c),E?R(f,p,x,a,c,L,!j&&!l,!j&&!B,!h&&!B,!h&&!l):C(f,p,x,a,c,L,j&&l&&G,j&&B&&z,h&&B&&v,h&&l&&A)}return N(n,o),n.fill(),M}var T={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};W=function(M,o){var n={};Object.assign(n,T,M),n.N=n.minVersion,n.K=n.maxVersion,n.v=n.ecLevel,n.left=n.left,n.top=n.top,n.size=n.size,n.fill=n.fill,n.background=n.background,n.text=n.text,n.R=n.radius,n.P=n.quiet,o instanceof HTMLCanvasElement?((o.width!==n.size||o.height!==n.size)&&(o.width=n.size,o.height=n.size),o.getContext("2d").clearRect(0,0,o.width,o.height),m(o,n)):(M=document.createElement("canvas"),M.width=n.size,M.height=n.size,n=m(M,n),o.appendChild(n))}})((function(){function d(o){var n=R.s(o);return{S:function(){return 4},b:function(){return n.length},write:function(s){for(var r=0;r<n.length;r+=1)s.put(n[r],8)}}}function H(){var o=[],n=0,s={B:function(){return o},c:function(r){return(o[Math.floor(r/8)]>>>7-r%8&1)==1},put:function(r,t){for(var u=0;u<t;u+=1)s.m((r>>>t-u-1&1)==1)},f:function(){return n},m:function(r){var t=Math.floor(n/8);o.length<=t&&o.push(0),r&&(o[t]|=128>>>n%8),n+=1}};return s}function R(o,n){function s(l,h){for(var e=-1;7>=e;e+=1)if(!(-1>=l+e||i<=l+e))for(var a=-1;7>=a;a+=1)-1>=h+a||i<=h+a||(u[l+e][h+a]=0<=e&&6>=e&&(a==0||a==6)||0<=a&&6>=a&&(e==0||e==6)||2<=e&&4>=e&&2<=a&&4>=a)}function r(l,h){for(var e=i=4*o+17,a=Array(e),c=0;c<e;c+=1){a[c]=Array(e);for(var z=0;z<e;z+=1)a[c][z]=null}for(u=a,s(0,0),s(i-7,0),s(0,i-7),e=m.G(o),a=0;a<e.length;a+=1)for(c=0;c<e.length;c+=1){z=e[a];var A=e[c];if(u[z][A]==null)for(var y=-2;2>=y;y+=1)for(var v=-2;2>=v;v+=1)u[z+y][A+v]=y==-2||y==2||v==-2||v==2||y==0&&v==0}for(e=8;e<i-8;e+=1)u[e][6]==null&&(u[e][6]=e%2==0);for(e=8;e<i-8;e+=1)u[6][e]==null&&(u[6][e]=e%2==0);for(e=m.w(t<<3|h),a=0;15>a;a+=1)c=!l&&(e>>a&1)==1,u[6>a?a:8>a?a+1:i-15+a][8]=c,u[8][8>a?i-a-1:9>a?15-a:14-a]=c;if(u[i-8][8]=!l,7<=o){for(e=m.A(o),a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[Math.floor(a/3)][a%3+i-8-3]=c;for(a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[a%3+i-8-3][Math.floor(a/3)]=c}if(f==null){for(l=M.I(o,t),e=H(),a=0;a<p.length;a+=1)c=p[a],e.put(4,4),e.put(c.b(),m.f(4,o)),c.write(e);for(a=c=0;a<l.length;a+=1)c+=l[a].j;if(e.f()>8*c)throw Error("code length overflow. ("+e.f()+">"+8*c+")");for(e.f()+4<=8*c&&e.put(0,4);e.f()%8!=0;)e.m(!1);for(;!(e.f()>=8*c)&&(e.put(236,8),!(e.f()>=8*c));)e.put(17,8);var L=0;for(c=a=0,z=Array(l.length),A=Array(l.length),y=0;y<l.length;y+=1){var E=l[y].j,G=l[y].o-E;for(a=Math.max(a,E),c=Math.max(c,G),z[y]=Array(E),v=0;v<z[y].length;v+=1)z[y][v]=255&e.B()[v+L];for(L+=E,v=m.C(G),E=C(z[y],v.b()-1).l(v),A[y]=Array(v.b()-1),v=0;v<A[y].length;v+=1)G=v+E.b()-A[y].length,A[y][v]=0<=G?E.c(G):0}for(v=e=0;v<l.length;v+=1)e+=l[v].o;for(e=Array(e),v=L=0;v<a;v+=1)for(y=0;y<l.length;y+=1)v<z[y].length&&(e[L]=z[y][v],L+=1);for(v=0;v<c;v+=1)for(y=0;y<l.length;y+=1)v<A[y].length&&(e[L]=A[y][v],L+=1);f=e}for(l=f,e=-1,a=i-1,c=7,z=0,h=m.F(h),A=i-1;0<A;A-=2)for(A==6&&--A;;){for(y=0;2>y;y+=1)u[a][A-y]==null&&(v=!1,z<l.length&&(v=(l[z]>>>c&1)==1),h(a,A-y)&&(v=!v),u[a][A-y]=v,--c,c==-1&&(z+=1,c=7));if(a+=e,0>a||i<=a){a-=e,e=-e;break}}}var t=N[n],u=null,i=0,f=null,p=[],x={u:function(l){l=d(l),p.push(l),f=null},a:function(l,h){if(0>l||i<=l||0>h||i<=h)throw Error(l+","+h);return u[l][h]},h:function(){return i},J:function(){for(var l=0,h=0,e=0;8>e;e+=1){r(!0,e);var a=m.D(x);(e==0||l>a)&&(l=a,h=e)}r(!1,h)}};return x}function C(o,n){if(typeof o.length>"u")throw Error(o.length+"/"+n);var s=(function(){for(var t=0;t<o.length&&o[t]==0;)t+=1;for(var u=Array(o.length-t+n),i=0;i<o.length-t;i+=1)u[i]=o[i+t];return u})(),r={c:function(t){return s[t]},b:function(){return s.length},multiply:function(t){for(var u=Array(r.b()+t.b()-1),i=0;i<r.b();i+=1)for(var f=0;f<t.b();f+=1)u[i+f]^=T.i(T.g(r.c(i))+T.g(t.c(f)));return C(u,0)},l:function(t){if(0>r.b()-t.b())return r;for(var u=T.g(r.c(0))-T.g(t.c(0)),i=Array(r.b()),f=0;f<r.b();f+=1)i[f]=r.c(f);for(f=0;f<t.b();f+=1)i[f]^=T.i(T.g(t.c(f))+u);return C(i,0).l(t)}};return r}R.s=function(o){for(var n=[],s=0;s<o.length;s++){var r=o.charCodeAt(s);128>r?n.push(r):2048>r?n.push(192|r>>6,128|r&63):55296>r||57344<=r?n.push(224|r>>12,128|r>>6&63,128|r&63):(s++,r=65536+((r&1023)<<10|o.charCodeAt(s)&1023),n.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|r&63))}return n};var N={L:1,M:0,Q:3,H:2},m=(function(){function o(r){for(var t=0;r!=0;)t+=1,r>>>=1;return t}var n=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s={w:function(r){for(var t=r<<10;0<=o(t)-o(1335);)t^=1335<<o(t)-o(1335);return(r<<10|t)^21522},A:function(r){for(var t=r<<12;0<=o(t)-o(7973);)t^=7973<<o(t)-o(7973);return r<<12|t},G:function(r){return n[r-1]},F:function(r){switch(r){case 0:return function(t,u){return(t+u)%2==0};case 1:return function(t){return t%2==0};case 2:return function(t,u){return u%3==0};case 3:return function(t,u){return(t+u)%3==0};case 4:return function(t,u){return(Math.floor(t/2)+Math.floor(u/3))%2==0};case 5:return function(t,u){return t*u%2+t*u%3==0};case 6:return function(t,u){return(t*u%2+t*u%3)%2==0};case 7:return function(t,u){return(t*u%3+(t+u)%2)%2==0};default:throw Error("bad maskPattern:"+r)}},C:function(r){for(var t=C([1],0),u=0;u<r;u+=1)t=t.multiply(C([1,T.i(u)],0));return t},f:function(r,t){if(r!=4||1>t||40<t)throw Error("mode: "+r+"; type: "+t);return 10>t?8:16},D:function(r){for(var t=r.h(),u=0,i=0;i<t;i+=1)for(var f=0;f<t;f+=1){for(var p=0,x=r.a(i,f),l=-1;1>=l;l+=1)if(!(0>i+l||t<=i+l))for(var h=-1;1>=h;h+=1)0>f+h||t<=f+h||(l!=0||h!=0)&&x==r.a(i+l,f+h)&&(p+=1);5<p&&(u+=3+p-5)}for(i=0;i<t-1;i+=1)for(f=0;f<t-1;f+=1)p=0,r.a(i,f)&&(p+=1),r.a(i+1,f)&&(p+=1),r.a(i,f+1)&&(p+=1),r.a(i+1,f+1)&&(p+=1),(p==0||p==4)&&(u+=3);for(i=0;i<t;i+=1)for(f=0;f<t-6;f+=1)r.a(i,f)&&!r.a(i,f+1)&&r.a(i,f+2)&&r.a(i,f+3)&&r.a(i,f+4)&&!r.a(i,f+5)&&r.a(i,f+6)&&(u+=40);for(f=0;f<t;f+=1)for(i=0;i<t-6;i+=1)r.a(i,f)&&!r.a(i+1,f)&&r.a(i+2,f)&&r.a(i+3,f)&&r.a(i+4,f)&&!r.a(i+5,f)&&r.a(i+6,f)&&(u+=40);for(f=p=0;f<t;f+=1)for(i=0;i<t;i+=1)r.a(i,f)&&(p+=1);return u+=Math.abs(100*p/t/t-50)/5*10}};return s})(),T=(function(){for(var o=Array(256),n=Array(256),s=0;8>s;s+=1)o[s]=1<<s;for(s=8;256>s;s+=1)o[s]=o[s-4]^o[s-5]^o[s-6]^o[s-8];for(s=0;255>s;s+=1)n[o[s]]=s;return{g:function(r){if(1>r)throw Error("glog("+r+")");return n[r]},i:function(r){for(;0>r;)r+=255;for(;256<=r;)r-=255;return o[r]}}})(),M=(function(){function o(r,t){switch(t){case N.L:return n[4*(r-1)];case N.M:return n[4*(r-1)+1];case N.Q:return n[4*(r-1)+2];case N.H:return n[4*(r-1)+3]}}var n=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],s={I:function(r,t){var u=o(r,t);if(typeof u>"u")throw Error("bad rs block @ typeNumber:"+r+"/errorCorrectLevel:"+t);r=u.length/3,t=[];for(var i=0;i<r;i+=1)for(var f=u[3*i],p=u[3*i+1],x=u[3*i+2],l=0;l<f;l+=1){var h=x,e={};e.o=p,e.j=h,t.push(e)}return t}};return s})();return R})());var X=QrCreator;var Y=`:host {
|
|
1
|
+
import{a as K}from"./chunk.KWVZRE3E.js";import{a as J,b as S,e as O,g as U}from"./chunk.NYYTSWQF.js";import{a as I}from"./chunk.H2EOXVSZ.js";import{d as $}from"./chunk.2N5ZK4F4.js";import{b as w}from"./chunk.E6MOE4FE.js";var W=null,V=class{};V.render=function(d,H){W(d,H)};self.QrCreator=V;(function(d){function H(M,o,n,s){var r={},t=d(n,o);t.u(M),t.J(),s=s||0;var u=t.h(),i=t.h()+2*s;return r.text=M,r.level=o,r.version=n,r.O=i,r.a=function(f,p){return f-=s,p-=s,0>f||f>=u||0>p||p>=u?!1:t.a(f,p)},r}function R(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a,c,z,A){l?(M.lineTo(h+z,e+A),M.arcTo(h,e,a,c,t)):M.lineTo(h,e)}u?M.moveTo(o+t,n):M.moveTo(o,n),x(i,s,n,s,r,-t,0),x(f,s,r,o,r,0,-t),x(p,o,r,o,n,t,0),x(u,o,n,s,n,0,t)}function C(M,o,n,s,r,t,u,i,f,p){function x(l,h,e,a){M.moveTo(l+e,h),M.lineTo(l,h),M.lineTo(l,h+a),M.arcTo(l,h,l+e,h,t)}u&&x(o,n,t,t),i&&x(s,n,-t,t),f&&x(s,r,-t,-t),p&&x(o,r,t,-t)}function N(M,o){var n=o.fill;if(typeof n=="string")M.fillStyle=n;else{var s=n.type,r=n.colorStops;if(n=n.position.map(u=>Math.round(u*o.size)),s==="linear-gradient")var t=M.createLinearGradient.apply(M,n);else if(s==="radial-gradient")t=M.createRadialGradient.apply(M,n);else throw Error("Unsupported fill");r.forEach(([u,i])=>{t.addColorStop(u,i)}),M.fillStyle=t}}function m(M,o){r:{var n=o.text,s=o.v,r=o.N,t=o.K,u=o.P;for(r=Math.max(1,r||1),t=Math.min(40,t||40);r<=t;r+=1)try{var i=H(n,s,r,u);break r}catch{}i=void 0}if(!i)return null;for(n=M.getContext("2d"),o.background&&(n.fillStyle=o.background,n.fillRect(o.left,o.top,o.size,o.size)),s=i.O,t=o.size/s,n.beginPath(),u=0;u<s;u+=1)for(r=0;r<s;r+=1){var f=n,p=o.left+r*t,x=o.top+u*t,l=u,h=r,e=i.a,a=p+t,c=x+t,z=l-1,A=l+1,y=h-1,v=h+1,L=Math.floor(Math.min(.5,Math.max(0,o.R))*t),E=e(l,h),G=e(z,y),j=e(z,h);z=e(z,v);var B=e(l,v);v=e(A,v),h=e(A,h),A=e(A,y),l=e(l,y),p=Math.round(p),x=Math.round(x),a=Math.round(a),c=Math.round(c),E?R(f,p,x,a,c,L,!j&&!l,!j&&!B,!h&&!B,!h&&!l):C(f,p,x,a,c,L,j&&l&&G,j&&B&&z,h&&B&&v,h&&l&&A)}return N(n,o),n.fill(),M}var T={minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:null,text:"no text",radius:.5,quiet:0};W=function(M,o){var n={};Object.assign(n,T,M),n.N=n.minVersion,n.K=n.maxVersion,n.v=n.ecLevel,n.left=n.left,n.top=n.top,n.size=n.size,n.fill=n.fill,n.background=n.background,n.text=n.text,n.R=n.radius,n.P=n.quiet,o instanceof HTMLCanvasElement?((o.width!==n.size||o.height!==n.size)&&(o.width=n.size,o.height=n.size),o.getContext("2d").clearRect(0,0,o.width,o.height),m(o,n)):(M=document.createElement("canvas"),M.width=n.size,M.height=n.size,n=m(M,n),o.appendChild(n))}})((function(){function d(o){var n=R.s(o);return{S:function(){return 4},b:function(){return n.length},write:function(s){for(var r=0;r<n.length;r+=1)s.put(n[r],8)}}}function H(){var o=[],n=0,s={B:function(){return o},c:function(r){return(o[Math.floor(r/8)]>>>7-r%8&1)==1},put:function(r,t){for(var u=0;u<t;u+=1)s.m((r>>>t-u-1&1)==1)},f:function(){return n},m:function(r){var t=Math.floor(n/8);o.length<=t&&o.push(0),r&&(o[t]|=128>>>n%8),n+=1}};return s}function R(o,n){function s(l,h){for(var e=-1;7>=e;e+=1)if(!(-1>=l+e||i<=l+e))for(var a=-1;7>=a;a+=1)-1>=h+a||i<=h+a||(u[l+e][h+a]=0<=e&&6>=e&&(a==0||a==6)||0<=a&&6>=a&&(e==0||e==6)||2<=e&&4>=e&&2<=a&&4>=a)}function r(l,h){for(var e=i=4*o+17,a=Array(e),c=0;c<e;c+=1){a[c]=Array(e);for(var z=0;z<e;z+=1)a[c][z]=null}for(u=a,s(0,0),s(i-7,0),s(0,i-7),e=m.G(o),a=0;a<e.length;a+=1)for(c=0;c<e.length;c+=1){z=e[a];var A=e[c];if(u[z][A]==null)for(var y=-2;2>=y;y+=1)for(var v=-2;2>=v;v+=1)u[z+y][A+v]=y==-2||y==2||v==-2||v==2||y==0&&v==0}for(e=8;e<i-8;e+=1)u[e][6]==null&&(u[e][6]=e%2==0);for(e=8;e<i-8;e+=1)u[6][e]==null&&(u[6][e]=e%2==0);for(e=m.w(t<<3|h),a=0;15>a;a+=1)c=!l&&(e>>a&1)==1,u[6>a?a:8>a?a+1:i-15+a][8]=c,u[8][8>a?i-a-1:9>a?15-a:14-a]=c;if(u[i-8][8]=!l,7<=o){for(e=m.A(o),a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[Math.floor(a/3)][a%3+i-8-3]=c;for(a=0;18>a;a+=1)c=!l&&(e>>a&1)==1,u[a%3+i-8-3][Math.floor(a/3)]=c}if(f==null){for(l=M.I(o,t),e=H(),a=0;a<p.length;a+=1)c=p[a],e.put(4,4),e.put(c.b(),m.f(4,o)),c.write(e);for(a=c=0;a<l.length;a+=1)c+=l[a].j;if(e.f()>8*c)throw Error("code length overflow. ("+e.f()+">"+8*c+")");for(e.f()+4<=8*c&&e.put(0,4);e.f()%8!=0;)e.m(!1);for(;!(e.f()>=8*c)&&(e.put(236,8),!(e.f()>=8*c));)e.put(17,8);var L=0;for(c=a=0,z=Array(l.length),A=Array(l.length),y=0;y<l.length;y+=1){var E=l[y].j,G=l[y].o-E;for(a=Math.max(a,E),c=Math.max(c,G),z[y]=Array(E),v=0;v<z[y].length;v+=1)z[y][v]=255&e.B()[v+L];for(L+=E,v=m.C(G),E=C(z[y],v.b()-1).l(v),A[y]=Array(v.b()-1),v=0;v<A[y].length;v+=1)G=v+E.b()-A[y].length,A[y][v]=0<=G?E.c(G):0}for(v=e=0;v<l.length;v+=1)e+=l[v].o;for(e=Array(e),v=L=0;v<a;v+=1)for(y=0;y<l.length;y+=1)v<z[y].length&&(e[L]=z[y][v],L+=1);for(v=0;v<c;v+=1)for(y=0;y<l.length;y+=1)v<A[y].length&&(e[L]=A[y][v],L+=1);f=e}for(l=f,e=-1,a=i-1,c=7,z=0,h=m.F(h),A=i-1;0<A;A-=2)for(A==6&&--A;;){for(y=0;2>y;y+=1)u[a][A-y]==null&&(v=!1,z<l.length&&(v=(l[z]>>>c&1)==1),h(a,A-y)&&(v=!v),u[a][A-y]=v,--c,c==-1&&(z+=1,c=7));if(a+=e,0>a||i<=a){a-=e,e=-e;break}}}var t=N[n],u=null,i=0,f=null,p=[],x={u:function(l){l=d(l),p.push(l),f=null},a:function(l,h){if(0>l||i<=l||0>h||i<=h)throw Error(l+","+h);return u[l][h]},h:function(){return i},J:function(){for(var l=0,h=0,e=0;8>e;e+=1){r(!0,e);var a=m.D(x);(e==0||l>a)&&(l=a,h=e)}r(!1,h)}};return x}function C(o,n){if(typeof o.length>"u")throw Error(o.length+"/"+n);var s=(function(){for(var t=0;t<o.length&&o[t]==0;)t+=1;for(var u=Array(o.length-t+n),i=0;i<o.length-t;i+=1)u[i]=o[i+t];return u})(),r={c:function(t){return s[t]},b:function(){return s.length},multiply:function(t){for(var u=Array(r.b()+t.b()-1),i=0;i<r.b();i+=1)for(var f=0;f<t.b();f+=1)u[i+f]^=T.i(T.g(r.c(i))+T.g(t.c(f)));return C(u,0)},l:function(t){if(0>r.b()-t.b())return r;for(var u=T.g(r.c(0))-T.g(t.c(0)),i=Array(r.b()),f=0;f<r.b();f+=1)i[f]=r.c(f);for(f=0;f<t.b();f+=1)i[f]^=T.i(T.g(t.c(f))+u);return C(i,0).l(t)}};return r}R.s=function(o){for(var n=[],s=0;s<o.length;s++){var r=o.charCodeAt(s);128>r?n.push(r):2048>r?n.push(192|r>>6,128|r&63):55296>r||57344<=r?n.push(224|r>>12,128|r>>6&63,128|r&63):(s++,r=65536+((r&1023)<<10|o.charCodeAt(s)&1023),n.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|r&63))}return n};var N={L:1,M:0,Q:3,H:2},m=(function(){function o(r){for(var t=0;r!=0;)t+=1,r>>>=1;return t}var n=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],s={w:function(r){for(var t=r<<10;0<=o(t)-o(1335);)t^=1335<<o(t)-o(1335);return(r<<10|t)^21522},A:function(r){for(var t=r<<12;0<=o(t)-o(7973);)t^=7973<<o(t)-o(7973);return r<<12|t},G:function(r){return n[r-1]},F:function(r){switch(r){case 0:return function(t,u){return(t+u)%2==0};case 1:return function(t){return t%2==0};case 2:return function(t,u){return u%3==0};case 3:return function(t,u){return(t+u)%3==0};case 4:return function(t,u){return(Math.floor(t/2)+Math.floor(u/3))%2==0};case 5:return function(t,u){return t*u%2+t*u%3==0};case 6:return function(t,u){return(t*u%2+t*u%3)%2==0};case 7:return function(t,u){return(t*u%3+(t+u)%2)%2==0};default:throw Error("bad maskPattern:"+r)}},C:function(r){for(var t=C([1],0),u=0;u<r;u+=1)t=t.multiply(C([1,T.i(u)],0));return t},f:function(r,t){if(r!=4||1>t||40<t)throw Error("mode: "+r+"; type: "+t);return 10>t?8:16},D:function(r){for(var t=r.h(),u=0,i=0;i<t;i+=1)for(var f=0;f<t;f+=1){for(var p=0,x=r.a(i,f),l=-1;1>=l;l+=1)if(!(0>i+l||t<=i+l))for(var h=-1;1>=h;h+=1)0>f+h||t<=f+h||(l!=0||h!=0)&&x==r.a(i+l,f+h)&&(p+=1);5<p&&(u+=3+p-5)}for(i=0;i<t-1;i+=1)for(f=0;f<t-1;f+=1)p=0,r.a(i,f)&&(p+=1),r.a(i+1,f)&&(p+=1),r.a(i,f+1)&&(p+=1),r.a(i+1,f+1)&&(p+=1),(p==0||p==4)&&(u+=3);for(i=0;i<t;i+=1)for(f=0;f<t-6;f+=1)r.a(i,f)&&!r.a(i,f+1)&&r.a(i,f+2)&&r.a(i,f+3)&&r.a(i,f+4)&&!r.a(i,f+5)&&r.a(i,f+6)&&(u+=40);for(f=0;f<t;f+=1)for(i=0;i<t-6;i+=1)r.a(i,f)&&!r.a(i+1,f)&&r.a(i+2,f)&&r.a(i+3,f)&&r.a(i+4,f)&&!r.a(i+5,f)&&r.a(i+6,f)&&(u+=40);for(f=p=0;f<t;f+=1)for(i=0;i<t;i+=1)r.a(i,f)&&(p+=1);return u+=Math.abs(100*p/t/t-50)/5*10}};return s})(),T=(function(){for(var o=Array(256),n=Array(256),s=0;8>s;s+=1)o[s]=1<<s;for(s=8;256>s;s+=1)o[s]=o[s-4]^o[s-5]^o[s-6]^o[s-8];for(s=0;255>s;s+=1)n[o[s]]=s;return{g:function(r){if(1>r)throw Error("glog("+r+")");return n[r]},i:function(r){for(;0>r;)r+=255;for(;256<=r;)r-=255;return o[r]}}})(),M=(function(){function o(r,t){switch(t){case N.L:return n[4*(r-1)];case N.M:return n[4*(r-1)+1];case N.Q:return n[4*(r-1)+2];case N.H:return n[4*(r-1)+3]}}var n=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],s={I:function(r,t){var u=o(r,t);if(typeof u>"u")throw Error("bad rs block @ typeNumber:"+r+"/errorCorrectLevel:"+t);r=u.length/3,t=[];for(var i=0;i<r;i+=1)for(var f=u[3*i],p=u[3*i+1],x=u[3*i+2],l=0;l<f;l+=1){var h=x,e={};e.o=p,e.j=h,t.push(e)}return t}};return s})();return R})());var X=QrCreator;var Y=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
`;var g=class extends U{constructor(){super(...arguments);this.value="";this.label="";this.size=128;this.fill="black";this.background="white";this.radius=0;this.errorCorrection="M"}firstUpdated(){this.generate()}generate(){this.hasUpdated&&X.render({background:this.background,ecLevel:this.errorCorrection,fill:this.fill,radius:this.radius,size:this.size*2,text:this.value},this.canvas)}render(){return $`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk.6RYC5FEW.js";import{a as s}from"./chunk.ORA34WZP.js";import{a as x}from"./chunk.4X4XH4O2.js";import{a as t}from"./chunk.TSGCOVAS.js";import{a as p}from"./chunk.NPYG3KBW.js";import{a as m}from"./chunk.EDLGCMPJ.js";import{a as f}from"./chunk.UY4REGW5.js";import{a as e}from"./chunk.HNKZJPU5.js";import{a as j}from"./chunk.ZDVLHLRA.js";import{a as h}from"./chunk.LGGEB3IB.js";import{a as d}from"./chunk.GUYJ76FZ.js";import{a as c}from"./chunk.LVUPLZGE.js";import{a as b}from"./chunk.TMAMLCL3.js";import{a as n}from"./chunk.4VMSMOA5.js";import{a as i}from"./chunk.X2UEAQ7T.js";import{a as g}from"./chunk.R4FKXVN2.js";import{a as z}from"./chunk.5MJRUHKK.js";import{a as y}from"./chunk.YPCDSPNA.js";import{a as w}from"./chunk.WLREBMFL.js";import{a as v}from"./chunk.U3MA3RIB.js";import{a as u}from"./chunk.KPQGFV2T.js";import{a as q}from"./chunk.V7QO7LZ4.js";import{a as l}from"./chunk.YWY7M46V.js";import{a as k}from"./chunk.ADVDY32Z.js";import{a as o}from"./chunk.HTBAOVSV.js";import{a as G}from"./chunk.6C4VTMLQ.js";import{a as F}from"./chunk.TMMJRXEV.js";import{a as E}from"./chunk.P4UE3S5U.js";import{a as D}from"./chunk.IJB4PCJH.js";import{a as C}from"./chunk.L2CNBOZJ.js";import{a as B}from"./chunk.LWZCSGTE.js";import{a as A}from"./chunk.RFDMVIMA.js";import{a as O}from"./chunk.NU2STAMX.js";import{a as N}from"./chunk.B27E7VEZ.js";import{a as M}from"./chunk.V4EXVX5U.js";import{a as L}from"./chunk.PP72VCB4.js";import{a as K}from"./chunk.CQPLNRNB.js";import{a as J}from"./chunk.TSZI2CPF.js";import{a as I}from"./chunk.F7QM26VX.js";import{a as H}from"./chunk.N72C3VU3.js";import{a as W}from"./chunk.6SP3MLBX.js";import{a as V}from"./chunk.V3AEPIKH.js";import{a as U}from"./chunk.2SM5MTG6.js";import{a as T}from"./chunk.Z6NCEETZ.js";import{a as S}from"./chunk.4CAEAIFN.js";import{a as R}from"./chunk.PCTA7J6C.js";import{a as Q}from"./chunk.PBL2P7GX.js";import{a as P}from"./chunk.7QYDQTBC.js";import{a as eo}from"./chunk.G443HDU2.js";import{a as ro}from"./chunk.O537LU5E.js";import{a as oo}from"./chunk.MO7QMIH2.js";import{a as $}from"./chunk.EZBCPDK5.js";import{a as _}from"./chunk.DG6SQOFC.js";import{a as Z}from"./chunk.ZJK5UEUE.js";import{a as Y}from"./chunk.2K4PNLGV.js";import{a as X}from"./chunk.22DZRUGL.js";import{a as go}from"./chunk.SEIDC2AV.js";import{a as ao}from"./chunk.IGMWK7NZ.js";import{a as so}from"./chunk.ESSED3D6.js";import{a as xo}from"./chunk.UJQFNBOE.js";import{a as to}from"./chunk.LDRHXIYA.js";import{a as po}from"./chunk.SXVGSAUS.js";import{a as mo}from"./chunk.IJXVLI7F.js";import{a as fo}from"./chunk.M256MZ2P.js";import{a as lo}from"./chunk.LHYUHRTC.js";import{a as ko}from"./chunk.MM4THVKJ.js";import{a as jo}from"./chunk.XNUSDBIN.js";import{a as ho}from"./chunk.5PONJGRH.js";import{a as co}from"./chunk.MAQ3AU52.js";import{a as bo}from"./chunk.IFDHHGOU.js";import{a as no}from"./chunk.TARXG5U3.js";import{a as io}from"./chunk.5G3DFRPP.js";import{a as Bo}from"./chunk.ELYXTKTB.js";import{a as Ao}from"./chunk.G4SAKBPC.js";import{a as zo}from"./chunk.2SQLMTYR.js";import{a as yo}from"./chunk.3U3NAHEY.js";import{a as wo}from"./chunk.GMD2IG67.js";import{a as vo}from"./chunk.NE3XXRZM.js";import{a as uo}from"./chunk.Y4QDLYQS.js";import{a as qo}from"./chunk.4NL2VE5O.js";import{a as Jo}from"./chunk.U7RBI2DC.js";import{a as Io}from"./chunk.ZE2WQTE4.js";import{a as Ho}from"./chunk.ECBLO7D3.js";import{a as Go}from"./chunk.4W3OJG5Y.js";import{a as Fo}from"./chunk.M2NVAC3Z.js";import{a as Eo}from"./chunk.BGH5L7N6.js";import{a as Do}from"./chunk.IJMKJLO7.js";import{a as Co}from"./chunk.EMVTQD7Z.js";import{a as Ro}from"./chunk.5HIUPHOM.js";import{a as Qo}from"./chunk.DNS43PE3.js";import{a as Po}from"./chunk.P7GBRX2Q.js";import{a as Oo}from"./chunk.KYRT75BX.js";import{a as No}from"./chunk.LI6ACV6L.js";import{a as Mo}from"./chunk.ZVANQQXU.js";import{a as Lo}from"./chunk.DRJDBJ6E.js";import{a as Ko}from"./chunk.EZBP4Q35.js";import{a as Uo}from"./chunk.OD26IPSI.js";import{a as To}from"./chunk.HGR2N7GN.js";import{a as So}from"./chunk.7UGLJJM6.js";import{a as r}from"./chunk.E6MOE4FE.js";var Vo={};r(Vo,{backInDown:()=>d,backInLeft:()=>h,backInRight:()=>j,backInUp:()=>k,backOutDown:()=>l,backOutLeft:()=>q,backOutRight:()=>u,backOutUp:()=>v,bounce:()=>e,bounceIn:()=>w,bounceInDown:()=>y,bounceInLeft:()=>z,bounceInRight:()=>A,bounceInUp:()=>B,bounceOut:()=>C,bounceOutDown:()=>D,bounceOutLeft:()=>E,bounceOutRight:()=>F,bounceOutUp:()=>G,easings:()=>o,fadeIn:()=>H,fadeInBottomLeft:()=>I,fadeInBottomRight:()=>J,fadeInDown:()=>K,fadeInDownBig:()=>L,fadeInLeft:()=>M,fadeInLeftBig:()=>N,fadeInRight:()=>O,fadeInRightBig:()=>P,fadeInTopLeft:()=>Q,fadeInTopRight:()=>R,fadeInUp:()=>S,fadeInUpBig:()=>T,fadeOut:()=>U,fadeOutBottomLeft:()=>V,fadeOutBottomRight:()=>W,fadeOutDown:()=>X,fadeOutDownBig:()=>Y,fadeOutLeft:()=>Z,fadeOutLeftBig:()=>_,fadeOutRight:()=>$,fadeOutRightBig:()=>oo,fadeOutTopLeft:()=>ro,fadeOutTopRight:()=>eo,fadeOutUp:()=>fo,fadeOutUpBig:()=>mo,flash:()=>f,flip:()=>po,flipInX:()=>to,flipInY:()=>xo,flipOutX:()=>so,flipOutY:()=>ao,headShake:()=>m,heartBeat:()=>p,hinge:()=>Ho,jackInTheBox:()=>Io,jello:()=>t,lightSpeedInLeft:()=>go,lightSpeedInRight:()=>io,lightSpeedOutLeft:()=>no,lightSpeedOutRight:()=>bo,pulse:()=>x,rollIn:()=>Jo,rollOut:()=>Ko,rotateIn:()=>co,rotateInDownLeft:()=>ho,rotateInDownRight:()=>jo,rotateInUpLeft:()=>ko,rotateInUpRight:()=>lo,rotateOut:()=>qo,rotateOutDownLeft:()=>uo,rotateOutDownRight:()=>vo,rotateOutUpLeft:()=>wo,rotateOutUpRight:()=>yo,rubberBand:()=>s,shake:()=>a,shakeX:()=>g,shakeY:()=>i,slideInDown:()=>zo,slideInLeft:()=>Ao,slideInRight:()=>Bo,slideInUp:()=>Co,slideOutDown:()=>Do,slideOutLeft:()=>Eo,slideOutRight:()=>Fo,slideOutUp:()=>Go,swing:()=>n,tada:()=>b,wobble:()=>c,zoomIn:()=>Lo,zoomInDown:()=>Mo,zoomInLeft:()=>No,zoomInRight:()=>Oo,zoomInUp:()=>Po,zoomOut:()=>Qo,zoomOutDown:()=>Ro,zoomOutLeft:()=>So,zoomOutRight:()=>To,zoomOutUp:()=>Uo});export{Vo as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk.
|
|
1
|
+
import{a as n}from"./chunk.V4LKFSOV.js";import{a as r,c as t}from"./chunk.ZY64ASSW.js";var s=class extends t{};r(n);export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk.
|
|
1
|
+
import{a as c}from"./chunk.JTEIIDTY.js";import{a as i}from"./chunk.QE6C2GEL.js";var e=[i,c],o=[];function I(r){o.push(r)}function p(r){o=o.filter(t=>t!==r)}function l(r){return e.find(t=>t.name===r)}function m(r,t){a(r),e.push({name:r,resolver:t.resolver,mutator:t.mutator,spriteSheet:t.spriteSheet}),o.forEach(n=>{n.library===r&&n.setIcon()})}function a(r){e=e.filter(t=>t.name!==r)}export{I as a,p as b,l as c,m as d,a as e};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as u}from"./chunk.JE6IZBGI.js";import{a as b}from"./chunk.63PFEC3G.js";import{a as d}from"./chunk.KWVZRE3E.js";import{a as c}from"./chunk.KKVT4LHX.js";import{a as m,b as s,c as v,d as f,e as g,g as y}from"./chunk.NYYTSWQF.js";import{a as $}from"./chunk.ZS4GILCB.js";import{a as l}from"./chunk.U2DNK7H4.js";import{a as p}from"./chunk.H2EOXVSZ.js";import{a as M}from"./chunk.E4QLFQIH.js";import{d as h}from"./chunk.2N5ZK4F4.js";import{b as o}from"./chunk.E6MOE4FE.js";var V=`:host {
|
|
2
2
|
--icon-color: var(--pc-color-neutral-fill-normal);
|
|
3
3
|
--icon-color-active: var(--pc-color-warning-fill-loud);
|
|
4
4
|
--icon-size: 1.2rem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function p(e,l){let o={waitUntilFirstUpdate:!1,...l};return(s,d)=>{let{update:r}=s,f=Array.isArray(e)?e:[e];s.update=function(t){f.forEach(c=>{let n=c;if(t.has(n)){let a=t.get(n),i=this[n];a!==i&&(!o.waitUntilFirstUpdate||this.hasUpdated)&&this[d](a,i)}}),r.call(this,t)}}}export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,g as i}from"./chunk.NYYTSWQF.js";import{a as t}from"./chunk.
|
|
1
|
+
import{a as o,g as i}from"./chunk.NYYTSWQF.js";import{a as t}from"./chunk.E4QLFQIH.js";import{d as a}from"./chunk.2N5ZK4F4.js";import{b as e}from"./chunk.E6MOE4FE.js";var l=`:host {
|
|
2
2
|
--track-width: 0.125rem;
|
|
3
3
|
--track-color: var(--pc-color-neutral-fill-normal);
|
|
4
4
|
--indicator-color: var(--pc-color-primary-fill-loud);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o}from"./chunk.KKVT4LHX.js";import{a as
|
|
1
|
+
import{a as o}from"./chunk.KKVT4LHX.js";import{a as r,b as a,g as s}from"./chunk.NYYTSWQF.js";import{a as l}from"./chunk.H2EOXVSZ.js";import{d as i}from"./chunk.2N5ZK4F4.js";import{b as e}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
display: none;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./chunk.ZZIEMICG.js";import{a as C}from"./chunk.W5PM7F34.js";import{a as o}from"./chunk.XESREUP5.js";import{a as g}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a}from"./chunk.
|
|
1
|
+
import{a as y}from"./chunk.ZZIEMICG.js";import{a as C}from"./chunk.W5PM7F34.js";import{a as o}from"./chunk.XESREUP5.js";import{a as g}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a as z}from"./chunk.7YEJIK24.js";import{a as d,b as i,c as p,e as u,g as m}from"./chunk.NYYTSWQF.js";import{a}from"./chunk.U2DNK7H4.js";import{a as n}from"./chunk.H2EOXVSZ.js";import{a as v}from"./chunk.D5CFOPIE.js";import{d as c}from"./chunk.2N5ZK4F4.js";import{b}from"./chunk.IIHX5LOR.js";import{b as t}from"./chunk.E6MOE4FE.js";var k=`:host {
|
|
2
2
|
border-width: 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -26,6 +26,13 @@ var o={solid:{check:`
|
|
|
26
26
|
d="M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z"
|
|
27
27
|
/>
|
|
28
28
|
</svg>
|
|
29
|
+
`,"eye-dropper":`
|
|
30
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
31
|
+
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
32
|
+
<path
|
|
33
|
+
d="M405.6 93.2L304 194.8L294.6 185.4C282.1 172.9 261.8 172.9 249.3 185.4C236.8 197.9 236.8 218.2 249.3 230.7L409.3 390.7C421.8 403.2 442.1 403.2 454.6 390.7C467.1 378.2 467.1 357.9 454.6 345.4L445.2 336L546.8 234.4C585.8 195.4 585.8 132.2 546.8 93.3C507.8 54.4 444.6 54.3 405.7 93.3zM119.4 387.3C104.4 402.3 96 422.7 96 443.9L96 486.3L69.4 526.2C60.9 538.9 62.6 555.8 73.4 566.6C84.2 577.4 101.1 579.1 113.8 570.6L153.7 544L196.1 544C217.3 544 237.7 535.6 252.7 520.6L362.1 411.2L316.8 365.9L207.4 475.3C204.4 478.3 200.3 480 196.1 480L160 480L160 443.9C160 439.7 161.7 435.6 164.7 432.6L274.1 323.2L228.8 277.9L119.4 387.3z"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
29
36
|
`,"grip-vertical":`
|
|
30
37
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640">
|
|
31
38
|
<!--! Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc. -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as g}from"./chunk.
|
|
1
|
+
import{a as g}from"./chunk.63PFEC3G.js";import{a as k}from"./chunk.POW4JBEN.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as f,b as r,c as u,e as a,g as y}from"./chunk.NYYTSWQF.js";import{a as l}from"./chunk.U2DNK7H4.js";import{a as d,c as h}from"./chunk.N5AZOOIZ.js";import{a as w}from"./chunk.E4QLFQIH.js";import{d as b}from"./chunk.2N5ZK4F4.js";import{b as t}from"./chunk.E6MOE4FE.js";var L=`:host {
|
|
2
2
|
--error-color: var(--pc-color-danger-on-quiet);
|
|
3
3
|
--success-color: var(--pc-color-success-on-quiet);
|
|
4
4
|
display: inline-block;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk.ZY64ASSW.js";var o={$code:"fr",$name:"Fran\xE7ais",$dir:"ltr",carousel:"Carrousel",clearEntry:"Effacer la saisie",close:"Fermer",copied:"Copi\xE9\u202F!",copy:"Copier",currentValue:"Valeur actuelle",error:"Erreur",goToSlide:(e,i)=>`Aller \xE0 la diapositive ${e} sur ${i}`,hidePassword:"Masquer le mot de passe",hue:"Teinte",loading:"Chargement\u2026",nextSlide:"Diapositive suivante",numOptionsSelected:e=>e===0?"Aucune option s\xE9lectionn\xE9e":e===1?"Une option s\xE9lectionn\xE9e":`${e} options s\xE9lectionn\xE9es`,opacity:"Opacit\xE9",pickAColorFromTheScreen:"Choisir une couleur \xE0 l\u2019\xE9cran",previousSlide:"Diapositive pr\xE9c\xE9dente",progress:"Progr\xE8s",remove:"Supprimer",resize:"Redimensionner",scrollableRegion:"R\xE9gion d\xE9filable",scrollToEnd:"Aller \xE0 la fin",scrollToStart:"Aller au d\xE9but",showPassword:"Voir le mot de passe",slideNum:e=>`Diapositive ${e}`,toggleColorFormat:"Basculer le format de couleur"};r(o);var s=o;export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./chunk.W5PM7F34.js";import{a as d}from"./chunk.BSQP4EKW.js";import{a as n}from"./chunk.KKVT4LHX.js";import{a as c}from"./chunk.
|
|
1
|
+
import{a as h}from"./chunk.W5PM7F34.js";import{a as d}from"./chunk.BSQP4EKW.js";import{a as n}from"./chunk.KKVT4LHX.js";import{a,b as e,c as t,g as s}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.U2DNK7H4.js";import{a as i}from"./chunk.H2EOXVSZ.js";import{d as l}from"./chunk.2N5ZK4F4.js";import{b as r}from"./chunk.E6MOE4FE.js";var p=`:host {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
}
|
|
4
4
|
|