aptechka 0.11.11 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{client-lib/Animation-uimN7sdT.js → lib/Animation-DF5jPON_.js} +23 -28
- package/lib/Animation-seVC6-fS.cjs +1 -0
- package/lib/Composed-ChlKoJEp.cjs +1 -0
- package/lib/Composed-CoX1ImVk.js +31 -0
- package/lib/Damped-BDO-F13V.js +53 -0
- package/lib/Damped-C7WAqKPh.cjs +1 -0
- package/lib/Derived-B-2UXnVE.cjs +1 -0
- package/lib/Derived-CDGpSMKu.js +56 -0
- package/{client-lib/SourceManager--L_rA28b.js → lib/SourceManager-B8-EMNnd.js} +26 -30
- package/lib/SourceManager-TzU9Rw08.cjs +1 -0
- package/lib/Store-BnA-dJsE.cjs +1 -0
- package/{client-lib/Store-Qr3SNOSf.js → lib/Store-DGtldlBH.js} +29 -34
- package/lib/Tweened-CHhmfvzo.js +44 -0
- package/lib/Tweened-DSXD0I0k.cjs +1 -0
- package/lib/Viewport-BmLTk_6k.cjs +1 -0
- package/lib/Viewport-DTlImj28.js +123 -0
- package/lib/accordion/index.cjs +1 -0
- package/lib/accordion/index.js +167 -0
- package/{client-lib → lib}/animation/index.cjs +1 -1
- package/lib/animation/index.js +8 -0
- package/lib/attribute/index.cjs +1 -0
- package/{client-lib → lib}/attribute/index.js +15 -20
- package/lib/canvas/index.cjs +1 -0
- package/lib/canvas/index.js +111 -0
- package/lib/checkbox/index.cjs +1 -0
- package/{client-lib → lib}/checkbox/index.js +20 -25
- package/lib/class-linked-status/index.cjs +1 -0
- package/lib/class-linked-status/index.js +45 -0
- package/lib/connector/index.cjs +1 -0
- package/{client-lib → lib}/connector/index.js +14 -18
- package/lib/controls/index.cjs +1 -0
- package/lib/controls/index.js +207 -0
- package/{client-lib/createStylesheet-BBBiyAsF.cjs → lib/createStylesheet-CaDI99iu.cjs} +1 -1
- package/{client-lib/createStylesheet-CE1yXWS_.js → lib/createStylesheet-DO5t5q-m.js} +1 -1
- package/lib/css-property/index.cjs +1 -0
- package/lib/css-property/index.js +58 -0
- package/lib/css-unit-parser/index.cjs +8 -0
- package/lib/css-unit-parser/index.js +31 -0
- package/{client-lib → lib}/dev/index.cjs +1 -1
- package/{client-lib → lib}/dev/index.js +1 -1
- package/{client-lib → lib}/device/index.cjs +1 -1
- package/{client-lib → lib}/device/index.js +1 -1
- package/lib/element-constructor/index.cjs +1 -0
- package/lib/element-constructor/index.js +124 -0
- package/lib/element-resizer/index.cjs +1 -0
- package/{client-lib → lib}/element-resizer/index.js +12 -16
- package/lib/en3/helpers/index.cjs +1 -0
- package/{client-lib → lib}/en3/helpers/index.js +612 -646
- package/{client-lib → lib}/en3/index.cjs +1 -1
- package/lib/en3/index.js +6 -0
- package/{client-lib → lib}/en3/libs/index.js +1 -2
- package/lib/en3/loaders/index.cjs +1 -0
- package/{client-lib → lib}/en3/loaders/index.js +152 -167
- package/lib/en3/misc/index.cjs +10 -0
- package/{client-lib → lib}/en3/misc/index.js +18 -23
- package/{client-lib → lib}/en3/utils/index.cjs +1 -1
- package/{client-lib → lib}/en3/utils/index.js +2 -2
- package/lib/en3-C1fLmsjs.cjs +8 -0
- package/{client-lib/en3-THFHEReu.js → lib/en3-x-Ki30MY.js} +59 -64
- package/{client-lib → lib}/image/index.cjs +1 -1
- package/{client-lib → lib}/image/index.js +1 -1
- package/{client-lib/index-D-RA8KFB.js → lib/index-BhbT9PrL.js} +35 -40
- package/lib/index-BpsQqM-8.cjs +9 -0
- package/lib/intersector/index.cjs +1 -0
- package/{client-lib → lib}/intersector/index.js +12 -16
- package/lib/ladder/index.cjs +1 -0
- package/{client-lib → lib}/ladder/index.js +20 -25
- package/lib/layout-box/index.cjs +1 -0
- package/lib/layout-box/index.js +318 -0
- package/lib/loading/index.cjs +1 -0
- package/{client-lib → lib}/loading/index.js +17 -21
- package/lib/media/index.cjs +1 -0
- package/lib/media/index.js +26 -0
- package/lib/modal/index.cjs +1 -0
- package/{client-lib → lib}/modal/index.js +22 -26
- package/lib/morph/index.cjs +1 -0
- package/lib/morph/index.js +225 -0
- package/lib/notifier/index.cjs +1 -0
- package/lib/notifier/index.js +36 -0
- package/lib/pointer/index.cjs +1 -0
- package/{client-lib → lib}/pointer/index.js +37 -41
- package/lib/popover/index.cjs +1 -0
- package/{client-lib → lib}/popover/index.js +71 -79
- package/lib/router/index.cjs +1 -0
- package/{client-lib → lib}/router/index.js +62 -71
- package/lib/scroll/index.cjs +1 -0
- package/lib/scroll/index.js +1131 -0
- package/lib/scroll-entries/index.cjs +1 -0
- package/{client-lib → lib}/scroll-entries/index.js +11 -15
- package/{client-lib → lib}/select/index.cjs +1 -1
- package/{client-lib → lib}/select/index.js +1 -1
- package/lib/sequence/index.cjs +1 -0
- package/{client-lib → lib}/sequence/index.js +26 -30
- package/lib/slicer/index.cjs +11 -0
- package/{client-lib → lib}/slicer/index.js +27 -31
- package/lib/source/index.cjs +5 -0
- package/{client-lib → lib}/source/index.js +19 -24
- package/lib/store/index.cjs +1 -0
- package/{client-lib → lib}/store/index.js +29 -33
- package/{client-lib → lib}/svg-path-data/index.js +3 -6
- package/lib/tags-4AoxVUe3.js +833 -0
- package/lib/tags-v-OSVkiQ.cjs +1 -0
- package/{client-lib → lib}/theme/index.cjs +1 -1
- package/{client-lib → lib}/theme/index.js +2 -2
- package/lib/ticker/index.cjs +1 -0
- package/lib/ticker/index.js +119 -0
- package/{client-lib/traverseMaterials-BtBXV88O.cjs → lib/traverseMaterials-CD_3_56D.cjs} +1 -1
- package/{client-lib/traverseMaterials-BKSwwNmo.js → lib/traverseMaterials-mGC2_FkG.js} +1 -1
- package/lib/tweaker/index.cjs +10 -0
- package/{client-lib → lib}/tweaker/index.js +270 -278
- package/{client-lib → lib}/utils/index.js +1 -2
- package/lib/video/index.cjs +1 -0
- package/{client-lib → lib}/video/index.js +13 -17
- package/lib/window-resizer/index.cjs +1 -0
- package/lib/window-resizer/index.js +42 -0
- package/package.json +351 -450
- package/client-lib/Animation-BInSRYNr.cjs +0 -1
- package/client-lib/Composed-Fa7owymK.js +0 -35
- package/client-lib/Composed-Iihn8fT4.cjs +0 -1
- package/client-lib/Damped-Da3EnNN4.cjs +0 -1
- package/client-lib/Damped-yrNXlkDE.js +0 -57
- package/client-lib/Derived-CNbsNMn_.cjs +0 -1
- package/client-lib/Derived-rInkx3e4.js +0 -60
- package/client-lib/ElementConstructor-Be8H1POO.js +0 -378
- package/client-lib/ElementConstructor-khLPmQ9V.cjs +0 -1
- package/client-lib/SourceManager-D6D2LVKf.cjs +0 -1
- package/client-lib/Store-Cr3VaD9G.cjs +0 -1
- package/client-lib/Tweened-CjgvoOwL.js +0 -48
- package/client-lib/Tweened-DksN-Rz6.cjs +0 -1
- package/client-lib/Viewport-BBYt1Ivy.cjs +0 -1
- package/client-lib/Viewport-Cgtq2I_K.js +0 -127
- package/client-lib/_createStore-C75y9luu.cjs +0 -1
- package/client-lib/_createStore-D3qHYaSz.js +0 -12
- package/client-lib/accordion/AccordionElement.d.ts +0 -30
- package/client-lib/accordion/index.cjs +0 -1
- package/client-lib/accordion/index.d.ts +0 -1
- package/client-lib/accordion/index.js +0 -176
- package/client-lib/animation/Animation.d.ts +0 -35
- package/client-lib/animation/Damped.d.ts +0 -19
- package/client-lib/animation/Tweened.d.ts +0 -15
- package/client-lib/animation/index.d.ts +0 -3
- package/client-lib/animation/index.js +0 -8
- package/client-lib/attribute/index.cjs +0 -1
- package/client-lib/attribute/index.d.ts +0 -15
- package/client-lib/canvas/index.cjs +0 -1
- package/client-lib/canvas/index.d.ts +0 -35
- package/client-lib/canvas/index.js +0 -119
- package/client-lib/checkbox/index.cjs +0 -1
- package/client-lib/checkbox/index.d.ts +0 -14
- package/client-lib/class-linked-status/index.cjs +0 -1
- package/client-lib/class-linked-status/index.d.ts +0 -12
- package/client-lib/class-linked-status/index.js +0 -49
- package/client-lib/connector/index.cjs +0 -1
- package/client-lib/connector/index.d.ts +0 -15
- package/client-lib/controls/AutoplayControls.d.ts +0 -17
- package/client-lib/controls/Controls.d.ts +0 -9
- package/client-lib/controls/DragControls.d.ts +0 -16
- package/client-lib/controls/KeyboardControls.d.ts +0 -14
- package/client-lib/controls/WheelControls.d.ts +0 -19
- package/client-lib/controls/index.cjs +0 -1
- package/client-lib/controls/index.d.ts +0 -5
- package/client-lib/controls/index.js +0 -213
- package/client-lib/counter/index.d.ts +0 -6
- package/client-lib/css-property/index.cjs +0 -1
- package/client-lib/css-property/index.d.ts +0 -17
- package/client-lib/css-property/index.js +0 -62
- package/client-lib/css-unit-parser/index.cjs +0 -8
- package/client-lib/css-unit-parser/index.d.ts +0 -6
- package/client-lib/css-unit-parser/index.js +0 -36
- package/client-lib/css-value-parser/index.d.ts +0 -6
- package/client-lib/dev/index.d.ts +0 -1
- package/client-lib/device/Device.d.ts +0 -19
- package/client-lib/device/Viewport.d.ts +0 -29
- package/client-lib/device/index.d.ts +0 -2
- package/client-lib/element-constructor/ElementConstructor.d.ts +0 -75
- package/client-lib/element-constructor/createStylesheet.d.ts +0 -3
- package/client-lib/element-constructor/createTheme.d.ts +0 -13
- package/client-lib/element-constructor/index.cjs +0 -1
- package/client-lib/element-constructor/index.d.ts +0 -4
- package/client-lib/element-constructor/index.js +0 -125
- package/client-lib/element-constructor/knownSvgTags.d.ts +0 -1
- package/client-lib/element-constructor/tags.d.ts +0 -119
- package/client-lib/element-resizer/index.cjs +0 -1
- package/client-lib/element-resizer/index.d.ts +0 -10
- package/client-lib/en3/core/En3Raycaster.d.ts +0 -21
- package/client-lib/en3/core/En3View.d.ts +0 -40
- package/client-lib/en3/core/en3.d.ts +0 -39
- package/client-lib/en3/core/en3Cache.d.ts +0 -4
- package/client-lib/en3/helpers/En3ComposerManager.d.ts +0 -5
- package/client-lib/en3/helpers/En3GridHelper.d.ts +0 -8
- package/client-lib/en3/helpers/En3Helpers.d.ts +0 -5
- package/client-lib/en3/helpers/En3Object3dManager.d.ts +0 -14
- package/client-lib/en3/helpers/En3OrbitControls.d.ts +0 -8
- package/client-lib/en3/helpers/En3ParametersManager.d.ts +0 -16
- package/client-lib/en3/helpers/En3TransformControls.d.ts +0 -8
- package/client-lib/en3/helpers/index.cjs +0 -1
- package/client-lib/en3/helpers/index.d.ts +0 -2
- package/client-lib/en3/index.d.ts +0 -3
- package/client-lib/en3/index.js +0 -6
- package/client-lib/en3/libs/MeshoptDecoder.d.ts +0 -1
- package/client-lib/en3/libs/index.d.ts +0 -1
- package/client-lib/en3/loaders/En3GLTFLoader.d.ts +0 -12
- package/client-lib/en3/loaders/En3TextureLoader.d.ts +0 -8
- package/client-lib/en3/loaders/index.cjs +0 -1
- package/client-lib/en3/loaders/index.d.ts +0 -3
- package/client-lib/en3/loaders/loaders.d.ts +0 -13
- package/client-lib/en3/misc/En3ModifiedMaterial.d.ts +0 -33
- package/client-lib/en3/misc/En3SourceManager.d.ts +0 -32
- package/client-lib/en3/misc/index.cjs +0 -10
- package/client-lib/en3/misc/index.d.ts +0 -2
- package/client-lib/en3/objects/En3Clip.d.ts +0 -15
- package/client-lib/en3/objects/En3ClipHelpers.d.ts +0 -6
- package/client-lib/en3/objects/En3GLTF.d.ts +0 -11
- package/client-lib/en3/objects/En3Image.d.ts +0 -8
- package/client-lib/en3/objects/En3ImageLike.d.ts +0 -25
- package/client-lib/en3/objects/En3SourceConsumer.d.ts +0 -5
- package/client-lib/en3/objects/En3Video.d.ts +0 -13
- package/client-lib/en3/objects/fluid/Advection.d.ts +0 -30
- package/client-lib/en3/objects/fluid/Divergence.d.ts +0 -23
- package/client-lib/en3/objects/fluid/En3Fluid.d.ts +0 -16
- package/client-lib/en3/objects/fluid/En3FluidElement.d.ts +0 -13
- package/client-lib/en3/objects/fluid/En3FluidPointer.d.ts +0 -13
- package/client-lib/en3/objects/fluid/ExternalForce.d.ts +0 -19
- package/client-lib/en3/objects/fluid/Poisson.d.ts +0 -24
- package/client-lib/en3/objects/fluid/Pressure.d.ts +0 -26
- package/client-lib/en3/objects/fluid/ShaderPass.d.ts +0 -24
- package/client-lib/en3/objects/fluid/Simulation.d.ts +0 -33
- package/client-lib/en3/objects/fluid/Viscous.d.ts +0 -30
- package/client-lib/en3/objects/fluid/index.d.ts +0 -3
- package/client-lib/en3/objects/index.d.ts +0 -7
- package/client-lib/en3/utils/coverTexture.d.ts +0 -7
- package/client-lib/en3/utils/dispose.d.ts +0 -3
- package/client-lib/en3/utils/getCurrentViewport.d.ts +0 -9
- package/client-lib/en3/utils/index.d.ts +0 -5
- package/client-lib/en3/utils/traverseMaterials.d.ts +0 -3
- package/client-lib/en3/utils/traverseMeshes.d.ts +0 -3
- package/client-lib/en3-CBBYE8rb.cjs +0 -8
- package/client-lib/globals-DMjysUXI.js +0 -8
- package/client-lib/globals-bYKki-b9.cjs +0 -1
- package/client-lib/image/index.d.ts +0 -11
- package/client-lib/index-PReYu1AQ.cjs +0 -9
- package/client-lib/instantiate-CfK7LHHy.js +0 -152
- package/client-lib/instantiate-DfsD19EH.cjs +0 -1
- package/client-lib/intersector/index.cjs +0 -1
- package/client-lib/intersector/index.d.ts +0 -10
- package/client-lib/jsx/ComponentElement.d.ts +0 -17
- package/client-lib/jsx/globals.d.ts +0 -13
- package/client-lib/jsx/h.d.ts +0 -6
- package/client-lib/jsx/hooks/animation/createDamped.d.ts +0 -3
- package/client-lib/jsx/hooks/animation/createTweened.d.ts +0 -3
- package/client-lib/jsx/hooks/animation/index.cjs +0 -1
- package/client-lib/jsx/hooks/animation/index.d.ts +0 -2
- package/client-lib/jsx/hooks/animation/index.js +0 -15
- package/client-lib/jsx/hooks/basic/_createStore.d.ts +0 -4
- package/client-lib/jsx/hooks/basic/attachInternals.d.ts +0 -1
- package/client-lib/jsx/hooks/basic/attachShadow.d.ts +0 -1
- package/client-lib/jsx/hooks/basic/attachStylesheet.d.ts +0 -3
- package/client-lib/jsx/hooks/basic/createContext.d.ts +0 -2
- package/client-lib/jsx/hooks/basic/createRef.d.ts +0 -3
- package/client-lib/jsx/hooks/basic/onConnect.d.ts +0 -3
- package/client-lib/jsx/hooks/basic/onDisconnect.d.ts +0 -3
- package/client-lib/jsx/hooks/basic/onStoreChange.d.ts +0 -3
- package/client-lib/jsx/hooks/onAnimationFrame.cjs +0 -1
- package/client-lib/jsx/hooks/onAnimationFrame.d.ts +0 -6
- package/client-lib/jsx/hooks/onAnimationFrame.js +0 -22
- package/client-lib/jsx/hooks/onElementResize.cjs +0 -1
- package/client-lib/jsx/hooks/onElementResize.d.ts +0 -5
- package/client-lib/jsx/hooks/onElementResize.js +0 -11
- package/client-lib/jsx/hooks/onIntersection.cjs +0 -1
- package/client-lib/jsx/hooks/onIntersection.d.ts +0 -5
- package/client-lib/jsx/hooks/onIntersection.js +0 -11
- package/client-lib/jsx/hooks/onWindowResize.cjs +0 -1
- package/client-lib/jsx/hooks/onWindowResize.d.ts +0 -3
- package/client-lib/jsx/hooks/onWindowResize.js +0 -8
- package/client-lib/jsx/hooks/store/createCached.d.ts +0 -4
- package/client-lib/jsx/hooks/store/createComposed.d.ts +0 -3
- package/client-lib/jsx/hooks/store/createDerived.d.ts +0 -4
- package/client-lib/jsx/hooks/store/createDerivedArray.d.ts +0 -4
- package/client-lib/jsx/hooks/store/createResource.d.ts +0 -3
- package/client-lib/jsx/hooks/store/createStore.d.ts +0 -3
- package/client-lib/jsx/hooks/store/index.cjs +0 -1
- package/client-lib/jsx/hooks/store/index.d.ts +0 -6
- package/client-lib/jsx/hooks/store/index.js +0 -45
- package/client-lib/jsx/hooks/watchAttribute.cjs +0 -1
- package/client-lib/jsx/hooks/watchAttribute.d.ts +0 -6
- package/client-lib/jsx/hooks/watchAttribute.js +0 -17
- package/client-lib/jsx/hooks/watchCSSProperty.cjs +0 -1
- package/client-lib/jsx/hooks/watchCSSProperty.d.ts +0 -7
- package/client-lib/jsx/hooks/watchCSSProperty.js +0 -17
- package/client-lib/jsx/index.cjs +0 -1
- package/client-lib/jsx/index.d.ts +0 -15
- package/client-lib/jsx/index.js +0 -106
- package/client-lib/jsx/instantiate.d.ts +0 -5
- package/client-lib/jsx/register.d.ts +0 -1
- package/client-lib/jsx/render.d.ts +0 -6
- package/client-lib/jsx/type.d.ts +0 -195
- package/client-lib/ladder/index.cjs +0 -1
- package/client-lib/ladder/index.d.ts +0 -24
- package/client-lib/layout-box/index.cjs +0 -1
- package/client-lib/layout-box/index.d.ts +0 -96
- package/client-lib/layout-box/index.js +0 -326
- package/client-lib/libs/path-data-polyfill.d.ts +0 -1
- package/client-lib/loading/index.cjs +0 -1
- package/client-lib/loading/index.d.ts +0 -39
- package/client-lib/media/index.cjs +0 -1
- package/client-lib/media/index.d.ts +0 -12
- package/client-lib/media/index.js +0 -30
- package/client-lib/modal/ModalElement.d.ts +0 -13
- package/client-lib/modal/index.cjs +0 -1
- package/client-lib/modal/index.d.ts +0 -1
- package/client-lib/morph/Link.d.ts +0 -7
- package/client-lib/morph/Morph.d.ts +0 -37
- package/client-lib/morph/index.cjs +0 -1
- package/client-lib/morph/index.d.ts +0 -1
- package/client-lib/morph/index.js +0 -235
- package/client-lib/notifier/index.cjs +0 -1
- package/client-lib/notifier/index.d.ts +0 -8
- package/client-lib/notifier/index.js +0 -40
- package/client-lib/onConnect-DGP866cj.cjs +0 -1
- package/client-lib/onConnect-y5DrxJ9P.js +0 -7
- package/client-lib/order/index.d.ts +0 -22
- package/client-lib/pointer/Pointer.d.ts +0 -23
- package/client-lib/pointer/PointerElement.d.ts +0 -14
- package/client-lib/pointer/index.cjs +0 -1
- package/client-lib/pointer/index.d.ts +0 -2
- package/client-lib/popover/PopoverButtonElement.d.ts +0 -15
- package/client-lib/popover/PopoverElement.d.ts +0 -26
- package/client-lib/popover/index.cjs +0 -1
- package/client-lib/popover/index.d.ts +0 -2
- package/client-lib/router/Link.d.ts +0 -7
- package/client-lib/router/Route.d.ts +0 -21
- package/client-lib/router/Router.d.ts +0 -41
- package/client-lib/router/index.cjs +0 -1
- package/client-lib/router/index.d.ts +0 -2
- package/client-lib/scroll/ScrollBulletButtonsElement.d.ts +0 -12
- package/client-lib/scroll/ScrollButtonElement.d.ts +0 -6
- package/client-lib/scroll/ScrollElement.d.ts +0 -82
- package/client-lib/scroll/ScrollSection.d.ts +0 -23
- package/client-lib/scroll/ScrollSegmentElement.d.ts +0 -63
- package/client-lib/scroll/ScrollSetButtonElement.d.ts +0 -10
- package/client-lib/scroll/ScrollStepButtonElement.d.ts +0 -10
- package/client-lib/scroll/ScrollUserElement.d.ts +0 -7
- package/client-lib/scroll/ScrollbarElement.d.ts +0 -14
- package/client-lib/scroll/index.cjs +0 -1
- package/client-lib/scroll/index.d.ts +0 -6
- package/client-lib/scroll/index.js +0 -1154
- package/client-lib/scroll-entries/index.cjs +0 -1
- package/client-lib/scroll-entries/index.d.ts +0 -21
- package/client-lib/select/SelectElement.d.ts +0 -24
- package/client-lib/select/SelectHeadElement.d.ts +0 -13
- package/client-lib/select/SelectOptionElement.d.ts +0 -14
- package/client-lib/select/SelectUserElement.d.ts +0 -7
- package/client-lib/select/index.d.ts +0 -4
- package/client-lib/sequence/index.cjs +0 -1
- package/client-lib/sequence/index.d.ts +0 -21
- package/client-lib/slicer/DecoderElement.d.ts +0 -11
- package/client-lib/slicer/Letter.d.ts +0 -11
- package/client-lib/slicer/SlicerElement.d.ts +0 -21
- package/client-lib/slicer/Word.d.ts +0 -17
- package/client-lib/slicer/index.cjs +0 -11
- package/client-lib/slicer/index.d.ts +0 -4
- package/client-lib/source/SourceClass.d.ts +0 -11
- package/client-lib/source/SourceElement.d.ts +0 -25
- package/client-lib/source/SourceManager.d.ts +0 -14
- package/client-lib/source/SourceSet.d.ts +0 -9
- package/client-lib/source/index.cjs +0 -5
- package/client-lib/source/index.d.ts +0 -4
- package/client-lib/store/Cached.d.ts +0 -18
- package/client-lib/store/Composed.d.ts +0 -8
- package/client-lib/store/Derived.d.ts +0 -13
- package/client-lib/store/DerivedArray.d.ts +0 -13
- package/client-lib/store/Resource.d.ts +0 -12
- package/client-lib/store/Store.d.ts +0 -76
- package/client-lib/store/StoreRegistry.d.ts +0 -23
- package/client-lib/store/index.cjs +0 -1
- package/client-lib/store/index.d.ts +0 -7
- package/client-lib/svg-path-data/index.d.ts +0 -15
- package/client-lib/tags-BdW7ATzD.cjs +0 -1
- package/client-lib/tags-C75owfOo.js +0 -485
- package/client-lib/test/starting-style/index.d.ts +0 -1
- package/client-lib/theme/index.d.ts +0 -35
- package/client-lib/ticker/index.cjs +0 -1
- package/client-lib/ticker/index.d.ts +0 -22
- package/client-lib/ticker/index.js +0 -125
- package/client-lib/tweaker/TweakerBooleanManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerColorManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerElement.d.ts +0 -18
- package/client-lib/tweaker/TweakerFieldElement.d.ts +0 -21
- package/client-lib/tweaker/TweakerFolderElement.d.ts +0 -24
- package/client-lib/tweaker/TweakerLinkManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerNumberManagerElement.d.ts +0 -14
- package/client-lib/tweaker/TweakerSelectManagerElement.d.ts +0 -11
- package/client-lib/tweaker/TweakerStoreManagerElement.d.ts +0 -10
- package/client-lib/tweaker/TweakerStringManagerElement.d.ts +0 -11
- package/client-lib/tweaker/index.cjs +0 -10
- package/client-lib/tweaker/index.d.ts +0 -1
- package/client-lib/tweaker/tweakerManagerConstructors.d.ts +0 -6
- package/client-lib/tweaker/tweakerStorage.d.ts +0 -23
- package/client-lib/utils/array.d.ts +0 -2
- package/client-lib/utils/attributes.d.ts +0 -2
- package/client-lib/utils/browser.d.ts +0 -1
- package/client-lib/utils/bytes.d.ts +0 -1
- package/client-lib/utils/canvas.d.ts +0 -7
- package/client-lib/utils/collisions.d.ts +0 -4
- package/client-lib/utils/coordinates.d.ts +0 -14
- package/client-lib/utils/cssom.d.ts +0 -5
- package/client-lib/utils/decoding.d.ts +0 -2
- package/client-lib/utils/dom.d.ts +0 -5
- package/client-lib/utils/easings.d.ts +0 -17
- package/client-lib/utils/events.d.ts +0 -8
- package/client-lib/utils/file.d.ts +0 -1
- package/client-lib/utils/function.d.ts +0 -2
- package/client-lib/utils/gestures.d.ts +0 -1
- package/client-lib/utils/index.d.ts +0 -26
- package/client-lib/utils/layout.d.ts +0 -3
- package/client-lib/utils/math.d.ts +0 -12
- package/client-lib/utils/number.d.ts +0 -3
- package/client-lib/utils/object.d.ts +0 -9
- package/client-lib/utils/polyfills.d.ts +0 -1
- package/client-lib/utils/promises.d.ts +0 -1
- package/client-lib/utils/string.d.ts +0 -8
- package/client-lib/utils/style.d.ts +0 -2
- package/client-lib/utils/ts-shape.d.ts +0 -20
- package/client-lib/utils/ts-utility.d.ts +0 -26
- package/client-lib/utils/url.d.ts +0 -9
- package/client-lib/video/index.cjs +0 -1
- package/client-lib/video/index.d.ts +0 -22
- package/client-lib/window-resizer/index.cjs +0 -1
- package/client-lib/window-resizer/index.d.ts +0 -10
- package/client-lib/window-resizer/index.js +0 -46
- package/server-lib/optimizer/FFmpeg.d.ts +0 -10
- package/server-lib/optimizer/generateFavicon.d.ts +0 -4
- package/server-lib/optimizer/generateSequence.d.ts +0 -3
- package/server-lib/optimizer/generateSprite.d.ts +0 -4
- package/server-lib/optimizer/index.d.ts +0 -10
- package/server-lib/optimizer/index.js +0 -404
- package/server-lib/optimizer/inputFiles.d.ts +0 -26
- package/server-lib/optimizer/optimize.d.ts +0 -13
- package/server-lib/optimizer/optimizeImage.d.ts +0 -4
- package/server-lib/optimizer/optimizeVideo.d.ts +0 -3
- package/server-lib/optimizer/optimizer.d.ts +0 -5
- package/server-lib/optimizer/types.d.ts +0 -51
- package/server-lib/optimizer/utils.d.ts +0 -1
- package/server-lib/utils/buffer.d.ts +0 -1
- package/server-lib/utils/fs.d.ts +0 -11
- package/server-lib/utils/index.d.ts +0 -5
- package/server-lib/utils/index.js +0 -65
- package/server-lib/utils/math.d.ts +0 -1
- package/server-lib/utils/path.d.ts +0 -3
- package/server-lib/utils/types.d.ts +0 -8
- /package/{client-lib → lib}/attributes-69we3byR.js +0 -0
- /package/{client-lib → lib}/attributes-Bf2svn4j.cjs +0 -0
- /package/{client-lib → lib}/browser-0zX67oeU.js +0 -0
- /package/{client-lib → lib}/browser-CpzFX2xg.cjs +0 -0
- /package/{client-lib → lib}/canvas-CU5Xjahf.cjs +0 -0
- /package/{client-lib → lib}/canvas-DeZ0SLUJ.js +0 -0
- /package/{client-lib → lib}/coordinates-CgdGoSYs.js +0 -0
- /package/{client-lib → lib}/coordinates-D8Np3cPD.cjs +0 -0
- /package/{client-lib → lib}/createTheme-CHnsCgAr.js +0 -0
- /package/{client-lib → lib}/createTheme-Cfaw9UmV.cjs +0 -0
- /package/{client-lib → lib}/css-value-parser/index.cjs +0 -0
- /package/{client-lib → lib}/css-value-parser/index.js +0 -0
- /package/{client-lib → lib}/dom-JBOkFLTh.cjs +0 -0
- /package/{client-lib → lib}/dom-P5QbAASX.js +0 -0
- /package/{client-lib → lib}/easings-BKi40vHz.js +0 -0
- /package/{client-lib → lib}/easings-DsS5-Kqc.cjs +0 -0
- /package/{client-lib → lib}/en3/libs/index.cjs +0 -0
- /package/{client-lib → lib}/events-BGwqaxVW.cjs +0 -0
- /package/{client-lib → lib}/events-CJTUMSLU.js +0 -0
- /package/{client-lib → lib}/file-EevnUtRj.cjs +0 -0
- /package/{client-lib → lib}/file-lxi_oXJf.js +0 -0
- /package/{client-lib → lib}/function-C10DGppn.js +0 -0
- /package/{client-lib → lib}/function-MthRj-GJ.cjs +0 -0
- /package/{client-lib → lib}/gestures-D2Fdra_G.js +0 -0
- /package/{client-lib → lib}/gestures-DHLrn6Q8.cjs +0 -0
- /package/{client-lib → lib}/layout-8ryRAMGJ.cjs +0 -0
- /package/{client-lib → lib}/layout-HoBT_Da2.js +0 -0
- /package/{client-lib → lib}/math-BOBiC4TN.js +0 -0
- /package/{client-lib → lib}/math-GDWEqu7y.cjs +0 -0
- /package/{client-lib → lib}/object-CCiXnER2.cjs +0 -0
- /package/{client-lib → lib}/object-D6MVWB4l.js +0 -0
- /package/{client-lib → lib}/order/index.cjs +0 -0
- /package/{client-lib → lib}/order/index.js +0 -0
- /package/{client-lib → lib}/polyfills-CM4SCDTt.cjs +0 -0
- /package/{client-lib → lib}/polyfills-X6KXuHg-.js +0 -0
- /package/{client-lib → lib}/string-DhgS_iFl.cjs +0 -0
- /package/{client-lib → lib}/string-f0Dnk0L1.js +0 -0
- /package/{client-lib → lib}/style-At6aDoqG.cjs +0 -0
- /package/{client-lib → lib}/style-j2TwriJ_.js +0 -0
- /package/{client-lib → lib}/svg-path-data/index.cjs +0 -0
- /package/{client-lib → lib}/url-C3dWnJQg.cjs +0 -0
- /package/{client-lib → lib}/url-DMNfW7uN.js +0 -0
- /package/{client-lib → lib}/utils/index.cjs +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var S=(i,s,t)=>{if(!s.has(i))throw TypeError("Cannot "+t)};var e=(i,s,t)=>(S(i,s,"read from private field"),t?t.call(i):s.get(i)),a=(i,s,t)=>{if(s.has(i))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(i):s.set(i,t)},h=(i,s,t,n)=>(S(i,s,"write to private field"),n?n.call(i,t):s.set(i,t),t);var C=(i,s,t)=>(S(i,s,"access private method"),t);const M=require("./Store-Cr3VaD9G.cjs"),y=require("./math-GDWEqu7y.cjs"),m=require("./polyfills-CM4SCDTt.cjs"),I=require("./ticker/index.cjs"),z=require("./order/index.cjs");var f,b,A,c,F,r,u,l,g,d,q,P,x;class N extends M.Store{constructor(t,n){super(t||0,n);a(this,q);a(this,f,void 0);a(this,b,z.TICK_ORDER.ANIMATION);a(this,A,void 0);a(this,c,new M.Store(!1));a(this,F,0);a(this,r,0);a(this,u,-1/0);a(this,l,1/0);a(this,g,0);a(this,d,null);a(this,x,t=>{this.handleAnimationFrame(t)});h(this,r,this.current)}get direction(){return e(this,F)}get target(){return e(this,r)}get min(){return e(this,u)}set min(t){h(this,u,t),this.set(e(this,r),{equalize:!0})}get max(){return e(this,l)}set max(t){h(this,l,t),this.set(e(this,r),{equalize:!0})}get from(){return e(this,g)}get isRunning(){return e(this,c)}get delta(){return Math.abs(e(this,r)-e(this,g))}get deltaProgress(){return this.delta?m.preciseNumber(Math.abs(this.current-e(this,g))/this.delta,6):0}get distance(){return Math.abs(e(this,l)-e(this,u))}get distanceProgress(){return this.distance?m.preciseNumber(Math.abs(this.current-e(this,u))/this.distance,6):0}set(t,n){(e(this,r)!==t||n!=null&&n.restart)&&(h(this,d,t),this.updateOptions(n),h(this,d,null),e(this,r)!==this.current&&this.start())}shift(t,n){this.set(e(this,r)+t,n)}reset(){super.reset(),this.set(this.initial,{equalize:!0})}close(){super.close(),this.reset(),this.unlistenAnimationFrame()}listenAnimationFrame(){e(this,c).current||(e(this,c).current=!0,I.ticker.subscribe(e(this,x),{maxFPS:e(this,f),order:e(this,b),culling:e(this,A)}))}unlistenAnimationFrame(){e(this,c).current&&(e(this,c).current=!1,I.ticker.unsubscribe(e(this,x)))}updateOptions(t){h(this,f,m.nullishCoalescing(t==null?void 0:t.maxFPS,e(this,f))),h(this,b,m.nullishCoalescing(t==null?void 0:t.order,e(this,b))),h(this,A,m.nullishCoalescing(t==null?void 0:t.culling,e(this,A))),h(this,u,m.nullishCoalescing(t==null?void 0:t.min,e(this,u))),h(this,l,m.nullishCoalescing(t==null?void 0:t.max,e(this,l))),C(this,q,P).call(this,typeof e(this,d)=="number"?e(this,d):e(this,r)),t!=null&&t.equalize&&(this.unlistenAnimationFrame(),this.current=e(this,r)),t!=null&&t.restart&&(this.unlistenAnimationFrame(),this.current=this.initial)}start(){this.listenAnimationFrame()}}f=new WeakMap,b=new WeakMap,A=new WeakMap,c=new WeakMap,F=new WeakMap,r=new WeakMap,u=new WeakMap,l=new WeakMap,g=new WeakMap,d=new WeakMap,q=new WeakSet,P=function(t){h(this,F,Math.sign(t-e(this,r))),h(this,r,y.clamp(t,e(this,u),e(this,l))),h(this,g,this.current)},x=new WeakMap;exports.Animation=N;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var n = (s, r, o) => {
|
|
2
|
-
if (!r.has(s))
|
|
3
|
-
throw TypeError("Cannot " + o);
|
|
4
|
-
};
|
|
5
|
-
var t = (s, r, o) => (n(s, r, "read from private field"), o ? o.call(s) : r.get(s)), c = (s, r, o) => {
|
|
6
|
-
if (r.has(s))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
r instanceof WeakSet ? r.add(s) : r.set(s, o);
|
|
9
|
-
};
|
|
10
|
-
import { d as h } from "./function-C10DGppn.js";
|
|
11
|
-
import { S as b } from "./Store-Qr3SNOSf.js";
|
|
12
|
-
var e;
|
|
13
|
-
class f extends b {
|
|
14
|
-
constructor(o, u, p) {
|
|
15
|
-
super(null, p);
|
|
16
|
-
c(this, e, []);
|
|
17
|
-
const a = h(() => {
|
|
18
|
-
this.current = u();
|
|
19
|
-
}, 0);
|
|
20
|
-
o.forEach((i) => {
|
|
21
|
-
t(this, e).push(
|
|
22
|
-
i.subscribe(() => {
|
|
23
|
-
a();
|
|
24
|
-
})
|
|
25
|
-
);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
close() {
|
|
29
|
-
super.close(), t(this, e).forEach((o) => o());
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
e = new WeakMap();
|
|
33
|
-
export {
|
|
34
|
-
f as C
|
|
35
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var p=(s,e,r)=>{if(!e.has(s))throw TypeError("Cannot "+r)};var c=(s,e,r)=>(p(s,e,"read from private field"),r?r.call(s):e.get(s)),t=(s,e,r)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,r)};const b=require("./function-MthRj-GJ.cjs"),d=require("./Store-Cr3VaD9G.cjs");var o;class l extends d.Store{constructor(r,u,n){super(null,n);t(this,o,[]);const i=b.debounce(()=>{this.current=u()},0);r.forEach(h=>{c(this,o).push(h.subscribe(()=>{i()}))})}close(){super.close(),c(this,o).forEach(r=>r())}}o=new WeakMap;exports.Composed=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty,b=Object.defineProperties;var y=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var d=(e,t,s)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,g=(e,t)=>{for(var s in t||(t={}))C.call(t,s)&&d(e,s,t[s]);if(l)for(var s of l(t))O.call(t,s)&&d(e,s,t[s]);return e},f=(e,t)=>b(e,y(t));var p=(e,t,s)=>{if(!t.has(e))throw TypeError("Cannot "+s)};var a=(e,t,s)=>(p(e,t,"read from private field"),s?s.call(e):t.get(e)),u=(e,t,s)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,s)},n=(e,t,s,r)=>(p(e,t,"write to private field"),r?r.call(e,s):t.set(e,s),s);const v=require("./math-GDWEqu7y.cjs"),c=require("./polyfills-CM4SCDTt.cjs"),w=require("./Animation-BInSRYNr.cjs");var i,h;class B extends w.Animation{constructor(s,r){super(s,r);u(this,i,void 0);u(this,h,void 0);this.damping=20,this.stiffness=0,this.mass=0,n(this,i,0),n(this,h,0),this.updateOptions(f(g({},r),{equalize:!0}))}get velocity(){return a(this,i)}get speed(){return a(this,h)}updateOptions(s){this.damping=c.nullishCoalescing(s==null?void 0:s.damping,this.damping),this.mass=c.nullishCoalescing(s==null?void 0:s.mass,this.mass),this.stiffness=c.nullishCoalescing(s==null?void 0:s.stiffness,this.stiffness),super.updateOptions(s)}handleAnimationFrame(s){c.preciseNumber(this.current,6)===c.preciseNumber(this.target,6)&&(this.unlistenAnimationFrame(),this.current=this.target);const r=this.current,q=Math.abs(r-this.target);n(this,h,q/s.timeBetweenFrames);const m=s.timeBetweenFrames/1e3;if(this.mass||this.stiffness){const A=(this.target-this.current)*this.stiffness-a(this,i)*this.damping;n(this,i,a(this,i)+A/this.mass*m),this.current+=a(this,i)*m}else this.current=v.damp(this.current,this.target,this.damping,m)}}i=new WeakMap,h=new WeakMap;exports.Damped=B;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var b = Object.defineProperty, v = Object.defineProperties;
|
|
2
|
-
var w = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var d = Object.getOwnPropertySymbols;
|
|
4
|
-
var x = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var f = (e, s, t) => s in e ? b(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t, g = (e, s) => {
|
|
6
|
-
for (var t in s || (s = {}))
|
|
7
|
-
x.call(s, t) && f(e, t, s[t]);
|
|
8
|
-
if (d)
|
|
9
|
-
for (var t of d(s))
|
|
10
|
-
y.call(s, t) && f(e, t, s[t]);
|
|
11
|
-
return e;
|
|
12
|
-
}, l = (e, s) => v(e, w(s));
|
|
13
|
-
var p = (e, s, t) => {
|
|
14
|
-
if (!s.has(e))
|
|
15
|
-
throw TypeError("Cannot " + t);
|
|
16
|
-
};
|
|
17
|
-
var a = (e, s, t) => (p(e, s, "read from private field"), t ? t.call(e) : s.get(e)), c = (e, s, t) => {
|
|
18
|
-
if (s.has(e))
|
|
19
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
20
|
-
s instanceof WeakSet ? s.add(e) : s.set(e, t);
|
|
21
|
-
}, m = (e, s, t, r) => (p(e, s, "write to private field"), r ? r.call(e, t) : s.set(e, t), t);
|
|
22
|
-
import { d as B } from "./math-BOBiC4TN.js";
|
|
23
|
-
import { n as u, p as A } from "./polyfills-X6KXuHg-.js";
|
|
24
|
-
import { A as D } from "./Animation-uimN7sdT.js";
|
|
25
|
-
var i, h;
|
|
26
|
-
class N extends D {
|
|
27
|
-
constructor(t, r) {
|
|
28
|
-
super(t, r);
|
|
29
|
-
c(this, i, void 0);
|
|
30
|
-
c(this, h, void 0);
|
|
31
|
-
this.damping = 20, this.stiffness = 0, this.mass = 0, m(this, i, 0), m(this, h, 0), this.updateOptions(l(g({}, r), { equalize: !0 }));
|
|
32
|
-
}
|
|
33
|
-
get velocity() {
|
|
34
|
-
return a(this, i);
|
|
35
|
-
}
|
|
36
|
-
get speed() {
|
|
37
|
-
return a(this, h);
|
|
38
|
-
}
|
|
39
|
-
updateOptions(t) {
|
|
40
|
-
this.damping = u(t == null ? void 0 : t.damping, this.damping), this.mass = u(t == null ? void 0 : t.mass, this.mass), this.stiffness = u(t == null ? void 0 : t.stiffness, this.stiffness), super.updateOptions(t);
|
|
41
|
-
}
|
|
42
|
-
handleAnimationFrame(t) {
|
|
43
|
-
A(this.current, 6) === A(this.target, 6) && (this.unlistenAnimationFrame(), this.current = this.target);
|
|
44
|
-
const r = this.current, F = Math.abs(r - this.target);
|
|
45
|
-
m(this, h, F / t.timeBetweenFrames);
|
|
46
|
-
const n = t.timeBetweenFrames / 1e3;
|
|
47
|
-
if (this.mass || this.stiffness) {
|
|
48
|
-
const O = (this.target - this.current) * this.stiffness - a(this, i) * this.damping;
|
|
49
|
-
m(this, i, a(this, i) + O / this.mass * n), this.current += a(this, i) * n;
|
|
50
|
-
} else
|
|
51
|
-
this.current = B(this.current, this.target, this.damping, n);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
i = new WeakMap(), h = new WeakMap();
|
|
55
|
-
export {
|
|
56
|
-
N as D
|
|
57
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var p=(e,r,s)=>{if(!r.has(e))throw TypeError("Cannot "+s)};var a=(e,r,s)=>(p(e,r,"read from private field"),s?s.call(e):r.get(e)),h=(e,r,s)=>{if(r.has(e))throw TypeError("Cannot add the same private member more than once");r instanceof WeakSet?r.add(e):r.set(e,s)},v=(e,r,s,c)=>(p(e,r,"write to private field"),c?c.call(e,s):r.set(e,s),s);var D=(e,r,s)=>new Promise((c,i)=>{var n=t=>{try{u(s.next(t))}catch(d){i(d)}},b=t=>{try{u(s.throw(t))}catch(d){i(d)}},u=t=>t.done?c(t.value):Promise.resolve(t.value).then(n,b);u((s=s.apply(e,r)).next())});const y=require("./Store-Cr3VaD9G.cjs");var o;class S extends y.Store{constructor(s,c,i){super(null,i);h(this,o,void 0);v(this,o,s.subscribe(n=>{this.current=c(n.current)}))}close(){super.close(),a(this,o).call(this)}}o=new WeakMap;var l;class x extends y.Store{constructor(s,c,i){super(null,i);h(this,l,void 0);let n=0;v(this,l,s.subscribe(b=>D(this,null,function*(){const u=++n,t=yield c(b.current);n===u&&(this.current=t)})))}close(){super.close(),a(this,l).call(this)}}l=new WeakMap;exports.AsyncDerived=x;exports.Derived=S;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
var v = (e, r, s) => {
|
|
2
|
-
if (!r.has(e))
|
|
3
|
-
throw TypeError("Cannot " + s);
|
|
4
|
-
};
|
|
5
|
-
var h = (e, r, s) => (v(e, r, "read from private field"), s ? s.call(e) : r.get(e)), p = (e, r, s) => {
|
|
6
|
-
if (r.has(e))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
r instanceof WeakSet ? r.add(e) : r.set(e, s);
|
|
9
|
-
}, d = (e, r, s, c) => (v(e, r, "write to private field"), c ? c.call(e, s) : r.set(e, s), s);
|
|
10
|
-
var x = (e, r, s) => new Promise((c, n) => {
|
|
11
|
-
var u = (t) => {
|
|
12
|
-
try {
|
|
13
|
-
i(s.next(t));
|
|
14
|
-
} catch (b) {
|
|
15
|
-
n(b);
|
|
16
|
-
}
|
|
17
|
-
}, a = (t) => {
|
|
18
|
-
try {
|
|
19
|
-
i(s.throw(t));
|
|
20
|
-
} catch (b) {
|
|
21
|
-
n(b);
|
|
22
|
-
}
|
|
23
|
-
}, i = (t) => t.done ? c(t.value) : Promise.resolve(t.value).then(u, a);
|
|
24
|
-
i((s = s.apply(e, r)).next());
|
|
25
|
-
});
|
|
26
|
-
import { S as D } from "./Store-Qr3SNOSf.js";
|
|
27
|
-
var o;
|
|
28
|
-
class y extends D {
|
|
29
|
-
constructor(s, c, n) {
|
|
30
|
-
super(null, n);
|
|
31
|
-
p(this, o, void 0);
|
|
32
|
-
d(this, o, s.subscribe((u) => {
|
|
33
|
-
this.current = c(u.current);
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
close() {
|
|
37
|
-
super.close(), h(this, o).call(this);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
o = new WeakMap();
|
|
41
|
-
var l;
|
|
42
|
-
class A extends D {
|
|
43
|
-
constructor(s, c, n) {
|
|
44
|
-
super(null, n);
|
|
45
|
-
p(this, l, void 0);
|
|
46
|
-
let u = 0;
|
|
47
|
-
d(this, l, s.subscribe((a) => x(this, null, function* () {
|
|
48
|
-
const i = ++u, t = yield c(a.current);
|
|
49
|
-
u === i && (this.current = t);
|
|
50
|
-
})));
|
|
51
|
-
}
|
|
52
|
-
close() {
|
|
53
|
-
super.close(), h(this, l).call(this);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
l = new WeakMap();
|
|
57
|
-
export {
|
|
58
|
-
A,
|
|
59
|
-
y as D
|
|
60
|
-
};
|
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
var Z = (l, e, t) => {
|
|
2
|
-
if (!e.has(l))
|
|
3
|
-
throw TypeError("Cannot " + t);
|
|
4
|
-
};
|
|
5
|
-
var i = (l, e, t) => (Z(l, e, "read from private field"), t ? t.call(l) : e.get(l)), r = (l, e, t) => {
|
|
6
|
-
if (e.has(l))
|
|
7
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
8
|
-
e instanceof WeakSet ? e.add(l) : e.set(l, t);
|
|
9
|
-
}, E = (l, e, t, s) => (Z(l, e, "write to private field"), s ? s.call(l, t) : e.set(l, t), t);
|
|
10
|
-
var a = (l, e, t) => (Z(l, e, "access private method"), t);
|
|
11
|
-
import { S as p } from "./Store-Qr3SNOSf.js";
|
|
12
|
-
import { i as fe } from "./browser-0zX67oeU.js";
|
|
13
|
-
import { i as le } from "./object-D6MVWB4l.js";
|
|
14
|
-
import { c as he, u as we } from "./string-f0Dnk0L1.js";
|
|
15
|
-
import { connector as Le } from "./connector/index.js";
|
|
16
|
-
const Te = /* @__PURE__ */ new Set([
|
|
17
|
-
// 'a', 'style', 'title', 'script',
|
|
18
|
-
"animate",
|
|
19
|
-
"animateMotion",
|
|
20
|
-
"animateTransform",
|
|
21
|
-
"circle",
|
|
22
|
-
"clipPath",
|
|
23
|
-
"defs",
|
|
24
|
-
"desc",
|
|
25
|
-
"ellipse",
|
|
26
|
-
"feBlend",
|
|
27
|
-
"feColorMatrix",
|
|
28
|
-
"feComponentTransfer",
|
|
29
|
-
"feComposite",
|
|
30
|
-
"feConvolveMatrix",
|
|
31
|
-
"feDiffuseLighting",
|
|
32
|
-
"feDisplacementMap",
|
|
33
|
-
"feDistantLight",
|
|
34
|
-
"feDropShadow",
|
|
35
|
-
"feFlood",
|
|
36
|
-
"feFuncA",
|
|
37
|
-
"feFuncB",
|
|
38
|
-
"feFuncG",
|
|
39
|
-
"feFuncR",
|
|
40
|
-
"feGaussianBlur",
|
|
41
|
-
"feImage",
|
|
42
|
-
"feMerge",
|
|
43
|
-
"feMergeNode",
|
|
44
|
-
"feMorphology",
|
|
45
|
-
"feOffset",
|
|
46
|
-
"fePointLight",
|
|
47
|
-
"feSpecularLighting",
|
|
48
|
-
"feSpotLight",
|
|
49
|
-
"feTile",
|
|
50
|
-
"feTurbulence",
|
|
51
|
-
"filter",
|
|
52
|
-
"foreignObject",
|
|
53
|
-
"g",
|
|
54
|
-
"image",
|
|
55
|
-
"line",
|
|
56
|
-
"linearGradient",
|
|
57
|
-
"listener",
|
|
58
|
-
"marker",
|
|
59
|
-
"mask",
|
|
60
|
-
"metadata",
|
|
61
|
-
"mpath",
|
|
62
|
-
"path",
|
|
63
|
-
"pattern",
|
|
64
|
-
"polygon",
|
|
65
|
-
"polyline",
|
|
66
|
-
"radialGradient",
|
|
67
|
-
"rect",
|
|
68
|
-
"set",
|
|
69
|
-
"solidColor",
|
|
70
|
-
"stop",
|
|
71
|
-
"svg",
|
|
72
|
-
"switch",
|
|
73
|
-
"symbol",
|
|
74
|
-
"text",
|
|
75
|
-
"textPath",
|
|
76
|
-
"title",
|
|
77
|
-
"tspan",
|
|
78
|
-
"view",
|
|
79
|
-
"use"
|
|
80
|
-
]);
|
|
81
|
-
var o, m, h, w, u, g, R, me, B, ue, G, ge, L, _, T, O, $, ye, q, Ee, W, pe, z, Ce, A, j, v, ee, J, be, k, te, x, se, V, Se, M, ie, S, P, D, ne, F, oe, H, ae, I, U;
|
|
82
|
-
const Y = class Y {
|
|
83
|
-
constructor(...e) {
|
|
84
|
-
r(this, R);
|
|
85
|
-
r(this, B);
|
|
86
|
-
r(this, G);
|
|
87
|
-
r(this, L);
|
|
88
|
-
r(this, T);
|
|
89
|
-
r(this, $);
|
|
90
|
-
r(this, q);
|
|
91
|
-
r(this, W);
|
|
92
|
-
r(this, z);
|
|
93
|
-
r(this, A);
|
|
94
|
-
r(this, v);
|
|
95
|
-
r(this, J);
|
|
96
|
-
r(this, k);
|
|
97
|
-
r(this, x);
|
|
98
|
-
r(this, V);
|
|
99
|
-
r(this, M);
|
|
100
|
-
r(this, S);
|
|
101
|
-
r(this, D);
|
|
102
|
-
r(this, F);
|
|
103
|
-
r(this, H);
|
|
104
|
-
r(this, o, null);
|
|
105
|
-
r(this, m, /* @__PURE__ */ new Set());
|
|
106
|
-
r(this, h, /* @__PURE__ */ new Set());
|
|
107
|
-
r(this, w, void 0);
|
|
108
|
-
r(this, u, void 0);
|
|
109
|
-
r(this, g, void 0);
|
|
110
|
-
r(this, I, (e) => {
|
|
111
|
-
i(this, m).forEach((t) => {
|
|
112
|
-
t(e);
|
|
113
|
-
}), i(this, m).clear();
|
|
114
|
-
});
|
|
115
|
-
r(this, U, (e, t) => {
|
|
116
|
-
i(this, h).forEach((s) => {
|
|
117
|
-
s(e, t);
|
|
118
|
-
}), i(this, h).clear(), a(this, x, se).call(this);
|
|
119
|
-
});
|
|
120
|
-
if (fe) {
|
|
121
|
-
const t = e[0], s = e[1];
|
|
122
|
-
E(this, o, a(this, R, me).call(this, t, s == null ? void 0 : s.forceSvg)), a(this, G, ge).call(this, s);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
get node() {
|
|
126
|
-
return i(this, o);
|
|
127
|
-
}
|
|
128
|
-
set node(e) {
|
|
129
|
-
var t;
|
|
130
|
-
a(this, x, se).call(this), E(this, o, e), (t = i(this, w)) == null || t.call(this), i(this, o) instanceof Element && E(this, u, [
|
|
131
|
-
...i(this, o).querySelectorAll("store-root")
|
|
132
|
-
]), a(this, k, te).call(this), a(this, L, _).call(this);
|
|
133
|
-
}
|
|
134
|
-
};
|
|
135
|
-
o = new WeakMap(), m = new WeakMap(), h = new WeakMap(), w = new WeakMap(), u = new WeakMap(), g = new WeakMap(), R = new WeakSet(), me = function(e, t) {
|
|
136
|
-
let s = null;
|
|
137
|
-
if (e instanceof Node)
|
|
138
|
-
s = e;
|
|
139
|
-
else if (typeof e == "string")
|
|
140
|
-
if (!e.includes("<") && e.includes("-"))
|
|
141
|
-
s = new (customElements.get(e))();
|
|
142
|
-
else if (e.includes("<")) {
|
|
143
|
-
const n = document.createElement("div");
|
|
144
|
-
n.innerHTML = e, s = n.firstElementChild;
|
|
145
|
-
} else
|
|
146
|
-
Te.has(e) || t ? s = document.createElementNS(
|
|
147
|
-
"http://www.w3.org/2000/svg",
|
|
148
|
-
e
|
|
149
|
-
) : s = document.createElement(e);
|
|
150
|
-
else
|
|
151
|
-
s = document.createElement("div");
|
|
152
|
-
return s;
|
|
153
|
-
}, B = new WeakSet(), ue = function(e) {
|
|
154
|
-
return e instanceof HTMLElement || e instanceof SVGElement;
|
|
155
|
-
}, G = new WeakSet(), ge = function(e) {
|
|
156
|
-
if (!e)
|
|
157
|
-
return;
|
|
158
|
-
const t = a(this, B, ue).call(this, i(this, o)), s = e.ref;
|
|
159
|
-
delete e.ref, e != null && e.onConnect && (i(this, m).add(e.onConnect), delete e.onConnect), e != null && e.onDisconnect && (i(this, h).add(e.onDisconnect), delete e.onDisconnect);
|
|
160
|
-
let n, c;
|
|
161
|
-
for (const f in e) {
|
|
162
|
-
const d = e[f];
|
|
163
|
-
f === "class" && t ? a(this, T, O).call(this, d) : f === "style" && t ? a(this, W, pe).call(this, d) : f === "lightChildren" ? a(this, S, P).call(this, i(this, o), d) : f === "children" ? a(this, S, P).call(this, i(this, o) instanceof Element ? i(this, o).shadowRoot || i(this, o) : i(this, o), d) : f === "connectedClass" ? i(this, m).add(() => {
|
|
164
|
-
requestAnimationFrame(() => {
|
|
165
|
-
i(this, o).classList.add(
|
|
166
|
-
typeof d == "boolean" ? "connected" : d
|
|
167
|
-
);
|
|
168
|
-
});
|
|
169
|
-
}) : f.startsWith("on") ? (c || (c = {}), c[f] = d) : (n || (n = {}), n[f] = d);
|
|
170
|
-
}
|
|
171
|
-
a(this, V, Se).call(this, n), a(this, J, be).call(this, c), s && (typeof s == "function" ? s(i(this, o)) : s.current = i(this, o)), a(this, L, _).call(this);
|
|
172
|
-
}, L = new WeakSet(), _ = function() {
|
|
173
|
-
if (fe && (i(this, h).size || i(this, m).size)) {
|
|
174
|
-
const e = i(this, o) instanceof DocumentFragment ? i(this, o).firstChild : i(this, o);
|
|
175
|
-
E(this, w, Le.subscribe(
|
|
176
|
-
e,
|
|
177
|
-
{
|
|
178
|
-
connectCallback: i(this, I),
|
|
179
|
-
disconnectCallback: i(this, U),
|
|
180
|
-
unsubscribeAfterDisconnect: !0,
|
|
181
|
-
maxWaitSec: 20
|
|
182
|
-
}
|
|
183
|
-
));
|
|
184
|
-
}
|
|
185
|
-
}, T = new WeakSet(), O = function(e) {
|
|
186
|
-
if (e) {
|
|
187
|
-
if (typeof e == "string")
|
|
188
|
-
i(this, o).classList.add(e);
|
|
189
|
-
else if (Array.isArray(e))
|
|
190
|
-
e.forEach((t) => {
|
|
191
|
-
t && a(this, T, O).call(this, t);
|
|
192
|
-
});
|
|
193
|
-
else if (typeof e == "object")
|
|
194
|
-
if (e instanceof p)
|
|
195
|
-
a(this, $, ye).call(this, e);
|
|
196
|
-
else
|
|
197
|
-
for (const t in e) {
|
|
198
|
-
const s = e[t];
|
|
199
|
-
s instanceof p ? a(this, q, Ee).call(this, t, s) : s ? i(this, o).classList.add(t) : i(this, o).classList.remove(t);
|
|
200
|
-
}
|
|
201
|
-
} else
|
|
202
|
-
return;
|
|
203
|
-
}, $ = new WeakSet(), ye = function(e) {
|
|
204
|
-
i(this, h).add(
|
|
205
|
-
e.subscribe(({ current: t, previous: s }) => {
|
|
206
|
-
s && [s].flat().forEach((n) => {
|
|
207
|
-
n && i(this, o).classList.remove(n);
|
|
208
|
-
}), t && [t].flat().forEach((n) => {
|
|
209
|
-
n && i(this, o).classList.add(n);
|
|
210
|
-
});
|
|
211
|
-
})
|
|
212
|
-
);
|
|
213
|
-
}, q = new WeakSet(), Ee = function(e, t) {
|
|
214
|
-
i(this, h).add(
|
|
215
|
-
t.subscribe(({ current: s }) => {
|
|
216
|
-
s ? i(this, o).classList.add(e) : i(this, o).classList.remove(e);
|
|
217
|
-
})
|
|
218
|
-
);
|
|
219
|
-
}, W = new WeakSet(), pe = function(e) {
|
|
220
|
-
if (!e)
|
|
221
|
-
return;
|
|
222
|
-
i(this, o).tagName === "style" || i(this, o).tagName === "STYLE" ? a(this, A, j).call(this, e) : a(this, z, Ce).call(this, e);
|
|
223
|
-
}, z = new WeakSet(), Ce = function(e) {
|
|
224
|
-
for (const t in e) {
|
|
225
|
-
const s = t, n = e[s];
|
|
226
|
-
n instanceof p ? i(this, h).add(
|
|
227
|
-
n.subscribe(({ current: c }) => {
|
|
228
|
-
a(this, v, ee).call(this, s, c);
|
|
229
|
-
})
|
|
230
|
-
) : a(this, v, ee).call(this, s, n);
|
|
231
|
-
}
|
|
232
|
-
}, A = new WeakSet(), j = function(e) {
|
|
233
|
-
for (const t in e) {
|
|
234
|
-
const s = e[t];
|
|
235
|
-
if (typeof s == "object" && !(s instanceof p))
|
|
236
|
-
i(this, o).appendChild(
|
|
237
|
-
document.createTextNode(`${t} {`)
|
|
238
|
-
), a(this, A, j).call(this, s), i(this, o).appendChild(document.createTextNode("}"));
|
|
239
|
-
else if (s instanceof p) {
|
|
240
|
-
const n = document.createTextNode("");
|
|
241
|
-
i(this, h).add(
|
|
242
|
-
s.subscribe((c) => {
|
|
243
|
-
c.current ? n.nodeValue = `${he(t)}: ${c.current};` : n.nodeValue = "";
|
|
244
|
-
})
|
|
245
|
-
), i(this, o).appendChild(n);
|
|
246
|
-
} else
|
|
247
|
-
i(this, o).appendChild(
|
|
248
|
-
document.createTextNode(`${he(t)}: ${s};`)
|
|
249
|
-
);
|
|
250
|
-
}
|
|
251
|
-
}, v = new WeakSet(), ee = function(e, t) {
|
|
252
|
-
e.includes("--") ? t ? i(this, o).style.setProperty(e, t.toString()) : i(this, o).style.removeProperty(e) : t ? i(this, o).style[e] = t.toString() : i(this, o).style[e] = "";
|
|
253
|
-
}, J = new WeakSet(), be = function(e) {
|
|
254
|
-
if (e) {
|
|
255
|
-
i(this, g) || E(this, g, []);
|
|
256
|
-
for (const t in e) {
|
|
257
|
-
const s = t, n = we(
|
|
258
|
-
s.split("on").slice(1).join("on")
|
|
259
|
-
), c = e[s];
|
|
260
|
-
typeof c == "object" ? i(this, g).push({
|
|
261
|
-
name: n,
|
|
262
|
-
callback: c.callback,
|
|
263
|
-
options: c.options
|
|
264
|
-
}) : typeof c == "function" && i(this, g).push({
|
|
265
|
-
name: n,
|
|
266
|
-
callback: c
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
a(this, k, te).call(this);
|
|
270
|
-
}
|
|
271
|
-
}, k = new WeakSet(), te = function() {
|
|
272
|
-
var e;
|
|
273
|
-
(e = i(this, g)) == null || e.forEach((t) => {
|
|
274
|
-
i(this, o).addEventListener(
|
|
275
|
-
t.name,
|
|
276
|
-
t.callback,
|
|
277
|
-
t.options
|
|
278
|
-
);
|
|
279
|
-
});
|
|
280
|
-
}, x = new WeakSet(), se = function() {
|
|
281
|
-
var e;
|
|
282
|
-
(e = i(this, g)) == null || e.forEach((t) => {
|
|
283
|
-
i(this, o).removeEventListener(
|
|
284
|
-
t.name,
|
|
285
|
-
t.callback,
|
|
286
|
-
t.options
|
|
287
|
-
);
|
|
288
|
-
});
|
|
289
|
-
}, V = new WeakSet(), Se = function(e) {
|
|
290
|
-
for (const t in e) {
|
|
291
|
-
const s = e[t];
|
|
292
|
-
s instanceof p ? i(this, h).add(
|
|
293
|
-
s.subscribe(({ current: n }) => {
|
|
294
|
-
a(this, M, ie).call(this, t, n);
|
|
295
|
-
})
|
|
296
|
-
) : a(this, M, ie).call(this, t, s);
|
|
297
|
-
}
|
|
298
|
-
}, M = new WeakSet(), ie = function(e, t) {
|
|
299
|
-
var n, c;
|
|
300
|
-
const s = i(this, o);
|
|
301
|
-
if (e in s && !((c = (n = s.constructor) == null ? void 0 : n.observedAttributes) != null && c.includes(e)))
|
|
302
|
-
t != null && (s[e] = t.toString());
|
|
303
|
-
else if (t != null) {
|
|
304
|
-
const f = t.toString();
|
|
305
|
-
e.includes("xlink") ? s.setAttributeNS("http://www.w3.org/1999/xlink", e, f) : s.setAttribute(e, f);
|
|
306
|
-
}
|
|
307
|
-
}, S = new WeakSet(), P = function(e, t) {
|
|
308
|
-
t && (t = [t].flat(), t.forEach((s) => {
|
|
309
|
-
if (s instanceof p) {
|
|
310
|
-
const n = document.createElement("div");
|
|
311
|
-
n.style.display = "contents", e.appendChild(n), i(this, u) || E(this, u, []);
|
|
312
|
-
const c = i(this, u).length;
|
|
313
|
-
n.setAttribute("store-root", ""), i(this, u).push(n), i(this, h).add(
|
|
314
|
-
s.subscribe(({ current: f, previous: d }) => {
|
|
315
|
-
const C = i(this, u)[c];
|
|
316
|
-
C.dispatchEvent(
|
|
317
|
-
new CustomEvent("beforeChildrenChange", {
|
|
318
|
-
bubbles: !0,
|
|
319
|
-
composed: !0
|
|
320
|
-
})
|
|
321
|
-
);
|
|
322
|
-
const K = Array.from(C.childNodes), re = Array.isArray(f) ? f : [f], Ne = Array.isArray(d) ? d : [d], ce = [], Q = [];
|
|
323
|
-
K.length && Ne.forEach((y, N) => {
|
|
324
|
-
re.includes(y) ? Q.push(y) : ce.push(K[N]);
|
|
325
|
-
}), re.forEach((y, N) => {
|
|
326
|
-
if (Q[N] != null) {
|
|
327
|
-
if (y !== Q[N]) {
|
|
328
|
-
const b = a(this, F, oe).call(this, y), X = K[N];
|
|
329
|
-
b instanceof Node && !X.isEqualNode(b) ? C.replaceChild(b, X) : C.removeChild(X);
|
|
330
|
-
}
|
|
331
|
-
} else {
|
|
332
|
-
const b = a(this, F, oe).call(this, y);
|
|
333
|
-
b instanceof Node && n.appendChild(b);
|
|
334
|
-
}
|
|
335
|
-
}), ce.forEach((y) => {
|
|
336
|
-
C.removeChild(y);
|
|
337
|
-
}), C.dispatchEvent(
|
|
338
|
-
new CustomEvent("afterChildrenChange", {
|
|
339
|
-
bubbles: !0,
|
|
340
|
-
composed: !0
|
|
341
|
-
})
|
|
342
|
-
);
|
|
343
|
-
})
|
|
344
|
-
);
|
|
345
|
-
} else if (s instanceof Y)
|
|
346
|
-
a(this, D, ne).call(this, e, s.node);
|
|
347
|
-
else if (s instanceof Function)
|
|
348
|
-
a(this, S, P).call(this, e, le(s) ? new s() : s());
|
|
349
|
-
else {
|
|
350
|
-
const n = a(this, H, ae).call(this, s);
|
|
351
|
-
n instanceof Node && a(this, D, ne).call(this, e, n);
|
|
352
|
-
}
|
|
353
|
-
}));
|
|
354
|
-
}, D = new WeakSet(), ne = function(e, t) {
|
|
355
|
-
!(e instanceof ShadowRoot) && t instanceof HTMLElement && t.tagName === "STYLE" ? (i(this, m).add(() => {
|
|
356
|
-
[...document.head.querySelectorAll("style")].find((n) => n.outerHTML === t.outerHTML) || document.head.appendChild(t);
|
|
357
|
-
}), i(this, h).add(() => {
|
|
358
|
-
t.remove();
|
|
359
|
-
})) : e.appendChild(t);
|
|
360
|
-
}, F = new WeakSet(), oe = function(e) {
|
|
361
|
-
return e instanceof Y ? e.node : typeof e == "function" ? le(e) ? new e() : e() : a(this, H, ae).call(this, e);
|
|
362
|
-
}, H = new WeakSet(), ae = function(e) {
|
|
363
|
-
if (e instanceof Node)
|
|
364
|
-
return e;
|
|
365
|
-
if (e != null) {
|
|
366
|
-
const t = String(e);
|
|
367
|
-
if (t.trim().startsWith("<") && t.trim().endsWith(">")) {
|
|
368
|
-
const s = document.createElement("div");
|
|
369
|
-
return s.innerHTML = t, s.firstElementChild;
|
|
370
|
-
} else
|
|
371
|
-
return document.createTextNode(t);
|
|
372
|
-
} else
|
|
373
|
-
return;
|
|
374
|
-
}, I = new WeakMap(), U = new WeakMap();
|
|
375
|
-
let de = Y;
|
|
376
|
-
export {
|
|
377
|
-
de as E
|
|
378
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Z=(f,e,t)=>{if(!e.has(f))throw TypeError("Cannot "+t)};var i=(f,e,t)=>(Z(f,e,"read from private field"),t?t.call(f):e.get(f)),a=(f,e,t)=>{if(e.has(f))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(f):e.set(f,t)},E=(f,e,t,s)=>(Z(f,e,"write to private field"),s?s.call(f,t):e.set(f,t),t);var r=(f,e,t)=>(Z(f,e,"access private method"),t);const b=require("./Store-Cr3VaD9G.cjs"),he=require("./browser-CpzFX2xg.cjs"),de=require("./object-CCiXnER2.cjs"),_=require("./string-DhgS_iFl.cjs"),we=require("./connector/index.cjs"),Le=new Set(["animate","animateMotion","animateTransform","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","listener","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidColor","stop","svg","switch","symbol","text","textPath","title","tspan","view","use"]);var o,u,h,w,m,g,P,ue,B,me,R,ge,L,j,T,ee,G,Se,$,Ee,W,be,z,ye,A,te,v,se,J,Ce,k,ie,x,ne,V,pe,M,oe,p,H,D,re,q,ae,F,ce,I,K;const U=class U{constructor(...e){a(this,P);a(this,B);a(this,R);a(this,L);a(this,T);a(this,G);a(this,$);a(this,W);a(this,z);a(this,A);a(this,v);a(this,J);a(this,k);a(this,x);a(this,V);a(this,M);a(this,p);a(this,D);a(this,q);a(this,F);a(this,o,null);a(this,u,new Set);a(this,h,new Set);a(this,w,void 0);a(this,m,void 0);a(this,g,void 0);a(this,I,e=>{i(this,u).forEach(t=>{t(e)}),i(this,u).clear()});a(this,K,(e,t)=>{i(this,h).forEach(s=>{s(e,t)}),i(this,h).clear(),r(this,x,ne).call(this)});if(he.isBrowser){const t=e[0],s=e[1];E(this,o,r(this,P,ue).call(this,t,s==null?void 0:s.forceSvg)),r(this,R,ge).call(this,s)}}get node(){return i(this,o)}set node(e){var t;r(this,x,ne).call(this),E(this,o,e),(t=i(this,w))==null||t.call(this),i(this,o)instanceof Element&&E(this,m,[...i(this,o).querySelectorAll("store-root")]),r(this,k,ie).call(this),r(this,L,j).call(this)}};o=new WeakMap,u=new WeakMap,h=new WeakMap,w=new WeakMap,m=new WeakMap,g=new WeakMap,P=new WeakSet,ue=function(e,t){let s=null;if(e instanceof Node)s=e;else if(typeof e=="string")if(!e.includes("<")&&e.includes("-"))s=new(customElements.get(e));else if(e.includes("<")){const n=document.createElement("div");n.innerHTML=e,s=n.firstElementChild}else Le.has(e)||t?s=document.createElementNS("http://www.w3.org/2000/svg",e):s=document.createElement(e);else s=document.createElement("div");return s},B=new WeakSet,me=function(e){return e instanceof HTMLElement||e instanceof SVGElement},R=new WeakSet,ge=function(e){if(!e)return;const t=r(this,B,me).call(this,i(this,o)),s=e.ref;delete e.ref,e!=null&&e.onConnect&&(i(this,u).add(e.onConnect),delete e.onConnect),e!=null&&e.onDisconnect&&(i(this,h).add(e.onDisconnect),delete e.onDisconnect);let n,c;for(const l in e){const d=e[l];l==="class"&&t?r(this,T,ee).call(this,d):l==="style"&&t?r(this,W,be).call(this,d):l==="lightChildren"?r(this,p,H).call(this,i(this,o),d):l==="children"?r(this,p,H).call(this,i(this,o)instanceof Element?i(this,o).shadowRoot||i(this,o):i(this,o),d):l==="connectedClass"?i(this,u).add(()=>{requestAnimationFrame(()=>{i(this,o).classList.add(typeof d=="boolean"?"connected":d)})}):l.startsWith("on")?(c||(c={}),c[l]=d):(n||(n={}),n[l]=d)}r(this,V,pe).call(this,n),r(this,J,Ce).call(this,c),s&&(typeof s=="function"?s(i(this,o)):s.current=i(this,o)),r(this,L,j).call(this)},L=new WeakSet,j=function(){if(he.isBrowser&&(i(this,h).size||i(this,u).size)){const e=i(this,o)instanceof DocumentFragment?i(this,o).firstChild:i(this,o);E(this,w,we.connector.subscribe(e,{connectCallback:i(this,I),disconnectCallback:i(this,K),unsubscribeAfterDisconnect:!0,maxWaitSec:20}))}},T=new WeakSet,ee=function(e){if(e){if(typeof e=="string")i(this,o).classList.add(e);else if(Array.isArray(e))e.forEach(t=>{t&&r(this,T,ee).call(this,t)});else if(typeof e=="object")if(e instanceof b.Store)r(this,G,Se).call(this,e);else for(const t in e){const s=e[t];s instanceof b.Store?r(this,$,Ee).call(this,t,s):s?i(this,o).classList.add(t):i(this,o).classList.remove(t)}}else return},G=new WeakSet,Se=function(e){i(this,h).add(e.subscribe(({current:t,previous:s})=>{s&&[s].flat().forEach(n=>{n&&i(this,o).classList.remove(n)}),t&&[t].flat().forEach(n=>{n&&i(this,o).classList.add(n)})}))},$=new WeakSet,Ee=function(e,t){i(this,h).add(t.subscribe(({current:s})=>{s?i(this,o).classList.add(e):i(this,o).classList.remove(e)}))},W=new WeakSet,be=function(e){if(!e)return;i(this,o).tagName==="style"||i(this,o).tagName==="STYLE"?r(this,A,te).call(this,e):r(this,z,ye).call(this,e)},z=new WeakSet,ye=function(e){for(const t in e){const s=t,n=e[s];n instanceof b.Store?i(this,h).add(n.subscribe(({current:c})=>{r(this,v,se).call(this,s,c)})):r(this,v,se).call(this,s,n)}},A=new WeakSet,te=function(e){for(const t in e){const s=e[t];if(typeof s=="object"&&!(s instanceof b.Store))i(this,o).appendChild(document.createTextNode(`${t} {`)),r(this,A,te).call(this,s),i(this,o).appendChild(document.createTextNode("}"));else if(s instanceof b.Store){const n=document.createTextNode("");i(this,h).add(s.subscribe(c=>{c.current?n.nodeValue=`${_.camelToKebab(t)}: ${c.current};`:n.nodeValue=""})),i(this,o).appendChild(n)}else i(this,o).appendChild(document.createTextNode(`${_.camelToKebab(t)}: ${s};`))}},v=new WeakSet,se=function(e,t){e.includes("--")?t?i(this,o).style.setProperty(e,t.toString()):i(this,o).style.removeProperty(e):t?i(this,o).style[e]=t.toString():i(this,o).style[e]=""},J=new WeakSet,Ce=function(e){if(e){i(this,g)||E(this,g,[]);for(const t in e){const s=t,n=_.uncapitalize(s.split("on").slice(1).join("on")),c=e[s];typeof c=="object"?i(this,g).push({name:n,callback:c.callback,options:c.options}):typeof c=="function"&&i(this,g).push({name:n,callback:c})}r(this,k,ie).call(this)}},k=new WeakSet,ie=function(){var e;(e=i(this,g))==null||e.forEach(t=>{i(this,o).addEventListener(t.name,t.callback,t.options)})},x=new WeakSet,ne=function(){var e;(e=i(this,g))==null||e.forEach(t=>{i(this,o).removeEventListener(t.name,t.callback,t.options)})},V=new WeakSet,pe=function(e){for(const t in e){const s=e[t];s instanceof b.Store?i(this,h).add(s.subscribe(({current:n})=>{r(this,M,oe).call(this,t,n)})):r(this,M,oe).call(this,t,s)}},M=new WeakSet,oe=function(e,t){var n,c;const s=i(this,o);if(e in s&&!((c=(n=s.constructor)==null?void 0:n.observedAttributes)!=null&&c.includes(e)))t!=null&&(s[e]=t.toString());else if(t!=null){const l=t.toString();e.includes("xlink")?s.setAttributeNS("http://www.w3.org/1999/xlink",e,l):s.setAttribute(e,l)}},p=new WeakSet,H=function(e,t){t&&(t=[t].flat(),t.forEach(s=>{if(s instanceof b.Store){const n=document.createElement("div");n.style.display="contents",e.appendChild(n),i(this,m)||E(this,m,[]);const c=i(this,m).length;n.setAttribute("store-root",""),i(this,m).push(n),i(this,h).add(s.subscribe(({current:l,previous:d})=>{const y=i(this,m)[c];y.dispatchEvent(new CustomEvent("beforeChildrenChange",{bubbles:!0,composed:!0}));const Y=Array.from(y.childNodes),le=Array.isArray(l)?l:[l],Ne=Array.isArray(d)?d:[d],fe=[],Q=[];Y.length&&Ne.forEach((S,N)=>{le.includes(S)?Q.push(S):fe.push(Y[N])}),le.forEach((S,N)=>{if(Q[N]!=null){if(S!==Q[N]){const C=r(this,q,ae).call(this,S),X=Y[N];C instanceof Node&&!X.isEqualNode(C)?y.replaceChild(C,X):y.removeChild(X)}}else{const C=r(this,q,ae).call(this,S);C instanceof Node&&n.appendChild(C)}}),fe.forEach(S=>{y.removeChild(S)}),y.dispatchEvent(new CustomEvent("afterChildrenChange",{bubbles:!0,composed:!0}))}))}else if(s instanceof U)r(this,D,re).call(this,e,s.node);else if(s instanceof Function)r(this,p,H).call(this,e,de.isESClass(s)?new s:s());else{const n=r(this,F,ce).call(this,s);n instanceof Node&&r(this,D,re).call(this,e,n)}}))},D=new WeakSet,re=function(e,t){!(e instanceof ShadowRoot)&&t instanceof HTMLElement&&t.tagName==="STYLE"?(i(this,u).add(()=>{[...document.head.querySelectorAll("style")].find(n=>n.outerHTML===t.outerHTML)||document.head.appendChild(t)}),i(this,h).add(()=>{t.remove()})):e.appendChild(t)},q=new WeakSet,ae=function(e){return e instanceof U?e.node:typeof e=="function"?de.isESClass(e)?new e:e():r(this,F,ce).call(this,e)},F=new WeakSet,ce=function(e){if(e instanceof Node)return e;if(e!=null){const t=String(e);if(t.trim().startsWith("<")&&t.trim().endsWith(">")){const s=document.createElement("div");return s.innerHTML=t,s.firstElementChild}else return document.createTextNode(t)}else return},I=new WeakMap,K=new WeakMap;let O=U;exports.ElementConstructor=O;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var b=(c,e,t)=>{if(!e.has(c))throw TypeError("Cannot "+t)};var r=(c,e,t)=>(b(c,e,"read from private field"),t?t.call(c):e.get(c)),o=(c,e,t)=>{if(e.has(c))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(c):e.set(c,t)},i=(c,e,t,n)=>(b(c,e,"write to private field"),n?n.call(c,t):e.set(c,t),t);const B=require("./order/index.cjs"),k=require("./window-resizer/index.cjs"),T=require("./Store-Cr3VaD9G.cjs");var y,g,q,m,a,d,w;class z{constructor(e){o(this,y,void 0);o(this,g,void 0);o(this,q,void 0);o(this,m,void 0);o(this,a,void 0);o(this,d,void 0);o(this,w,void 0);i(this,y,e);const t=e.indexOf("?");t>=0&&(e=e.slice(0,t));const n=e.split(".");i(this,g,n[0]);const x=/\d+x/g,h=n.find(u=>u.match(x));i(this,q,h?parseInt(h):1);const f=/\d+max/g,M=/\d+min/g,s=/\d+mar/g,l=/\d+mir/g,S=n.find(u=>u.match(f)),I=n.find(u=>u.match(M)),V=n.find(u=>u.match(s)),$=n.find(u=>u.match(l));V?(i(this,a,parseInt(V)),i(this,d,"max"),i(this,m,`(max-aspect-ratio: ${r(this,a)})`)):$?(i(this,a,parseInt($)),i(this,d,"max"),i(this,m,`(min-aspect-ratio: ${r(this,a)})`)):S?(i(this,a,parseInt(S)),i(this,d,"max"),i(this,m,`(max-width: ${r(this,a)}px)`)):I?(i(this,a,parseInt(I)),i(this,m,`(min-width: ${r(this,a)}px)`),i(this,d,"min")):(i(this,a,0),i(this,m,`(min-width: ${r(this,a)}px)`),i(this,d,"min")),i(this,w,"."+n[n.length-1])}get url(){return r(this,y)}get name(){return r(this,g)}get density(){return r(this,q)}get query(){return r(this,m)}get extension(){return r(this,w)}get queryType(){return r(this,d)}get queryValue(){return r(this,a)}}y=new WeakMap,g=new WeakMap,q=new WeakMap,m=new WeakMap,a=new WeakMap,d=new WeakMap,w=new WeakMap;var p;class A{constructor(e){o(this,p,void 0);i(this,p,new Map);const t=typeof e=="string"?e.trim().split(",").map(s=>s.trim()).filter(s=>!!s):e,n=[];t.forEach(s=>{const l=new z(s);n.push([l.query,l])});const x=n.filter(s=>s[1].queryType.includes("max")).sort((s,l)=>l[1].queryValue-s[1].queryValue),h=n.filter(s=>s[1].queryType.includes("min")&&s[1].queryValue!==0).sort((s,l)=>s[1].queryValue-l[1].queryValue),f=n.filter(s=>s[0]==="(min-width: 0px)");(f?[...f,...x,...h]:[...x,...h]).forEach(s=>{r(this,p).has(s[0])||r(this,p).set(s[0],[]),r(this,p).get(s[0]).push(s[1])})}get mediaBuckets(){return r(this,p)}}p=new WeakMap;var R,E;class _ extends T.Store{constructor(t){super(void 0);o(this,R,void 0);o(this,E,()=>{let t;r(this,R).mediaBuckets.forEach((h,f)=>{matchMedia(f).matches&&(t=h)});let n,x=0;t==null||t.forEach(h=>{h.density>x&&h.density<=Math.max(devicePixelRatio,1)&&(x=h.density,n=h)}),t!=null&&t.length&&!n&&(n=t[0]),this.current=n});i(this,R,new A(t.srcset))}close(){super.close(),this.disconnect()}connect(){k.windowResizer.subscribe(r(this,E),B.RESIZE_ORDER.SOURCE_MANAGER)}disconnect(){k.windowResizer.unsubscribe(r(this,E))}}R=new WeakMap,E=new WeakMap;exports.Source=z;exports.SourceManager=_;exports.SourceSet=A;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var N=(i,t,e)=>{if(!t.has(i))throw TypeError("Cannot "+e)};var r=(i,t,e)=>(N(i,t,"read from private field"),e?e.call(i):t.get(i)),s=(i,t,e)=>{if(t.has(i))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(i):t.set(i,e)},a=(i,t,e,c)=>(N(i,t,"write to private field"),c?c.call(i,e):t.set(i,e),e);var p=(i,t,e)=>(N(i,t,"access private method"),e);const q=require("./browser-CpzFX2xg.cjs");var f,d,S;class z{constructor(){s(this,f,null);s(this,d,"");s(this,S,"");q.isBrowser&&(a(this,d,document.documentElement.getAttribute("data-project")||"unnamed"),a(this,S,r(this,d)?r(this,d)+"-store-registry":"store-registry"))}get projectName(){return r(this,d)}get localStoreRegistryName(){return r(this,S)}get loadedState(){return r(this,f)}saveState(){const t=this.getState(),e=JSON.stringify(t);localStorage.setItem(r(this,S),e)}loadState(t=localStorage.getItem(r(this,S))){t&&(typeof t=="string"?a(this,f,JSON.parse(t)):a(this,f,t),l.current.forEach(e=>{e.passport&&this.updateStore(e)}))}resetState(){l.current.forEach(t=>{t.passport&&t.reset()}),this.saveState()}updateStore(t){var c,v;if(!Array.isArray((c=r(this,f))==null?void 0:c.stores))return t;const e=t.passport;if(e){const A=(v=r(this,f))==null?void 0:v.stores.find(j=>j.name===e.name);A&&(t.current=A.value)}return t}getState(){const t={stores:[]};return l.current.forEach(e=>{e.passport&&(t.stores.find(c=>c.name===e.passport.name)||t.stores.push({value:e.current,name:e.passport.name}))}),t}}f=new WeakMap,d=new WeakMap,S=new WeakMap;const k=new z;var g,h,m,n,o,u,y,b,w,E;class C{constructor(t,e){s(this,w);s(this,g,void 0);s(this,h,void 0);s(this,m,void 0);s(this,n,new Set);s(this,o,void 0);s(this,u,void 0);s(this,y,void 0);s(this,b,void 0);a(this,g,e==null?void 0:e.passport),a(this,h,{initial:t,previous:void 0,current:t}),a(this,m,(e==null?void 0:e.equalityCheck)||((c,v)=>c===v)),e!=null&&e.validate&&this.addMiddleware(e.validate),a(this,y,(e==null?void 0:e.notifyAndClose)||!1),a(this,b,(e==null?void 0:e.invisible)||!1),a(this,o,(e==null?void 0:e.skipSubscribeNotification)||!1),r(this,g)&&k.updateStore(this)}get passport(){return r(this,g)}get initial(){return r(this,h).initial}get previous(){return r(this,h).previous}get current(){return r(this,h).current}set current(t){if(!r(this,m).call(this,r(this,h).current,t)){if(r(this,h).previous=r(this,h).current,r(this,u))for(const e of r(this,u))t=e(t);r(this,h).current=t,p(this,w,E).call(this),r(this,y)&&this.close()}}get subscribers(){return r(this,n)}addMiddleware(t){r(this,u)||a(this,u,new Set),r(this,u).add(t)}removeMiddleware(t){var e,c;(e=r(this,u))==null||e.delete(t),(c=r(this,u))!=null&&c.size||a(this,u,void 0)}subscribe(t){return!r(this,b)&&!r(this,n).size&&M(this),r(this,n).add(t),r(this,o)||t(r(this,h)),()=>{this.unsubscribe(t)}}unsubscribe(t){r(this,n).delete(t),r(this,n).size||R(this)}reset(){this.current=Array.isArray(this.initial)?[...this.initial]:this.initial}close(){r(this,n).clear(),R(this)}}g=new WeakMap,h=new WeakMap,m=new WeakMap,n=new WeakMap,o=new WeakMap,u=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakSet,E=function(){for(const t of r(this,n))t(r(this,h))};const l=new C([],{invisible:!0});function M(i){l.current.includes(i)||(l.current=[...l.current,i])}function R(i){l.current.includes(i)&&(l.current=l.current.filter(t=>t!==i))}exports.Store=C;exports.activeStores=l;exports.storeRegistry=k;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var o = Object.defineProperty, g = Object.defineProperties;
|
|
2
|
-
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var u = Object.getOwnPropertySymbols;
|
|
4
|
-
var O = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var l = (i, e, t) => e in i ? o(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
|
|
6
|
-
for (var t in e || (e = {}))
|
|
7
|
-
O.call(e, t) && l(i, t, e[t]);
|
|
8
|
-
if (u)
|
|
9
|
-
for (var t of u(e))
|
|
10
|
-
b.call(e, t) && l(i, t, e[t]);
|
|
11
|
-
return i;
|
|
12
|
-
}, d = (i, e) => g(i, F(e));
|
|
13
|
-
var f = (i, e, t) => {
|
|
14
|
-
if (!e.has(i))
|
|
15
|
-
throw TypeError("Cannot " + t);
|
|
16
|
-
};
|
|
17
|
-
var n = (i, e, t) => (f(i, e, "read from private field"), t ? t.call(i) : e.get(i)), m = (i, e, t) => {
|
|
18
|
-
if (e.has(i))
|
|
19
|
-
throw TypeError("Cannot add the same private member more than once");
|
|
20
|
-
e instanceof WeakSet ? e.add(i) : e.set(i, t);
|
|
21
|
-
}, h = (i, e, t, a) => (f(i, e, "write to private field"), a ? a.call(i, t) : e.set(i, t), t);
|
|
22
|
-
import { l as x } from "./easings-BKi40vHz.js";
|
|
23
|
-
import { c as S } from "./math-BOBiC4TN.js";
|
|
24
|
-
import { n as p, p as T } from "./polyfills-X6KXuHg-.js";
|
|
25
|
-
import { A as q } from "./Animation-uimN7sdT.js";
|
|
26
|
-
var s, r;
|
|
27
|
-
class j extends q {
|
|
28
|
-
constructor(t, a) {
|
|
29
|
-
super(t || 0, a);
|
|
30
|
-
m(this, s, x);
|
|
31
|
-
m(this, r, 1e3);
|
|
32
|
-
this.updateOptions(d(c({}, a), { equalize: !0 }));
|
|
33
|
-
}
|
|
34
|
-
updateOptions(t) {
|
|
35
|
-
super.updateOptions(t), h(this, s, p(t == null ? void 0 : t.easing, n(this, s))), h(this, r, p(t == null ? void 0 : t.duration, n(this, r)));
|
|
36
|
-
}
|
|
37
|
-
handleAnimationFrame(t) {
|
|
38
|
-
const a = t.timeElapsedSinceSubscription / 1e3 / (n(this, r) / 1e3), A = n(this, s).call(this, S(a, 0, 1));
|
|
39
|
-
this.current = T(this.from + (this.target - this.from) * A, 6), a > 1 && this.unlistenAnimationFrame();
|
|
40
|
-
}
|
|
41
|
-
start() {
|
|
42
|
-
this.unlistenAnimationFrame(), this.listenAnimationFrame();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
s = new WeakMap(), r = new WeakMap();
|
|
46
|
-
export {
|
|
47
|
-
j as T
|
|
48
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var f=Object.defineProperty,F=Object.defineProperties;var o=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var m=(t,i,e)=>i in t?f(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,i)=>{for(var e in i||(i={}))O.call(i,e)&&m(t,e,i[e]);if(c)for(var e of c(i))b.call(i,e)&&m(t,e,i[e]);return t},g=(t,i)=>F(t,o(i));var A=(t,i,e)=>{if(!i.has(t))throw TypeError("Cannot "+e)};var a=(t,i,e)=>(A(t,i,"read from private field"),e?e.call(t):i.get(t)),u=(t,i,e)=>{if(i.has(t))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(t):i.set(t,e)},h=(t,i,e,s)=>(A(t,i,"write to private field"),s?s.call(t,e):i.set(t,e),e);const p=require("./easings-DsS5-Kqc.cjs"),w=require("./math-GDWEqu7y.cjs"),l=require("./polyfills-CM4SCDTt.cjs"),C=require("./Animation-BInSRYNr.cjs");var n,r;class S extends C.Animation{constructor(e,s){super(e||0,s);u(this,n,p.linear);u(this,r,1e3);this.updateOptions(g(d({},s),{equalize:!0}))}updateOptions(e){super.updateOptions(e),h(this,n,l.nullishCoalescing(e==null?void 0:e.easing,a(this,n))),h(this,r,l.nullishCoalescing(e==null?void 0:e.duration,a(this,r)))}handleAnimationFrame(e){const s=e.timeElapsedSinceSubscription/1e3/(a(this,r)/1e3),q=a(this,n).call(this,w.clamp(s,0,1));this.current=l.preciseNumber(this.from+(this.target-this.from)*q,6),s>1&&this.unlistenAnimationFrame()}start(){this.unlistenAnimationFrame(),this.listenAnimationFrame()}}n=new WeakMap,r=new WeakMap;exports.Tweened=S;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var W=(e,s,o)=>{if(!s.has(e))throw TypeError("Cannot "+o)};var i=(e,s,o)=>(W(e,s,"read from private field"),o?o.call(e):s.get(e)),n=(e,s,o)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,o)},t=(e,s,o,v)=>(W(e,s,"write to private field"),v?v.call(e,o):s.set(e,o),o);const k=require("./order/index.cjs"),z=require("./window-resizer/index.cjs"),A=require("./browser-CpzFX2xg.cjs"),T=require("detect-gpu"),q=require("./Store-Cr3VaD9G.cjs");var r,l,m,c,g,u,w,x,d;class I{constructor(){n(this,r,void 0);n(this,l,void 0);n(this,m,void 0);n(this,c,void 0);n(this,g,void 0);n(this,u,void 0);n(this,w,void 0);n(this,x,void 0);n(this,d,void 0);var s,o;if(t(this,r,"unknown"),t(this,l,"unknown"),t(this,m,0),t(this,c,null),t(this,g,!1),t(this,u,!1),t(this,w,!1),t(this,x,!1),t(this,d,!1),this.resize=()=>{t(this,g,/Mobi|Android/i.test(navigator.userAgent)),t(this,u,"ontouchstart"in window||navigator.maxTouchPoints>0),setTimeout(()=>{t(this,u,"ontouchstart"in window||navigator.maxTouchPoints>0)},0)},A.isBrowser){t(this,c,T.getGPUTier()),i(this,c).then(a=>{t(this,l,a.gpu||"unknown"),t(this,m,a.tier)}),this.resize(),z.windowResizer.subscribe(this.resize,k.RESIZE_ORDER.DEVICE);{const a=document.createElement("canvas"),P=a.getContext("webgl")||a.getContext("experimental-webgl");t(this,w,P&&P instanceof WebGLRenderingContext||!1)}{const a=document.createElement("canvas");a.getContext("2d")&&t(this,x,a.toDataURL("image/webp").indexOf("data:image/webp")==0)}const v=window.navigator.userAgent,E=((o=(s=window.navigator)==null?void 0:s.userAgentData)==null?void 0:o.platform)||window.navigator.platform,C=["Macintosh","MacIntel","MacPPC","Mac68K","macOS"],O=["Win32","Win64","Windows","WinCE"],R=["iPhone","iPad","iPod"];C.includes(E)?(t(this,r,"macOS"),t(this,d,!0)):R.includes(E)?(t(this,r,"iOS"),t(this,d,!0)):O.includes(E)?t(this,r,"Windows"):/Android/.test(v)?t(this,r,"Android"):/Linux/.test(E)?t(this,r,"Linux"):t(this,r,"unknown")}}get OS(){return i(this,r)}get gpu(){return i(this,l)}get gpuTier(){return i(this,m)}get gpuDetection(){return i(this,c)}get isMobile(){return i(this,g)}get isTouch(){return i(this,u)}get isWebgl(){return i(this,w)}get isWebp(){return i(this,x)}get isApple(){return i(this,d)}}r=new WeakMap,l=new WeakMap,m=new WeakMap,c=new WeakMap,g=new WeakMap,u=new WeakMap,w=new WeakMap,x=new WeakMap,d=new WeakMap;const M=new I;var D=(e=>(e.mobile="600px",e.tablet="1024px",e.notebook="1280px",e.desktop="1281px",e))(D||{}),S=(e=>(e["<=mobile"]="(max-width: 600px)",e[">=mobile"]="(min-width: 601px)",e["<=tablet"]="(max-width: 1024px)",e[">=tablet"]="(min-width: 1025px)",e["<=notebook"]="(max-width: 1280px)",e[">=notebook"]="(min-width: 1281px)",e["<=desktop"]="(max-width: 1280px)",e[">=desktop"]="(min-width: 1281px)",e))(S||{}),p,b,f,h;class L{constructor(){n(this,p,void 0);n(this,b,void 0);n(this,f,void 0);n(this,h,void 0);t(this,p,0),t(this,b,0),t(this,f,0),t(this,h,new q.Store(void 0)),this.resize=()=>{t(this,p,document.documentElement.clientWidth),t(this,b,innerHeight),t(this,f,devicePixelRatio),matchMedia("(max-width: 600px)").matches?i(this,h).current="mobile":matchMedia("(max-width: 1024px)").matches?i(this,h).current="tablet":matchMedia("(max-width: 1280px)").matches?i(this,h).current="notebook":matchMedia("(min-width: 1281px)").matches&&(i(this,h).current="desktop")},A.isBrowser&&(this.resize(),z.windowResizer.subscribe(this.resize,k.RESIZE_ORDER.DEVICE))}get width(){return i(this,p)}get height(){return i(this,b)}get type(){return i(this,h)}get pixelRatio(){return i(this,f)}}p=new WeakMap,b=new WeakMap,f=new WeakMap,h=new WeakMap;const _=new L;exports.ViewportBreakpoints=D;exports.ViewportMediaRules=S;exports.device=M;exports.viewport=_;
|