@maggioli-design-system/mds-paginator-item 2.1.0 → 2.2.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/dist/cjs/{index-788f9a49.js → index-969219be.js} +58 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mds-paginator-item.cjs.entry.js +59 -4
- package/dist/cjs/mds-paginator-item.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/keyboard-manager.js +40 -0
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +38 -26
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -3
- package/dist/collection/dictionary/icon.js +3 -1
- package/dist/collection/dictionary/typography.js +5 -1
- package/dist/components/mds-paginator-item.js +59 -4
- package/dist/esm/{index-21e2f636.js → index-43abfe8a.js} +58 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/mds-paginator-item.entry.js +59 -4
- package/dist/esm/mds-paginator-item.js +4 -4
- package/dist/esm-es5/index-43abfe8a.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/p-043d636e.system.js +1 -0
- package/dist/mds-paginator-item/p-545e4388.system.js +2 -0
- package/dist/mds-paginator-item/p-632f225a.system.entry.js +1 -0
- package/dist/mds-paginator-item/p-6f0a5176.entry.js +1 -0
- package/dist/mds-paginator-item/p-cd35cb31.js +2 -0
- package/dist/stats.json +113 -38
- package/dist/types/common/keyboard-manager.d.ts +11 -0
- package/dist/types/dictionary/icon.d.ts +2 -1
- package/dist/types/dictionary/typography.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/dist/types/types/typography.d.ts +1 -0
- package/package.json +3 -3
- package/readme.md +20 -0
- package/src/common/keyboard-manager.ts +46 -0
- package/src/components/mds-paginator-item/mds-paginator-item.css +17 -4
- package/src/components/mds-paginator-item/mds-paginator-item.tsx +25 -8
- package/src/components/mds-paginator-item/readme.md +20 -0
- package/src/dictionary/icon.ts +4 -0
- package/src/dictionary/typography.ts +9 -3
- package/src/fixtures/icons.json +174 -0
- package/src/fixtures/iconsauce.json +175 -0
- package/src/tailwind/components.css +1 -0
- package/src/types/typography.ts +4 -0
- package/www/build/mds-paginator-item.esm.js +1 -1
- package/www/build/mds-paginator-item.js +1 -1
- package/www/build/p-043d636e.system.js +1 -0
- package/www/build/p-545e4388.system.js +2 -0
- package/www/build/p-632f225a.system.entry.js +1 -0
- package/www/build/p-6f0a5176.entry.js +1 -0
- package/www/build/p-cd35cb31.js +2 -0
- package/dist/esm-es5/index-21e2f636.js +0 -2
- package/dist/mds-paginator-item/p-27de097c.js +0 -2
- package/dist/mds-paginator-item/p-4b44f6c6.system.entry.js +0 -1
- package/dist/mds-paginator-item/p-50a19f7a.system.js +0 -2
- package/dist/mds-paginator-item/p-dd301d2d.system.js +0 -1
- package/dist/mds-paginator-item/p-fb4c9e4e.entry.js +0 -1
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -15
- package/www/build/p-27de097c.js +0 -2
- package/www/build/p-4b44f6c6.system.entry.js +0 -1
- package/www/build/p-50a19f7a.system.js +0 -2
- package/www/build/p-dd301d2d.system.js +0 -1
- package/www/build/p-fb4c9e4e.entry.js +0 -1
|
@@ -111,6 +111,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
111
111
|
}
|
|
112
112
|
return vnode;
|
|
113
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
116
|
+
* possible text content.
|
|
117
|
+
*
|
|
118
|
+
* @param tag the tag for this element
|
|
119
|
+
* @param text possible text content for the node
|
|
120
|
+
* @returns a newly-minted virtual DOM node
|
|
121
|
+
*/
|
|
114
122
|
const newVNode = (tag, text) => {
|
|
115
123
|
const vnode = {
|
|
116
124
|
$flags$: 0,
|
|
@@ -125,6 +133,12 @@ const newVNode = (tag, text) => {
|
|
|
125
133
|
return vnode;
|
|
126
134
|
};
|
|
127
135
|
const Host = {};
|
|
136
|
+
/**
|
|
137
|
+
* Check whether a given node is a Host node or not
|
|
138
|
+
*
|
|
139
|
+
* @param node the virtual DOM node to check
|
|
140
|
+
* @returns whether it's a Host node or not
|
|
141
|
+
*/
|
|
128
142
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
129
143
|
/**
|
|
130
144
|
* Parse a new property value for a given property type.
|
|
@@ -169,6 +183,7 @@ const parsePropertyValue = (propValue, propType) => {
|
|
|
169
183
|
// so no need to change to a different type
|
|
170
184
|
return propValue;
|
|
171
185
|
};
|
|
186
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
172
187
|
/**
|
|
173
188
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
174
189
|
* @param elm the target of the Event
|
|
@@ -383,6 +398,21 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
383
398
|
}
|
|
384
399
|
return elm;
|
|
385
400
|
};
|
|
401
|
+
/**
|
|
402
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
403
|
+
* add them to the DOM in the appropriate place.
|
|
404
|
+
*
|
|
405
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
406
|
+
* DOM nodes
|
|
407
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
408
|
+
* inserted before (optional)
|
|
409
|
+
* @param parentVNode the parent virtual DOM node
|
|
410
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
411
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
412
|
+
* creating DOM nodes (inclusive)
|
|
413
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
414
|
+
* creating DOM nodes (inclusive)
|
|
415
|
+
*/
|
|
386
416
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
387
417
|
let containerElm = (parentElm);
|
|
388
418
|
let childNode;
|
|
@@ -399,6 +429,19 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
399
429
|
}
|
|
400
430
|
}
|
|
401
431
|
};
|
|
432
|
+
/**
|
|
433
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
434
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
435
|
+
* should no longer be shown.
|
|
436
|
+
*
|
|
437
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
438
|
+
*
|
|
439
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
440
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
441
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
442
|
+
* @param vnode a VNode
|
|
443
|
+
* @param elm an element
|
|
444
|
+
*/
|
|
402
445
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
403
446
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
404
447
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -590,7 +633,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
590
633
|
*
|
|
591
634
|
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
592
635
|
* changing order within a `children` array or something along those lines then
|
|
593
|
-
* we could obtain a false
|
|
636
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
637
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
594
638
|
*
|
|
595
639
|
* @param leftVNode the first VNode to check
|
|
596
640
|
* @param rightVNode the second VNode to check
|
|
@@ -654,6 +698,18 @@ const patch = (oldVNode, newVNode) => {
|
|
|
654
698
|
elm.data = text;
|
|
655
699
|
}
|
|
656
700
|
};
|
|
701
|
+
/**
|
|
702
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
703
|
+
*
|
|
704
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
705
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
706
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
707
|
+
* relocation, and reflecting attributes.
|
|
708
|
+
*
|
|
709
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
710
|
+
* the DOM node into which it should be rendered.
|
|
711
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
712
|
+
*/
|
|
657
713
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
658
714
|
const hostElm = hostRef.$hostElement$;
|
|
659
715
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -1266,4 +1322,4 @@ const flush = () => {
|
|
|
1266
1322
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1267
1323
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1268
1324
|
|
|
1269
|
-
export { Host as H, bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1325
|
+
export { Host as H, bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-43abfe8a.js';
|
|
2
|
+
export { s as setNonce } from './index-43abfe8a.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm v2.22.
|
|
5
|
+
Stencil Client Patch Esm v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{"icon":[
|
|
14
|
+
return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{"icon":[513],"active":[516],"disabled":[516]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,21 +1,76 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-43abfe8a.js';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
class KeyboardManager {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.elements = [];
|
|
6
|
+
this.handleClickBehaviorDispatchEvent = (event) => {
|
|
7
|
+
if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
8
|
+
event.target.click();
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
this.handleEscapeBehaviorDispatchEvent = (event) => {
|
|
12
|
+
if (event.code === 'Escape' && this.escapeCallback) {
|
|
13
|
+
this.escapeCallback();
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
this.addElement = (el, name = 'element') => {
|
|
17
|
+
this.elements[name] = el;
|
|
18
|
+
};
|
|
19
|
+
this.attachClickBehavior = (name = 'element') => {
|
|
20
|
+
if (this.elements[name]) {
|
|
21
|
+
this.elements[name].addEventListener('keydown', this.handleClickBehaviorDispatchEvent);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.detachClickBehavior = (name = 'element') => {
|
|
25
|
+
if (this.elements[name]) {
|
|
26
|
+
this.elements[name].removeEventListener('keydown', this.handleClickBehaviorDispatchEvent);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
this.attachEscapeBehavior = (callBack) => {
|
|
30
|
+
this.escapeCallback = callBack;
|
|
31
|
+
if (typeof window !== undefined) {
|
|
32
|
+
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
this.detachEscapeBehavior = () => {
|
|
36
|
+
this.escapeCallback = null;
|
|
37
|
+
if (typeof window !== undefined) {
|
|
38
|
+
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
}
|
|
4
43
|
|
|
5
|
-
const mdsPaginatorItemCss = ".fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:
|
|
44
|
+
const mdsPaginatorItemCss = "@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0px}:host([active]){pointer-events:none;background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected)}:host([disabled]){pointer-events:none;background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled)}.icon{padding-left:0px;padding-right:0px}";
|
|
6
45
|
|
|
7
46
|
const MdsPaginatorItem = class {
|
|
8
47
|
constructor(hostRef) {
|
|
9
48
|
registerInstance(this, hostRef);
|
|
49
|
+
this.km = new KeyboardManager();
|
|
50
|
+
this.componentDidLoad = () => {
|
|
51
|
+
this.km.addElement(this.host);
|
|
52
|
+
this.km.attachClickBehavior();
|
|
53
|
+
};
|
|
54
|
+
this.componentDidUpdate = () => {
|
|
55
|
+
if (!this.disabled && !this.active) {
|
|
56
|
+
this.km.attachClickBehavior();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.km.detachClickBehavior();
|
|
60
|
+
};
|
|
61
|
+
this.disconnectedCallback = () => {
|
|
62
|
+
this.km.detachClickBehavior();
|
|
63
|
+
};
|
|
10
64
|
this.icon = undefined;
|
|
11
65
|
this.active = undefined;
|
|
12
66
|
this.disabled = undefined;
|
|
13
67
|
}
|
|
14
68
|
render() {
|
|
15
|
-
return (h(Host, {
|
|
69
|
+
return (h(Host, { tabindex: "0" }, this.icon !== undefined
|
|
16
70
|
? h("mds-icon", { name: this.icon })
|
|
17
71
|
: h("mds-text", { class: "text", typography: "detail" }, h("slot", null))));
|
|
18
72
|
}
|
|
73
|
+
get host() { return getElement(this); }
|
|
19
74
|
};
|
|
20
75
|
MdsPaginatorItem.style = mdsPaginatorItemCss;
|
|
21
76
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-43abfe8a.js';
|
|
2
|
+
export { s as setNonce } from './index-43abfe8a.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v2.22.
|
|
5
|
+
Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{"icon":[
|
|
17
|
+
return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{"icon":[513],"active":[516],"disabled":[516]}]]]], options);
|
|
18
18
|
});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,i[0]&&(n=0)),n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-paginator-item";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(n);if(t){{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var c=newVNode(e,null);c.$attrs$=t;if(i.length>0){c.$children$=i}return c};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a;var o=getScopeId(t);var s=styles.get(o);e=e.nodeType===11?e:doc;if(s){if(typeof s==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var l=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(o)){{{l=doc.createElement("style");l.innerHTML=s}var u=(a=plt.$nonce$)!==null&&a!==void 0?a:queryNonceMetaTagContent(doc);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(i){i.add(o)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[s],false)}}return o};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var setAccessor=function(e,t,n,r,a,o){if(n!==r){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="class"){var i=e.classList;var l=parseClassList(n);var u=parseClassList(r);i.remove.apply(i,l.filter((function(e){return e&&!u.includes(e)})));i.add.apply(i,u.filter((function(e){return e&&!l.includes(e)})))}else{var c=isComplexType(r);if((s||c&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var f=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=f){e[t]=f}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!c){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(r in o){if(!(r in s)){setAccessor(a,r,o[r],undefined,n,t.$flags$)}}}for(r in s){setAccessor(a,r,o[r],s[r],n,t.$flags$)}};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else{s=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,n,r,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=r.length-1;var c=r[0];var f=r[u];var $;while(a<=s&&o<=u){if(i==null){i=t[++a]}else if(l==null){l=t[--s]}else if(c==null){c=r[++o]}else if(f==null){f=r[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=r[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=r[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=r[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=r[++o]}else{{$=createElm(t&&t[o],n,o);c=r[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,r[u+1]==null?null:r[u+1].$elm$,n,r,o,u)}else if(o>u){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;if(s===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}}else if(e.$text$!==s){n.data=s}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}patch(a,o)};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(u){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}r();{e.$onReadyResolve$(n);if(!a){appDidLoad()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var l=Number.isNaN(o)&&Number.isNaN(n);var u=n!==o&&!l;if((!(s&8)||o===undefined)&&u){a.$instanceValues$.set(t,n);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;o.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}r();if(a.style){o=a.style;s=getScopeId(n);if(!styles.has(s)){i=createTime("registerStyles",n.$tagName$);registerStyle(s,o,!!(n.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}r()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){getHostRef(e)}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var s=win.customElements;var i=doc.head;var l=i.querySelector("meta[charset]");var u=doc.createElement("style");var c=[];var f;var $=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$attrsToReflect$=[]}var r=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if($){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!o.includes(r)&&!s.get(r)){a.push(r);s.define(r,proxyComponent(i,n,1))}}))}));{u.innerHTML=a+HYDRATED_CSS;u.setAttribute("data-styles","");var d=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){u.setAttribute("nonce",d)}i.insertBefore(u,l?l.nextSibling:i.firstChild)}$=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var setNonce=function(e){return plt.$nonce$=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,n)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-43abfe8a.js";export{s as setNonce}from"./index-43abfe8a.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{icon:[513],active:[516],disabled:[516]}]]]],t)}))};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-43abfe8a.js";var KeyboardManager=function(){function o(){var o=this;this.elements=[];this.handleClickBehaviorDispatchEvent=function(o){if(o.code==="Space"||o.code==="Enter"||o.code==="NumpadEnter"){o.target.click()}};this.handleEscapeBehaviorDispatchEvent=function(e){if(e.code==="Escape"&&o.escapeCallback){o.escapeCallback()}};this.addElement=function(e,t){if(t===void 0){t="element"}o.elements[t]=e};this.attachClickBehavior=function(e){if(e===void 0){e="element"}if(o.elements[e]){o.elements[e].addEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.detachClickBehavior=function(e){if(e===void 0){e="element"}if(o.elements[e]){o.elements[e].removeEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.attachEscapeBehavior=function(e){o.escapeCallback=e;if(typeof window!==undefined){window.addEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}};this.detachEscapeBehavior=function(){o.escapeCallback=null;if(typeof window!==undefined){window.removeEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}}}return o}();var mdsPaginatorItemCss="@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0px}:host([active]){pointer-events:none;background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected)}:host([disabled]){pointer-events:none;background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled)}.icon{padding-left:0px;padding-right:0px}";var MdsPaginatorItem=function(){function o(o){var e=this;registerInstance(this,o);this.km=new KeyboardManager;this.componentDidLoad=function(){e.km.addElement(e.host);e.km.attachClickBehavior()};this.componentDidUpdate=function(){if(!e.disabled&&!e.active){e.km.attachClickBehavior();return}e.km.detachClickBehavior()};this.disconnectedCallback=function(){e.km.detachClickBehavior()};this.icon=undefined;this.active=undefined;this.disabled=undefined}o.prototype.render=function(){return h(Host,{tabindex:"0"},this.icon!==undefined?h("mds-icon",{name:this.icon}):h("mds-text",{class:"text",typography:"detail"},h("slot",null)))};Object.defineProperty(o.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();MdsPaginatorItem.style=mdsPaginatorItemCss;export{MdsPaginatorItem as mds_paginator_item};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-43abfe8a.js";export{s as setNonce}from"./index-43abfe8a.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{icon:[513],active:[516],disabled:[516]}]]]],e)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as o,b as t}from"./p-cd35cb31.js";export{s as setNonce}from"./p-cd35cb31.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),o(t)})().then((s=>t([["p-6f0a5176",[[1,"mds-paginator-item",{icon:[513],active:[516],disabled:[516]}]]]],s)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-043d636e.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-545e4388.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return r(n)};e().then((function(e){return n([["p-632f225a.system",[[1,"mds-paginator-item",{icon:[513],active:[516],disabled:[516]}]]]],e)}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{u(r.next(e))}catch(e){i(e)}}function o(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?n(e.value):a(e.value).then(l,o)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(t){return u([e,t])}}function u(o){if(r)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(n=0)),n)try{if(r=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{r=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++){if(i||!(r in t)){if(!i)i=Array.prototype.slice.call(t,0,r);i[r]=t[r]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r="mds-paginator-item";var a;var i;var l=false;var o=false;var u=function(e,t){if(t===void 0){t=""}{return function(){return}}};var f=function(e,t){{return function(){return}}};var s="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var $=function(e){return e!=null};var v=function(e){e=typeof e;return e==="object"||e==="function"};function d(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var p=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var i=false;var l=false;var o=[];var u=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!v(a)){a=String(a)}if(i&&l){o[o.length-1].$text$+=a}else{o.push(i?h(null,a):a)}l=i}}};u(n);if(t){{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var s=h(e,null);s.$attrs$=t;if(o.length>0){s.$children$=o}return s}));var h=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{n.$attrs$=null}return n};var m=e("H",{});var g=function(e){return e&&e.$tag$===m};var y=function(e,t){if(e!=null&&!v(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&1){return String(e)}return e}return e};var b=e("g",(function(e){return ne(e).$hostElement$}));var w=function(e,t,n){var r=$e.ce(t,n);e.dispatchEvent(r);return r};var _=new WeakMap;var S=function(e,t,n){var r=fe.get(e);if(de&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}fe.set(e,r)};var R=function(e,t,n,r){var a;var i=x(t);var l=fe.get(i);e=e.nodeType===11?e:ce;if(l){if(typeof l==="string"){e=e.head||e;var o=_.get(e);var u=void 0;if(!o){_.set(e,o=new Set)}if(!o.has(i)){{{u=ce.createElement("style");u.innerHTML=l}var f=(a=$e.$nonce$)!==null&&a!==void 0?a:d(ce);if(f!=null){u.setAttribute("nonce",f)}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(l)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[l],false)}}return i};var N=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=u("attachStyles",t.$tagName$);var i=R(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var x=function(e,t){return"sc-"+e.$tagName$};var A=function(e,t,n,r,a,i){if(n!==r){var l=ie(e,t);t.toLowerCase();if(t==="class"){var o=e.classList;var u=E(n);var f=E(r);o.remove.apply(o,u.filter((function(e){return e&&!f.includes(e)})));o.add.apply(o,f.filter((function(e){return e&&!u.includes(e)})))}else{var s=v(r);if((l||s&&r!==null)&&!a){try{if(!e.tagName.includes("-")){var c=r==null?"":r;if(t==="list"){l=false}else if(n==null||e[t]!=c){e[t]=c}}else{e[t]=r}}catch(e){}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!s){r=r===true?"":r;{e.setAttribute(t,r)}}}}};var C=/\s/;var E=function(e){return!e?[]:e.split(C)};var j=function(e,t,n,r){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||c;var l=t.$attrs$||c;{for(r in i){if(!(r in l)){A(a,r,i[r],undefined,n,t.$flags$)}}}for(r in l){A(a,r,i[r],l[r],n,t.$flags$)}};var M=function(e,t,n,r){var i=t.$children$[n];var o=0;var u;var f;if(i.$text$!==null){u=i.$elm$=ce.createTextNode(i.$text$)}else{u=i.$elm$=ce.createElement(i.$tag$);{j(null,i,l)}if($(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){f=M(e,i,o);if(f){u.appendChild(f)}}}}return u};var P=function(e,t,n,r,a,l){var o=e;var u;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(r[a]){u=M(null,n,a);if(u){r[a].$elm$=u;o.insertBefore(u,t)}}}};var k=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;a.remove()}}};var O=function(e,t,n,r){var a=0;var i=0;var l=t.length-1;var o=t[0];var u=t[l];var f=r.length-1;var s=r[0];var c=r[f];var $;while(a<=l&&i<=f){if(o==null){o=t[++a]}else if(u==null){u=t[--l]}else if(s==null){s=r[++i]}else if(c==null){c=r[--f]}else if(T(o,s)){L(o,s);o=t[++a];s=r[++i]}else if(T(u,c)){L(u,c);u=t[--l];c=r[--f]}else if(T(o,c)){L(o,c);e.insertBefore(o.$elm$,u.$elm$.nextSibling);o=t[++a];c=r[--f]}else if(T(u,s)){L(u,s);e.insertBefore(u.$elm$,o.$elm$);u=t[--l];s=r[++i]}else{{$=M(t&&t[i],n,i);s=r[++i]}if($){{o.$elm$.parentNode.insertBefore($,o.$elm$)}}}}if(a>l){P(e,r[f+1]==null?null:r[f+1].$elm$,n,r,i,f)}else if(i>f){k(t,a,l)}};var T=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var L=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;var i=t.$tag$;var o=t.$text$;if(o===null){{if(i==="slot");else{j(e,t,l)}}if(r!==null&&a!==null){O(n,r,t,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}P(n,null,t,a,0,a.length-1)}else if(r!==null){k(r,0,r.length-1)}}else if(e.$text$!==o){n.data=o}};var B=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var l=e.$vnode$||h(null,null);var o=g(t)?t:p(null,null,t);i=n.tagName;if(r.$attrsToReflect$){o.$attrs$=o.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return o.$attrs$[r]=n[t]}))}o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=l.$elm$=n.shadowRoot||n;{a=n["s-sc"]}L(l,o)};var I=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var U=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}I(e,e.$ancestorComponent$);var n=function(){return z(e,t)};return we(n)};var z=function(e,t){var n=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;n();return F(a,(function(){return q(e,r,t)}))};var q=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,o,f;return __generator(this,(function(s){n=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(r){N(e)}l=u("render",e.$cmpMeta$.$tagName$);{H(e,t)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{o=n["s-p"];f=function(){return V(e)};if(o.length===0){f()}else{Promise.all(o).then(f);e.$flags$|=4;o.length=0}}return[2]}))}))};var H=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{B(e,t)}}}}catch(t){le(t,e.$hostElement$)}return null};var V=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=u("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{G(n)}r();{e.$onReadyResolve$(n);if(!a){W()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){be((function(){return U(e,false)}))}e.$flags$&=~(4|512)}};var W=function(e){{G(ce.documentElement)}be((function(){return w(se,"appload",{detail:{namespace:r}})}))};var F=function(e,t){return e&&e.then?e.then(t):t()};var G=function(e){return e.setAttribute("hydrated","")};var D=function(e,t){return ne(e).$instanceValues$.get(t)};var J=function(e,t,n,r){var a=ne(e);var i=a.$instanceValues$.get(t);var l=a.$flags$;var o=a.$lazyInstance$;n=y(n,r.$members$[t][0]);var u=Number.isNaN(i)&&Number.isNaN(n);var f=n!==i&&!u;if((!(l&8)||i===undefined)&&f){a.$instanceValues$.set(t,n);if(o){if((l&(2|16))===2){U(a,false)}}}};var K=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,r,{get:function(){return D(this,r)},set:function(e){J(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;$e.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var a=r[1]||n;i.set(a,n);if(r[0]&512){t.$attrsToReflect$.push([n,a])}return a}))}}return e};var Q=function(e,t,r,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,o,s,c;return __generator(this,(function($){switch($.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=ue(r);if(!i.then)return[3,2];e=f();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){K(i,r,2);i.isProxied=true}n=u("createInstance",r.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){le(e)}{t.$flags$&=~8}n();if(i.style){a=i.style;l=x(r);if(!fe.has(l)){o=u("registerStyles",r.$tagName$);S(l,a,!!(r.$flags$&1));o()}}$.label=3;case 3:s=t.$ancestorComponent$;c=function(){return U(t,true)};if(s&&s["s-rc"]){s["s-rc"].push(c)}else{c()}return[2]}}))}))};var X=function(e){if(($e.$flags$&1)===0){var t=ne(e);var n=t.$cmpMeta$;var r=u("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){I(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{Q(e,t,n)}}r()}};var Y=function(e){if(($e.$flags$&1)===0){ne(e)}};var Z=e("b",(function(e,t){if(t===void 0){t={}}var n;var r=u();var a=[];var i=t.exclude||[];var l=se.customElements;var o=ce.head;var f=o.querySelector("meta[charset]");var c=ce.createElement("style");var $=[];var v;var p=true;Object.assign($e,t);$e.$resourcesUrl$=new URL(t.resourcesUrl||"./",ce.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$attrsToReflect$=[]}var r=n.$tagName$;var o=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;ae(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(p){$.push(this)}else{$e.jmp((function(){return X(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;$e.jmp((function(){return Y(e)}))};t.prototype.componentOnReady=function(){return ne(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!i.includes(r)&&!l.get(r)){a.push(r);l.define(r,K(o,n,1))}}))}));{c.innerHTML=a+s;c.setAttribute("data-styles","");var h=(n=$e.$nonce$)!==null&&n!==void 0?n:d(ce);if(h!=null){c.setAttribute("nonce",h)}o.insertBefore(c,f?f.nextSibling:o.firstChild)}p=false;if($.length){$.map((function(e){return e.connectedCallback()}))}else{{$e.jmp((function(){return v=setTimeout(W,30)}))}}r()}));var ee=e("s",(function(e){return $e.$nonce$=e}));var te=new WeakMap;var ne=function(e){return te.get(e)};var re=e("r",(function(e,t){return te.set(t.$lazyInstance$=e,t)}));var ae=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return te.set(e,n)};var ie=function(e,t){return t in e};var le=function(e,t){return(0,console.error)(e,t)};var oe=new Map;var ue=function(e,n,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=oe.get(i);if(l){return l[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{oe.set(i,e)}return e[a]}),le)};var fe=new Map;var se=typeof window!=="undefined"?window:{};var ce=se.document||{head:{}};var $e={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var ve=e("p",(function(e){return Promise.resolve(e)}));var de=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var pe=[];var he=[];var me=function(e,t){return function(n){e.push(n);if(!o){o=true;if(t&&$e.$flags$&4){be(ye)}else{$e.raf(ye)}}}};var ge=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){le(e)}}e.length=0};var ye=function(){ge(pe);{ge(he);if(o=pe.length>0){$e.raf(ye)}}};var be=function(e){return ve().then(e)};var we=me(he,true)}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-545e4388.system.js"],(function(o){"use strict";var e,t,i,a;return{setters:[function(o){e=o.r;t=o.h;i=o.H;a=o.g}],execute:function(){var r=function(){function o(){var o=this;this.elements=[];this.handleClickBehaviorDispatchEvent=function(o){if(o.code==="Space"||o.code==="Enter"||o.code==="NumpadEnter"){o.target.click()}};this.handleEscapeBehaviorDispatchEvent=function(e){if(e.code==="Escape"&&o.escapeCallback){o.escapeCallback()}};this.addElement=function(e,t){if(t===void 0){t="element"}o.elements[t]=e};this.attachClickBehavior=function(e){if(e===void 0){e="element"}if(o.elements[e]){o.elements[e].addEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.detachClickBehavior=function(e){if(e===void 0){e="element"}if(o.elements[e]){o.elements[e].removeEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.attachEscapeBehavior=function(e){o.escapeCallback=e;if(typeof window!==undefined){window.addEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}};this.detachEscapeBehavior=function(){o.escapeCallback=null;if(typeof window!==undefined){window.removeEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}}}return o}();var n="@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0px}:host([active]){pointer-events:none;background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected)}:host([disabled]){pointer-events:none;background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled)}.icon{padding-left:0px;padding-right:0px}";var s=o("mds_paginator_item",function(){function o(o){var t=this;e(this,o);this.km=new r;this.componentDidLoad=function(){t.km.addElement(t.host);t.km.attachClickBehavior()};this.componentDidUpdate=function(){if(!t.disabled&&!t.active){t.km.attachClickBehavior();return}t.km.detachClickBehavior()};this.disconnectedCallback=function(){t.km.detachClickBehavior()};this.icon=undefined;this.active=undefined;this.disabled=undefined}o.prototype.render=function(){return t(i,{tabindex:"0"},this.icon!==undefined?t("mds-icon",{name:this.icon}):t("mds-text",{class:"text",typography:"detail"},t("slot",null)))};Object.defineProperty(o.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});return o}());s.style=n}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t,H as i,g as r}from"./p-cd35cb31.js";class e{constructor(){this.elements=[],this.handleClickBehaviorDispatchEvent=o=>{"Space"!==o.code&&"Enter"!==o.code&&"NumpadEnter"!==o.code||o.target.click()},this.handleEscapeBehaviorDispatchEvent=o=>{"Escape"===o.code&&this.escapeCallback&&this.escapeCallback()},this.addElement=(o,t="element")=>{this.elements[t]=o},this.attachClickBehavior=(o="element")=>{this.elements[o]&&this.elements[o].addEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.detachClickBehavior=(o="element")=>{this.elements[o]&&this.elements[o].removeEventListener("keydown",this.handleClickBehaviorDispatchEvent)},this.attachEscapeBehavior=o=>{this.escapeCallback=o,void 0!==typeof window&&window.addEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))},this.detachEscapeBehavior=()=>{this.escapeCallback=null,void 0!==typeof window&&window.removeEventListener("keydown",this.handleEscapeBehaviorDispatchEvent.bind(this))}}}const a=class{constructor(t){o(this,t),this.km=new e,this.componentDidLoad=()=>{this.km.addElement(this.host),this.km.attachClickBehavior()},this.componentDidUpdate=()=>{this.disabled||this.active?this.km.detachClickBehavior():this.km.attachClickBehavior()},this.disconnectedCallback=()=>{this.km.detachClickBehavior()},this.icon=void 0,this.active=void 0,this.disabled=void 0}render(){return t(i,{tabindex:"0"},void 0!==this.icon?t("mds-icon",{name:this.icon}):t("mds-text",{class:"text",typography:"detail"},t("slot",null)))}get host(){return r(this)}};a.style="@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0px}:host([active]){pointer-events:none;background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected)}:host([disabled]){pointer-events:none;background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled)}.icon{padding-left:0px;padding-right:0px}";export{a as mds_paginator_item}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,t,e=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,t,...e)=>{let l=null,s=!1,i=!1;const c=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?c[c.length-1].t+=l:c.push(s?r(null,l):l),i=s)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=r(n,null);return a.l=t,c.length>0&&(a.o=c),a},r=(n,t)=>({i:0,u:n,t,$:null,o:null,l:null}),c={},u=n=>H(n).m,a=new WeakMap,f=n=>"sc-"+n.h,d=(n,t,e,l,s,i)=>{if(e!==l){let r=U(n,t);if(t.toLowerCase(),"class"===t){const t=n.classList,o=m(e),s=m(l);t.remove(...o.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!o.includes(n))))}else{const c=o(l);if((r||c&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=e&&n[t]==o||(n[t]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(t)||n.removeAttribute(t):(!r||4&i||s)&&!c&&n.setAttribute(t,l=!0===l?"":l)}}},$=/\s/,m=n=>n?n.split($):[],h=(n,t,e,o)=>{const s=11===t.$.nodeType&&t.$.host?t.$.host:t.$,i=n&&n.l||l,r=t.l||l;for(o in i)o in r||d(s,o,i[o],void 0,e,t.i);for(o in r)d(s,o,i[o],r[o],e,t.i)},p=(t,e,l)=>{const o=e.o[l];let s,i,r=0;if(null!==o.t)s=o.$=z.createTextNode(o.t);else if(s=o.$=z.createElement(o.u),h(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(r=0;r<o.o.length;++r)i=p(t,o,r),i&&s.appendChild(i);return s},y=(n,e,l,o,s,i)=>{let r,c=n;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);s<=i;++s)o[s]&&(r=p(null,l,s),r&&(o[s].$=r,c.insertBefore(r,e)))},b=(n,t,e,l)=>{for(;t<=e;++t)(l=n[t])&&l.$.remove()},w=(n,t)=>n.u===t.u,v=(n,t)=>{const e=t.$=n.$,l=n.o,o=t.o,s=t.t;null===s?("slot"===t.u||h(n,t,!1),null!==l&&null!==o?((n,t,e,l)=>{let o,s=0,i=0,r=t.length-1,c=t[0],u=t[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&i<=a;)null==c?c=t[++s]:null==u?u=t[--r]:null==f?f=l[++i]:null==d?d=l[--a]:w(c,f)?(v(c,f),c=t[++s],f=l[++i]):w(u,d)?(v(u,d),u=t[--r],d=l[--a]):w(c,d)?(v(c,d),n.insertBefore(c.$,u.$.nextSibling),c=t[++s],d=l[--a]):w(u,f)?(v(u,f),n.insertBefore(u.$,c.$),u=t[--r],f=l[++i]):(o=p(t&&t[i],e,i),f=l[++i],o&&c.$.parentNode.insertBefore(o,c.$));s>r?y(n,null==l[a+1]?null:l[a+1].$,e,l,i,a):i>a&&b(t,s,r)})(e,l,t,o):null!==o?(null!==n.t&&(e.textContent=""),y(e,null,t,o,0,o.length-1)):null!==l&&b(l,0,l.length-1)):n.t!==s&&(e.data=s)},g=(n,t)=>{t&&!n.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.p=t)))},S=(n,t)=>{if(n.i|=16,!(4&n.i))return g(n,n.v),Z((()=>j(n,t)));n.i|=512},j=(n,t)=>{const e=n.g;return P(void 0,(()=>M(n,e,t)))},M=async(n,t,e)=>{const l=n.m,o=l["s-rc"];e&&(n=>{const t=n.S,e=n.m,l=t.i,o=((n,t)=>{var e;let l=f(t);const o=V.get(l);if(n=11===n.nodeType?n:z,o)if("string"==typeof o){let t,i=a.get(n=n.head||n);if(i||a.set(n,i=new Set),!i.has(l)){{t=z.createElement("style"),t.innerHTML=o;const l=null!==(e=B.j)&&void 0!==e?e:s(z);null!=l&&t.setAttribute("nonce",l),n.insertBefore(t,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(e.shadowRoot?e.shadowRoot:e.getRootNode(),t);10&l&&(e["s-sc"]=o,e.classList.add(o+"-h"))})(n);k(n,t),o&&(o.map((n=>n())),l["s-rc"]=void 0);{const t=l["s-p"],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},k=(e,l)=>{try{l=l.render(),e.i&=-17,e.i|=2,((e,l)=>{const o=e.m,s=e.S,u=e.M||r(null,null),a=(n=>n&&n.u===c)(l)?l:i(null,null,l);t=o.tagName,s.k&&(a.l=a.l||{},s.k.map((([n,t])=>a.l[t]=o[n]))),a.u=null,a.i|=4,e.M=a,a.$=u.$=o.shadowRoot||o,n=o["s-sc"],v(u,a)})(e,l)}catch(n){W(n,e.m)}return null},C=n=>{const t=n.m,e=n.v;64&n.i||(n.i|=64,x(t),n.C(t),e||O()),n.p&&(n.p(),n.p=void 0),512&n.i&&Y((()=>S(n,!1))),n.i&=-517},O=()=>{x(z.documentElement),Y((()=>(n=>{const t=B.ce("appload",{detail:{namespace:"mds-paginator-item"}});return n.dispatchEvent(t),t})(_)))},P=(n,t)=>n&&n.then?n.then(t):t(),x=n=>n.setAttribute("hydrated",""),E=(n,t,e)=>{if(t.O){const l=Object.entries(t.O),s=n.prototype;if(l.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,n,{get(){return((n,t)=>H(this).P.get(t))(0,n)},set(e){((n,t,e,l)=>{const s=H(n),i=s.P.get(t),r=s.i,c=s.g;e=((n,t)=>null==n||o(n)?n:4&t?"false"!==n&&(""===n||!!n):1&t?n+"":n)(e,l.O[t][0]),8&r&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.P.set(t,e),c&&2==(18&r)&&S(s,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;s.attributeChangedCallback=function(n,t,l){B.jmp((()=>{const t=e.get(n);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},n.observedAttributes=l.filter((([n,t])=>15&t[0])).map((([n,l])=>{const o=l[1]||n;return e.set(o,n),512&l[0]&&t.k.push([n,o]),o}))}}return n},N=(n,t={})=>{var e;const l=[],o=t.exclude||[],i=_.customElements,r=z.head,c=r.querySelector("meta[charset]"),u=z.createElement("style"),a=[];let d,$=!0;Object.assign(B,t),B.N=new URL(t.resourcesUrl||"./",z.baseURI).href,n.map((n=>{n[1].map((t=>{const e={i:t[0],h:t[1],O:t[2],T:t[3]};e.O=t[2],e.k=[];const s=e.h,r=class extends HTMLElement{constructor(n){super(n),R(n=this,e),1&e.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),$?a.push(this):B.jmp((()=>(n=>{if(0==(1&B.i)){const t=H(n),e=t.S,l=()=>{};if(!(1&t.i)){t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){g(t,t.v=e);break}}e.O&&Object.entries(e.O).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e,l,o)=>{if(0==(32&t.i)){{if(t.i|=32,(o=F(e)).then){const n=()=>{};o=await o,n()}o.isProxied||(E(o,e,2),o.isProxied=!0);const n=()=>{};t.i|=8;try{new o(t)}catch(n){W(n)}t.i&=-9,n()}if(o.style){let n=o.style;const t=f(e);if(!V.has(t)){const l=()=>{};((n,t,e)=>{let l=V.get(n);G&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,V.set(n,l)})(t,n,!!(1&e.i)),l()}}}const s=t.v,i=()=>S(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>{}))}componentOnReady(){return H(this).A}};e.H=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,E(r,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(e=B.j)&&void 0!==e?e:s(z);null!=n&&u.setAttribute("nonce",n),r.insertBefore(u,c?c.nextSibling:r.firstChild)}$=!1,a.length?a.map((n=>n.connectedCallback())):B.jmp((()=>d=setTimeout(O,30)))},T=n=>B.j=n,A=new WeakMap,H=n=>A.get(n),L=(n,t)=>A.set(t.g=n,t),R=(n,t)=>{const e={i:0,m:n,S:t,P:new Map};return e.A=new Promise((n=>e.C=n)),n["s-p"]=[],n["s-rc"]=[],A.set(n,e)},U=(n,t)=>t in n,W=(n,t)=>(0,console.error)(n,t),q=new Map,F=n=>{const t=n.h.replace(/-/g,"_"),e=n.H,l=q.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(q.set(e,n),n[t])),W)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},D=n=>Promise.resolve(n),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),I=[],J=[],K=(n,t)=>l=>{n.push(l),e||(e=!0,t&&4&B.i?Y(X):B.raf(X))},Q=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){W(n)}n.length=0},X=()=>{Q(I),Q(J),(e=I.length>0)&&B.raf(X)},Y=n=>D().then(n),Z=K(J,!0);export{c as H,N as b,u as g,i as h,D as p,L as r,T as s}
|