@mgdis/mg-components 6.22.0 → 6.22.1
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-C2viYwrR.js → index-Dz2LAZQT.js} +325 -1789
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mg-action-more_37.cjs.entry.js → mg-action-more_36.cjs.entry.js} +109 -130
- package/dist/cjs/mg-alert.cjs.entry.js +2 -2
- package/dist/cjs/mg-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/mg-components.cjs.js +3 -3
- package/dist/cjs/mg-fieldset.cjs.entry.js +2 -2
- package/dist/cjs/mg-input-combobox.cjs.entry.js +2 -2
- package/dist/cjs/mg-input-file.cjs.entry.js +3 -3
- package/dist/cjs/mg-input-rich-text-editor.cjs.entry.js +2498 -2474
- package/dist/cjs/mg-loader.cjs.entry.js +2 -2
- package/dist/cjs/mg-progress.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/atoms/mg-badge/mg-badge.js +2 -1
- package/dist/collection/components/atoms/mg-button/mg-button.js +6 -3
- package/dist/collection/components/atoms/mg-card/mg-card.js +2 -1
- package/dist/collection/components/atoms/mg-icon/mg-icon.js +8 -4
- package/dist/collection/components/atoms/mg-tag/mg-tag.js +2 -1
- package/dist/collection/components/atoms/mg-tooltip/mg-tooltip.js +2 -1
- package/dist/collection/components/molecules/inputs/mg-input/mg-input.js +4 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.js +38 -0
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.js +47 -26
- package/dist/collection/components/molecules/inputs/mg-input-combobox/mg-input-combobox.js +13 -7
- package/dist/collection/components/molecules/inputs/mg-input-date/mg-input-date.js +3 -2
- package/dist/collection/components/molecules/inputs/mg-input-file/mg-input-file.js +4 -3
- package/dist/collection/components/molecules/inputs/mg-input-numeric/mg-input-numeric.js +9 -5
- package/dist/collection/components/molecules/inputs/mg-input-password/mg-input-password.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-radio/mg-input-radio.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-rich-text-editor/mg-input-rich-text-editor.js +7 -4
- package/dist/collection/components/molecules/inputs/mg-input-select/mg-input-select.js +22 -8
- package/dist/collection/components/molecules/inputs/mg-input-text/mg-input-text.js +11 -6
- package/dist/collection/components/molecules/inputs/mg-input-textarea/mg-input-textarea.js +5 -3
- package/dist/collection/components/molecules/inputs/mg-input-toggle/mg-input-toggle.js +7 -4
- package/dist/collection/components/molecules/internals/mg-item-more/mg-item-more.js +5 -3
- package/dist/collection/components/molecules/menus/mg-menu/mg-menu.js +5 -3
- package/dist/collection/components/molecules/menus/mg-menu-item/mg-menu-item.js +4 -2
- package/dist/collection/components/molecules/mg-action-more/mg-action-more.js +11 -7
- package/dist/collection/components/molecules/mg-alert/mg-alert.js +5 -3
- package/dist/collection/components/molecules/mg-breadcrumb/mg-breadcrumb.js +3 -2
- package/dist/collection/components/molecules/mg-details/mg-details.js +1 -1
- package/dist/collection/components/molecules/mg-fieldset/mg-fieldset.js +3 -2
- package/dist/collection/components/molecules/mg-form/mg-form.js +5 -3
- package/dist/collection/components/molecules/mg-illustrated-message/mg-illustrated-message.js +5 -3
- package/dist/collection/components/molecules/mg-loader/mg-loader.js +1 -1
- package/dist/collection/components/molecules/mg-message/mg-message.js +6 -4
- package/dist/collection/components/molecules/mg-modal/mg-modal.js +4 -3
- package/dist/collection/components/molecules/mg-pagination/mg-pagination.js +2 -1
- package/dist/collection/components/molecules/mg-panel/mg-panel.js +5 -3
- package/dist/collection/components/molecules/mg-popover/mg-popover-content/mg-popover-content.js +1 -1
- package/dist/collection/components/molecules/mg-popover/mg-popover.js +3 -2
- package/dist/collection/components/molecules/mg-progress/mg-progress.js +3 -2
- package/dist/collection/components/molecules/mg-skip-links/mg-skip-links.js +3 -2
- package/dist/collection/components/molecules/mg-table/mg-table.js +4 -2
- package/dist/collection/components/molecules/mg-tabs/mg-tabs.js +3 -2
- package/dist/components/index2.js +1 -1
- package/dist/components/mg-action-more.js +1 -1
- package/dist/components/mg-alert.js +1 -1
- package/dist/components/mg-breadcrumb.js +1 -1
- package/dist/components/mg-details.js +1 -1
- package/dist/components/mg-fieldset.js +1 -1
- package/dist/components/mg-form.js +1 -1
- package/dist/components/mg-illustrated-message.js +1 -1
- package/dist/components/mg-input-checkbox.js +1 -1
- package/dist/components/mg-input-combobox.js +1 -1
- package/dist/components/mg-input-date.js +1 -1
- package/dist/components/mg-input-file.js +1 -1
- package/dist/components/mg-input-numeric.js +1 -1
- package/dist/components/mg-input-password.js +1 -1
- package/dist/components/mg-input-radio.js +1 -1
- package/dist/components/mg-input-rich-text-editor.js +2 -2
- package/dist/components/mg-input-select2.js +1 -1
- package/dist/components/mg-input-text2.js +1 -1
- package/dist/components/mg-input-textarea.js +1 -1
- package/dist/components/mg-input-toggle.js +1 -1
- package/dist/components/mg-item-more2.js +1 -1
- package/dist/components/mg-loader2.js +1 -1
- package/dist/components/mg-message2.js +1 -1
- package/dist/components/mg-modal.js +1 -1
- package/dist/components/mg-panel.js +1 -1
- package/dist/components/mg-popover-content2.js +1 -1
- package/dist/components/mg-popover2.js +1 -1
- package/dist/components/mg-progress.js +1 -1
- package/dist/components/mg-skip-links.js +1 -1
- package/dist/components/mg-tabs2.js +1 -1
- package/dist/esm/{index-DFwaH2hS.js → index-C3jUhxdI.js} +325 -1789
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mg-action-more_37.entry.js → mg-action-more_36.entry.js} +111 -131
- package/dist/esm/mg-alert.entry.js +2 -2
- package/dist/esm/mg-breadcrumb.entry.js +2 -2
- package/dist/esm/mg-components.js +4 -4
- package/dist/esm/mg-fieldset.entry.js +2 -2
- package/dist/esm/mg-input-combobox.entry.js +2 -2
- package/dist/esm/mg-input-file.entry.js +3 -3
- package/dist/esm/mg-input-rich-text-editor.entry.js +2498 -2474
- package/dist/esm/mg-loader.entry.js +2 -2
- package/dist/esm/mg-progress.entry.js +2 -2
- package/dist/mg-components/mg-components.esm.js +1 -1
- package/dist/mg-components/{p-2ee92f38.entry.js → p-06fbdb2f.entry.js} +1 -1
- package/dist/mg-components/{p-3b653226.entry.js → p-188b9ca9.entry.js} +1 -1
- package/dist/mg-components/p-4667078d.entry.js +1 -0
- package/dist/mg-components/{p-c63f97f0.entry.js → p-5a859ecf.entry.js} +2 -2
- package/dist/mg-components/{p-d5e69c95.entry.js → p-661da56b.entry.js} +1 -1
- package/dist/mg-components/{p-adec7fcc.entry.js → p-8e256086.entry.js} +1 -1
- package/dist/mg-components/p-C3jUhxdI.js +2 -0
- package/dist/mg-components/{p-cc793586.entry.js → p-b0b8c58f.entry.js} +1 -1
- package/dist/mg-components/{p-5745fbea.entry.js → p-bbcef41c.entry.js} +1 -1
- package/dist/mg-components/{p-c8c8cfc1.entry.js → p-c1aeb277.entry.js} +1 -1
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxList.d.ts +2 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/MgInputCheckboxPaginated.d.ts +8 -0
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.conf.d.ts +16 -8
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox.d.ts +15 -5
- package/dist/types/components/molecules/inputs/mg-input-select/mg-input-select.d.ts +1 -1
- package/dist/types/components.d.ts +525 -170
- package/dist/types/stencil-public-runtime.d.ts +52 -2
- package/ide/intellij/web-types.json +7 -7
- package/ide/vscode/html-custom-data.json +3 -3
- package/package.json +19 -19
- package/dist/collection/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.js +0 -245
- package/dist/components/mg-input-checkbox-paginated.d.ts +0 -11
- package/dist/components/mg-input-checkbox-paginated.js +0 -1
- package/dist/components/mg-input-checkbox-paginated2.js +0 -1
- package/dist/mg-components/p-0482eb9f.entry.js +0 -1
- package/dist/mg-components/p-DFwaH2hS.js +0 -2
- package/dist/types/components/molecules/inputs/mg-input-checkbox/mg-input-checkbox-paginated/mg-input-checkbox-paginated.d.ts +0 -77
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const t=()=>{},r=":root{--mg-b-size-4:0.4rem;--mg-b-size-8:0.8rem;--mg-b-size-12:1.2rem;--mg-b-size-16:1.6rem;--mg-b-size-20:2rem;--mg-b-size-24:2.4rem;--mg-b-size-32:3.2rem;--mg-b-size-40:4rem;--mg-b-size-48:4.8rem;--mg-b-size-56:5.6rem;--mg-b-size-64:6.4rem;--mg-b-size-72:7.2rem;--mg-b-size-120:12rem;--mg-b-size-border:0.1rem;--mg-b-size-radius:var(--mg-b-size-4);--mg-b-size-floating-element-max-width:40rem;--mg-b-size-min-height:3.5rem;--mg-b-spacing-actions:var(--mg-b-size-8);--mg-b-color-blue-10:rgb(227, 244, 255);--mg-b-color-blue-20:rgb(209, 237, 255);--mg-b-color-blue-30:rgb(166, 219, 255);--mg-b-color-blue-40:rgb(106, 195, 255);--mg-b-color-blue-50:rgb(64, 179, 255);--mg-b-color-blue-60:rgb(22, 162, 255);--mg-b-color-blue-70:rgb(0, 132, 220);--mg-b-color-blue-80:rgb(0, 94, 156);--mg-b-color-blue-90:rgb(0, 67, 111);--mg-b-color-blue-100:rgb(0, 39, 66);--mg-b-color-green-10:rgb(234, 251, 244);--mg-b-color-green-20:rgb(212, 247, 234);--mg-b-color-green-30:rgb(181, 240, 219);--mg-b-color-green-40:rgb(144, 232, 202);--mg-b-color-green-50:rgb(97, 223, 179);--mg-b-color-green-60:rgb(50, 213, 156);--mg-b-color-green-70:rgb(46, 194, 142);--mg-b-color-green-80:rgb(36, 151, 111);--mg-b-color-green-90:rgb(21, 89, 66);--mg-b-color-green-100:rgb(13, 54, 40);--mg-b-color-red-10:rgb(251, 233, 234);--mg-b-color-red-20:rgb(248, 216, 217);--mg-b-color-red-30:rgb(242, 174, 178);--mg-b-color-red-40:rgb(236, 134, 139);--mg-b-color-red-50:rgb(229, 96, 103);--mg-b-color-red-60:rgb(221, 42, 52);--mg-b-color-red-70:rgb(219, 31, 41);--mg-b-color-red-80:rgb(152, 21, 28);--mg-b-color-red-90:rgb(120, 17, 23);--mg-b-color-red-100:rgb(92, 13, 13);--mg-b-color-yellow-10:rgb(255, 247, 230);--mg-b-color-yellow-20:rgb(255, 240, 207);--mg-b-color-yellow-30:rgb(255, 226, 162);--mg-b-color-yellow-40:rgb(255, 212, 118);--mg-b-color-yellow-50:rgb(255, 195, 62);--mg-b-color-yellow-60:rgb(232, 177, 56);--mg-b-color-yellow-70:rgb(181, 138, 44);--mg-b-color-yellow-80:rgb(140, 107, 34);--mg-b-color-yellow-90:rgb(86, 66, 21);--mg-b-color-yellow-100:rgb(53, 41, 13);--mg-b-color-neutral-0:rgb(255, 255, 255);--mg-b-color-neutral-10:rgb(250, 251, 251);--mg-b-color-neutral-20:rgb(236, 238, 238);--mg-b-color-neutral-30:rgb(225, 227, 228);--mg-b-color-neutral-40:rgb(197, 201, 203);--mg-b-color-neutral-50:rgb(182, 188, 190);--mg-b-color-neutral-60:rgb(157, 165, 167);--mg-b-color-neutral-70:rgb(129, 139, 142);--mg-b-color-neutral-80:rgb(101, 113, 117);--mg-b-color-neutral-90:rgb(75, 89, 94);--mg-b-color-neutral-100:rgb(47, 64, 69);--mg-b-color-neutral-110:rgb(21, 40, 46);--mg-b-color-neutral-120:rgb(5, 9, 11);--mg-b-color-dark:var(--mg-b-color-neutral-110);--mg-b-color-light:var(--mg-b-color-neutral-0);--mg-b-color-danger:var(--mg-b-color-red-70);--mg-b-color-text-on-danger:var(--mg-b-color-light);--mg-b-color-info:var(--mg-b-color-blue-80);--mg-b-color-text-on-info:var(--mg-b-color-light);--mg-b-color-success:var(--mg-b-color-green-60);--mg-b-color-text-on-success:var(--mg-b-color-dark);--mg-b-color-warning:var(--mg-b-color-yellow-50);--mg-b-color-text-on-warning:var(--mg-b-color-dark);--mg-b-color-app:var(--mg-b-color-blue-80);--mg-b-color-primary:var(--mg-b-color-neutral-110);--mg-b-color-text-on-primary:var(--mg-b-color-light);--mg-b-color-secondary:var(--mg-b-color-neutral-10);--mg-b-color-text-on-secondary:var(--mg-b-color-dark);--mg-b-font-size:1.3rem;--mg-b-font-size-small:1.17rem;--mg-b-font-size-h1:calc(var(--mg-b-font-size) * 1.85);--mg-b-font-size-h2:calc(var(--mg-b-font-size) * 1.65);--mg-b-font-size-h3:calc(var(--mg-b-font-size) * 1.35);--mg-b-font-size-h4:calc(var(--mg-b-font-size) * 1.2);--mg-b-font-size-h5:calc(var(--mg-b-font-size) * 1.1);--mg-b-font-size-h6:calc(var(--mg-b-font-size) * 0.8);--mg-b-small-font-size:0.9em;--mg-b-font-family:'Open Sans', sans-serif;--mg-b-font-family-heading:var(--mg-b-font-family);--mg-b-line-height:1.4;--mg-b-box-shadow:0 0.3rem 0.8rem 0 color-mix(in srgb, var(--mg-b-color-dark), transparent 85%);--mg-b-opacity-element-disabled:0.4}:root{--mg-c-badge-size:var(--mg-b-size-16);--mg-c-badge-font-size:var(--mg-b-font-size-small);--mg-c-button-border-radius:var(--mg-b-size-radius);--mg-c-button-icon-border-radius:var(--mg-b-size-min-height);--mg-c-button-color-background-danger:var(--mg-b-color-danger);--mg-c-button-color-border-danger:var(--mg-b-color-red-80);--mg-c-button-color-gradient-danger:var(--mg-b-color-red-80);--mg-c-button-color-text-danger:var(--mg-b-color-text-on-danger);--mg-c-button-color-background-info:var(--mg-b-color-info);--mg-c-button-color-border-info:var(--mg-b-color-blue-90);--mg-c-button-color-gradient-info:var(--mg-b-color-blue-90);--mg-c-button-color-text-info:var(--mg-b-color-text-on-info);--mg-c-button-color-background-success:var(--mg-b-color-success);--mg-c-button-color-border-success:var(--mg-b-color-green-70);--mg-c-button-color-gradient-success:var(--mg-b-color-green-70);--mg-c-button-color-text-success:var(--mg-b-color-text-on-success);--mg-c-button-color-background-warning:var(--mg-b-color-warning);--mg-c-button-color-border-warning:var(--mg-b-color-yellow-60);--mg-c-button-color-gradient-warning:var(--mg-b-color-yellow-60);--mg-c-button-color-text-warning:var(--mg-b-color-text-on-warning);--mg-c-button-color-background-primary:var(--mg-b-color-primary);--mg-c-button-color-border-primary:var(--mg-b-color-neutral-120);--mg-c-button-color-gradient-primary:var(--mg-b-color-neutral-120);--mg-c-button-color-text-primary:var(--mg-b-color-text-on-primary);--mg-c-button-color-background-secondary:var(--mg-b-color-secondary);--mg-c-button-color-border-secondary:var(--mg-b-color-neutral-20);--mg-c-button-color-gradient-secondary:var(--mg-b-color-neutral-20);--mg-c-button-color-text-secondary:var(--mg-b-color-text-on-secondary);--mg-c-button-color-background-danger-alt:var(--mg-b-color-neutral-10);--mg-c-button-color-border-danger-alt:var(--mg-b-color-neutral-20);--mg-c-button-color-gradient-danger-alt:var(--mg-b-color-neutral-20);--mg-c-button-color-text-danger-alt:var(--mg-b-color-danger);--mg-c-card-spacing-default:var(--mg-b-size-16);--mg-c-card-border-radius-default:var(--mg-b-size-12);--mg-c-card-color-background-default:var(--mg-b-color-light);--mg-c-card-border-default:var(--mg-b-size-border) solid var(--mg-b-color-neutral-30);--mg-c-card-box-shadow-default:var(--mg-b-box-shadow);--mg-c-divider-color-background:color-mix(in srgb, var(--mg-b-color-dark), transparent 85%);--mg-c-divider-thickness:var(--mg-b-size-border);--mg-c-divider-spacing-vertical:var(--mg-b-size-40);--mg-c-icon-border-radius:50%;--mg-c-tag-height:var(--mg-b-size-24);--mg-c-tag-border-radius:var(--mg-b-size-radius);--mg-c-tag-font-size:var(--mg-b-font-size-small);--mg-c-tooltip-border-radius:var(--mg-b-size-radius);--mg-c-tooltip-color-background:var(--mg-b-color-dark);--mg-c-tooltip-color-text:var(--mg-b-color-light);--mg-c-details-spacing:var(--mg-b-size-8);--mg-c-illustrated-message-spacing-vertical:var(--mg-b-size-40);--mg-c-input-border-width:var(--mg-b-size-border);--mg-c-input-border-radius:var(--mg-b-size-radius);--mg-c-input-color-border:rgb(181 194 201);--mg-c-input-placeholder-color-text:rgb(181 194 201);--mg-c-input-color-icon:rgb(181 194 201);--mg-c-input-color-box-shadow-focus:rgb(0 221 255 / 50%);--mg-c-input-error-color-background:color-mix(in srgb, var(--mg-b-color-danger), white 95%);--mg-c-input-toggle-border-radius-ratio:2;--mg-c-input-check-size:var(--mg-b-size-16);--mg-c-menu-item-color:var(--mg-b-color-app);--mg-c-message-border-radius:var(--mg-b-size-radius);--mg-c-modal-border-radius:var(--mg-c-card-border-radius-default);--mg-c-modal-title-font-size:var(--mg-b-font-size-h3);--mg-c-panel-border-radius:var(--mg-c-card-border-radius-default);--mg-c-panel-box-shadow:var(--mg-b-box-shadow);--mg-c-panel-content-spacing:var(--mg-b-size-16);--mg-c-popover-border-radius:var(--mg-c-card-border-radius-default);--mg-c-popover-color-background:var(--mg-b-color-light);--mg-c-popover-color-text:var(--mg-b-color-dark);--mg-c-popover-title-font-size:var(--mg-b-font-size-h5);--mg-c-popover-max-width:var(--mg-b-size-floating-element-max-width);--mg-c-progress-size:var(--mg-b-size-8);--mg-c-progress-border-color:var(--mg-b-color-neutral-80);--mg-c-progress-bar-color-background:var(--mg-b-color-neutral-30);--mg-c-progress-fill-color-background:var(--mg-b-color-app);--mg-c-tabs-color:var(--mg-b-color-app)}html{font-size:62.5%}body{font-family:var(--mg-b-font-family);font-size:var(--mg-b-font-size);-webkit-font-smoothing:antialiased;line-height:var(--mg-b-line-height)}:root{--mg-b-font-family:system-ui, sans-serif}";var e,o,n,i,s,l,c,a,u,g,f,h,b,m,d,p,v,w=Object.create,y=Object.defineProperty,$=Object.getOwnPropertyDescriptor,z=Object.getOwnPropertyNames,k=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,S=t=>{throw TypeError(t)},O=(t,r)=>function(){return r||(0,t[z(t)[0]])((r={exports:{}}).exports,r),r.exports},j=(t,r,e)=>r.has(t)||S("Cannot "+e),M=(t,r,e)=>(j(t,r,"read from private field"),e?e.call(t):r.get(t)),E=(t,r,e)=>r.has(t)?S("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),N=(t,r,e)=>(j(t,r,"write to private field"),r.set(t,e),e),P=(t,r,e)=>(j(t,r,"access private method"),e),R=O({"node_modules/balanced-match/index.js"(t,r){function e(t,r,e){t instanceof RegExp&&(t=o(t,e)),r instanceof RegExp&&(r=o(r,e));var i=n(t,r,e);return i&&{start:i[0],end:i[1],pre:e.slice(0,i[0]),body:e.slice(i[0]+t.length,i[1]),post:e.slice(i[1]+r.length)}}function o(t,r){var e=r.match(t);return e?e[0]:null}function n(t,r,e){var o,n,i,s,l,c=e.indexOf(t),a=e.indexOf(r,c+1),u=c;if(c>=0&&a>0){if(t===r)return[c,a];for(o=[],i=e.length;u>=0&&!l;)u==c?(o.push(u),c=e.indexOf(t,u+1)):1==o.length?l=[o.pop(),a]:((n=o.pop())<i&&(i=n,s=a),a=e.indexOf(r,u+1)),u=c<a&&c>=0?c:a;o.length&&(l=[i,s])}return l}r.exports=e,e.range=n}}),W=O({"node_modules/brace-expansion/index.js"(t,r){var e=R();r.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(function(t){return t.split("\\\\").join(o).split("\\{").join(n).split("\\}").join(i).split("\\,").join(s).split("\\.").join(l)}(t),!0).map(a)):[]};var o="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",s="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function a(t){return t.split(o).join("\\").split(n).join("{").split(i).join("}").split(s).join(",").split(l).join(".")}function u(t){if(!t)return[""];var r=[],o=e("{","}",t);if(!o)return t.split(",");var n=o.body,i=o.post,s=o.pre.split(",");s[s.length-1]+="{"+n+"}";var l=u(i);return i.length&&(s[s.length-1]+=l.shift(),s.push.apply(s,l)),r.push.apply(r,s),r}function g(t){return"{"+t+"}"}function f(t){return/^-?0\d/.test(t)}function h(t,r){return t<=r}function b(t,r){return t>=r}function m(t,r){var o=[],n=e("{","}",t);if(!n)return[t];var s=n.pre,l=n.post.length?m(n.post,!1):[""];if(/\$$/.test(n.pre))for(var a=0;a<l.length;a++)o.push(W=s+"{"+n.body+"}"+l[a]);else{var d,p,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),y=v||w,$=n.body.indexOf(",")>=0;if(!y&&!$)return n.post.match(/,(?!,).*\}/)?m(t=n.pre+"{"+n.body+i+n.post):[t];if(y)d=n.body.split(/\.\./);else if(1===(d=u(n.body)).length&&1===(d=m(d[0],!1).map(g)).length)return l.map((function(t){return n.pre+d[0]+t}));if(y){var z=c(d[0]),k=c(d[1]),x=Math.max(d[0].length,d[1].length),S=3==d.length?Math.abs(c(d[2])):1,O=h;k<z&&(S*=-1,O=b);var j=d.some(f);p=[];for(var M=z;O(M,k);M+=S){var E;if(w)"\\"===(E=String.fromCharCode(M))&&(E="");else if(E=M+"",j){var N=x-E.length;if(N>0){var P=Array(N+1).join("0");E=M<0?"-"+P+E.slice(1):P+E}}p.push(E)}}else{p=[];for(var R=0;R<d.length;R++)p.push.apply(p,m(d[R],!1))}for(R=0;R<p.length;R++)for(a=0;a<l.length;a++){var W=s+p[R]+l[a];(!r||y||W)&&o.push(W)}}return o}}}),C=(t,r)=>{var e;Object.entries(null!=(e=r.o.t)?e:{}).map((([e,[o]])=>{if(31&o||32&o){const o=t[e],n=function(t,r){for(;t;){const e=Object.getOwnPropertyDescriptor(t,r);if(null==e?void 0:e.get)return e;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),e)||Object.getOwnPropertyDescriptor(t,e);n&&Object.defineProperty(t,e,{get(){return n.get.call(this)},set(t){n.set.call(this,t)},configurable:!0,enumerable:!0}),t[e]=r.i.has(e)?r.i.get(e):o}}))},L=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},A=(t,r)=>{r&&(t.__stencil__getHostRef=()=>r,r.l=t,512&r.o.u&&C(t,r))},T=(t,r)=>r in t,F=(t,r)=>(0,console.error)(t,r),_=new Map,D=new Map,G="slot-fb{display:contents}slot-fb[hidden]{display:none}",I="http://www.w3.org/1999/xlink",U="undefined"!=typeof window?window:{},B={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,r,e,o)=>t.addEventListener(r,e,o),rel:(t,r,e,o)=>t.removeEventListener(r,e,o),ce:(t,r)=>new CustomEvent(t,r)},H=t=>Promise.resolve(t),Z=(()=>{try{return!!U.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),V=!!Z&&(()=>!!U.document&&Object.getOwnPropertyDescriptor(U.document.adoptedStyleSheets,"length").writable)(),q=!1,Y=[],J=[],K=(t,r)=>e=>{t.push(e),q||(q=!0,r&&4&B.u?tt(X):B.raf(X))},Q=t=>{for(let r=0;r<t.length;r++)try{t[r](performance.now())}catch(t){F(t)}t.length=0},X=()=>{Q(Y),Q(J),(q=Y.length>0)&&B.raf(X)},tt=t=>H().then(t),rt=K(J,!0),et=t=>"object"==(t=typeof t)||"function"===t,ot=((t,r,e)=>(e=null!=t?w(k(t)):{},((t,r,e,o)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let e of z(r))x.call(t,e)||undefined===e||y(t,e,{get:()=>r[e],enumerable:!(o=$(r,e))||o.enumerable});return t})(y(e,"default",{value:t,enumerable:!0}),t)))(W()),nt=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},it={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},st=t=>t.replace(/[[\]\\-]/g,"\\$&"),lt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ct=t=>t.join(""),at=(t,r)=>{const e=r;if("["!==t.charAt(e))throw Error("not in a brace expression");const o=[],n=[];let i=e+1,s=!1,l=!1,c=!1,a=!1,u=e,g="";t:for(;i<t.length;){const r=t.charAt(i);if("!"!==r&&"^"!==r||i!==e+1){if("]"===r&&s&&!c){u=i+1;break}if(s=!0,"\\"!==r||c){if("["===r&&!c)for(const[r,[s,c,a]]of Object.entries(it))if(t.startsWith(r,i)){if(g)return["$.",!1,t.length-e,!0];i+=r.length,a?n.push(s):o.push(s),l=l||c;continue t}c=!1,g?(r>g?o.push(st(g)+"-"+st(r)):r===g&&o.push(st(r)),g="",i++):t.startsWith("-]",i+1)?(o.push(st(r+"-")),i+=2):t.startsWith("-",i+1)?(g=r,i+=2):(o.push(st(r)),i++)}else c=!0,i++}else a=!0,i++}if(u<i)return["",!1,0,!1];if(!o.length&&!n.length)return["$.",!1,t.length-e,!0];if(0===n.length&&1===o.length&&/^\\?.$/.test(o[0])&&!a){const t=2===o[0].length?o[0].slice(-1):o[0];return[lt(t),!1,u-e,!1]}const f="["+(a?"^":"")+ct(o)+"]",h="["+(a?"":"^")+ct(n)+"]";return[o.length&&n.length?"("+f+"|"+h+")":o.length?f:h,l,u-e,!0]},ut=(t,{windowsPathsNoEscape:r=!1}={})=>r?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),gt=new Set(["!","?","+","*","@"]),ft=t=>gt.has(t),ht="(?!\\.)",bt=new Set(["[","."]),mt=new Set(["..","."]),dt=new Set("().*{}+?[]^$\\!"),pt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vt="[^/]",wt=vt+"*?",yt=vt+"+?",$t=class t{constructor(t,r,b={}){E(this,h),((t,r,e)=>{((t,r,e)=>{r in t?y(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e})(t,r+"",e)})(this,"type"),E(this,e),E(this,o),E(this,n,!1),E(this,i,[]),E(this,s),E(this,l),E(this,c),E(this,a,!1),E(this,u),E(this,g),E(this,f,!1),this.type=t,t&&N(this,o,!0),N(this,s,r),N(this,e,M(this,s)?M(M(this,s),e):this),N(this,u,M(this,e)===this?b:M(M(this,e),u)),N(this,c,M(this,e)===this?[]:M(M(this,e),c)),"!"!==t||M(M(this,e),a)||M(this,c).push(this),N(this,l,M(this,s)?M(M(this,s),i).length:0)}get hasMagic(){if(void 0!==M(this,o))return M(this,o);for(const t of M(this,i))if("string"!=typeof t&&(t.type||t.hasMagic))return N(this,o,!0);return M(this,o)}toString(){return void 0!==M(this,g)?M(this,g):N(this,g,this.type?this.type+"("+M(this,i).map((t=>t+"")).join("|")+")":M(this,i).map((t=>t+"")).join(""))}push(...r){for(const e of r)if(""!==e){if("string"!=typeof e&&!(e instanceof t&&M(e,s)===this))throw Error("invalid part: "+e);M(this,i).push(e)}}toJSON(){var t;const r=null===this.type?M(this,i).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...M(this,i).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&r.unshift([]),this.isEnd()&&(this===M(this,e)||M(M(this,e),a)&&"!"===(null==(t=M(this,s))?void 0:t.type))&&r.push({}),r}isStart(){var r;if(M(this,e)===this)return!0;if(!(null==(r=M(this,s))?void 0:r.isStart()))return!1;if(0===M(this,l))return!0;const o=M(this,s);for(let r=0;r<M(this,l);r++){const e=M(o,i)[r];if(!(e instanceof t&&"!"===e.type))return!1}return!0}isEnd(){var t,r,o;if(M(this,e)===this)return!0;if("!"===(null==(t=M(this,s))?void 0:t.type))return!0;if(!(null==(r=M(this,s))?void 0:r.isEnd()))return!1;if(!this.type)return null==(o=M(this,s))?void 0:o.isEnd();const n=M(this,s)?M(M(this,s),i).length:0;return M(this,l)===n-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(r){const e=new t(this.type,r);for(const t of M(this,i))e.copyIn(t);return e}static fromGlob(r,e={}){var o;const n=new t(null,void 0,e);return P(o=t,m,d).call(o,r,n,0,e),n}toMMPattern(){if(this!==M(this,e))return M(this,e).toMMPattern();const t=""+this,[r,n,i,s]=this.toRegExpSource();if(!(i||M(this,o)||M(this,u).nocase&&!M(this,u).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return n;const l=(M(this,u).nocase?"i":"")+(s?"u":"");return Object.assign(RegExp(`^${r}$`,l),{_src:r,_glob:t})}get options(){return M(this,u)}toRegExpSource(r){var l;const c=null!=r?r:!!M(this,u).dot;if(M(this,e)===this&&P(this,h,b).call(this),!this.type){const u=this.isStart()&&this.isEnd(),g=M(this,i).map((e=>{var i;const[s,l,c,a]="string"==typeof e?P(i=t,m,v).call(i,e,M(this,o),u):e.toRegExpSource(r);return N(this,o,M(this,o)||c),N(this,n,M(this,n)||a),s})).join("");let f="";if(this.isStart()&&"string"==typeof M(this,i)[0]&&(1!==M(this,i).length||!mt.has(M(this,i)[0]))){const t=bt,e=c&&t.has(g.charAt(0))||g.startsWith("\\.")&&t.has(g.charAt(2))||g.startsWith("\\.\\.")&&t.has(g.charAt(4)),o=!c&&!r&&t.has(g.charAt(0));f=e?"(?!(?:^|/)\\.\\.?(?:$|/))":o?ht:""}let h="";return this.isEnd()&&M(M(this,e),a)&&"!"===(null==(l=M(this,s))?void 0:l.type)&&(h="(?:$|\\/)"),[f+g+h,ut(g),N(this,o,!!M(this,o)),M(this,n)]}const g="*"===this.type||"+"===this.type,d="!"===this.type?"(?:(?!(?:":"(?:";let w=P(this,h,p).call(this,c);if(this.isStart()&&this.isEnd()&&!w&&"!"!==this.type){const t=""+this;return N(this,i,[t]),this.type=null,N(this,o,void 0),[t,ut(""+this),!1,!1]}let y=!g||r||c?"":P(this,h,p).call(this,!0);y===w&&(y=""),y&&(w=`(?:${w})(?:${y})*?`);let $="";return $="!"===this.type&&M(this,f)?(this.isStart()&&!c?ht:"")+yt:d+w+("!"===this.type?"))"+(!this.isStart()||c||r?"":ht)+wt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[$,ut(w),N(this,o,!!M(this,o)),M(this,n)]}};e=new WeakMap,o=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakMap,u=new WeakMap,g=new WeakMap,f=new WeakMap,h=new WeakSet,b=function(){if(this!==M(this,e))throw Error("should only call on root");if(M(this,a))return this;let t;for(N(this,a,!0);t=M(this,c).pop();){if("!"!==t.type)continue;let r=t,e=M(r,s);for(;e;){for(let o=M(r,l)+1;!e.type&&o<M(e,i).length;o++)for(const r of M(t,i)){if("string"==typeof r)throw Error("string part in extglob AST??");r.copyIn(M(e,i)[o])}r=e,e=M(r,s)}}return this},m=new WeakSet,d=function(t,r,e,n){var s,l;let c=!1,a=!1,u=-1,g=!1;if(null===r.type){let o=e,i="";for(;o<t.length;){const e=t.charAt(o++);if(c||"\\"===e)c=!c,i+=e;else if(a)o===u+1?"^"!==e&&"!"!==e||(g=!0):"]"!==e||o===u+2&&g||(a=!1),i+=e;else if("["!==e)if(n.noext||!ft(e)||"("!==t.charAt(o))i+=e;else{r.push(i),i="";const l=new $t(e,r);o=P(s=$t,m,d).call(s,t,l,o,n),r.push(l)}else a=!0,u=o,g=!1,i+=e}return r.push(i),o}let h=e+1,b=new $t(null,r);const p=[];let v="";for(;h<t.length;){const e=t.charAt(h++);if(c||"\\"===e)c=!c,v+=e;else if(a)h===u+1?"^"!==e&&"!"!==e||(g=!0):"]"!==e||h===u+2&&g||(a=!1),v+=e;else if("["!==e)if(ft(e)&&"("===t.charAt(h)){b.push(v),v="";const r=new $t(e,b);b.push(r),h=P(l=$t,m,d).call(l,t,r,h,n)}else if("|"!==e){if(")"===e)return""===v&&0===M(r,i).length&&N(r,f,!0),b.push(v),v="",r.push(...p,b),h;v+=e}else b.push(v),v="",p.push(b),b=new $t(null,r);else a=!0,u=h,g=!1,v+=e}return r.type=null,N(r,o,void 0),N(r,i,[t.substring(e-1)]),h},p=function(t){return M(this,i).map((r=>{if("string"==typeof r)throw Error("string type in extglob ast??");const[e,o,i,s]=r.toRegExpSource(t);return N(this,n,M(this,n)||s),e})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},v=function(t,r,e=!1){let o=!1,n="",i=!1;for(let s=0;s<t.length;s++){const l=t.charAt(s);if(o)o=!1,n+=(dt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[e,o,l,c]=at(t,s);if(l){n+=e,i=i||o,s+=l-1,r=r||c;continue}}"*"!==l?"?"!==l?n+=pt(l):(n+=vt,r=!0):(n+=e&&"*"===t?yt:wt,r=!0)}else s===t.length-1?n+="\\\\":o=!0}return[n,ut(t),!!r,i]},E($t,m);var zt=$t,kt=(t,r,e={})=>(nt(r),!(!e.nocomment&&"#"===r.charAt(0))&&new Yt(r,e).match(t)),xt=/^\*+([^+@!?\*\[\(]*)$/,St=t=>r=>!r.startsWith(".")&&r.endsWith(t),Ot=t=>r=>r.endsWith(t),jt=t=>(t=t.toLowerCase(),r=>!r.startsWith(".")&&r.toLowerCase().endsWith(t)),Mt=t=>(t=t.toLowerCase(),r=>r.toLowerCase().endsWith(t)),Et=/^\*+\.\*+$/,Nt=t=>!t.startsWith(".")&&t.includes("."),Pt=t=>"."!==t&&".."!==t&&t.includes("."),Rt=/^\.\*+$/,Wt=t=>"."!==t&&".."!==t&&t.startsWith("."),Ct=/^\*+$/,Lt=t=>0!==t.length&&!t.startsWith("."),At=t=>0!==t.length&&"."!==t&&".."!==t,Tt=/^\?+([^+@!?\*\[\(]*)?$/,Ft=([t,r=""])=>{const e=It([t]);return r?(r=r.toLowerCase(),t=>e(t)&&t.toLowerCase().endsWith(r)):e},_t=([t,r=""])=>{const e=Ut([t]);return r?(r=r.toLowerCase(),t=>e(t)&&t.toLowerCase().endsWith(r)):e},Dt=([t,r=""])=>{const e=Ut([t]);return r?t=>e(t)&&t.endsWith(r):e},Gt=([t,r=""])=>{const e=It([t]);return r?t=>e(t)&&t.endsWith(r):e},It=([t])=>{const r=t.length;return t=>t.length===r&&!t.startsWith(".")},Ut=([t])=>{const r=t.length;return t=>t.length===r&&"."!==t&&".."!==t},Bt="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";kt.sep="win32"===Bt?"\\":"/";var Ht=Symbol("globstar **");kt.GLOBSTAR=Ht,kt.filter=(t,r={})=>e=>kt(e,t,r);var Zt=(t,r={})=>Object.assign({},t,r);kt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return kt;const r=kt;return Object.assign(((e,o,n={})=>r(e,o,Zt(t,n))),{Minimatch:class extends r.Minimatch{constructor(r,e={}){super(r,Zt(t,e))}static defaults(e){return r.defaults(Zt(t,e)).Minimatch}},AST:class extends r.AST{constructor(r,e,o={}){super(r,e,Zt(t,o))}static fromGlob(e,o={}){return r.AST.fromGlob(e,Zt(t,o))}},unescape:(e,o={})=>r.unescape(e,Zt(t,o)),escape:(e,o={})=>r.escape(e,Zt(t,o)),filter:(e,o={})=>r.filter(e,Zt(t,o)),defaults:e=>r.defaults(Zt(t,e)),makeRe:(e,o={})=>r.makeRe(e,Zt(t,o)),braceExpand:(e,o={})=>r.braceExpand(e,Zt(t,o)),match:(e,o,n={})=>r.match(e,o,Zt(t,n)),sep:r.sep,GLOBSTAR:Ht})};var Vt=(t,r={})=>(nt(t),r.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,ot.default)(t));kt.braceExpand=Vt,kt.makeRe=(t,r={})=>new Yt(t,r).makeRe(),kt.match=(t,r,e={})=>{const o=new Yt(r,e);return t=t.filter((t=>o.match(t))),o.options.nonull&&!t.length&&t.push(r),t};var qt=/[?*]|[+@!]\(.*?\)|\[|\]/,Yt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,r={}){nt(t),this.options=r=r||{},this.pattern=t,this.platform=r.platform||Bt,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||!1===r.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==r.windowsNoMagicRoot?r.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const r of t)if("string"!=typeof r)return!0;return!1}debug(...t){}make(){const t=this.pattern,r=this.options;if(!r.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const e=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(e),this.debug(this.pattern,this.globParts);let o=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const r=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&qt.test(t[2])||qt.test(t[3])),e=/^[a-z]:/i.test(t[0]);if(r)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(e)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,o),this.set=o.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const r=this.set[t];""===r[0]&&""===r[1]&&"?"===this.globParts[t][2]&&"string"==typeof r[3]&&/^[a-z]:$/i.test(r[3])&&(r[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let r=0;r<t.length;r++)for(let e=0;e<t[r].length;e++)"**"===t[r][e]&&(t[r][e]="*");const{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=r>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let r=-1;for(;-1!==(r=t.indexOf("**",r+1));){let e=r;for(;"**"===t[e+1];)e++;e!==r&&t.splice(r,e-r)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,r)=>{const e=t[t.length-1];return"**"===r&&"**"===e?t:".."===r&&e&&".."!==e&&"."!==e&&"**"!==e?(t.pop(),t):(t.push(r),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let e=1;e<t.length-1;e++){const o=t[e];1===e&&""===o&&""===t[0]||"."!==o&&""!==o||(r=!0,t.splice(e,1),e--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(r=!0,t.pop())}let e=0;for(;-1!==(e=t.indexOf("..",e+1));){const o=t[e-1];o&&"."!==o&&".."!==o&&"**"!==o&&(r=!0,t.splice(e-1,2),e-=2)}}while(r);return 0===t.length?[""]:t}firstPhasePreProcess(t){let r=!1;do{r=!1;for(let e of t){let o=-1;for(;-1!==(o=e.indexOf("**",o+1));){let n=o;for(;"**"===e[n+1];)n++;n>o&&e.splice(o+1,n-o);const i=e[o+2],s=e[o+3];if(".."!==e[o+1])continue;if(!i||"."===i||".."===i||!s||"."===s||".."===s)continue;r=!0,e.splice(o,1);const l=e.slice(0);l[o]="**",t.push(l),o--}if(!this.preserveMultipleSlashes){for(let t=1;t<e.length-1;t++){const o=e[t];1===t&&""===o&&""===e[0]||"."!==o&&""!==o||(r=!0,e.splice(t,1),t--)}"."!==e[0]||2!==e.length||"."!==e[1]&&""!==e[1]||(r=!0,e.pop())}let n=0;for(;-1!==(n=e.indexOf("..",n+1));){const t=e[n-1];t&&"."!==t&&".."!==t&&"**"!==t&&(r=!0,e.splice(n-1,2,...1===n&&"**"===e[n+1]?["."]:[]),0===e.length&&e.push(""),n-=2)}}}while(r);return t}secondPhasePreProcess(t){for(let r=0;r<t.length-1;r++)for(let e=r+1;e<t.length;e++){const o=this.partsMatch(t[r],t[e],!this.preserveMultipleSlashes);o&&(t[r]=o,t[e]=[])}return t.filter((t=>t.length))}partsMatch(t,r,e=!1){let o=0,n=0,i=[],s="";for(;o<t.length&&n<r.length;)if(t[o]===r[n])i.push("b"===s?r[n]:t[o]),o++,n++;else if(e&&"**"===t[o]&&r[n]===t[o+1])i.push(t[o]),o++;else if(e&&"**"===r[n]&&t[o]===r[n+1])i.push(r[n]),n++;else if("*"!==t[o]||!r[n]||!this.options.dot&&r[n].startsWith(".")||"**"===r[n]){if("*"!==r[n]||!t[o]||!this.options.dot&&t[o].startsWith(".")||"**"===t[o])return!1;if("a"===s)return!1;s="b",i.push(r[n]),o++,n++}else{if("b"===s)return!1;s="a",i.push(t[o]),o++,n++}return t.length===r.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let r=!1,e=0;for(let o=0;o<t.length&&"!"===t.charAt(o);o++)r=!r,e++;e&&(this.pattern=t.slice(e)),this.negate=r}matchOne(t,r,e=!1){const o=this.options;if(this.isWindows){const e="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),o=!e&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),n="string"==typeof r[0]&&/^[a-z]:$/i.test(r[0]),i=o?3:e?0:void 0,s=!n&&""===r[0]&&""===r[1]&&"?"===r[2]&&"string"==typeof r[3]&&/^[a-z]:$/i.test(r[3])?3:n?0:void 0;if("number"==typeof i&&"number"==typeof s){const[e,o]=[t[i],r[s]];e.toLowerCase()===o.toLowerCase()&&(r[s]=e,s>i?r=r.slice(s):i>s&&(t=t.slice(i)))}}const{optimizationLevel:n=1}=this.options;n>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var i=0,s=0,l=t.length,c=r.length;i<l&&s<c;i++,s++){this.debug("matchOne loop");var a=r[s],u=t[i];if(this.debug(r,a,u),!1===a)return!1;if(a===Ht){this.debug("GLOBSTAR",[r,a,u]);var g=i,f=s+1;if(f===c){for(this.debug("** at the end");i<l;i++)if("."===t[i]||".."===t[i]||!o.dot&&"."===t[i].charAt(0))return!1;return!0}for(;g<l;){var h=t[g];if(this.debug("\nglobstar while",t,g,r,f,h),this.matchOne(t.slice(g),r.slice(f),e))return this.debug("globstar found match!",g,l,h),!0;if("."===h||".."===h||!o.dot&&"."===h.charAt(0)){this.debug("dot detected!",t,g,r,f);break}this.debug("globstar swallow a segment, and continue"),g++}return!(!e||(this.debug("\n>>> no match, partial?",t,g,r,f),g!==l))}let n;if("string"==typeof a?(n=u===a,this.debug("string match",a,u,n)):(n=a.test(u),this.debug("pattern match",a,u,n)),!n)return!1}if(i===l&&s===c)return!0;if(i===l)return e;if(s===c)return i===l-1&&""===t[i];throw Error("wtf?")}braceExpand(){return Vt(this.pattern,this.options)}parse(t){nt(t);const r=this.options;if("**"===t)return Ht;if(""===t)return"";let e,o=null;(e=t.match(Ct))?o=r.dot?At:Lt:(e=t.match(xt))?o=(r.nocase?r.dot?Mt:jt:r.dot?Ot:St)(e[1]):(e=t.match(Tt))?o=(r.nocase?r.dot?_t:Ft:r.dot?Dt:Gt)(e):(e=t.match(Et))?o=r.dot?Pt:Nt:(e=t.match(Rt))&&(o=Wt);const n=zt.fromGlob(t,this.options).toMMPattern();return o&&"object"==typeof n&&Reflect.defineProperty(n,"test",{value:o}),n}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const r=this.options,e=r.noglobstar?"[^/]*?":r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",o=new Set(r.nocase?["i"]:[]);let n=t.map((t=>{const r=t.map((t=>{if(t instanceof RegExp)for(const r of t.flags.split(""))o.add(r);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Ht?Ht:t._src}));return r.forEach(((t,o)=>{const n=r[o+1],i=r[o-1];t===Ht&&i!==Ht&&(void 0===i?void 0!==n&&n!==Ht?r[o+1]="(?:\\/|"+e+"\\/)?"+n:r[o]=e:void 0===n?r[o-1]=i+"(?:\\/|"+e+")?":n!==Ht&&(r[o-1]=i+"(?:\\/|\\/"+e+"\\/)"+n,r[o+1]=Ht))})),r.filter((t=>t!==Ht)).join("/")})).join("|");const[i,s]=t.length>1?["(?:",")"]:["",""];n="^"+i+n+s+"$",this.negate&&(n="^(?!"+n+").+$");try{this.regexp=RegExp(n,[...o].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,r=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&r)return!0;const e=this.options;this.isWindows&&(t=t.split("\\").join("/"));const o=this.slashSplit(t);this.debug(this.pattern,"split",o);const n=this.set;this.debug(this.pattern,"set",n);let i=o[o.length-1];if(!i)for(let t=o.length-2;!i&&t>=0;t--)i=o[t];for(let t=0;t<n.length;t++){const s=n[t];let l=o;if(e.matchBase&&1===s.length&&(l=[i]),this.matchOne(l,s,r))return!!e.flipNegate||!this.negate}return!e.flipNegate&&this.negate}static defaults(t){return kt.defaults(t).Minimatch}};function Jt(t){var r,e,o;return null!=(o=null==(e=null==(r=t.head)?void 0:r.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}kt.AST=zt,kt.Minimatch=Yt,kt.escape=(t,{windowsPathsNoEscape:r=!1}={})=>r?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),kt.unescape=ut,((t,r)=>{for(var e in r)y(t,e,{get:r[e],enumerable:!0})})({},{err:()=>Qt,map:()=>Xt,ok:()=>Kt,unwrap:()=>rr,unwrapErr:()=>er});var Kt=t=>({isOk:!0,isErr:!1,value:t}),Qt=t=>({isOk:!1,isErr:!0,value:t});function Xt(t,r){if(t.isOk){const e=r(t.value);return e instanceof Promise?e.then((t=>Kt(t))):Kt(e)}if(t.isErr)return Qt(t.value);throw"should never get here"}var tr,rr=t=>{if(t.isOk)return t.value;throw t.value},er=t=>{if(t.isErr)return t.value;throw t.value};function or(){var t;const e=this.attachShadow({mode:"open"});if(void 0===tr&&(tr=null!=(t=function(t){if(!Z)return;const r=new CSSStyleSheet;return r.replaceSync(t),r}(r))?t:null),tr)V?e.adoptedStyleSheets.push(tr):e.adoptedStyleSheets=[...e.adoptedStyleSheets,tr];else if(!Z){const t=document.createElement("style");t.innerHTML=r,e.prepend(t)}}var nr=t=>{const r=ar(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&ir(r,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!sr(t,cr(t),!1).length)}));let e=0;for(e=0;e<r.length;e++){const t=r[e];1===t.nodeType&&ar(t,"childNodes").length&&nr(t)}};function ir(t,r,e){let o,n=0,i=[];for(;n<t.length;n++)o=t[n],!o["s-sr"]||r&&o["s-hn"]!==r||void 0!==e||i.push(o),i=[...i,...ir(o.childNodes,r,e)];return i}var sr=(t,r,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let n=t;for(;n=n.nextSibling;)cr(n)!==r||!e&&n["s-sr"]||o.push(n);return o},lr=(t,r)=>1===t.nodeType?null===t.getAttribute("slot")&&""===r||t.getAttribute("slot")===r:t["s-sn"]===r||""===r,cr=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function ar(t,r){if("__"+r in t){const e=t["__"+r];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[r]?t[r]:t[r].bind(t)}var ur=new WeakMap,gr=t=>"sc-"+t.m,fr=(t,r,...e)=>{let o=null,n=null,i=null,s=!1,l=!1;const c=[],a=r=>{for(let e=0;e<r.length;e++)o=r[e],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!et(o))&&(o+=""),s&&l?c[c.length-1].p+=o:c.push(s?hr(null,o):o),l=s)};if(a(e),r){r.key&&(n=r.key),r.name&&(i=r.name);{const t=r.className||r.class;t&&(r.class="object"!=typeof t?t:Object.keys(t).filter((r=>t[r])).join(" "))}}if("function"==typeof t)return t(null===r?{}:r,c,mr);const u=hr(t,null);return u.v=r,c.length>0&&(u.$=c),u.k=n,u.S=i,u},hr=(t,r)=>({u:0,O:t,p:r,j:null,$:null,v:null,k:null,S:null}),br={},mr={forEach:(t,r)=>t.map(dr).forEach(r),map:(t,r)=>t.map(dr).map(r).map(pr)},dr=t=>({vattrs:t.v,vchildren:t.$,vkey:t.k,vname:t.S,vtag:t.O,vtext:t.p}),pr=t=>{if("function"==typeof t.vtag){const r={...t.vattrs};return t.vkey&&(r.key=t.vkey),t.vname&&(r.name=t.vname),fr(t.vtag,r,...t.vchildren||[])}const r=hr(t.vtag,t.vtext);return r.v=t.vattrs,r.$=t.vchildren,r.k=t.vkey,r.S=t.vname,r},vr=t=>{const r=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${r}))(${r}\\b)`,"g")};vr("::slotted"),vr(":host"),vr(":host-context");var wr,yr,$r,zr=(t,r)=>null==t||et(t)?t:4&r?"false"!==t&&(""===t||!!t):2&r?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&r?t+"":t,kr=t=>{var r;return null==(r=L(t))?void 0:r.$hostElement$},xr=(t,r,e)=>{const o=kr(t);return{emit:t=>Sr(o,r,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},Sr=(t,r,e)=>{const o=B.ce(r,e);return t.dispatchEvent(o),o},Or=(t,r,e,o,n,i)=>{if(e===o)return;let s=T(t,r),l=r.toLowerCase();if("class"===r){const r=t.classList,n=Mr(e);let i=Mr(o);r.remove(...n.filter((t=>t&&!i.includes(t)))),r.add(...i.filter((t=>t&&!n.includes(t))))}else if("style"===r){for(const r in e)o&&null!=o[r]||(r.includes("-")?t.style.removeProperty(r):t.style[r]="");for(const r in o)e&&o[r]===e[r]||(r.includes("-")?t.style.setProperty(r,o[r]):t.style[r]=o[r])}else if("key"===r);else if("ref"===r)o&&o(t);else if(s||"o"!==r[0]||"n"!==r[1]){const c=et(o);if(s||c&&null!==o)try{if(t.tagName.includes("-"))t[r]!==o&&(t[r]=o);else{const n=null==o?"":o;"list"===r?s=!1:null!=e&&t[r]==n||("function"==typeof t.__lookupSetter__(r)?t[r]=n:t.setAttribute(r,n))}}catch(t){}let a=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(r=l,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(r)||(a?t.removeAttributeNS(I,r):t.removeAttribute(r)):(!s||4&i||n)&&!c&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(I,r,o):t.setAttribute(r,o))}else if(r="-"===r[2]?r.slice(3):T(U,l)?l.slice(2):l[2]+r.slice(3),e||o){const n=r.endsWith(Er);r=r.replace(Nr,""),e&&B.rel(t,r,e,n),o&&B.ael(t,r,o,n)}},jr=/\s/,Mr=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(jr):[]),Er="Capture",Nr=RegExp(Er+"$"),Pr=(t,r,e)=>{const o=11===r.j.nodeType&&r.j.host?r.j.host:r.j,n=t&&t.v||{},i=r.v||{};for(const t of Rr(Object.keys(n)))t in i||Or(o,t,n[t],void 0,e,r.u);for(const t of Rr(Object.keys(i)))Or(o,t,n[t],i[t],e,r.u)};function Rr(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Wr=!1,Cr=!1,Lr=!1,Ar=!1,Tr=(t,r,e)=>{var o;const n=r.$[e];let i,s,l,c=0;if(Wr||(Lr=!0,"slot"===n.O&&(n.u|=n.$?2:1)),null!==n.p)i=n.j=U.document.createTextNode(n.p);else if(1&n.u)i=n.j=U.document.createTextNode(""),Pr(null,n,Ar);else{if(!U.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(i=n.j=U.document.createElement(!Wr&&2&n.u?"slot-fb":n.O),Pr(null,n,Ar),null!=wr&&void 0!==wr&&i["s-si"]!==wr&&i.classList.add(i["s-si"]=wr),n.$){const r="template"===n.O?i.content:i;for(c=0;c<n.$.length;++c)s=Tr(t,n,c),s&&r.appendChild(s)}}return i["s-hn"]=$r,3&n.u&&(i["s-sr"]=!0,i["s-cr"]=yr,i["s-sn"]=n.S||"",i["s-rf"]=null==(o=n.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const r=r=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const n=this["s-cr"].parentElement;return(n.__childNodes?n.childNodes:(t=>{const r=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&r.push(o)}return r})(n.childNodes)).forEach((t=>{o===cr(t)&&e.push(t)})),r?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=r(!0),t.assignedNodes=r(!1)}(i),l=t&&t.$&&t.$[e],l&&l.O===n.O&&t.j&&Fr(t.j,!1),qr(yr,i,r.j,null==t?void 0:t.j)),i},Fr=(t,r)=>{B.u|=1;const e=Array.from(t.__childNodes||t.childNodes);for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==$r&&o["s-ol"]&&(Vr(Ir(o).parentNode,o,Ir(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Lr=!0),r&&Fr(o,r)}B.u&=-2},_r=(t,r,e,o,n,i)=>{let s,l=t["s-cr"]&&t["s-cr"].parentNode||t;for(l.shadowRoot&&l.tagName===$r&&(l=l.shadowRoot),"template"===e.O&&(l=l.content);n<=i;++n)o[n]&&(s=Tr(null,e,n),s&&(o[n].j=s,Vr(l,s,Ir(r))))},Dr=(t,r,e)=>{for(let o=r;o<=e;++o){const r=t[o];if(r){const t=r.j;Zr(r),t&&(Cr=!0,t["s-ol"]?t["s-ol"].remove():Fr(t,!0),t.remove())}}},Gr=(t,r,e=!1)=>t.O===r.O&&("slot"===t.O?t.S===r.S:e?(e&&!t.k&&r.k&&(t.k=r.k),!0):t.k===r.k),Ir=t=>t&&t["s-ol"]||t,Ur=(t,r,e=!1)=>{const o=r.j=t.j,n=t.$,i=r.$,s=r.p;let l;null===s?(Pr(t,r,Ar),null!==n&&null!==i?((t,r,e,o,n=!1)=>{let i,s,l=0,c=0,a=0,u=0,g=r.length-1,f=r[0],h=r[g],b=o.length-1,m=o[0],d=o[b];const p="template"===e.O?t.content:t;for(;l<=g&&c<=b;)if(null==f)f=r[++l];else if(null==h)h=r[--g];else if(null==m)m=o[++c];else if(null==d)d=o[--b];else if(Gr(f,m,n))Ur(f,m,n),f=r[++l],m=o[++c];else if(Gr(h,d,n))Ur(h,d,n),h=r[--g],d=o[--b];else if(Gr(f,d,n))"slot"!==f.O&&"slot"!==d.O||Fr(f.j.parentNode,!1),Ur(f,d,n),Vr(p,f.j,h.j.nextSibling),f=r[++l],d=o[--b];else if(Gr(h,m,n))"slot"!==f.O&&"slot"!==d.O||Fr(h.j.parentNode,!1),Ur(h,m,n),Vr(p,h.j,f.j),h=r[--g],m=o[++c];else{for(a=-1,u=l;u<=g;++u)if(r[u]&&null!==r[u].k&&r[u].k===m.k){a=u;break}a>=0?(s=r[a],s.O!==m.O?i=Tr(r&&r[c],e,a):(Ur(s,m,n),r[a]=void 0,i=s.j),m=o[++c]):(i=Tr(r&&r[c],e,c),m=o[++c]),i&&Vr(Ir(f.j).parentNode,i,Ir(f.j))}l>g?_r(t,null==o[b+1]?null:o[b+1].j,e,o,c,b):c>b&&Dr(r,l,g)})(o,n,r,i,e):null!==i?(null!==t.p&&(o.textContent=""),_r(o,null,r,i,0,i.length-1)):!e&&null!==n&&Dr(n,0,n.length-1)):(l=o["s-cr"])?l.parentNode.textContent=s:t.p!==s&&(o.data=s)},Br=[],Hr=t=>{let r,e,o;const n=t.__childNodes||t.childNodes;for(const t of n){if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){e=r.parentNode.__childNodes||r.parentNode.childNodes;const n=t["s-sn"];for(o=e.length-1;o>=0;o--)if(r=e[o],!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"])if(lr(r,n)){let e=Br.find((t=>t.M===r));Cr=!0,r["s-sn"]=r["s-sn"]||n,e?(e.M["s-sh"]=t["s-hn"],e.N=t):(r["s-sh"]=t["s-hn"],Br.push({N:t,M:r})),r["s-sr"]&&Br.map((t=>{lr(t.M,r["s-sn"])&&(e=Br.find((t=>t.M===r)),e&&!t.N&&(t.N=e.N))}))}else Br.some((t=>t.M===r))||Br.push({M:r})}1===t.nodeType&&Hr(t)}},Zr=t=>{t.v&&t.v.ref&&t.v.ref(null),t.$&&t.$.map(Zr)},Vr=(t,r,e)=>("string"==typeof r["s-sn"]&&r["s-sr"]&&r["s-cr"]&&qr(r["s-cr"],r,t,r.parentElement),null==t?void 0:t.insertBefore(r,e));function qr(t,r,e,o){var n,i;let s;if(t&&"string"==typeof r["s-sn"]&&r["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(s=r["s-si"]||t.parentNode["s-sc"])){const t=r["s-sn"],l=r["s-hn"];if(null==(n=e.classList)||n.add(s+"-s"),o&&(null==(i=o.classList)?void 0:i.contains(s+"-s"))){let r=(o.__childNodes||o.childNodes)[0],e=!1;for(;r;){if(r["s-sn"]!==t&&r["s-hn"]===l&&r["s-sr"]){e=!0;break}r=r.nextSibling}e||o.classList.remove(s+"-s")}}}var Yr=(t,r)=>{if(r&&!t.P&&r["s-p"]){const e=r["s-p"].push(new Promise((o=>t.P=()=>{r["s-p"].splice(e-1,1),o()})))}},Jr=(t,r)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Yr(t,t.R);const e=()=>Kr(t,r);if(!r)return rt(e);queueMicrotask((()=>{e()}))},Kr=(t,r)=>{const e=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return r?(t.u|=256,t.W&&(t.W.map((([t,r])=>ie(o,t,r,e))),t.W=void 0),t.C.length&&t.C.forEach((t=>t(e))),n=ie(o,"componentWillLoad",void 0,e)):n=ie(o,"componentWillUpdate",void 0,e),n=Qr(n,(()=>ie(o,"componentWillRender",void 0,e))),Qr(n,(()=>te(t,o,r)))},Qr=(t,r)=>Xr(t)?t.then(r).catch((t=>{console.error(t),r()})):r(),Xr=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,te=async(t,r,e)=>{var o;const n=t.$hostElement$,i=n["s-rc"];e&&(t=>{const r=t.o,e=t.$hostElement$,o=r.u,n=((t,r)=>{var e,o,n;const i=gr(r),s=D.get(i);if(!U.document)return i;if(t=11===t.nodeType?t:U.document,s)if("string"==typeof s){let n,l=ur.get(t=t.head||t);if(l||ur.set(t,l=new Set),!l.has(i)){n=U.document.createElement("style"),n.innerHTML=s;const c=null!=(e=B.L)?e:Jt(U.document);if(null!=c&&n.setAttribute("nonce",c),!(1&r.u))if("HEAD"===t.nodeName){const r=t.querySelectorAll("link[rel=preconnect]"),e=r.length>0?r[r.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(Z){const r=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;r.replaceSync(s),V?t.adoptedStyleSheets.unshift(r):t.adoptedStyleSheets=[r,...t.adoptedStyleSheets]}else{const r=t.querySelector("style");r?r.innerHTML=s+r.innerHTML:t.prepend(n)}else t.append(n);1&r.u&&t.insertBefore(n,null),4&r.u&&(n.innerHTML+=G),l&&l.add(i)}}else{let r=ur.get(t);if(r||ur.set(t,r=new Set),!r.has(i)){const e=null!=(n=t.defaultView)?n:t.ownerDocument.defaultView;let o;if(s.constructor===e.CSSStyleSheet)o=s;else{o=new e.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}V?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],r.add(i)}}return i})(e.shadowRoot?e.shadowRoot:e.getRootNode(),r);10&o&&(e["s-sc"]=n,e.classList.add(n+"-h"))})(t);re(t,r,n,e),i&&(i.map((t=>t())),n["s-rc"]=void 0);{const r=null!=(o=n["s-p"])?o:[],e=()=>ee(t);0===r.length?e():(Promise.all(r).then(e),t.u|=4,r.length=0)}},re=(t,r,e,o)=>{try{r=r.render&&r.render(),t.u&=-17,t.u|=2,((t,r,e=!1)=>{var o,n,i,s;const l=t.$hostElement$,c=t.o,a=t.A||hr(null,null),u=(t=>t&&t.O===br)(r)?r:fr(null,null,r);if($r=l.tagName,c.T&&(u.v=u.v||{},c.T.forEach((([t,r])=>{u.v[r]=l[t]}))),e&&u.v)for(const t of Object.keys(u.v))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(u.v[t]=l[t]);if(u.O=null,u.u|=4,t.A=u,u.j=a.j=l.shadowRoot||l,wr=l["s-sc"],Wr=!(!(1&c.u)||128&c.u),yr=l["s-cr"],Cr=!1,Ur(a,u,e),B.u|=1,Lr){Hr(u.j);for(const t of Br){const r=t.M;if(!r["s-ol"]&&U.document){const t=U.document.createTextNode("");t["s-nr"]=r,Vr(r.parentNode,r["s-ol"]=t,r)}}for(const t of Br){const r=t.M,l=t.N;if(1===r.nodeType&&e&&(r["s-ih"]=null!=(o=r.hidden)&&o),l){const t=l.parentNode;let e=l.nextSibling;{let o=null==(n=r["s-ol"])?void 0:n.previousSibling;for(;o;){let n=null!=(i=o["s-nr"])?i:null;if(n&&n["s-sn"]===r["s-sn"]&&t===(n.__parentNode||n.parentNode)){for(n=n.nextSibling;n===r||(null==n?void 0:n["s-sr"]);)n=null==n?void 0:n.nextSibling;if(!n||!n["s-nr"]){e=n;break}}o=o.previousSibling}}(!e&&t!==(r.__parentNode||r.parentNode)||(r.__nextSibling||r.nextSibling)!==e)&&r!==e&&(!r["s-hn"]&&r["s-ol"]&&(r["s-hn"]=r["s-ol"].parentNode.nodeName),Vr(t,r,e),1===r.nodeType&&"SLOT-FB"!==r.tagName&&(r.hidden=null!=(s=r["s-ih"])&&s)),r&&"function"==typeof l["s-rf"]&&l["s-rf"](l)}else 1===r.nodeType&&(r.hidden=!0)}}Cr&&nr(u.j),B.u&=-2,Br.length=0,yr=void 0})(t,r,o)}catch(r){F(r,t.$hostElement$)}return null},ee=t=>{const r=t.$hostElement$,e=t.l,o=t.R;ie(e,"componentDidRender",void 0,r),64&t.u?ie(e,"componentDidUpdate",void 0,r):(t.u|=64,se(r),ie(e,"componentDidLoad",void 0,r),t.F(r),o||ne()),t._(r),t.P&&(t.P(),t.P=void 0),512&t.u&&tt((()=>Jr(t,!1))),t.u&=-517},oe=t=>{var r;{const e=L(t),o=null==(r=null==e?void 0:e.$hostElement$)?void 0:r.isConnected;return o&&2==(18&e.u)&&Jr(e,!1),o}},ne=()=>{tt((()=>Sr(U,"appload",{detail:{namespace:"mg-components"}})))},ie=(t,r,e,o)=>{if(t&&t[r])try{return t[r](e)}catch(t){F(t,o)}},se=t=>t.classList.add("hydrated"),le=(t,r,e,o)=>{const n=L(t);if(!n)return;if(!n)throw Error(`Couldn't find host element for "${o.m}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const i=n.$hostElement$,s=n.i.get(r),l=n.u,c=n.l;if(e=zr(e,o.t[r][0]),!(8&l&&void 0!==s||e===s||Number.isNaN(s)&&Number.isNaN(e))){if(n.i.set(r,e),o.D){const t=o.D[r];t&&t.map((t=>{try{const[[o,i]]=Object.entries(t);(128&l||1&i)&&(c?c[o](e,s,r):n.C.push((()=>{n.l[o](e,s,r)})))}catch(t){F(t,i)}}))}if(2==(18&l)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(e,s,r))return;Jr(n,!1)}}},ce=(t,r,e)=>{var o,n;const i=t.prototype;{t.watchers&&!r.D&&(r.D=t.watchers),t.deserializers&&!r.G&&(r.G=t.deserializers),t.serializers&&!r.I&&(r.I=t.serializers);const s=Object.entries(null!=(o=r.t)?o:{});if(s.map((([t,[o]])=>{if(31&o||2&e&&32&o){const{get:n,set:s}=Object.getOwnPropertyDescriptor(i,t)||{};n&&(r.t[t][0]|=2048),s&&(r.t[t][0]|=4096),(1&e||!n)&&Object.defineProperty(i,t,{get(){{if(!(2048&r.t[t][0]))return((t,r)=>L(this).i.get(r))(0,t);const e=L(this),o=e?e.l:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(n){const i=L(this);if(i){if(s)return void 0===(32&o?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(n=i.i.get(t)),s.call(this,zr(n,o)),void le(this,t,n=32&o?this[t]:i.$hostElement$[t],r);{if(!(1&e&&4096&r.t[t][0]))return le(this,t,n,r),void(1&e&&!i.l&&i.C.push((()=>{4096&r.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=n)})));const s=()=>{const e=i.l[t];!i.i.get(t)&&e&&i.i.set(t,e),i.l[t]=zr(n,o),le(this,t,i.l[t],r)};i.l?s():i.C.push((()=>{s()}))}}}})}else 1&e&&64&o&&Object.defineProperty(i,t,{value(...r){var e;const o=L(this);return null==(e=null==o?void 0:o.U)?void 0:e.then((()=>{var e;return null==(e=o.l)?void 0:e[t](...r)}))}})})),1&e){const e=new Map;i.attributeChangedCallback=function(t,o,n){B.jmp((()=>{var l;const c=e.get(t),a=L(this);if(this.hasOwnProperty(c)&&(n=this[c],delete this[c]),i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==n)return;if(null==c){const e=null==a?void 0:a.u;if(a&&e&&!(8&e)&&n!==o){const i=a.l,s=null==(l=r.D)?void 0:l[t];null==s||s.forEach((r=>{const[[s,l]]=Object.entries(r);null!=i[s]&&(128&e||1&l)&&i[s].call(i,n,o,t)}))}return}const u=s.find((([t])=>t===c));u&&4&u[1][0]&&(n=null!==n&&"false"!==n);const g=Object.getOwnPropertyDescriptor(i,c);n==this[c]||g.get&&!g.set||(this[c]=n)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(n=r.D)?n:{}),...s.filter((([t,r])=>31&r[0])).map((([t,o])=>{var n;const i=o[1]||t;return e.set(i,t),512&o[0]&&(null==(n=r.T)||n.push([t,i])),i}))]))}}return t},ae=(t,r)=>{ie(t,"connectedCallback",void 0,r)},ue=(t,r)=>{ie(t,"disconnectedCallback",void 0,r||t)},ge=(t,r={})=>{var e;if(!U.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],n=r.exclude||[],i=U.customElements,s=U.document.head,l=s.querySelector("meta[charset]"),c=U.document.createElement("style"),a=[];let u,g=!0;Object.assign(B,r),B.h=new URL(r.resourcesUrl||"./",U.document.baseURI).href;let f=!1;if(t.map((t=>{t[1].map((r=>{var e,s,l;const c={u:r[0],m:r[1],t:r[2],B:r[3]};4&c.u&&(f=!0),c.t=r[2],c.B=r[3],c.T=[],c.D=null!=(e=r[4])?e:{},c.I=null!=(s=r[5])?s:{},c.G=null!=(l=r[6])?l:{};const h=c.m,b=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,r)=>{const e={u:0,$hostElement$:t,o:r,i:new Map,H:new Map};e.U=new Promise((t=>e._=t)),e.Z=new Promise((t=>e.F=t)),t["s-p"]=[],t["s-rc"]=[],e.C=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,c),1&c.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.m}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else or.call(t,c)}connectedCallback(){const t=L(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,fe(this,t,c.B)),u&&(clearTimeout(u),u=null),g?a.push(this):B.jmp((()=>(t=>{if(!(1&B.u)){const r=L(t);if(!r)return;const e=r.o,o=()=>{};if(1&r.u)fe(t,r,e.B),(null==r?void 0:r.l)?ae(r.l,t):(null==r?void 0:r.Z)&&r.Z.then((()=>ae(r.l,t)));else{r.u|=1,12&e.u&&(t=>{if(!U.document)return;const r=t["s-cr"]=U.document.createComment("");r["s-cn"]=!0,Vr(t,r,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Yr(r,r.R=e);break}}e.t&&Object.entries(e.t).map((([r,[e]])=>{if(31&e&&r in t&&t[r]!==Object.prototype[r]){const e=t[r];delete t[r],t[r]=e}})),(async(t,r,e)=>{let o;if(!(32&r.u)){if(r.u|=32,e.V){const n=((t,r)=>{const e=t.m.replace(/-/g,"_"),o=t.V;if(!o)return;const n=_.get(o);return n?n[e]:import(`./${o}.entry.js`).then((t=>(_.set(o,t),t[e])),(t=>{F(t,r.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,r);if(n&&"then"in n){const t=()=>{};o=await n,t()}else o=n;if(!o)throw Error(`Constructor for "${e.m}#${r.q}" was not found`);o.isProxied||(e.D=o.watchers,e.I=o.serializers,e.G=o.deserializers,ce(o,e,2),o.isProxied=!0);const i=()=>{};r.u|=8;try{new o(r)}catch(r){F(r,t)}r.u&=-9,r.u|=128,i(),ae(r.l,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>r.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const r=gr(e);if(!D.has(r)){const o=()=>{};((t,r,e)=>{let o=D.get(t);Z&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=r:o.replaceSync(r)):o=r,D.set(t,o)})(r,t,!!(1&e.u)),o()}}}const n=r.R,i=()=>Jr(r,!0);n&&n["s-rc"]?n["s-rc"].push(i):i()})(t,r,e)}o()}})(this))))}disconnectedCallback(){B.jmp((()=>(async t=>{if(!(1&B.u)){const r=L(t);(null==r?void 0:r.Y)&&(r.Y.map((t=>t())),r.Y=void 0),(null==r?void 0:r.l)?ue(r.l,t):(null==r?void 0:r.Z)&&r.Z.then((()=>ue(r.l,t)))}ur.has(t)&&ur.delete(t),t.shadowRoot&&ur.has(t.shadowRoot)&&ur.delete(t.shadowRoot)})(this))),B.raf((()=>{var t;const r=L(this);if(!r)return;const e=a.findIndex((t=>t===this));e>-1&&a.splice(e,1),(null==(t=null==r?void 0:r.A)?void 0:t.j)instanceof Node&&!r.A.j.isConnected&&delete r.A.j}))}componentOnReady(){var t;return null==(t=L(this))?void 0:t.Z}};c.V=t[0],n.includes(h)||i.get(h)||(o.push(h),i.define(h,ce(b,c,1)))}))})),o.length>0&&(f&&(c.textContent+=G),c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(e=B.L)?e:Jt(U.document);null!=t&&c.setAttribute("nonce",t),s.insertBefore(c,l?l.nextSibling:s.firstChild)}g=!1,a.length?a.map((t=>t.connectedCallback())):B.jmp((()=>u=setTimeout(ne,30)))},fe=(t,r,e)=>{e&&U.document&&e.map((([e,o,n])=>{const i=t,s=he(r,n),l=be(e);B.ael(i,o,s,l),(r.Y=r.Y||[]).push((()=>B.rel(i,o,s,l)))}))},he=(t,r)=>e=>{var o;try{256&t.u?null==(o=t.l)||o[r](e):(t.W=t.W||[]).push([r,e])}catch(r){F(r,t.$hostElement$)}},be=t=>({passive:!!(1&t),capture:!!(2&t)}),me=t=>B.L=t;export{br as H,kr as a,ge as b,xr as c,oe as f,t as g,fr as h,H as p,A as r,me as s}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { CheckboxItem, IMgInputCheckboxBase } from '../mg-input-checkbox.conf';
|
|
2
|
-
/**
|
|
3
|
-
* Internal component use to manage sections instances
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare class MgInputCheckboxPaginated implements IMgInputCheckboxBase {
|
|
7
|
-
/*************
|
|
8
|
-
* Variables *
|
|
9
|
-
*************/
|
|
10
|
-
private items;
|
|
11
|
-
private readonly step;
|
|
12
|
-
/*************
|
|
13
|
-
* Decorators *
|
|
14
|
-
*************/
|
|
15
|
-
/**
|
|
16
|
-
* Define if mg-input-checkbox-list is readonly
|
|
17
|
-
*/
|
|
18
|
-
readonly: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Define if mg-input-checkbox-list is disabled
|
|
21
|
-
*/
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Define mg-input-checkbox input name
|
|
25
|
-
*/
|
|
26
|
-
name?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Define mg-input-checkbox input invalid
|
|
29
|
-
*/
|
|
30
|
-
invalid?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Define checkboxes to paginate
|
|
33
|
-
*/
|
|
34
|
-
checkboxes: CheckboxItem[];
|
|
35
|
-
watchCheckboxes(): void;
|
|
36
|
-
/**
|
|
37
|
-
* Define component message
|
|
38
|
-
*/
|
|
39
|
-
messages: Record<string, string>;
|
|
40
|
-
/**
|
|
41
|
-
* Page items limit to display
|
|
42
|
-
*/
|
|
43
|
-
limit: number;
|
|
44
|
-
watchLimit(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Method to reset limit
|
|
47
|
-
*/
|
|
48
|
-
resetLimit(): Promise<void>;
|
|
49
|
-
/***********
|
|
50
|
-
* Methods *
|
|
51
|
-
***********/
|
|
52
|
-
/**
|
|
53
|
-
* Component has next checkboxes to display
|
|
54
|
-
* @returns truthy if have next elements
|
|
55
|
-
*/
|
|
56
|
-
private hasNext;
|
|
57
|
-
/**
|
|
58
|
-
* Set items from checkboxes and limit
|
|
59
|
-
*/
|
|
60
|
-
private setItems;
|
|
61
|
-
/**
|
|
62
|
-
* Handle load-more <mg-button> click event
|
|
63
|
-
*/
|
|
64
|
-
private handleLoadMore;
|
|
65
|
-
/*************
|
|
66
|
-
* Lifecycle *
|
|
67
|
-
*************/
|
|
68
|
-
/**
|
|
69
|
-
* Validate props
|
|
70
|
-
*/
|
|
71
|
-
componentWillLoad(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Render
|
|
74
|
-
* @returns HTML Element
|
|
75
|
-
*/
|
|
76
|
-
render(): HTMLElement;
|
|
77
|
-
}
|