@deijose/nix-ionic 0.2.0 → 0.3.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/README.md +135 -28
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs +2612 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +2602 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/index.d.ts +2 -3
- package/dist/nix-js-logo.png +0 -0
- package/dist/p-9VcRUwdB-BZDASSRz.js +323 -0
- package/dist/p-9VcRUwdB-BZDASSRz.js.map +1 -0
- package/dist/p-9VcRUwdB-Bw8gCHlL.cjs +340 -0
- package/dist/p-9VcRUwdB-Bw8gCHlL.cjs.map +1 -0
- package/dist/p-BJoMtgfR-DP5flT_f.js +1206 -0
- package/dist/p-BJoMtgfR-DP5flT_f.js.map +1 -0
- package/dist/p-BJoMtgfR-DyzhC2Uw.cjs +1319 -0
- package/dist/p-BJoMtgfR-DyzhC2Uw.cjs.map +1 -0
- package/dist/p-BgwEQWW6-BM87vVU5.cjs +72 -0
- package/dist/p-BgwEQWW6-BM87vVU5.cjs.map +1 -0
- package/dist/p-BgwEQWW6-DIo2-ASC.js +72 -0
- package/dist/p-BgwEQWW6-DIo2-ASC.js.map +1 -0
- package/dist/p-BmVRXR1y-BsLZqRc0.cjs +41 -0
- package/dist/p-BmVRXR1y-BsLZqRc0.cjs.map +1 -0
- package/dist/p-BmVRXR1y-t-R4bYc1.js +41 -0
- package/dist/p-BmVRXR1y-t-R4bYc1.js.map +1 -0
- package/dist/p-C59ryAuS-CFciP5mq.cjs +42 -0
- package/dist/p-C59ryAuS-CFciP5mq.cjs.map +1 -0
- package/dist/p-C59ryAuS-DazlzUfi.js +19 -0
- package/dist/p-C59ryAuS-DazlzUfi.js.map +1 -0
- package/dist/p-CBzELu-H-DlS7IGlS.cjs +292 -0
- package/dist/p-CBzELu-H-DlS7IGlS.cjs.map +1 -0
- package/dist/p-CBzELu-H-bk38lWXh.js +287 -0
- package/dist/p-CBzELu-H-bk38lWXh.js.map +1 -0
- package/dist/p-CU1SSH8_-1VQUU8Zi.js +27 -0
- package/dist/p-CU1SSH8_-1VQUU8Zi.js.map +1 -0
- package/dist/p-CU1SSH8_-D56vgRhd.cjs +32 -0
- package/dist/p-CU1SSH8_-D56vgRhd.cjs.map +1 -0
- package/dist/p-Cl0B-RWe-CaQPWG_o.js +258 -0
- package/dist/p-Cl0B-RWe-CaQPWG_o.js.map +1 -0
- package/dist/p-Cl0B-RWe-CsujC7rr.cjs +269 -0
- package/dist/p-Cl0B-RWe-CsujC7rr.cjs.map +1 -0
- package/dist/p-CneGxKsZ-C5qTtPZx.cjs +26 -0
- package/dist/p-CneGxKsZ-C5qTtPZx.cjs.map +1 -0
- package/dist/p-CneGxKsZ-DghQx9uV.js +26 -0
- package/dist/p-CneGxKsZ-DghQx9uV.js.map +1 -0
- package/dist/p-Cwv-vmkN-CEJtqyzO.js +141 -0
- package/dist/p-Cwv-vmkN-CEJtqyzO.js.map +1 -0
- package/dist/p-Cwv-vmkN-_Ll5IGJb.cjs +141 -0
- package/dist/p-Cwv-vmkN-_Ll5IGJb.cjs.map +1 -0
- package/dist/p-Cz5nLPGT-CCHjKH-2.cjs +45 -0
- package/dist/p-Cz5nLPGT-CCHjKH-2.cjs.map +1 -0
- package/dist/p-Cz5nLPGT-mbB7NqG3.js +45 -0
- package/dist/p-Cz5nLPGT-mbB7NqG3.js.map +1 -0
- package/dist/p-D13Eaw-8-CkhHu_JZ.js +35 -0
- package/dist/p-D13Eaw-8-CkhHu_JZ.js.map +1 -0
- package/dist/p-D13Eaw-8-DwZ_qr-I.cjs +46 -0
- package/dist/p-D13Eaw-8-DwZ_qr-I.cjs.map +1 -0
- package/dist/p-D6Ynv7Xh-CQpbvraJ.cjs +41 -0
- package/dist/p-D6Ynv7Xh-CQpbvraJ.cjs.map +1 -0
- package/dist/p-D6Ynv7Xh-bzjdXLwD.js +41 -0
- package/dist/p-D6Ynv7Xh-bzjdXLwD.js.map +1 -0
- package/dist/p-DgbT0exM-BY3-DNWX.cjs +178 -0
- package/dist/p-DgbT0exM-BY3-DNWX.cjs.map +1 -0
- package/dist/p-DgbT0exM-Bjp0vDlM.js +107 -0
- package/dist/p-DgbT0exM-Bjp0vDlM.js.map +1 -0
- package/dist/p-ZjP4CjeZ-BpWsQNNL.cjs +20 -0
- package/dist/p-ZjP4CjeZ-BpWsQNNL.cjs.map +1 -0
- package/dist/p-ZjP4CjeZ-iNpKbiw2.js +9 -0
- package/dist/p-ZjP4CjeZ-iNpKbiw2.js.map +1 -0
- package/dist/p-vEbVo2hO-Bo4CY69w.cjs +80 -0
- package/dist/p-vEbVo2hO-Bo4CY69w.cjs.map +1 -0
- package/dist/p-vEbVo2hO-CpCOqZ3z.js +69 -0
- package/dist/p-vEbVo2hO-CpCOqZ3z.js.map +1 -0
- package/dist/rolldown-runtime-CYJQ3TkU.cjs +18 -0
- package/dist/rolldown-runtime-CiIaOW0V.js +13 -0
- package/package.json +94 -2
- package/dist/lib/IonRouterOutlet.d.ts +0 -23
- package/dist/lib/lifecycle.d.ts +0 -36
- package/dist/lib/nix-ionic.cjs +0 -1
- package/dist/lib/nix-ionic.cjs.map +0 -1
- package/dist/lib/nix-ionic.js +0 -1
- package/dist/lib/nix-ionic.js.map +0 -1
- package/dist/lib/setup.d.ts +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-DgbT0exM-BY3-DNWX.cjs","names":["a"],"sources":["../node_modules/@ionic/core/components/p-DgbT0exM.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport{j as a}from\"./p-BJoMtgfR.js\";const i=(a,i=0)=>new Promise((e=>{r(a,i,e)})),r=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener(\"webkitTransitionEnd\",s,n),a.addEventListener(\"transitionend\",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener(\"webkitTransitionEnd\",s,n),a.removeEventListener(\"transitionend\",s,n)}),o},e=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):d((()=>i(a)))},t=a=>void 0!==a.componentOnReady,n=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},o=[\"role\",\"aria-activedescendant\",\"aria-atomic\",\"aria-autocomplete\",\"aria-braillelabel\",\"aria-brailleroledescription\",\"aria-busy\",\"aria-checked\",\"aria-colcount\",\"aria-colindex\",\"aria-colindextext\",\"aria-colspan\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-description\",\"aria-details\",\"aria-disabled\",\"aria-errormessage\",\"aria-expanded\",\"aria-flowto\",\"aria-haspopup\",\"aria-hidden\",\"aria-invalid\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-level\",\"aria-live\",\"aria-multiline\",\"aria-multiselectable\",\"aria-orientation\",\"aria-owns\",\"aria-placeholder\",\"aria-posinset\",\"aria-pressed\",\"aria-readonly\",\"aria-relevant\",\"aria-required\",\"aria-roledescription\",\"aria-rowcount\",\"aria-rowindex\",\"aria-rowindextext\",\"aria-rowspan\",\"aria-selected\",\"aria-setsize\",\"aria-sort\",\"aria-valuemax\",\"aria-valuemin\",\"aria-valuenow\",\"aria-valuetext\"],s=a=>n(a,o),l=(a,i,r,e)=>a.addEventListener(i,r,e),u=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,d=a=>\"function\"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):\"function\"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),m=a=>!!a.shadowRoot&&!!a.attachShadow,p=a=>{if(a.focus(),a.classList.contains(\"ion-focusable\")){const i=a.closest(\"ion-app\");i&&i.setFocus([a])}},f=(a,i,r,e,t)=>{{let a=i.querySelector(\"input.aux-input\");a||(a=i.ownerDocument.createElement(\"input\"),a.type=\"hidden\",a.classList.add(\"aux-input\"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||\"\"}},b=(a,i,r)=>Math.max(a,Math.min(i,r)),v=(i,r)=>{if(!i){const i=\"ASSERT: \"+r;throw a(i),new Error(i)}},w=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},x=a=>{const i=\"rtl\"===document.dir;switch(a){case\"start\":return i;case\"end\":return!i;default:throw new Error(`\"${a}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:h(r.emit.bind(r),i)}},h=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},_=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},T=a=>\"number\"==typeof a&&!isNaN(a)&&isFinite(a);export{l as a,u as b,e as c,n as d,f as e,b as f,c as g,p as h,s as i,m as j,t as k,y as l,x as m,v as n,T as o,h as p,w as q,d as r,_ as s,i as t}"],"x_google_ignoreList":[0],"mappings":";;;;;AAGoC,IAA0Z,KAAG,GAAE,MAAI;AAAC,GAAE,mBAAiB,EAAE,kBAAkB,CAAC,OAAM,MAAG,EAAE,EAAE,EAAE,GAAC,SAAO,EAAE,EAAE,EAAE;GAAE,KAAE,MAAG,KAAK,MAAI,EAAE,kBAAiB,KAAG,GAAE,IAAE,EAAE,KAAG;CAAC,MAAM,IAAE,EAAE;AAAC,QAAO,EAAE,UAAS,MAAG;AAAC,IAAE,aAAa,EAAE,KAAG,SAAO,EAAE,aAAa,EAAE,KAAG,EAAE,KAAG,EAAE,aAAa,EAAE,GAAE,EAAE,gBAAgB,EAAE;IAAI,EAAC;GAAG,IAAE;CAAC;CAAO;CAAwB;CAAc;CAAoB;CAAoB;CAA8B;CAAY;CAAe;CAAgB;CAAgB;CAAoB;CAAe;CAAgB;CAAe;CAAmB;CAAmB;CAAe;CAAgB;CAAoB;CAAgB;CAAc;CAAgB;CAAc;CAAe;CAAoB;CAAa;CAAkB;CAAa;CAAY;CAAiB;CAAuB;CAAmB;CAAY;CAAmB;CAAgB;CAAe;CAAgB;CAAgB;CAAgB;CAAuB;CAAgB;CAAgB;CAAoB;CAAe;CAAgB;CAAe;CAAY;CAAgB;CAAgB;CAAgB;CAAiB,EAAC,KAAE,MAAG,EAAE,GAAE,EAAE,EAAC,KAAG,GAAE,GAAE,GAAE,MAAI,EAAE,iBAAiB,GAAE,GAAE,EAAE,EAAC,KAAG,GAAE,GAAE,GAAE,MAAI,EAAE,oBAAoB,GAAE,GAAE,EAAE,EAAC,KAAG,GAAE,IAAE,MAAI,EAAE,cAAY,GAAE,KAAE,MAAG,cAAY,OAAO,uCAAqC,qCAAqC,EAAE,GAAC,cAAY,OAAO,wBAAsB,sBAAsB,EAAE,GAAC,WAAW,EAAE,EAAuC,KAAE,MAAG;AAAC,KAAG,EAAE,OAAO,EAAC,EAAE,UAAU,SAAS,gBAAgB,EAAC;EAAC,MAAM,IAAE,EAAE,QAAQ,UAAU;AAAC,OAAG,EAAE,SAAS,CAAC,EAAE,CAAC;;GAA+M,KAAG,GAAE,GAAE,MAAI,KAAK,IAAI,GAAE,KAAK,IAAI,GAAE,EAAE,CAAC,EAAiE,KAAE,MAAG;AAAC,KAAG,GAAE;EAAC,MAAM,IAAE,EAAE;AAAe,MAAG,KAAG,EAAE,SAAO,GAAE;GAAC,MAAM,IAAE,EAAE;AAAG,UAAM;IAAC,GAAE,EAAE;IAAQ,GAAE,EAAE;IAAQ;;AAAC,MAAG,KAAK,MAAI,EAAE,MAAM,QAAM;GAAC,GAAE,EAAE;GAAM,GAAE,EAAE;GAAM;;AAAC,QAAM;EAAC,GAAE;EAAE,GAAE;EAAE;GAAyQ,KAAG,GAAE,IAAE,MAAI;CAAC,IAAI;AAAE,SAAO,GAAG,MAAI;AAAC,eAAa,EAAE,EAAC,IAAE,WAAW,GAAE,GAAE,GAAG,EAAE;;GAAG,KAAG,GAAE,MAAI;AAAC,KAAG,MAAY,EAAE,EAAE,MAAY,EAAE,EAAE,MAAI,EAAE,QAAM,CAAC;CAAE,MAAM,IAAE,OAAO,KAAK,EAAE;AAAC,KAAG,EAAE,WAAS,OAAO,KAAK,EAAE,CAAC,OAAO,QAAM,CAAC;AAAE,MAAI,MAAM,KAAK,GAAE;AAAC,MAAG,EAAE,KAAK,GAAG,QAAM,CAAC;AAAE,MAAG,EAAE,OAAK,EAAE,GAAG,QAAM,CAAC;;AAAE,QAAM,CAAC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import "./p-BJoMtgfR-DP5flT_f.js";
|
|
2
|
+
//#region node_modules/@ionic/core/components/p-DgbT0exM.js
|
|
3
|
+
/*!
|
|
4
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
5
|
+
*/
|
|
6
|
+
var e = (a, i) => {
|
|
7
|
+
a.componentOnReady ? a.componentOnReady().then(((a) => i(a))) : d((() => i(a)));
|
|
8
|
+
}, t = (a) => void 0 !== a.componentOnReady, n = (a, i = []) => {
|
|
9
|
+
const r = {};
|
|
10
|
+
return i.forEach(((i) => {
|
|
11
|
+
a.hasAttribute(i) && (null !== a.getAttribute(i) && (r[i] = a.getAttribute(i)), a.removeAttribute(i));
|
|
12
|
+
})), r;
|
|
13
|
+
}, o = [
|
|
14
|
+
"role",
|
|
15
|
+
"aria-activedescendant",
|
|
16
|
+
"aria-atomic",
|
|
17
|
+
"aria-autocomplete",
|
|
18
|
+
"aria-braillelabel",
|
|
19
|
+
"aria-brailleroledescription",
|
|
20
|
+
"aria-busy",
|
|
21
|
+
"aria-checked",
|
|
22
|
+
"aria-colcount",
|
|
23
|
+
"aria-colindex",
|
|
24
|
+
"aria-colindextext",
|
|
25
|
+
"aria-colspan",
|
|
26
|
+
"aria-controls",
|
|
27
|
+
"aria-current",
|
|
28
|
+
"aria-describedby",
|
|
29
|
+
"aria-description",
|
|
30
|
+
"aria-details",
|
|
31
|
+
"aria-disabled",
|
|
32
|
+
"aria-errormessage",
|
|
33
|
+
"aria-expanded",
|
|
34
|
+
"aria-flowto",
|
|
35
|
+
"aria-haspopup",
|
|
36
|
+
"aria-hidden",
|
|
37
|
+
"aria-invalid",
|
|
38
|
+
"aria-keyshortcuts",
|
|
39
|
+
"aria-label",
|
|
40
|
+
"aria-labelledby",
|
|
41
|
+
"aria-level",
|
|
42
|
+
"aria-live",
|
|
43
|
+
"aria-multiline",
|
|
44
|
+
"aria-multiselectable",
|
|
45
|
+
"aria-orientation",
|
|
46
|
+
"aria-owns",
|
|
47
|
+
"aria-placeholder",
|
|
48
|
+
"aria-posinset",
|
|
49
|
+
"aria-pressed",
|
|
50
|
+
"aria-readonly",
|
|
51
|
+
"aria-relevant",
|
|
52
|
+
"aria-required",
|
|
53
|
+
"aria-roledescription",
|
|
54
|
+
"aria-rowcount",
|
|
55
|
+
"aria-rowindex",
|
|
56
|
+
"aria-rowindextext",
|
|
57
|
+
"aria-rowspan",
|
|
58
|
+
"aria-selected",
|
|
59
|
+
"aria-setsize",
|
|
60
|
+
"aria-sort",
|
|
61
|
+
"aria-valuemax",
|
|
62
|
+
"aria-valuemin",
|
|
63
|
+
"aria-valuenow",
|
|
64
|
+
"aria-valuetext"
|
|
65
|
+
], s = (a) => n(a, o), l = (a, i, r, e) => a.addEventListener(i, r, e), u = (a, i, r, e) => a.removeEventListener(i, r, e), c = (a, i = a) => a.shadowRoot || i, d = (a) => "function" == typeof __zone_symbol__requestAnimationFrame ? __zone_symbol__requestAnimationFrame(a) : "function" == typeof requestAnimationFrame ? requestAnimationFrame(a) : setTimeout(a), p = (a) => {
|
|
66
|
+
if (a.focus(), a.classList.contains("ion-focusable")) {
|
|
67
|
+
const i = a.closest("ion-app");
|
|
68
|
+
i && i.setFocus([a]);
|
|
69
|
+
}
|
|
70
|
+
}, b = (a, i, r) => Math.max(a, Math.min(i, r)), w = (a) => {
|
|
71
|
+
if (a) {
|
|
72
|
+
const i = a.changedTouches;
|
|
73
|
+
if (i && i.length > 0) {
|
|
74
|
+
const a = i[0];
|
|
75
|
+
return {
|
|
76
|
+
x: a.clientX,
|
|
77
|
+
y: a.clientY
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
if (void 0 !== a.pageX) return {
|
|
81
|
+
x: a.pageX,
|
|
82
|
+
y: a.pageY
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
x: 0,
|
|
87
|
+
y: 0
|
|
88
|
+
};
|
|
89
|
+
}, h = (a, i = 0) => {
|
|
90
|
+
let r;
|
|
91
|
+
return (...e) => {
|
|
92
|
+
clearTimeout(r), r = setTimeout(a, i, ...e);
|
|
93
|
+
};
|
|
94
|
+
}, _ = (a, i) => {
|
|
95
|
+
if (a ??= {}, i ??= {}, a === i) return !0;
|
|
96
|
+
const r = Object.keys(a);
|
|
97
|
+
if (r.length !== Object.keys(i).length) return !1;
|
|
98
|
+
for (const e of r) {
|
|
99
|
+
if (!(e in i)) return !1;
|
|
100
|
+
if (a[e] !== i[e]) return !1;
|
|
101
|
+
}
|
|
102
|
+
return !0;
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
export { e as a, p as c, u as d, w as f, d as i, s as l, b as n, h as o, c as r, l as s, _ as t, t as u };
|
|
106
|
+
|
|
107
|
+
//# sourceMappingURL=p-DgbT0exM-Bjp0vDlM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-DgbT0exM-Bjp0vDlM.js","names":["a"],"sources":["../node_modules/@ionic/core/components/p-DgbT0exM.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport{j as a}from\"./p-BJoMtgfR.js\";const i=(a,i=0)=>new Promise((e=>{r(a,i,e)})),r=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener(\"webkitTransitionEnd\",s,n),a.addEventListener(\"transitionend\",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener(\"webkitTransitionEnd\",s,n),a.removeEventListener(\"transitionend\",s,n)}),o},e=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):d((()=>i(a)))},t=a=>void 0!==a.componentOnReady,n=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},o=[\"role\",\"aria-activedescendant\",\"aria-atomic\",\"aria-autocomplete\",\"aria-braillelabel\",\"aria-brailleroledescription\",\"aria-busy\",\"aria-checked\",\"aria-colcount\",\"aria-colindex\",\"aria-colindextext\",\"aria-colspan\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-description\",\"aria-details\",\"aria-disabled\",\"aria-errormessage\",\"aria-expanded\",\"aria-flowto\",\"aria-haspopup\",\"aria-hidden\",\"aria-invalid\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-level\",\"aria-live\",\"aria-multiline\",\"aria-multiselectable\",\"aria-orientation\",\"aria-owns\",\"aria-placeholder\",\"aria-posinset\",\"aria-pressed\",\"aria-readonly\",\"aria-relevant\",\"aria-required\",\"aria-roledescription\",\"aria-rowcount\",\"aria-rowindex\",\"aria-rowindextext\",\"aria-rowspan\",\"aria-selected\",\"aria-setsize\",\"aria-sort\",\"aria-valuemax\",\"aria-valuemin\",\"aria-valuenow\",\"aria-valuetext\"],s=a=>n(a,o),l=(a,i,r,e)=>a.addEventListener(i,r,e),u=(a,i,r,e)=>a.removeEventListener(i,r,e),c=(a,i=a)=>a.shadowRoot||i,d=a=>\"function\"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):\"function\"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),m=a=>!!a.shadowRoot&&!!a.attachShadow,p=a=>{if(a.focus(),a.classList.contains(\"ion-focusable\")){const i=a.closest(\"ion-app\");i&&i.setFocus([a])}},f=(a,i,r,e,t)=>{{let a=i.querySelector(\"input.aux-input\");a||(a=i.ownerDocument.createElement(\"input\"),a.type=\"hidden\",a.classList.add(\"aux-input\"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||\"\"}},b=(a,i,r)=>Math.max(a,Math.min(i,r)),v=(i,r)=>{if(!i){const i=\"ASSERT: \"+r;throw a(i),new Error(i)}},w=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},x=a=>{const i=\"rtl\"===document.dir;switch(a){case\"start\":return i;case\"end\":return!i;default:throw new Error(`\"${a}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`)}},y=(a,i)=>{const r=a._original||a;return{_original:a,emit:h(r.emit.bind(r),i)}},h=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},_=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},T=a=>\"number\"==typeof a&&!isNaN(a)&&isFinite(a);export{l as a,u as b,e as c,n as d,f as e,b as f,c as g,p as h,s as i,m as j,t as k,y as l,x as m,v as n,T as o,h as p,w as q,d as r,_ as s,i as t}"],"x_google_ignoreList":[0],"mappings":";;;;;AAGoC,IAA0Z,KAAG,GAAE,MAAI;AAAC,GAAE,mBAAiB,EAAE,kBAAkB,CAAC,OAAM,MAAG,EAAE,EAAE,EAAE,GAAC,SAAO,EAAE,EAAE,EAAE;GAAE,KAAE,MAAG,KAAK,MAAI,EAAE,kBAAiB,KAAG,GAAE,IAAE,EAAE,KAAG;CAAC,MAAM,IAAE,EAAE;AAAC,QAAO,EAAE,UAAS,MAAG;AAAC,IAAE,aAAa,EAAE,KAAG,SAAO,EAAE,aAAa,EAAE,KAAG,EAAE,KAAG,EAAE,aAAa,EAAE,GAAE,EAAE,gBAAgB,EAAE;IAAI,EAAC;GAAG,IAAE;CAAC;CAAO;CAAwB;CAAc;CAAoB;CAAoB;CAA8B;CAAY;CAAe;CAAgB;CAAgB;CAAoB;CAAe;CAAgB;CAAe;CAAmB;CAAmB;CAAe;CAAgB;CAAoB;CAAgB;CAAc;CAAgB;CAAc;CAAe;CAAoB;CAAa;CAAkB;CAAa;CAAY;CAAiB;CAAuB;CAAmB;CAAY;CAAmB;CAAgB;CAAe;CAAgB;CAAgB;CAAgB;CAAuB;CAAgB;CAAgB;CAAoB;CAAe;CAAgB;CAAe;CAAY;CAAgB;CAAgB;CAAgB;CAAiB,EAAC,KAAE,MAAG,EAAE,GAAE,EAAE,EAAC,KAAG,GAAE,GAAE,GAAE,MAAI,EAAE,iBAAiB,GAAE,GAAE,EAAE,EAAC,KAAG,GAAE,GAAE,GAAE,MAAI,EAAE,oBAAoB,GAAE,GAAE,EAAE,EAAC,KAAG,GAAE,IAAE,MAAI,EAAE,cAAY,GAAE,KAAE,MAAG,cAAY,OAAO,uCAAqC,qCAAqC,EAAE,GAAC,cAAY,OAAO,wBAAsB,sBAAsB,EAAE,GAAC,WAAW,EAAE,EAAuC,KAAE,MAAG;AAAC,KAAG,EAAE,OAAO,EAAC,EAAE,UAAU,SAAS,gBAAgB,EAAC;EAAC,MAAM,IAAE,EAAE,QAAQ,UAAU;AAAC,OAAG,EAAE,SAAS,CAAC,EAAE,CAAC;;GAA+M,KAAG,GAAE,GAAE,MAAI,KAAK,IAAI,GAAE,KAAK,IAAI,GAAE,EAAE,CAAC,EAAiE,KAAE,MAAG;AAAC,KAAG,GAAE;EAAC,MAAM,IAAE,EAAE;AAAe,MAAG,KAAG,EAAE,SAAO,GAAE;GAAC,MAAM,IAAE,EAAE;AAAG,UAAM;IAAC,GAAE,EAAE;IAAQ,GAAE,EAAE;IAAQ;;AAAC,MAAG,KAAK,MAAI,EAAE,MAAM,QAAM;GAAC,GAAE,EAAE;GAAM,GAAE,EAAE;GAAM;;AAAC,QAAM;EAAC,GAAE;EAAE,GAAE;EAAE;GAAyQ,KAAG,GAAE,IAAE,MAAI;CAAC,IAAI;AAAE,SAAO,GAAG,MAAI;AAAC,eAAa,EAAE,EAAC,IAAE,WAAW,GAAE,GAAE,GAAG,EAAE;;GAAG,KAAG,GAAE,MAAI;AAAC,KAAG,MAAY,EAAE,EAAE,MAAY,EAAE,EAAE,MAAI,EAAE,QAAM,CAAC;CAAE,MAAM,IAAE,OAAO,KAAK,EAAE;AAAC,KAAG,EAAE,WAAS,OAAO,KAAK,EAAE,CAAC,OAAO,QAAM,CAAC;AAAE,MAAI,MAAM,KAAK,GAAE;AAAC,MAAG,EAAE,KAAK,GAAG,QAAM,CAAC;AAAE,MAAG,EAAE,OAAK,EAAE,GAAG,QAAM,CAAC;;AAAE,QAAM,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region node_modules/@ionic/core/components/p-ZjP4CjeZ.js
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/
|
|
5
|
+
var d = "undefined" != typeof window ? window : void 0, o = "undefined" != typeof document ? document : void 0;
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, "d", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return d;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "o", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return o;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=p-ZjP4CjeZ-BpWsQNNL.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-ZjP4CjeZ-BpWsQNNL.cjs","names":[],"sources":["../node_modules/@ionic/core/components/p-ZjP4CjeZ.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst d=\"undefined\"!=typeof window?window:void 0,o=\"undefined\"!=typeof document?document:void 0;export{o as d,d as w}"],"x_google_ignoreList":[0],"mappings":";;;;AAGA,IAAM,IAAE,eAAa,OAAO,SAAO,SAAO,KAAK,GAAE,IAAE,eAAa,OAAO,WAAS,WAAS,KAAK"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region node_modules/@ionic/core/components/p-ZjP4CjeZ.js
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/
|
|
5
|
+
var d = "undefined" != typeof window ? window : void 0, o = "undefined" != typeof document ? document : void 0;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { o as n, d as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=p-ZjP4CjeZ-iNpKbiw2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-ZjP4CjeZ-iNpKbiw2.js","names":[],"sources":["../node_modules/@ionic/core/components/p-ZjP4CjeZ.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst d=\"undefined\"!=typeof window?window:void 0,o=\"undefined\"!=typeof document?document:void 0;export{o as d,d as w}"],"x_google_ignoreList":[0],"mappings":";;;;AAGA,IAAM,IAAE,eAAa,OAAO,SAAO,SAAO,KAAK,GAAE,IAAE,eAAa,OAAO,WAAS,WAAS,KAAK"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-CYJQ3TkU.cjs");
|
|
2
|
+
const require_p_BJoMtgfR = require("./p-BJoMtgfR-DyzhC2Uw.cjs");
|
|
3
|
+
const require_p_ZjP4CjeZ = require("./p-ZjP4CjeZ-BpWsQNNL.cjs");
|
|
4
|
+
//#region node_modules/@ionic/core/components/p-vEbVo2hO.js
|
|
5
|
+
/*!
|
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
+
*/
|
|
8
|
+
var p_vEbVo2hO_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
9
|
+
MENU_BACK_BUTTON_PRIORITY: () => 99,
|
|
10
|
+
OVERLAY_BACK_BUTTON_PRIORITY: () => 100,
|
|
11
|
+
blockHardwareBackButton: () => i,
|
|
12
|
+
shouldUseCloseWatcher: () => o,
|
|
13
|
+
startHardwareBackButton: () => r
|
|
14
|
+
}), o = () => require_p_BJoMtgfR.n.get("experimentalCloseWatcher", !1) && void 0 !== require_p_ZjP4CjeZ.d && "CloseWatcher" in require_p_ZjP4CjeZ.d, i = () => {
|
|
15
|
+
document.addEventListener("backbutton", (() => {}));
|
|
16
|
+
}, r = () => {
|
|
17
|
+
const e = document;
|
|
18
|
+
let i = !1;
|
|
19
|
+
const r = () => {
|
|
20
|
+
if (i) return;
|
|
21
|
+
let t = 0, o = [];
|
|
22
|
+
const r = new CustomEvent("ionBackButton", {
|
|
23
|
+
bubbles: !1,
|
|
24
|
+
detail: { register(e, n) {
|
|
25
|
+
o.push({
|
|
26
|
+
priority: e,
|
|
27
|
+
handler: n,
|
|
28
|
+
id: t++
|
|
29
|
+
});
|
|
30
|
+
} }
|
|
31
|
+
});
|
|
32
|
+
e.dispatchEvent(r);
|
|
33
|
+
const a = () => {
|
|
34
|
+
if (o.length > 0) {
|
|
35
|
+
let t = {
|
|
36
|
+
priority: Number.MIN_SAFE_INTEGER,
|
|
37
|
+
handler: () => {},
|
|
38
|
+
id: -1
|
|
39
|
+
};
|
|
40
|
+
o.forEach(((e) => {
|
|
41
|
+
e.priority >= t.priority && (t = e);
|
|
42
|
+
})), i = !0, o = o.filter(((e) => e.id !== t.id)), (async (t) => {
|
|
43
|
+
try {
|
|
44
|
+
if (null == t ? void 0 : t.handler) {
|
|
45
|
+
const e = t.handler(a);
|
|
46
|
+
null != e && await e;
|
|
47
|
+
}
|
|
48
|
+
} catch (t) {
|
|
49
|
+
require_p_BJoMtgfR.f("[ion-app] - Exception in startHardwareBackButton:", t);
|
|
50
|
+
}
|
|
51
|
+
})(t).then((() => i = !1));
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
a();
|
|
55
|
+
};
|
|
56
|
+
if (o()) {
|
|
57
|
+
let e;
|
|
58
|
+
const n = () => {
|
|
59
|
+
e?.destroy(), e = new require_p_ZjP4CjeZ.d.CloseWatcher(), e.onclose = () => {
|
|
60
|
+
r(), n();
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
n();
|
|
64
|
+
} else e.addEventListener("backbutton", r);
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
Object.defineProperty(exports, "o", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function() {
|
|
70
|
+
return o;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "p_vEbVo2hO_exports", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function() {
|
|
76
|
+
return p_vEbVo2hO_exports;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=p-vEbVo2hO-Bo4CY69w.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-vEbVo2hO-Bo4CY69w.cjs","names":["e","t"],"sources":["../node_modules/@ionic/core/components/p-vEbVo2hO.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport{w as t}from\"./p-ZjP4CjeZ.js\";import{c as e,j as n}from\"./p-BJoMtgfR.js\";const o=()=>e.get(\"experimentalCloseWatcher\",!1)&&void 0!==t&&\"CloseWatcher\"in t,i=()=>{document.addEventListener(\"backbutton\",(()=>{}))},r=()=>{const e=document;let i=!1;const r=()=>{if(i)return;let t=0,o=[];const r=new CustomEvent(\"ionBackButton\",{bubbles:!1,detail:{register(e,n){o.push({priority:e,handler:n,id:t++})}}});e.dispatchEvent(r);const a=()=>{if(o.length>0){let t={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};o.forEach((e=>{e.priority>=t.priority&&(t=e)})),i=!0,o=o.filter((e=>e.id!==t.id)),(async t=>{try{if(null==t?void 0:t.handler){const e=t.handler(a);null!=e&&await e}}catch(t){n(\"[ion-app] - Exception in startHardwareBackButton:\",t)}})(t).then((()=>i=!1))}};a()};if(o()){let e;const n=()=>{null==e||e.destroy(),e=new t.CloseWatcher,e.onclose=()=>{r(),n()}};n()}else e.addEventListener(\"backbutton\",r)},a=100,c=99;export{c as MENU_BACK_BUTTON_PRIORITY,a as OVERLAY_BACK_BUTTON_PRIORITY,i as blockHardwareBackButton,o as shouldUseCloseWatcher,r as startHardwareBackButton}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;IAGqF,UAAMA,mBAAAA,EAAE,IAAI,4BAA2B,CAAC,EAAE,IAAE,KAAK,MAAIC,mBAAAA,KAAG,kBAAiBA,mBAAAA,GAAE,UAAM;AAAC,UAAS,iBAAiB,qBAAkB,IAAI;GAAE,UAAM;CAAC,MAAM,IAAE;CAAS,IAAI,IAAE,CAAC;CAAE,MAAM,UAAM;AAAC,MAAG,EAAE;EAAO,IAAI,IAAE,GAAE,IAAE,EAAE;EAAC,MAAM,IAAE,IAAI,YAAY,iBAAgB;GAAC,SAAQ,CAAC;GAAE,QAAO,EAAC,SAAS,GAAE,GAAE;AAAC,MAAE,KAAK;KAAC,UAAS;KAAE,SAAQ;KAAE,IAAG;KAAI,CAAC;MAAE;GAAC,CAAC;AAAC,IAAE,cAAc,EAAE;EAAC,MAAM,UAAM;AAAC,OAAG,EAAE,SAAO,GAAE;IAAC,IAAI,IAAE;KAAC,UAAS,OAAO;KAAiB,eAAY;KAAG,IAAG;KAAG;AAAC,MAAE,UAAS,MAAG;AAAC,OAAE,YAAU,EAAE,aAAW,IAAE;OAAK,EAAC,IAAE,CAAC,GAAE,IAAE,EAAE,SAAQ,MAAG,EAAE,OAAK,EAAE,IAAI,GAAE,OAAM,MAAG;AAAC,SAAG;AAAC,UAAG,QAAM,IAAE,KAAK,IAAE,EAAE,SAAQ;OAAC,MAAM,IAAE,EAAE,QAAQ,EAAE;AAAC,eAAM,KAAG,MAAM;;cAAS,GAAE;AAAC,yBAAA,EAAE,qDAAoD,EAAE;;OAAI,EAAE,CAAC,YAAU,IAAE,CAAC,GAAG;;;AAAG,KAAG;;AAAE,KAAG,GAAG,EAAC;EAAC,IAAI;EAAE,MAAM,UAAM;AAAO,MAAK,SAAS,EAAC,IAAE,IAAIA,mBAAAA,EAAE,cAAY,EAAC,EAAE,gBAAY;AAAC,OAAG,EAAC,GAAG;;;AAAG,KAAG;OAAM,GAAE,iBAAiB,cAAa,EAAE"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-CiIaOW0V.js";
|
|
2
|
+
import { f, m as n } from "./p-BJoMtgfR-DP5flT_f.js";
|
|
3
|
+
import { t as d } from "./p-ZjP4CjeZ-iNpKbiw2.js";
|
|
4
|
+
//#region node_modules/@ionic/core/components/p-vEbVo2hO.js
|
|
5
|
+
/*!
|
|
6
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
7
|
+
*/
|
|
8
|
+
var p_vEbVo2hO_exports = /* @__PURE__ */ __exportAll({
|
|
9
|
+
MENU_BACK_BUTTON_PRIORITY: () => 99,
|
|
10
|
+
OVERLAY_BACK_BUTTON_PRIORITY: () => 100,
|
|
11
|
+
blockHardwareBackButton: () => i,
|
|
12
|
+
shouldUseCloseWatcher: () => o,
|
|
13
|
+
startHardwareBackButton: () => r
|
|
14
|
+
}), o = () => n.get("experimentalCloseWatcher", !1) && void 0 !== d && "CloseWatcher" in d, i = () => {
|
|
15
|
+
document.addEventListener("backbutton", (() => {}));
|
|
16
|
+
}, r = () => {
|
|
17
|
+
const e = document;
|
|
18
|
+
let i = !1;
|
|
19
|
+
const r = () => {
|
|
20
|
+
if (i) return;
|
|
21
|
+
let t = 0, o = [];
|
|
22
|
+
const r = new CustomEvent("ionBackButton", {
|
|
23
|
+
bubbles: !1,
|
|
24
|
+
detail: { register(e, n) {
|
|
25
|
+
o.push({
|
|
26
|
+
priority: e,
|
|
27
|
+
handler: n,
|
|
28
|
+
id: t++
|
|
29
|
+
});
|
|
30
|
+
} }
|
|
31
|
+
});
|
|
32
|
+
e.dispatchEvent(r);
|
|
33
|
+
const a = () => {
|
|
34
|
+
if (o.length > 0) {
|
|
35
|
+
let t = {
|
|
36
|
+
priority: Number.MIN_SAFE_INTEGER,
|
|
37
|
+
handler: () => {},
|
|
38
|
+
id: -1
|
|
39
|
+
};
|
|
40
|
+
o.forEach(((e) => {
|
|
41
|
+
e.priority >= t.priority && (t = e);
|
|
42
|
+
})), i = !0, o = o.filter(((e) => e.id !== t.id)), (async (t) => {
|
|
43
|
+
try {
|
|
44
|
+
if (null == t ? void 0 : t.handler) {
|
|
45
|
+
const e = t.handler(a);
|
|
46
|
+
null != e && await e;
|
|
47
|
+
}
|
|
48
|
+
} catch (t) {
|
|
49
|
+
f("[ion-app] - Exception in startHardwareBackButton:", t);
|
|
50
|
+
}
|
|
51
|
+
})(t).then((() => i = !1));
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
a();
|
|
55
|
+
};
|
|
56
|
+
if (o()) {
|
|
57
|
+
let e;
|
|
58
|
+
const n = () => {
|
|
59
|
+
e?.destroy(), e = new d.CloseWatcher(), e.onclose = () => {
|
|
60
|
+
r(), n();
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
n();
|
|
64
|
+
} else e.addEventListener("backbutton", r);
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { p_vEbVo2hO_exports as n, o as t };
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=p-vEbVo2hO-CpCOqZ3z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-vEbVo2hO-CpCOqZ3z.js","names":["e","t"],"sources":["../node_modules/@ionic/core/components/p-vEbVo2hO.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport{w as t}from\"./p-ZjP4CjeZ.js\";import{c as e,j as n}from\"./p-BJoMtgfR.js\";const o=()=>e.get(\"experimentalCloseWatcher\",!1)&&void 0!==t&&\"CloseWatcher\"in t,i=()=>{document.addEventListener(\"backbutton\",(()=>{}))},r=()=>{const e=document;let i=!1;const r=()=>{if(i)return;let t=0,o=[];const r=new CustomEvent(\"ionBackButton\",{bubbles:!1,detail:{register(e,n){o.push({priority:e,handler:n,id:t++})}}});e.dispatchEvent(r);const a=()=>{if(o.length>0){let t={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};o.forEach((e=>{e.priority>=t.priority&&(t=e)})),i=!0,o=o.filter((e=>e.id!==t.id)),(async t=>{try{if(null==t?void 0:t.handler){const e=t.handler(a);null!=e&&await e}}catch(t){n(\"[ion-app] - Exception in startHardwareBackButton:\",t)}})(t).then((()=>i=!1))}};a()};if(o()){let e;const n=()=>{null==e||e.destroy(),e=new t.CloseWatcher,e.onclose=()=>{r(),n()}};n()}else e.addEventListener(\"backbutton\",r)},a=100,c=99;export{c as MENU_BACK_BUTTON_PRIORITY,a as OVERLAY_BACK_BUTTON_PRIORITY,i as blockHardwareBackButton,o as shouldUseCloseWatcher,r as startHardwareBackButton}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;IAGqF,UAAMA,EAAE,IAAI,4BAA2B,CAAC,EAAE,IAAE,KAAK,MAAIC,KAAG,kBAAiBA,GAAE,UAAM;AAAC,UAAS,iBAAiB,qBAAkB,IAAI;GAAE,UAAM;CAAC,MAAM,IAAE;CAAS,IAAI,IAAE,CAAC;CAAE,MAAM,UAAM;AAAC,MAAG,EAAE;EAAO,IAAI,IAAE,GAAE,IAAE,EAAE;EAAC,MAAM,IAAE,IAAI,YAAY,iBAAgB;GAAC,SAAQ,CAAC;GAAE,QAAO,EAAC,SAAS,GAAE,GAAE;AAAC,MAAE,KAAK;KAAC,UAAS;KAAE,SAAQ;KAAE,IAAG;KAAI,CAAC;MAAE;GAAC,CAAC;AAAC,IAAE,cAAc,EAAE;EAAC,MAAM,UAAM;AAAC,OAAG,EAAE,SAAO,GAAE;IAAC,IAAI,IAAE;KAAC,UAAS,OAAO;KAAiB,eAAY;KAAG,IAAG;KAAG;AAAC,MAAE,UAAS,MAAG;AAAC,OAAE,YAAU,EAAE,aAAW,IAAE;OAAK,EAAC,IAAE,CAAC,GAAE,IAAE,EAAE,SAAQ,MAAG,EAAE,OAAK,EAAE,IAAI,GAAE,OAAM,MAAG;AAAC,SAAG;AAAC,UAAG,QAAM,IAAE,KAAK,IAAE,EAAE,SAAQ;OAAC,MAAM,IAAE,EAAE,QAAQ,EAAE;AAAC,eAAM,KAAG,MAAM;;cAAS,GAAE;AAAC,QAAE,qDAAoD,EAAE;;OAAI,EAAE,CAAC,YAAU,IAAE,CAAC,GAAG;;;AAAG,KAAG;;AAAE,KAAG,GAAG,EAAC;EAAC,IAAI;EAAE,MAAM,UAAM;AAAO,MAAK,SAAS,EAAC,IAAE,IAAIA,EAAE,cAAY,EAAC,EAAE,gBAAY;AAAC,OAAG,EAAC,GAAG;;;AAAG,KAAG;OAAM,GAAE,iBAAiB,cAAa,EAAE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
Object.defineProperty(exports, "__exportAll", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return __exportAll;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __exportAll as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deijose/nix-ionic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Ionic lifecycle & router bridge for Nix.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Deiver Vasquez",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
"typescript",
|
|
32
32
|
"micro-framework",
|
|
33
33
|
"ui",
|
|
34
|
-
"frontend"
|
|
34
|
+
"frontend",
|
|
35
|
+
"tree-shaking",
|
|
36
|
+
"modular"
|
|
35
37
|
],
|
|
36
38
|
"exports": {
|
|
37
39
|
".": {
|
|
@@ -43,6 +45,96 @@
|
|
|
43
45
|
"types": "./dist/lib/index.d.ts",
|
|
44
46
|
"default": "./dist/lib/nix-ionic.cjs"
|
|
45
47
|
}
|
|
48
|
+
},
|
|
49
|
+
"./components": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/lib/components.d.ts",
|
|
52
|
+
"default": "./dist/lib/components.js"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/lib/components.d.ts",
|
|
56
|
+
"default": "./dist/lib/components.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"./bundles/layout": {
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./dist/lib/bundles/layout.d.ts",
|
|
62
|
+
"default": "./dist/lib/bundles/layout.js"
|
|
63
|
+
},
|
|
64
|
+
"require": {
|
|
65
|
+
"types": "./dist/lib/bundles/layout.d.ts",
|
|
66
|
+
"default": "./dist/lib/bundles/layout.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"./bundles/forms": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./dist/lib/bundles/forms.d.ts",
|
|
72
|
+
"default": "./dist/lib/bundles/forms.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./dist/lib/bundles/forms.d.ts",
|
|
76
|
+
"default": "./dist/lib/bundles/forms.cjs"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"./bundles/lists": {
|
|
80
|
+
"import": {
|
|
81
|
+
"types": "./dist/lib/bundles/lists.d.ts",
|
|
82
|
+
"default": "./dist/lib/bundles/lists.js"
|
|
83
|
+
},
|
|
84
|
+
"require": {
|
|
85
|
+
"types": "./dist/lib/bundles/lists.d.ts",
|
|
86
|
+
"default": "./dist/lib/bundles/lists.cjs"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"./bundles/feedback": {
|
|
90
|
+
"import": {
|
|
91
|
+
"types": "./dist/lib/bundles/feedback.d.ts",
|
|
92
|
+
"default": "./dist/lib/bundles/feedback.js"
|
|
93
|
+
},
|
|
94
|
+
"require": {
|
|
95
|
+
"types": "./dist/lib/bundles/feedback.d.ts",
|
|
96
|
+
"default": "./dist/lib/bundles/feedback.cjs"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"./bundles/buttons": {
|
|
100
|
+
"import": {
|
|
101
|
+
"types": "./dist/lib/bundles/buttons.d.ts",
|
|
102
|
+
"default": "./dist/lib/bundles/buttons.js"
|
|
103
|
+
},
|
|
104
|
+
"require": {
|
|
105
|
+
"types": "./dist/lib/bundles/buttons.d.ts",
|
|
106
|
+
"default": "./dist/lib/bundles/buttons.cjs"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"./bundles/overlays": {
|
|
110
|
+
"import": {
|
|
111
|
+
"types": "./dist/lib/bundles/overlays.d.ts",
|
|
112
|
+
"default": "./dist/lib/bundles/overlays.js"
|
|
113
|
+
},
|
|
114
|
+
"require": {
|
|
115
|
+
"types": "./dist/lib/bundles/overlays.d.ts",
|
|
116
|
+
"default": "./dist/lib/bundles/overlays.cjs"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"./bundles/navigation": {
|
|
120
|
+
"import": {
|
|
121
|
+
"types": "./dist/lib/bundles/navigation.d.ts",
|
|
122
|
+
"default": "./dist/lib/bundles/navigation.js"
|
|
123
|
+
},
|
|
124
|
+
"require": {
|
|
125
|
+
"types": "./dist/lib/bundles/navigation.d.ts",
|
|
126
|
+
"default": "./dist/lib/bundles/navigation.cjs"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"./bundles/all": {
|
|
130
|
+
"import": {
|
|
131
|
+
"types": "./dist/lib/bundles/all.d.ts",
|
|
132
|
+
"default": "./dist/lib/bundles/all.js"
|
|
133
|
+
},
|
|
134
|
+
"require": {
|
|
135
|
+
"types": "./dist/lib/bundles/all.d.ts",
|
|
136
|
+
"default": "./dist/lib/bundles/all.cjs"
|
|
137
|
+
}
|
|
46
138
|
}
|
|
47
139
|
},
|
|
48
140
|
"files": [
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { NixComponent } from "@deijose/nix-js";
|
|
2
|
-
import type { NixTemplate } from "@deijose/nix-js";
|
|
3
|
-
import { type PageLifecycle } from "./lifecycle";
|
|
4
|
-
export declare function useRouter(): {
|
|
5
|
-
navigate: (path: string, direction?: "forward" | "back" | "root") => void;
|
|
6
|
-
replace: (path: string) => void;
|
|
7
|
-
back: () => void;
|
|
8
|
-
};
|
|
9
|
-
export declare function IonBackButton(defaultHref?: string | undefined): NixTemplate;
|
|
10
|
-
export interface PageContext {
|
|
11
|
-
lc: PageLifecycle;
|
|
12
|
-
params: Record<string, string>;
|
|
13
|
-
}
|
|
14
|
-
export interface RouteDefinition {
|
|
15
|
-
path: string;
|
|
16
|
-
component: (ctx: PageContext) => NixComponent | NixTemplate;
|
|
17
|
-
}
|
|
18
|
-
export declare class IonRouterOutlet extends NixComponent {
|
|
19
|
-
private routes;
|
|
20
|
-
constructor(routes: RouteDefinition[]);
|
|
21
|
-
private _pathToRouteId;
|
|
22
|
-
render(): NixTemplate;
|
|
23
|
-
}
|
package/dist/lib/lifecycle.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ionic-nix/lifecycle.ts
|
|
3
|
-
*
|
|
4
|
-
* Sistema de ciclo de vida de navegación, análogo a los hooks de Ionic:
|
|
5
|
-
* ionViewWillEnter / ionViewDidEnter / ionViewWillLeave / ionViewDidLeave
|
|
6
|
-
*
|
|
7
|
-
* Cómo funciona (sin provide/inject):
|
|
8
|
-
* 1. IonRouterOutlet crea un `PageLifecycle` por cada ruta.
|
|
9
|
-
* 2. Lo pasa directamente al factory de la ruta como argumento.
|
|
10
|
-
* 3. El factory llama a `new MiPagina(lc)` o `MiPagina(lc)`.
|
|
11
|
-
* 4. IonPage/composables registran watchers sobre las señales del lc.
|
|
12
|
-
* 5. Cuando el router navega, incrementa las señales → watchers se disparan.
|
|
13
|
-
*/
|
|
14
|
-
import type { Signal } from "@deijose/nix-js";
|
|
15
|
-
import { NixComponent } from "@deijose/nix-js";
|
|
16
|
-
export interface PageLifecycle {
|
|
17
|
-
willEnter: Signal<number>;
|
|
18
|
-
didEnter: Signal<number>;
|
|
19
|
-
willLeave: Signal<number>;
|
|
20
|
-
didLeave: Signal<number>;
|
|
21
|
-
}
|
|
22
|
-
/** Crea un nuevo PageLifecycle con señales en 0. */
|
|
23
|
-
export declare function createPageLifecycle(): PageLifecycle;
|
|
24
|
-
export declare abstract class IonPage extends NixComponent {
|
|
25
|
-
private __lc;
|
|
26
|
-
constructor(lc: PageLifecycle);
|
|
27
|
-
onInit(): void;
|
|
28
|
-
ionViewWillEnter?(): void;
|
|
29
|
-
ionViewDidEnter?(): void;
|
|
30
|
-
ionViewWillLeave?(): void;
|
|
31
|
-
ionViewDidLeave?(): void;
|
|
32
|
-
}
|
|
33
|
-
export declare function useIonViewWillEnter(lc: PageLifecycle, fn: () => void): void;
|
|
34
|
-
export declare function useIonViewDidEnter(lc: PageLifecycle, fn: () => void): void;
|
|
35
|
-
export declare function useIonViewWillLeave(lc: PageLifecycle, fn: () => void): void;
|
|
36
|
-
export declare function useIonViewDidLeave(lc: PageLifecycle, fn: () => void): void;
|
package/dist/lib/nix-ionic.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let e=require("@deijose/nix-js"),t=require("@ionic/core/components"),n=require("@ionic/core/components/ion-app.js"),r=require("@ionic/core/components/ion-header.js"),i=require("@ionic/core/components/ion-toolbar.js"),a=require("@ionic/core/components/ion-title.js"),o=require("@ionic/core/components/ion-content.js"),s=require("@ionic/core/components/ion-footer.js"),c=require("@ionic/core/components/ion-buttons.js"),l=require("@ionic/core/components/ion-back-button.js"),u=require("@ionic/core/components/ion-router.js"),d=require("@ionic/core/components/ion-route.js"),f=require("@ionic/core/components/ion-router-outlet.js"),p=require("@ionic/core/components/ion-menu.js"),m=require("@ionic/core/components/ion-menu-button.js"),h=require("@ionic/core/components/ion-input.js"),g=require("@ionic/core/components/ion-textarea.js"),ee=require("@ionic/core/components/ion-checkbox.js"),te=require("@ionic/core/components/ion-toggle.js"),ne=require("@ionic/core/components/ion-select.js"),re=require("@ionic/core/components/ion-select-option.js"),ie=require("@ionic/core/components/ion-radio.js"),ae=require("@ionic/core/components/ion-radio-group.js"),oe=require("@ionic/core/components/ion-range.js"),se=require("@ionic/core/components/ion-searchbar.js"),ce=require("@ionic/core/components/ion-list.js"),le=require("@ionic/core/components/ion-list-header.js"),ue=require("@ionic/core/components/ion-item.js"),de=require("@ionic/core/components/ion-item-divider.js"),fe=require("@ionic/core/components/ion-item-sliding.js"),pe=require("@ionic/core/components/ion-item-options.js"),me=require("@ionic/core/components/ion-item-option.js"),he=require("@ionic/core/components/ion-label.js"),ge=require("@ionic/core/components/ion-note.js"),_e=require("@ionic/core/components/ion-card.js"),ve=require("@ionic/core/components/ion-card-header.js"),ye=require("@ionic/core/components/ion-card-title.js"),be=require("@ionic/core/components/ion-card-subtitle.js"),xe=require("@ionic/core/components/ion-card-content.js"),Se=require("@ionic/core/components/ion-spinner.js"),Ce=require("@ionic/core/components/ion-progress-bar.js"),we=require("@ionic/core/components/ion-skeleton-text.js"),Te=require("@ionic/core/components/ion-badge.js"),Ee=require("@ionic/core/components/ion-avatar.js"),De=require("@ionic/core/components/ion-thumbnail.js"),Oe=require("@ionic/core/components/ion-button.js"),ke=require("@ionic/core/components/ion-fab.js"),Ae=require("@ionic/core/components/ion-fab-button.js"),je=require("@ionic/core/components/ion-fab-list.js"),Me=require("@ionic/core/components/ion-ripple-effect.js"),Ne=require("@ionic/core/components/ion-modal.js"),Pe=require("@ionic/core/components/ion-popover.js"),Fe=require("@ionic/core/components/ion-toast.js"),Ie=require("@ionic/core/components/ion-alert.js");function _(){return{willEnter:(0,e.signal)(0),didEnter:(0,e.signal)(0),willLeave:(0,e.signal)(0),didLeave:(0,e.signal)(0)}}var v=class extends e.NixComponent{__lc;constructor(e){super(),this.__lc=e}onInit(){let t=this.__lc;this.ionViewWillEnter&&(0,e.watch)(t.willEnter,this.ionViewWillEnter.bind(this)),this.ionViewDidEnter&&(0,e.watch)(t.didEnter,this.ionViewDidEnter.bind(this)),this.ionViewWillLeave&&(0,e.watch)(t.willLeave,this.ionViewWillLeave.bind(this)),this.ionViewDidLeave&&(0,e.watch)(t.didLeave,this.ionViewDidLeave.bind(this))}};function Le(t,n){(0,e.watch)(t.willEnter,n)}function Re(t,n){(0,e.watch)(t.didEnter,n)}function ze(t,n){(0,e.watch)(t.willLeave,n)}function Be(t,n){(0,e.watch)(t.didLeave,n)}var Ve="ionicons",y={hydratedSelectorName:"hydrated",lazyLoad:!1,updatable:!0},He=Object.defineProperty,Ue=(e,t)=>{for(var n in t)He(e,n,{get:t[n],enumerable:!0})},b=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},We=(e,t)=>{let n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[];let o=n;return e.__stencil__getHostRef=()=>o,o},x=(e,t)=>t in e,S=(e,t)=>(0,console.error)(e,t),C=new Map,Ge="slot-fb{display:contents}slot-fb[hidden]{display:none}",w="http://www.w3.org/1999/xlink",T=typeof window<"u"?window:{},Ke=T.HTMLElement||class{},E={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},qe=e=>Promise.resolve(e),Je=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),D=!1,Ye=[],Xe=[],Ze=(e,t)=>n=>{e.push(n),D||(D=!0,t&&4&E.$flags$?k(O):E.raf(O))},Qe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){S(e)}e.length=0},O=()=>{Qe(Ye),Qe(Xe),(D=Ye.length>0)&&E.raf(O)},k=e=>qe().then(e),$e=Ze(Xe,!0),et=e=>{let t=new URL(e,E.$resourcesUrl$);return t.origin===T.location.origin?t.pathname:t.href},A=e=>"object"===(e=typeof e)||"function"===e;function tt(e){return(e.head?.querySelector('meta[name="csp-nonce"]'))?.getAttribute("content")??void 0}var nt=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");Ue({},{err:()=>rt,map:()=>it,ok:()=>j,unwrap:()=>at,unwrapErr:()=>ot});var j=e=>({isOk:!0,isErr:!1,value:e}),rt=e=>({isOk:!1,isErr:!0,value:e});function it(e,t){if(e.isOk){let n=t(e.value);return n instanceof Promise?n.then(e=>j(e)):j(n)}if(e.isErr){let t=e.value;return rt(t)}throw"should never get here"}var M,at=e=>{if(e.isOk)return e.value;throw e.value},ot=e=>{if(e.isErr)return e.value;throw e.value};function st(e){let t=this.attachShadow({mode:"open"});void 0===M&&(M=null),M&&t.adoptedStyleSheets.push(M)}var N=(e,t="")=>()=>{},P=new WeakMap,ct=(e,t,n)=>{let o=C.get(e);Je&&n?(o||=new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,C.set(e,o)},lt=(e,t,n)=>{let o=dt(t),i=C.get(o);if(!T.document)return o;if(e=11===e.nodeType?e:T.document,i)if("string"==typeof i){e=e.head||e;let n,r=P.get(e);if(r||P.set(e,r=new Set),!r.has(o)){{n=T.document.createElement("style"),n.innerHTML=i;let o=E.$nonce$??tt(T.document);if(null!=o&&n.setAttribute("nonce",o),!(1&t.$flags$))if("HEAD"===e.nodeName){let t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,o?.parentNode===e?o:null)}else if("host"in e)if(Je){let t=new CSSStyleSheet;t.replaceSync(i),e.adoptedStyleSheets.unshift(t)}else{let t=e.querySelector("style");t?t.innerHTML=i+t.innerHTML:e.prepend(n)}else e.append(n);1&t.$flags$&&e.insertBefore(n,null)}4&t.$flags$&&(n.innerHTML+=Ge),r&&r.add(o)}}else e.adoptedStyleSheets.includes(i)||e.adoptedStyleSheets.push(i);return o},ut=e=>{let t=e.$cmpMeta$,n=e.$hostElement$,o=t.$flags$,i=N("attachStyles",t.$tagName$),r=lt(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h")),i()},dt=(e,t)=>"sc-"+e.$tagName$,F=(e,t,...n)=>{let o=null,i=null,r=!1,s=!1,l=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!A(o))&&(o=String(o)),r&&s?l[l.length-1].$text$+=o:l.push(r?I(null,o):o),s=r)};if(c(n),t){t.key&&(i=t.key);{let e=t.className||t.class;e&&(t.class="object"==typeof e?Object.keys(e).filter(t=>e[t]).join(" "):e)}}let a=I(e,null);return a.$attrs$=t,l.length>0&&(a.$children$=l),a.$key$=i,a},I=(e,t)=>{let n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null};return n},ft={},pt=e=>e&&e.$tag$===ft,L=e=>{let t=nt(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};L("::slotted"),L(":host"),L(":host-context");var mt=(e,t,n)=>null==e||A(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?String(e):e,ht=(e,t,n)=>{let o=E.ce(t,n);return e.dispatchEvent(o),o},gt=(e,t,n,o,i,r,s)=>{if(n===o)return;let l=x(e,t),c=t.toLowerCase();if("class"===t){let t=e.classList,i=vt(n),r=vt(o);t.remove(...i.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!i.includes(e)))}else if("style"===t){for(let t in n)(!o||null==o[t])&&(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(let t in o)(!n||o[t]!==n[t])&&(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"!==t)if("ref"===t)o&&o(e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){let s=A(o);if(l||s&&null!==o)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{let i=o??"";"list"===t?l=!1:(null==n||e[t]!=i)&&("function"==typeof e.__lookupSetter__(t)?e[t]=i:e.setAttribute(t,i))}}catch{}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==o||!1===o?(!1!==o||""===e.getAttribute(t))&&(a?e.removeAttributeNS(w,t):e.removeAttribute(t)):(!l||4&r||i)&&!s&&1===e.nodeType&&(o=!0===o?"":o,a?e.setAttributeNS(w,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):x(T,c)?c.slice(2):c[2]+t.slice(3),n||o){let i=t.endsWith(yt);t=t.replace(bt,""),n&&E.rel(e,t,n,i),o&&E.ael(e,t,o,i)}},_t=/\s/,vt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(_t):[]),yt="Capture",bt=RegExp(yt+"$"),xt=(e,t,n,o)=>{let i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||{},s=t.$attrs$||{};for(let e of St(Object.keys(r)))e in s||gt(i,e,r[e],void 0,n,t.$flags$);for(let e of St(Object.keys(s)))gt(i,e,r[e],s[e],n,t.$flags$)};function St(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var R,G,X,Ct=!1,z=(e,t,n)=>{let o,i,r=t.$children$[n],s=0;if(null!==r.$text$)o=r.$elm$=T.document.createTextNode(r.$text$);else{if(!T.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(o=r.$elm$=T.document.createElement(r.$tag$),xt(null,r,Ct),r.$children$)for(s=0;s<r.$children$.length;++s)i=z(e,r,s),i&&o.appendChild(i)}return o["s-hn"]=R,o},wt=(e,t,n,o,i,r)=>{let s,l=e;for(l.shadowRoot&&l.tagName===R&&(l=l.shadowRoot);i<=r;++i)o[i]&&(s=z(null,n,i),s&&(o[i].$elm$=s,H(l,s,t)))},Tt=(e,t,n)=>{for(let o=t;o<=n;++o){let t=e[o];if(t){let e=t.$elm$;Dt(t),e&&e.remove()}}},Et=(e,t,n,o,i=!1)=>{let r,s,l=0,c=0,a=0,u=0,d=t.length-1,m=t[0],$=t[d],h=o.length-1,p=o[0],f=o[h];for(;l<=d&&c<=h;)if(null==m)m=t[++l];else if(null==$)$=t[--d];else if(null==p)p=o[++c];else if(null==f)f=o[--h];else if(B(m,p,i))V(m,p,i),m=t[++l],p=o[++c];else if(B($,f,i))V($,f,i),$=t[--d],f=o[--h];else if(B(m,f,i))V(m,f,i),H(e,m.$elm$,$.$elm$.nextSibling),m=t[++l],f=o[--h];else if(B($,p,i))V($,p,i),H(e,$.$elm$,m.$elm$),$=t[--d],p=o[++c];else{for(a=-1,u=l;u<=d;++u)if(t[u]&&null!==t[u].$key$&&t[u].$key$===p.$key$){a=u;break}a>=0?(s=t[a],s.$tag$===p.$tag$?(V(s,p,i),t[a]=void 0,r=s.$elm$):r=z(t&&t[c],n,a),p=o[++c]):(r=z(t&&t[c],n,c),p=o[++c]),r&&H(m.$elm$.parentNode,r,m.$elm$)}l>d?wt(e,null==o[h+1]?null:o[h+1].$elm$,n,o,c,h):c>h&&Tt(t,l,d)},B=(e,t,n=!1)=>e.$tag$===t.$tag$&&(n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$),V=(e,t,n=!1)=>{let o=t.$elm$=e.$elm$,i=e.$children$,r=t.$children$,s=t.$text$;null===s?(xt(e,t,Ct),null!==i&&null!==r?Et(o,i,t,r,n):null===r?!n&&y.updatable&&null!==i&&Tt(i,0,i.length-1):(null!==e.$text$&&(o.textContent=""),wt(o,null,t,r,0,r.length-1))):e.$text$!==s&&(o.data=s)},Dt=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Dt)},H=(e,t,n)=>e?.insertBefore(t,n),Ot=(e,t,n=!1)=>{let o=e.$hostElement$,i=e.$cmpMeta$,r=e.$vnode$||I(null,null),s=pt(t)?t:F(null,null,t);if(R=o.tagName,i.$attrsToReflect$&&(s.$attrs$=s.$attrs$||{},i.$attrsToReflect$.map(([e,t])=>s.$attrs$[t]=o[e])),n&&s.$attrs$)for(let e of Object.keys(s.$attrs$))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.$attrs$[e]=o[e]);s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=r.$elm$=o.shadowRoot||o,V(r,s,n)},kt=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){let n=t["s-p"].push(new Promise(o=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),o()}))}},U=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return kt(e,e.$ancestorComponent$),$e(()=>At(e,t));e.$flags$|=512},At=(e,t)=>{let n,o=e.$hostElement$,i=N("scheduleUpdate",e.$cmpMeta$.$tagName$),r=o;if(!r)throw Error(`Can't render component <${o.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`);return n=W(r,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=jt(n,()=>W(r,"componentWillRender",void 0,o)),i(),jt(n,()=>Nt(e,r,t))},jt=(e,t)=>Mt(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),Mt=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Nt=async(e,t,n)=>{let o=e.$hostElement$,i=N("update",e.$cmpMeta$.$tagName$),r=o["s-rc"];n&&ut(e);let s=N("render",e.$cmpMeta$.$tagName$);Pt(e,t,o,n),r&&(r.map(e=>e()),o["s-rc"]=void 0),s(),i();{let t=o["s-p"]??[],n=()=>Ft(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},Pt=(e,t,n,o)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ot(e,t,o)}catch(t){S(t,e.$hostElement$)}return null},Ft=e=>{let t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,o=N("postUpdate",t),i=n,r=e.$ancestorComponent$;W(i,"componentDidRender",void 0,n),64&e.$flags$?(W(i,"componentDidUpdate",void 0,n),o()):(e.$flags$|=64,Lt(n),W(i,"componentDidLoad",void 0,n),o(),e.$onReadyResolve$(n),r||It()),e.$onRenderResolve$&&=void e.$onRenderResolve$(),512&e.$flags$&&k(()=>U(e,!1)),e.$flags$&=-517},It=e=>{k(()=>ht(T,"appload",{detail:{namespace:Ve}}))},W=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){S(e,o)}},Lt=e=>e.classList.add(y.hydratedSelectorName??"hydrated"),Rt=(e,t)=>b(e).$instanceValues$.get(t),zt=(e,t,n,o)=>{let i=b(e),r=e,s=i.$instanceValues$.get(t),l=i.$flags$,c=r;if(!((n=mt(n,o.$members$[t][0]))===s||Number.isNaN(s)&&Number.isNaN(n))){if(i.$instanceValues$.set(t,n),o.$watchers$&&128&l){let e=o.$watchers$[t];e&&e.map(e=>{try{c[e](n,s,t)}catch(e){S(e,r)}})}if(2==(18&l)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,s,t))return;U(i,!1)}}},Bt=(e,t,n)=>{let o=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let n=Object.entries(t.$members$??{});n.map(([e,[n]])=>{if(31&n||32&n){let{get:i,set:r}=Object.getOwnPropertyDescriptor(o,e)||{};i&&(t.$members$[e][0]|=2048),r&&(t.$members$[e][0]|=4096),Object.defineProperty(o,e,{get(){return i?i.apply(this):Rt(this,e)},configurable:!0,enumerable:!0}),Object.defineProperty(o,e,{set(o){let i=b(this);if(r){let s=32&n?this[e]:i.$hostElement$[e];return void 0===s&&i.$instanceValues$.get(e)?o=i.$instanceValues$.get(e):!i.$instanceValues$.get(e)&&s&&i.$instanceValues$.set(e,s),r.apply(this,[mt(o,n)]),o=32&n?this[e]:i.$hostElement$[e],void zt(this,e,o,t)}zt(this,e,o,t)}})}});{let i=new Map;o.attributeChangedCallback=function(e,n,r){E.jmp(()=>{let s=i.get(e);if(!this.hasOwnProperty(s)||!y.lazyLoad){if(o.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==r)return;if(null==s){let o=b(this)?.$flags$;if(o&&!(8&o)&&128&o&&r!==n){let o=this;(t.$watchers$?.[e])?.forEach(t=>{null!=o[t]&&o[t].call(o,r,n,e)})}return}}let l=Object.getOwnPropertyDescriptor(o,s);(r=(null!==r||"boolean"!=typeof this[s])&&r)!==this[s]&&(!l.get||l.set)&&(this[s]=r)})},e.observedAttributes=Array.from(new Set([...Object.keys(t.$watchers$??{}),...n.filter(([e,t])=>15&t[0]).map(([e,n])=>{var o;let r=n[1]||e;return i.set(r,e),512&n[0]&&(null==(o=t.$attrsToReflect$)||o.push([e,r])),r})]))}}return e},Vt=async(e,t,n,o)=>{let i;if(!(32&t.$flags$)){t.$flags$|=32;{i=e.constructor;let n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(i&&i.style){let e;"string"==typeof i.style&&(e=i.style);let t=dt(n);if(!C.has(t)){let o=N("registerStyles",n.$tagName$);ct(t,e,!!(1&n.$flags$)),o()}}}let r=t.$ancestorComponent$,s=()=>U(t,!0);r&&r["s-rc"]?r["s-rc"].push(s):s()},Ht=e=>{if(!(1&E.$flags$)){let t=b(e),n=t.$cmpMeta$,o=N("connectedCallback",n.$tagName$);if(1&t.$flags$)t?.$lazyInstance$||t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>{});else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){kt(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){let n=e[t];delete e[t],e[t]=n}}),y.initializeNextTick?k(()=>Vt(e,t,n)):Vt(e,t,n)}o()}},Ut=async e=>{1&E.$flags$||b(e),P.has(e)&&P.delete(e),e.shadowRoot&&P.has(e.shadowRoot)&&P.delete(e.shadowRoot)},Wt=(e,t)=>{let n={$flags$:t[0],$tagName$:t[1]};n.$members$=t[2],n.$watchers$=e.$watchers$,n.$attrsToReflect$=[];let o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){We(this,n)},connectedCallback(){this.__hasHostListenerAttached||=(b(this),!0),Ht(this),o&&o.call(this)},disconnectedCallback(){Ut(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else st.call(this,n)}}),e.is=n.$tagName$,Bt(e,n)},Gt=()=>{if(typeof window>"u")return new Map;if(!G){let e=window;e.Ionicons=e.Ionicons||{},G=e.Ionicons.map=e.Ionicons.map||new Map}return G},Kt=e=>{let t=K(e.src);return t||(t=Jt(e.name,e.icon,e.mode,e.ios,e.md),t?qt(t,e):e.icon&&(t=K(e.icon),t||(t=K(e.icon[e.mode]),t))?t:null)},qt=(e,t)=>{let n=Gt().get(e);if(n)return n;try{return et(`svg/${e}.svg`)}catch(n){console.log("e",n),console.warn(`[Ionicons Warning]: Could not load icon with name "${e}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}},Jt=(e,t,n,o,i)=>(n="ios"===(n&&J(n))?"ios":"md",o&&"ios"===n?e=J(o):i&&"md"===n?e=J(i):(!e&&t&&!Yt(t)&&(e=t),q(e)&&(e=J(e))),q(e)&&""!==e.trim()&&""===e.replace(/[a-z]|-|\d/gi,"")?e:null),K=e=>q(e)&&(e=e.trim(),Yt(e))?e:null,Yt=e=>e.length>0&&/(\/|\.)/.test(e),q=e=>"string"==typeof e,J=e=>e.toLowerCase(),Xt=(e,t=[])=>{let n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},Zt=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null==document?void 0:document.dir.toLowerCase()),Qt=e=>{let t=document.createElement("div");t.innerHTML=e;for(let e=t.childNodes.length-1;e>=0;e--)"svg"!==t.childNodes[e].nodeName.toLowerCase()&&t.removeChild(t.childNodes[e]);let n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){let e=n.getAttribute("class")||"";if(n.setAttribute("class",(e+" s-ion-icon").trim()),$t(n))return t.innerHTML}return""},$t=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){let n=e.attributes[t].name;if(q(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<e.childNodes.length;t++)if(!$t(e.childNodes[t]))return!1}return!0},en=e=>e.startsWith("data:image/svg+xml"),tn=e=>-1!==e.indexOf(";utf8,"),Y=new Map,nn=new Map;function Z(e){return Y.set(e,""),""}var rn=(e,t)=>nn.get(e)||(typeof fetch<"u"&&typeof document<"u"?en(e)&&tn(e)?Promise.resolve(an(e)):on(e,t):Promise.resolve(Z(e)));function an(e){X||=new DOMParser;let t=X.parseFromString(e,"text/html").querySelector("svg");if(t)return Y.set(e,t.outerHTML),t.outerHTML;throw Error(`Could not parse svg from ${e}`)}function on(e,t){let n=fetch(e).then(n=>n.text().then(n=>{n&&!1!==t&&(n=Qt(n));let o=n||"";return Y.set(e,o),o}).catch(()=>Z(e))).catch(()=>Z(e));return nn.set(e,n),n}var sn=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",cn=Wt(class extends Ke{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.isVisible=!1,this.mode=ln(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=Xt(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&=void this.io.disconnect()}waitUntilVisible(e,t,n){if(!(this.lazy&&typeof window<"u"&&window.IntersectionObserver))return n();let o=this.io=new window.IntersectionObserver(e=>{e[0].isIntersecting&&(o.disconnect(),this.io=void 0,n())},{rootMargin:t});o.observe(e)}loadIcon(){if(this.isVisible){let e=Kt(this);e&&(Y.has(e)?this.svgContent=Y.get(e):rn(e,this.sanitize).then(()=>this.svgContent=Y.get(e)),this.didLoadIcon=!0)}this.iconName=Jt(this.name,this.icon,this.mode,this.ios,this.md)}render(){let{flipRtl:e,iconName:t,inheritedAttributes:n,el:o}=this,i=this.mode||"md",r=!!t&&((t.includes("arrow")||t.includes("chevron"))&&!1!==e),s=e||r;return F(ft,Object.assign({key:"0578c899781ca145dd8205acd9670af39b57cf2e",role:"img",class:Object.assign(Object.assign({[i]:!0},un(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":s,"icon-rtl":s&&Zt(o)})},n),this.svgContent?F("div",{class:"icon-inner",innerHTML:this.svgContent}):F("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}static get style(){return sn}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]},void 0,{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}]),ln=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",un=e=>e?{"ion-color":!0,[`ion-color-${e}`]:!0}:null;function dn(){typeof customElements>"u"||["ion-icon"].forEach(e=>{if("ion-icon"===e)customElements.get(e)||customElements.define(e,cn)})}var Q,fn=dn,pn=()=>{if(typeof window>"u")return new Map;if(!Q){let e=window;e.Ionicons=e.Ionicons||{},Q=e.Ionicons.map=e.Ionicons.map||new Map}return Q},mn=e=>{Object.keys(e).forEach(t=>{hn(t,e[t]);let n=t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z0-9])/g,"$1-$2").toLowerCase();t!==n&&hn(n,e[t])})},hn=(e,t)=>{let n=pn(),o=n.get(e);void 0===o?n.set(e,t):o!==t&&console.warn(`[Ionicons Warning]: Multiple icons were mapped to name "${e}". Ensure that multiple icons are not mapped to the same icon name.`)},gn="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",_n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>",vn="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",yn="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>",$=!1;function bn(e={}){if($)return;let w=e.iconAssetPath||"https://unpkg.com/ionicons@latest/dist/ionicons/svg/";window.ionicons={assets:w},(0,t.initialize)();let y=[n.defineCustomElement,r.defineCustomElement,i.defineCustomElement,a.defineCustomElement,o.defineCustomElement,s.defineCustomElement,c.defineCustomElement,l.defineCustomElement,u.defineCustomElement,d.defineCustomElement,f.defineCustomElement,p.defineCustomElement,m.defineCustomElement,h.defineCustomElement,g.defineCustomElement,ee.defineCustomElement,te.defineCustomElement,ne.defineCustomElement,re.defineCustomElement,ie.defineCustomElement,ae.defineCustomElement,oe.defineCustomElement,se.defineCustomElement,ce.defineCustomElement,le.defineCustomElement,ue.defineCustomElement,de.defineCustomElement,fe.defineCustomElement,pe.defineCustomElement,me.defineCustomElement,he.defineCustomElement,ge.defineCustomElement,_e.defineCustomElement,ve.defineCustomElement,ye.defineCustomElement,be.defineCustomElement,xe.defineCustomElement,Se.defineCustomElement,Ce.defineCustomElement,we.defineCustomElement,Te.defineCustomElement,Ee.defineCustomElement,De.defineCustomElement,Oe.defineCustomElement,ke.defineCustomElement,Ae.defineCustomElement,je.defineCustomElement,Me.defineCustomElement,Ne.defineCustomElement,Pe.defineCustomElement,Fe.defineCustomElement,Ie.defineCustomElement,fn];for(let e=0;e<y.length;e++){(0,y[e])()}mn({"arrow-back":gn,"arrow-back-sharp":_n,"chevron-back":vn,"chevron-back-sharp":yn}),$=!0}function xn(){return{navigate:(e,t="forward")=>{let n=document.querySelector("ion-router");n&&"function"==typeof n.push&&n.push(e,t)},replace:e=>{let t=document.querySelector("ion-router");t&&"function"==typeof t.push&&t.push(e,"root")},back:()=>{let e=document.querySelector("ion-router");e&&"function"==typeof e.back&&e.back()}}}function Sn(e="/"){return{__isNixTemplate:!0,mount(e){let t="string"==typeof e?document.querySelector(e):e;return{unmount:this._render(t,null)}},_render(t,n){let o=document.createElement("ion-back-button");return e&&o.setAttribute("default-href",e),t.insertBefore(o,n),()=>o.remove()}}}var Cn=class extends e.NixComponent{routes;constructor(e){super(),this.routes=e}_pathToRouteId(e){return e&&"/"!==e?`nix-route-${e.replace(/\/:?[^/]+/g,e=>"-"+e.replace(/\//g,"").replace(/:/g,"")).replace(/^\//,"").replace(/\//g,"-")}`:"nix-route-home"}render(){let e=this;return{__isNixTemplate:!0,mount(e){let t="string"==typeof e?document.querySelector(e):e;return{unmount:this._render(t,null)}},_render(t,n){let o=document.createElement("ion-router");o.setAttribute("use-hash","false"),e.routes.filter(e=>"*"!==e.path).forEach(t=>{let n=document.createElement("ion-route");n.setAttribute("url",t.path),n.setAttribute("component",e._pathToRouteId(t.path)),o.appendChild(n)});let i=document.createElement("ion-router-outlet");return i.delegate={attachViewToDom:async(t,n,o,i)=>{let r=e.routes.find(t=>e._pathToRouteId(t.path)===n),s=document.createElement("ion-page");s.classList.add("ion-page"),i&&i.length&&s.classList.add(...i);let l=_();if(s.addEventListener("ionViewWillEnter",()=>l.willEnter.update(e=>e+1)),s.addEventListener("ionViewDidEnter",()=>l.didEnter.update(e=>e+1)),s.addEventListener("ionViewWillLeave",()=>l.willLeave.update(e=>e+1)),s.addEventListener("ionViewDidLeave",()=>l.didLeave.update(e=>e+1)),r){let e=o||{},t=r.component({lc:l,params:e});if("render"in t&&"function"==typeof t.render){let e=t;e.onInit?.();let n=e.render()._render(s,null),o=e.onMount?.();s._nixCleanup=()=>{e.onUnmount?.(),"function"==typeof o&&o(),n()}}else s._nixCleanup=t._render(s,null)}return t.appendChild(s),s},removeViewFromDom:async(e,t)=>{t._nixCleanup&&t._nixCleanup(),t.remove()}},t.insertBefore(o,n),t.insertBefore(i,n),()=>{o.remove(),i.remove()}}}}};exports.IonBackButton=Sn,exports.IonPage=v,exports.IonRouterOutlet=Cn,exports.createPageLifecycle=_,exports.setupNixIonic=bn,exports.useIonViewDidEnter=Re,exports.useIonViewDidLeave=Be,exports.useIonViewWillEnter=Le,exports.useIonViewWillLeave=ze,exports.useRouter=xn;
|