crmbonus-component-wake 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/components/app-modal.d.ts +11 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/crmbonus-component-wake/app-globals-0f993ce5.js +5 -0
- package/dist/crmbonus-component-wake/app-globals-0f993ce5.js.map +1 -0
- package/dist/crmbonus-component-wake/app-modal.entry.js +23 -0
- package/dist/crmbonus-component-wake/app-modal.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/assets/logo.svg +18 -0
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +49 -0
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -0
- package/dist/crmbonus-component-wake/index-2aa8671b.js +3039 -0
- package/dist/crmbonus-component-wake/index-2aa8671b.js.map +1 -0
- package/dist/crmbonus-component-wake/index-5f62d39b.js +3039 -0
- package/dist/crmbonus-component-wake/index-5f62d39b.js.map +1 -0
- package/dist/crmbonus-component-wake/index-f123357e.js +3039 -0
- package/dist/crmbonus-component-wake/index-f123357e.js.map +1 -0
- package/dist/crmbonus-component-wake/index-fc5d9bd5.js +3039 -0
- package/dist/crmbonus-component-wake/index-fc5d9bd5.js.map +1 -0
- package/dist/crmbonus-component-wake/index.esm.js +17 -0
- package/dist/crmbonus-component-wake/index.esm.js.map +1 -0
- package/dist/crmbonus-component-wake/my-component.entry.js +21 -0
- package/dist/crmbonus-component-wake/my-component.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +334 -0
- package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +1 -0
- package/dist/crmbonus-component-wake/utils-11fcde98.js +7 -0
- package/dist/crmbonus-component-wake/utils-11fcde98.js.map +1 -0
- package/dist/types/components/modal/app-modal.d.ts +8 -0
- package/dist/types/components/my-component/my-component.d.ts +4 -0
- package/dist/types/components.d.ts +70 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +50 -0
- package/readme.md +115 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
2
|
+
|
3
|
+
interface AppModal extends Components.AppModal, HTMLElement {}
|
4
|
+
export const AppModal: {
|
5
|
+
prototype: AppModal;
|
6
|
+
new (): AppModal;
|
7
|
+
};
|
8
|
+
/**
|
9
|
+
* Used to define this component and all nested components recursively.
|
10
|
+
*/
|
11
|
+
export const defineCustomElement: () => void;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* Get the base path to where the assets can be found. Use "setAssetPath(path)"
|
3
|
+
* if the path needs to be customized.
|
4
|
+
*/
|
5
|
+
export declare const getAssetPath: (path: string) => string;
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Used to manually set the base path where assets can be found.
|
9
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
10
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
11
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
12
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
13
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
14
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
15
|
+
* will have to ensure the static assets are copied to its build directory.
|
16
|
+
*/
|
17
|
+
export declare const setAssetPath: (path: string) => void;
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
21
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
22
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
23
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
24
|
+
* will result in the same behavior.
|
25
|
+
*/
|
26
|
+
export declare const setNonce: (nonce: string) => void
|
27
|
+
|
28
|
+
export interface SetPlatformOptions {
|
29
|
+
raf?: (c: FrameRequestCallback) => number;
|
30
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
31
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
32
|
+
}
|
33
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
2
|
+
|
3
|
+
interface MyComponent extends Components.MyComponent, HTMLElement {}
|
4
|
+
export const MyComponent: {
|
5
|
+
prototype: MyComponent;
|
6
|
+
new (): MyComponent;
|
7
|
+
};
|
8
|
+
/**
|
9
|
+
* Used to define this component and all nested components recursively.
|
10
|
+
*/
|
11
|
+
export const defineCustomElement: () => void;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"app-globals-0f993ce5.js","mappings":"AAAY,MAAC,aAAa,GAAG,MAAM;;;;","names":[],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"version":3}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { r as registerInstance, a as createEvent, h } from './index-2aa8671b.js';
|
2
|
+
|
3
|
+
const appModalCss = ".modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:none;justify-content:center;align-items:center;z-index:1000}.modal-backdrop.visible{display:flex}.modal{background:white;border-radius:8px;padding:1rem;max-width:500px;width:90%;box-shadow:0 2px 10px rgba(0, 0, 0, 0.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;margin-bottom:1rem}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer}.modal-body{padding:1rem 0}";
|
4
|
+
|
5
|
+
const AppModal = class {
|
6
|
+
constructor(hostRef) {
|
7
|
+
registerInstance(this, hostRef);
|
8
|
+
this.modalClosed = createEvent(this, "modalClosed", 7);
|
9
|
+
this.isOpen = false;
|
10
|
+
this.modalTitle = undefined;
|
11
|
+
}
|
12
|
+
closeModal() {
|
13
|
+
this.modalClosed.emit();
|
14
|
+
}
|
15
|
+
render() {
|
16
|
+
return (h("div", { key: 'e0308e24dc727d013b00ceb38072335389e7f885', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: '82aa379e7d718cb3455d707fc7e6edb32eedbc8c', class: "modal" }, h("div", { key: '1146139d056f24fde6000739f63cb2b7cd1793b0', class: "modal-header" }, h("h3", { key: 'd1cd71346ea2bfbaacb14af4dde9e08f68ae9412' }, this.modalTitle), h("button", { key: 'f082f5657b7beaf241162ec6ada746d52b6643de', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: '8d1356892c2ad41850575b135c3e0a07b1bc7253', class: "modal-body" }, h("slot", { key: 'c46c1cf4bd1e60214ad0477fe41de20028517cdc' })))));
|
17
|
+
}
|
18
|
+
};
|
19
|
+
AppModal.style = appModalCss;
|
20
|
+
|
21
|
+
export { AppModal as app_modal };
|
22
|
+
|
23
|
+
//# sourceMappingURL=app-modal.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"app-modal.entry.esm.js","mappings":";;AAAA,MAAM,WAAW,GAAG,6iBAA6iB;;MCOpjB,QAAQ;;;;sBAG0B,KAAK;;;IAQxC,UAAU;QACd,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;KAC3B;IAED,MAAM;QACF,QACI,4DAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,MAAM,GAAG,SAAS,GAAG,EAAE,EAAE,IACxD,4DAAK,KAAK,EAAC,OAAO,IACd,4DAAK,KAAK,EAAC,cAAc,IACrB,6DAAK,IAAI,CAAC,UAAU,CAAM,EAC1B,+DAAQ,KAAK,EAAC,cAAc,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,aAEpD,CACP,EACN,4DAAK,KAAK,EAAC,YAAY,IACnB,8DAAQ,CACN,CACJ,CACJ,EACT;KACJ;;;;;;","names":[],"sources":["src/components/modal/app-modal.css?tag=app-modal&encapsulation=shadow","src/components/modal/app-modal.tsx"],"sourcesContent":[".modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.5);\n display: none;\n justify-content: center;\n align-items: center;\n z-index: 1000;\n }\n \n .modal-backdrop.visible {\n display: flex;\n }\n \n .modal {\n background: white;\n border-radius: 8px;\n padding: 1rem;\n max-width: 500px;\n width: 90%;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);\n }\n \n .modal-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #ddd;\n margin-bottom: 1rem;\n }\n \n .close-button {\n background: none;\n border: none;\n font-size: 1.5rem;\n cursor: pointer;\n }\n \n .modal-body {\n padding: 1rem 0;\n }\n ","import { Component, Event, EventEmitter, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'app-modal',\n styleUrl: 'app-modal.css',\n shadow: true,\n})\nexport class AppModal {\n\n // Controle da visibilidade do modal\n @Prop({ reflect: true }) isOpen: boolean = false;\n\n // Título do modal\n @Prop() modalTitle: string;\n\n // Evento emitido ao fechar o modal\n @Event() modalClosed: EventEmitter<void>;\n\n private closeModal() {\n this.modalClosed.emit();\n }\n\n render() {\n return (\n <div class={`modal-backdrop ${this.isOpen ? 'visible' : ''}`}>\n <div class=\"modal\">\n <div class=\"modal-header\">\n <h3>{this.modalTitle}</h3>\n <button class=\"close-button\" onClick={() => this.closeModal()}>\n ×\n </button>\n </div>\n <div class=\"modal-body\">\n <slot />\n </div>\n </div>\n </div>\n )\n }\n}"],"version":3}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 703 103" fill="none" preserveAspectRatio="xMidYMid meet" aria-hidden="true" role="img">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M689.2 57.5004L647.1 99.6004L637.3 89.8004L679.4 47.7004H636V33.9004H695C696.9 33.9004 698.5 34.5004 699.7 35.5004C700 35.7004 700.2 35.9004 700.4 36.1004C700.6 36.3004 700.8 36.5004 700.9 36.7004V36.8004V36.9004C702 38.1004 702.7 39.8004 702.7 41.8004V43.6004V67.0004V100.7H688.9V80.8004V57.5004H689.2Z" fill="url(#paint0_linear_1629_188)"></path>
|
3
|
+
<path d="M52.7 76.4998H67.7C65.3 91.7998 51.9 102.5 35.2 102.5C15.2 102.5 0 87.2998 0 67.3998C0 47.6998 15.2 32.2998 35.2 32.2998C51.9 32.2998 65.3 42.8998 67.7 58.2998H52.7C50.9 50.7998 44.2 45.6998 35.2 45.6998C22.9 45.6998 14.8 55.3998 14.8 67.3998C14.8 79.4998 22.9 89.0998 35.2 89.0998C44.2 89.1998 50.9 84.0998 52.7 76.4998Z" fill="currentColor"></path>
|
4
|
+
<path d="M117.2 32.7002V46.6002C106.6 47.0002 98.5002 51.0002 92.5002 58.8002V100.8H77.7002V34.1002H92.5002V43.2002C98.6002 36.5002 107 32.7002 117.2 32.7002Z" fill="currentColor"></path>
|
5
|
+
<path d="M237.4 62.5997V100.8H222.8V62.5997C222.8 50.7997 216.6 45.6997 207 45.6997C200.5 45.6997 194.2 48.0997 189.3 54.7997C189.7 56.8997 189.9 59.2997 189.9 61.7997V100.8H175.2V61.7997C175.2 49.9997 169 45.7997 160.3 45.7997C153.3 45.7997 147.1 48.5997 142.3 55.2997V100.9H127.5V34.1997H142.3V39.8997C147.3 35.3997 153.2 32.4997 162 32.4997C171.5 32.4997 179.2 35.7997 184.1 42.1997C190.6 35.7997 198.2 32.4997 207.9 32.4997C225.5 32.3997 237.4 42.8997 237.4 62.5997Z" fill="currentColor"></path>
|
6
|
+
<path d="M320 67.3C320 86.9 304.8 102.5 286.1 102.5C277.6 102.5 270.3 99.9 264.8 95.5V100.8H250V0H264.8V39.2C270.3 34.9 277.6 32.4 286.1 32.4C304.8 32.4 320 48 320 67.3ZM305.2 67.3C305.2 55.5 296.3 45.7 283.9 45.7C276.5 45.7 269.7 48.1 264.7 55.1V79.7C269.7 86.7 276.5 89.2 283.9 89.2C296.3 89.2 305.2 79.2 305.2 67.3Z" fill="currentColor"></path>
|
7
|
+
<path d="M399.2 67.5004C399.2 87.9004 384.4 102.6 363.7 102.6C343 102.6 328.2 87.9004 328.2 67.5004C328.2 47.1004 343 32.4004 363.7 32.4004C384.4 32.4004 399.2 47.0004 399.2 67.5004ZM384.4 67.5004C384.4 54.9004 375.7 45.8004 363.7 45.8004C351.7 45.8004 343 54.9004 343 67.5004C343 80.0004 351.7 89.2004 363.7 89.2004C375.7 89.2004 384.4 79.9004 384.4 67.5004Z" fill="currentColor"></path>
|
8
|
+
<path d="M474.3 63.5997V100.8H459.5V64.4996C459.5 52.2996 453 45.7997 442.2 45.7997C435.8 45.7997 428.9 49.2996 423.6 55.8996V100.9H408.8V34.1996H423.6V40.1996C429.4 35.1996 436.7 32.4996 445.2 32.4996C462.5 32.3996 474.3 44.2997 474.3 63.5997Z" fill="currentColor"></path>
|
9
|
+
<path d="M550.4 34.0996V100.8H535.8V94.2996C530 99.5996 522.7 102.5 514.1 102.5C496.8 102.5 485.1 90.1996 485.1 70.9996V34.0996H499.7V70.1996C499.7 82.3996 506.4 89.1996 517 89.1996C523.5 89.1996 530.3 85.4996 535.7 78.6996V34.0996H550.4Z" fill="currentColor"></path>
|
10
|
+
<path d="M591.5 90.5002C600.2 90.5002 606.1 87.7002 606.1 82.4002C606.1 78.4002 602.8 75.6002 597.2 74.6002L582.4 72.0002C572.2 70.3002 562.7 65.2002 562.7 53.1002C562.7 40.2002 573.9 32.2002 590.5 32.2002C603.4 32.2002 618.3 36.6002 619.7 54.1002H606.1C605.4 46.9002 599 44.0002 590.5 44.0002C582 44.0002 577.3 47.1002 577.3 51.8002C577.3 55.3002 579.9 58.8002 587.7 60.0002L600.2 62.0002C610.3 63.8002 620.2 68.2002 620.2 81.2002C620.2 95.3002 607.9 102.5 591.1 102.5C575.3 102.5 561.9 96.3002 560.2 78.7002L573.8 78.8002C575.3 87.0002 581.4 90.5002 591.5 90.5002Z" fill="currentColor"></path>
|
11
|
+
<defs>
|
12
|
+
<linearGradient id="paint0_linear_1629_188" x1="636.833" y1="97.8261" x2="713.46" y2="26.6582" gradientUnits="userSpaceOnUse">
|
13
|
+
<stop stop-color="#F7A830"></stop>
|
14
|
+
<stop offset="0.6353" stop-color="#F08336"></stop>
|
15
|
+
<stop offset="1" stop-color="#EA5346"></stop>
|
16
|
+
</linearGradient>
|
17
|
+
</defs>
|
18
|
+
</svg>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import { B as BUILD, c as consoleDevInfo, H, d as doc, N as NAMESPACE, p as promiseResolve, b as bootstrapLazy } from './index-2aa8671b.js';
|
2
|
+
export { s as setNonce } from './index-2aa8671b.js';
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
4
|
+
|
5
|
+
/*
|
6
|
+
Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com
|
7
|
+
*/
|
8
|
+
var patchBrowser = () => {
|
9
|
+
if (BUILD.isDev && !BUILD.isTesting) {
|
10
|
+
consoleDevInfo("Running in development mode.");
|
11
|
+
}
|
12
|
+
if (BUILD.cloneNodeFix) {
|
13
|
+
patchCloneNodeFix(H.prototype);
|
14
|
+
}
|
15
|
+
const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll("script")).find(
|
16
|
+
(s) => new RegExp(`/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute("data-stencil-namespace") === NAMESPACE
|
17
|
+
) : null;
|
18
|
+
const importMeta = import.meta.url;
|
19
|
+
const opts = BUILD.scriptDataOpts ? (scriptElm || {})["data-opts"] || {} : {};
|
20
|
+
if (importMeta !== "") {
|
21
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
22
|
+
}
|
23
|
+
return promiseResolve(opts);
|
24
|
+
};
|
25
|
+
var patchCloneNodeFix = (HTMLElementPrototype) => {
|
26
|
+
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
|
27
|
+
HTMLElementPrototype.cloneNode = function(deep) {
|
28
|
+
if (this.nodeName === "TEMPLATE") {
|
29
|
+
return nativeCloneNodeFn.call(this, deep);
|
30
|
+
}
|
31
|
+
const clonedNode = nativeCloneNodeFn.call(this, false);
|
32
|
+
const srcChildNodes = this.childNodes;
|
33
|
+
if (deep) {
|
34
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
35
|
+
if (srcChildNodes[i].nodeType !== 2) {
|
36
|
+
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
return clonedNode;
|
41
|
+
};
|
42
|
+
};
|
43
|
+
|
44
|
+
patchBrowser().then(async (options) => {
|
45
|
+
await globalScripts();
|
46
|
+
return bootstrapLazy([["app-modal",[[1,"app-modal",{"isOpen":[516,"is-open"],"modalTitle":[1,"modal-title"]}]]],["my-component",[[1,"my-component",{"showModal":[32]}]]]], options);
|
47
|
+
});
|
48
|
+
|
49
|
+
//# sourceMappingURL=crmbonus-component-wake.esm.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"crmbonus-component-wake.esm.js","mappings":";;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AACzB,EAAE,IAAI,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;AACvC,IAAI,cAAc,CAAC,8BAA8B,CAAC,CAAC;AACnD,GAAG;AACH,EAAE,IAAI,KAAK,CAAC,YAAY,EAAE;AAC1B,IAAI,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AACnC,GAAG;AACH,EAAE,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;AAC1F,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,wBAAwB,CAAC,KAAK,SAAS;AACnI,GAAG,GAAG,IAAI,CAAC;AACX,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACrC,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC,CAAC;AACF,IAAI,iBAAiB,GAAG,CAAC,oBAAoB,KAAK;AAClD,EAAE,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS,CAAC;AAC3D,EAAE,oBAAoB,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;AACtC,MAAM,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAChD,KAAK;AACL,IAAI,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,IAAI,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC;AAC1C,IAAI,IAAI,IAAI,EAAE;AACd,MAAM,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACrD,QAAQ,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AAC7C,UAAU,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE,SAAS;AACT,OAAO;AACP,KAAK;AACL,IAAI,OAAO,UAAU,CAAC;AACtB,GAAG,CAAC;AACJ,CAAC;;ACrCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|