@stencil/core 4.27.1 → 4.27.2-dev.1741064500.30fc9f5
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +5 -17
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +2 -2
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +2 -2
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +0 -1
- package/internal/stencil-public-compiler.d.ts +1 -1
- package/internal/testing/index.js +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.d.ts +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +17 -17
- package/readme.md +7 -7
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +2 -2
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +2 -2
- package/testing/package.json +1 -1
package/cli/index.cjs
CHANGED
package/cli/index.js
CHANGED
package/cli/package.json
CHANGED
package/compiler/package.json
CHANGED
package/compiler/stencil.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Compiler v4.27.
|
|
2
|
+
Stencil Compiler v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -239738,7 +239738,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
239738
239738
|
var import_typescript70 = __toESM(require_typescript_5_5_4_bundle_cache_min());
|
|
239739
239739
|
|
|
239740
239740
|
// src/version.ts
|
|
239741
|
-
var buildId = "
|
|
239741
|
+
var buildId = "1741064500";
|
|
239742
239742
|
var minfyJsId = "terser5.31.1_7";
|
|
239743
239743
|
var optimizeCssId = "autoprefixer10.4.19_postcss8.5.1_7";
|
|
239744
239744
|
var parse5Version = "7.1.2";
|
|
@@ -239746,8 +239746,8 @@ var rollupVersion = "2.56.3";
|
|
|
239746
239746
|
var jqueryVersion = "4.0.0-pre";
|
|
239747
239747
|
var terserVersion = "5.31.1";
|
|
239748
239748
|
var typescriptVersion = "5.5.4";
|
|
239749
|
-
var vermoji = "\u{
|
|
239750
|
-
var version = "4.27.
|
|
239749
|
+
var vermoji = "\u{1F31C}";
|
|
239750
|
+
var version = "4.27.2-dev.1741064500.30fc9f5";
|
|
239751
239751
|
var versions = {
|
|
239752
239752
|
stencil: version,
|
|
239753
239753
|
parse5: parse5Version,
|
|
@@ -261980,7 +261980,7 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
|
|
|
261980
261980
|
}, []);
|
|
261981
261981
|
if ((_k = validatedConfig.nodeResolve) == null ? void 0 : _k.customResolveOptions) {
|
|
261982
261982
|
const warn = buildWarn(diagnostics);
|
|
261983
|
-
warn.messageText = `nodeResolve.customResolveOptions is a deprecated option in a Stencil Configuration file. If you need this option, please open a new issue in the Stencil repository (https://github.com/
|
|
261983
|
+
warn.messageText = `nodeResolve.customResolveOptions is a deprecated option in a Stencil Configuration file. If you need this option, please open a new issue in the Stencil repository (https://github.com/stenciljs/core/issues/new/choose)`;
|
|
261984
261984
|
}
|
|
261985
261985
|
CACHED_VALIDATED_CONFIG = validatedConfig;
|
|
261986
261986
|
return {
|
|
@@ -263414,7 +263414,6 @@ var generatePropTypes = (cmpMeta, typeImportData) => {
|
|
|
263414
263414
|
}
|
|
263415
263415
|
return {
|
|
263416
263416
|
name: cmpProp.name,
|
|
263417
|
-
attributeName: cmpProp.attribute,
|
|
263418
263417
|
type: getType2(cmpProp, typeImportData, cmpMeta.sourceFilePath),
|
|
263419
263418
|
optional: cmpProp.optional,
|
|
263420
263419
|
required: cmpProp.required,
|
|
@@ -263498,17 +263497,6 @@ var attributesToMultiLineString = (attributes, jsxAttributes, internal) => {
|
|
|
263498
263497
|
}
|
|
263499
263498
|
const optional = jsxAttributes ? !type.required : type.optional;
|
|
263500
263499
|
fullList.push(` "${type.name}"${optional ? "?" : ""}: ${type.type};`);
|
|
263501
|
-
if (type.attributeName && type.attributeName !== type.name) {
|
|
263502
|
-
const padding = " ".repeat(8);
|
|
263503
|
-
fullList.push(
|
|
263504
|
-
[
|
|
263505
|
-
`${padding}/**`,
|
|
263506
|
-
`${padding} * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.`,
|
|
263507
|
-
`${padding} */`
|
|
263508
|
-
].join("\n")
|
|
263509
|
-
);
|
|
263510
|
-
fullList.push(`${padding}"${type.attributeName}"?: ${type.type};`);
|
|
263511
|
-
}
|
|
263512
263500
|
return fullList;
|
|
263513
263501
|
}, []).join(`
|
|
263514
263502
|
`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="utf-8"><title>Stencil Dev Server Connector 4.27.
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><title>Stencil Dev Server Connector 4.27.2-dev.1741064500.30fc9f5 ⚡</title><style>body{background:black;color:white;font:18px monospace;text-align:center}</style></head><body>
|
|
2
2
|
|
|
3
|
-
Stencil Dev Server Connector 4.27.
|
|
3
|
+
Stencil Dev Server Connector 4.27.2-dev.1741064500.30fc9f5 ⚡
|
|
4
4
|
|
|
5
5
|
<script>!function(e,t,n,r){"use strict";var o="#dev-server-modal * { box-sizing: border-box !important; } #dev-server-modal { direction: ltr !important; display: block !important; position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 100000; margin: 0 !important; padding: 0 !important; font-family: -apple-system, 'Roboto', BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important; font-size: 14px !important; line-height: 1.5 !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; text-size-adjust: none; word-wrap: break-word; color: #333 !important; background-color: white !important; box-sizing: border-box !important; overflow: hidden; user-select: auto; } #dev-server-modal-inner { position: relative !important; padding: 0 0 30px 0 !important; width: 100% !important; height: 100%; overflow-x: hidden; overflow-y: scroll; -webkit-overflow-scrolling: touch; } .dev-server-diagnostic { margin: 20px !important; border: 1px solid #ddd !important; border-radius: 3px !important; } .dev-server-diagnostic-masthead { padding: 8px 12px 12px 12px !important; } .dev-server-diagnostic-title { margin: 0 !important; font-weight: bold !important; color: #222 !important; } .dev-server-diagnostic-message { margin-top: 4px !important; color: #555 !important; } .dev-server-diagnostic-file { position: relative !important; border-top: 1px solid #ddd !important; } .dev-server-diagnostic-file-header { display: block !important; padding: 5px 10px !important; color: #555 !important; border-bottom: 1px solid #ddd !important; border-top-left-radius: 2px !important; border-top-right-radius: 2px !important; background-color: #f9f9f9 !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; } a.dev-server-diagnostic-file-header { color: #0000ee !important; text-decoration: underline !important; } a.dev-server-diagnostic-file-header:hover { text-decoration: none !important; background-color: #f4f4f4 !important; } .dev-server-diagnostic-file-name { font-weight: bold !important; } .dev-server-diagnostic-blob { overflow-x: auto !important; overflow-y: hidden !important; border-bottom-right-radius: 3px !important; border-bottom-left-radius: 3px !important; } .dev-server-diagnostic-table { margin: 0 !important; padding: 0 !important; border-spacing: 0 !important; border-collapse: collapse !important; border-width: 0 !important; border-style: none !important; -moz-tab-size: 2; tab-size: 2; } .dev-server-diagnostic-table td, .dev-server-diagnostic-table th { padding: 0 !important; border-width: 0 !important; border-style: none !important; } td.dev-server-diagnostic-blob-num { padding-right: 10px !important; padding-left: 10px !important; width: 1% !important; min-width: 50px !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; line-height: 20px !important; color: rgba(0, 0, 0, 0.3) !important; text-align: right !important; white-space: nowrap !important; vertical-align: top !important; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: solid #eee !important; border-width: 0 1px 0 0 !important; } td.dev-server-diagnostic-blob-num::before { content: attr(data-line-number) !important; } .dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-num { background-color: #ffdddd !important; border-color: #ffc9c9 !important; } .dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-code { background: rgba(255, 221, 221, 0.25) !important; z-index: -1; } .dev-server-diagnostic-open-in-editor td.dev-server-diagnostic-blob-num:hover { cursor: pointer; background-color: #ffffe3 !important; font-weight: bold; } .dev-server-diagnostic-open-in-editor.dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-num:hover { background-color: #ffdada !important; } td.dev-server-diagnostic-blob-code { position: relative !important; padding-right: 10px !important; padding-left: 10px !important; line-height: 20px !important; vertical-align: top !important; overflow: visible !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; color: #333 !important; word-wrap: normal !important; white-space: pre !important; } td.dev-server-diagnostic-blob-code::before { content: '' !important; } .dev-server-diagnostic-error-chr { position: relative !important; } .dev-server-diagnostic-error-chr::before { position: absolute !important; z-index: -1; top: -3px !important; left: 0px !important; width: 8px !important; height: 20px !important; background-color: #ffdddd !important; content: '' !important; } /** * GitHub Gist Theme * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro * https://highlightjs.org/ */ .hljs-comment, .hljs-meta { color: #969896; } .hljs-string, .hljs-variable, .hljs-template-variable, .hljs-strong, .hljs-emphasis, .hljs-quote { color: #df5000; } .hljs-keyword, .hljs-selector-tag, .hljs-type { color: #a71d5d; } .hljs-literal, .hljs-symbol, .hljs-bullet, .hljs-attribute { color: #0086b3; } .hljs-section, .hljs-name { color: #63a35c; } .hljs-tag { color: #333333; } .hljs-title, .hljs-attr, .hljs-selector-id, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo { color: #795da3; } .hljs-addition { color: #55a532; background-color: #eaffea; } .hljs-deletion { color: #bd2c00; background-color: #ffecec; } .hljs-link { text-decoration: underline; }",i=function(e){var t,n,r={diagnostics:[],status:null};return e&&e.window&&Array.isArray(e.buildResults.diagnostics)&&(t=e.buildResults.diagnostics.filter((function(e){return"error"===e.level}))).length>0&&(n=l(e.window.document),t.forEach((function(t){r.diagnostics.push(t),a(e.window.document,e.openInEditor,n,t)})),r.status="error"),r},a=function(e,t,n,r){var o,i,a,l,d,m,f,g,h,v,b,w,y,k,E,C,L=e.createElement("div");L.className="dev-server-diagnostic",(d=e.createElement("div")).className="dev-server-diagnostic-masthead",d.title="".concat(c(r.type)," error: ").concat(c(null!==(o=r.code)&&void 0!==o?o:"unknown error")),L.appendChild(d),(m=e.createElement("div")).className="dev-server-diagnostic-title","string"==typeof r.header&&r.header.trim().length>0?m.textContent=r.header:m.textContent="".concat(A(r.type)," ").concat(A(r.level)),d.appendChild(m),(f=e.createElement("div")).className="dev-server-diagnostic-message",f.textContent=r.messageText,d.appendChild(f),(g=e.createElement("div")).className="dev-server-diagnostic-file",L.appendChild(g),h="string"==typeof r.absFilePath&&0===r.absFilePath.indexOf("http"),v="function"==typeof t&&"string"==typeof r.absFilePath&&!h,h?((b=e.createElement("a")).href=null!==(i=r.absFilePath)&&void 0!==i?i:"",b.setAttribute("target","_blank"),b.setAttribute("rel","noopener noreferrer"),b.className="dev-server-diagnostic-file-header",(w=e.createElement("span")).className="dev-server-diagnostic-file-path",w.textContent=null!==(a=r.absFilePath)&&void 0!==a?a:"",b.appendChild(w),g.appendChild(b)):r.relFilePath&&((b=e.createElement(v?"a":"div")).className="dev-server-diagnostic-file-header",r.absFilePath&&(b.title=c(r.absFilePath),v&&s(t,b,r.absFilePath,r.lineNumber,r.columnNumber)),y=r.relFilePath.split("/"),(k=e.createElement("span")).className="dev-server-diagnostic-file-name",k.textContent=null!==(l=y.pop())&&void 0!==l?l:"",(w=e.createElement("span")).className="dev-server-diagnostic-file-path",w.textContent=y.join("/")+"/",b.appendChild(w),b.appendChild(k),g.appendChild(b)),r.lines&&r.lines.length>0&&((E=e.createElement("div")).className="dev-server-diagnostic-blob",g.appendChild(E),(C=e.createElement("table")).className="dev-server-diagnostic-table",E.appendChild(C),u(r.lines).forEach((function(n){var o,i,a,l,d,A,u,m=e.createElement("tr");n.errorCharStart>0&&m.classList.add("dev-server-diagnostic-error-line"),v&&m.classList.add("dev-server-diagnostic-open-in-editor"),C.appendChild(m),(l=e.createElement("td")).className="dev-server-diagnostic-blob-num",n.lineNumber>0&&(l.setAttribute("data-line-number",n.lineNumber+""),l.title=c(null!==(o=r.relFilePath)&&void 0!==o?o:"")+", line "+n.lineNumber,d=r.absFilePath,v&&d&&(A=n.lineNumber===r.lineNumber?r.columnNumber:1,s(t,l,d,n.lineNumber,A))),m.appendChild(l),(u=e.createElement("td")).className="dev-server-diagnostic-blob-code",u.innerHTML=p(null!==(i=n.text)&&void 0!==i?i:"",n.errorCharStart,null!==(a=n.errorLength)&&void 0!==a?a:0),m.appendChild(u)}))),n.appendChild(L)},s=function(e,t,n,r,o){var i,a;"A"===t.tagName&&(t.href="#open-in-editor"),i="number"!=typeof r||r<1?1:r,a="number"!=typeof o||o<1?1:o,t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation(),e({file:n,line:i,column:a})}))},l=function(e){var t=e.getElementById(f);return t||((t=e.createElement("div")).id=f,t.setAttribute("role","dialog"),e.body.appendChild(t)),t.innerHTML="<style>".concat(o,'</style><div id="').concat(f,'-inner"></div>'),e.getElementById("".concat(f,"-inner"))},d=function(e){var t=e.window.document.getElementById(f);(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)},c=function(e){return"number"==typeof e||"boolean"==typeof e?e.toString():"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):""},A=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},p=function(e,t,n){if("string"!=typeof e)return"";var r=t+n;return e.split("").map((function(e,n){var o;return o="<"===e?"<":">"===e?">":'"'===e?""":"'"===e?"'":"&"===e?"&":e,n>=t&&n<r&&(o='<span class="dev-server-diagnostic-error-chr">'.concat(o,"</span>")),o})).join("")},u=function(e){var t,n,r,o,i,a=JSON.parse(JSON.stringify(e));for(o=0;o<100;o++){if(!m(a))return a;for(i=0;i<a.length;i++)if(a[i].text=null!==(n=null===(t=a[i].text)||void 0===t?void 0:t.slice(1))&&void 0!==n?n:"",a[i].errorCharStart--,!(null===(r=a[i].text)||void 0===r?void 0:r.length))return a}return a},m=function(e){var t,n,r,o,i;if(!e.length)return!1;for(o=0;o<e.length;o++){if(!e[o].text||(null!==(n=null===(t=e[o].text)||void 0===t?void 0:t.length)&&void 0!==n?n:0)<1)return!1;if(" "!==(i=null===(r=e[o].text)||void 0===r?void 0:r.charAt(0))&&"\t"!==i)return!1}return!0},f="dev-server-modal",g=function(e,t){e.dispatchEvent(new CustomEvent(k,{detail:t}))},h=function(e,t){e.dispatchEvent(new CustomEvent(E,{detail:t}))},v=function(e,t){e.dispatchEvent(new CustomEvent(C,{detail:t}))},b=function(e,t){e.addEventListener(k,(function(e){t(e.detail)}))},w=function(e,t){e.addEventListener(E,(function(e){t(e.detail)}))},y=function(e,t){e.addEventListener(C,(function(e){t(e.detail)}))},k="devserver:buildlog",E="devserver:buildresults",C="devserver:buildstatus",L=function(e,t,n){return"string"==typeof n&&""!==n.trim()&&j(t)===j(n)?H(n,e):n},j=function(e){var t=e.split("/");return t[t.length-1].split("&")[0].split("?")[0]},x=function(e){var t={};return"string"==typeof e&&e.split("&").forEach((function(e){var n=e.split("=");t[n[0]]=n[1]?n[1]:""})),t},I=function(e){return Object.keys(e).map((function(t){return t+"="+e[t]})).join("&")},Q=function(e,t,n){var r=e.split("?"),o=r[0],i=x(r[1]);return i[t]=n,o+"?"+I(i)},H=function(e,t){return Q(e,"s-hmr",t)},S=function(e,t,n){for(var r,o,i=/url\((['"]?)(.*)\1\)/gi,a=n;null!==(r=i.exec(n));)o=r[2],a=a.replace(o,L(e,t,o));return a},B=function(e){return"link"===e.nodeName.toLowerCase()&&!!e.href&&!!e.rel&&"stylesheet"===e.rel.toLowerCase()},U=function(e){return"template"===e.nodeName.toLowerCase()&&!!e.content&&11===e.content.nodeType},N=function(e,t){e.setAttribute("data-hmr",t)},D=function(e){return!!e.shadowRoot&&11===e.shadowRoot.nodeType&&e.shadowRoot!==e},F=function(e){return!!e&&1===e.nodeType&&!!e.getAttribute},T=function(e,t,n){var r=[];return n.forEach((function(n){R(r,e,t,n)})),r.sort()},R=function(e,t,n,r){if(t.nodeName.toLowerCase()===r&&"function"==typeof t["s-hmr"]&&(t["s-hmr"](n),N(t,n),-1===e.indexOf(r)&&e.push(r)),D(t)&&R(e,t.shadowRoot,n,r),t.children)for(var o=0;o<t.children.length;o++)R(e,t.children[o],n,r)},O=function(e,t,n){if(B(e)&&n.forEach((function(n){M(e,t,n)})),U(e)&&O(e.content,t,n),D(e)&&O(e.shadowRoot,t,n),e.children)for(var r=0;r<e.children.length;r++)O(e.children[r],t,n);return n.sort()},M=function(e,t,n){var r=e.getAttribute("href"),o=L(t,n,e.href);o!==r&&(e.setAttribute("href",o),N(e,t))},z=function(e,t,n,r){return"file:"!==e.location.protocol&&t.styleSheets&&K(t,n,r),Y(e,t.documentElement,n,r),r.sort()},K=function(e,t,n){var r,o=Object.keys(e.documentElement.style).filter((function(e){return e.endsWith("Image")}));for(r=0;r<e.styleSheets.length;r++)J(o,e.styleSheets[r],t,n)},J=function(e,t,n,r){var o,i,a;try{for(o=t.cssRules,i=0;i<o.length;i++)switch((a=o[i]).type){case CSSRule.IMPORT_RULE:J(e,a.styleSheet,n,r);break;case CSSRule.STYLE_RULE:P(e,a,n,r);break;case CSSRule.MEDIA_RULE:J(e,a,n,r)}}catch(e){console.error("hmrStyleSheetImages: "+e)}},P=function(e,t,n,r){e.forEach((function(e){r.forEach((function(r){var o=t.style[e],i=S(n,r,o);o!==i&&(t.style[e]=i)}))}))},Y=function(e,t,n,r){var o,i,a=t.nodeName.toLowerCase();if("img"===a&&W(t,n,r),F(t)&&(o=t.getAttribute("style"))&&X(t,n,r,o),"style"===a&&q(t,n,r),"file:"!==e.location.protocol&&B(t)&&G(t,n,r),U(t)&&Y(e,t.content,n,r),D(t)&&Y(e,t.shadowRoot,n,r),t.children)for(i=0;i<t.children.length;i++)Y(e,t.children[i],n,r)},W=function(e,t,n){n.forEach((function(n){var r=e.getAttribute("src"),o=L(t,n,r);o!==r&&(e.setAttribute("src",o),N(e,t))}))},X=function(e,t,n,r){n.forEach((function(n){var o=S(t,n,r);o!==r&&(e.setAttribute("style",o),N(e,t))}))},q=function(e,t,n){n.forEach((function(n){var r=e.innerHTML,o=S(t,n,r);o!==r&&(e.innerHTML=o,N(e,t))}))},G=function(e,t,n){e.href=Q(e.href,"s-hmr-urls",n.sort().join(",")),e.href=H(e.href,t),e.setAttribute("data-hmr",t)},Z=function(e,t,n){var r,o=n;if(F(e)&&"style"===e.nodeName.toLowerCase()&&o.forEach((function(n){V(e,t,n)})),U(e)&&Z(e.content,t,o),D(e)&&Z(e.shadowRoot,t,o),e.children)for(r=0;r<e.children.length;r++)Z(e.children[r],t,o);return o.map((function(e){return e.styleTag})).reduce((function(e,t){return-1===e.indexOf(t)&&e.push(t),e}),[]).sort()},V=function(e,t,n){e.getAttribute("sty-id")===n.styleId&&n.styleText&&(e.innerHTML=n.styleText.replace(/\\n/g,"\n"),e.setAttribute("data-hmr",t))},_=function(e){var t,n,r,o,i,a={updatedComponents:[],updatedExternalStyles:[],updatedInlineStyles:[],updatedImages:[],versionId:""};try{if(!(e&&e.window&&e.window.document.documentElement&&e.hmr&&"string"==typeof e.hmr.versionId))return a;n=(t=e.window).document,r=e.hmr,o=n.documentElement,i=r.versionId,a.versionId=i,r.componentsUpdated&&(a.updatedComponents=T(o,i,r.componentsUpdated)),r.inlineStylesUpdated&&(a.updatedInlineStyles=Z(o,i,r.inlineStylesUpdated)),r.externalStylesUpdated&&(a.updatedExternalStyles=O(o,i,r.externalStylesUpdated)),r.imagesUpdated&&(a.updatedImages=z(t,n,i,r.imagesUpdated)),N(o,i)}catch(e){console.error(e)}return a},$=function(e){return oe(se,"Build",e)},ee=function(e){return te("Reload",e)},te=function(e,t){return oe(ie,e,t)},ne=function(e,t){return oe(le,e,t)},re=function(e){var t,n=e,r=ae,o="Error";"warn"===n.level&&(r=ie,o="Warning"),n.header&&(o=n.header),t="",n.relFilePath&&(t+=n.relFilePath,"number"==typeof n.lineNumber&&n.lineNumber>0&&(t+=", line "+n.lineNumber,"number"==typeof n.columnNumber&&n.columnNumber>0&&(t+=", column "+n.columnNumber)),t+="\n"),t+=n.messageText,oe(r,o,t)},oe=function(e,t,n){"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.indexOf("Trident")>-1?console.log(t,n):console.log.apply(console,["%c"+t,"background: ".concat(e,"; color: white; padding: 2px 3px; border-radius: 2px; font-size: 0.8em;"),n])},ie="#f39c12",ae="#c0392b",se="#3498db",le="#717171",de=function(e){function t(){clearTimeout(s),clearTimeout(a);var e=o();if(!e)return function(){var e=p.createElement("div");e.id=c,e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.zIndex="100001",e.style.width="100%",e.style.height="2px",e.style.transform="scaleX(0)",e.style.opacity="1",e.style.background=u,e.style.transformOrigin="left center",e.style.transition="transform .1s ease-in-out, opacity .5s ease-in",e.style.contain="strict",p.body.appendChild(e)}(),void(i=setTimeout(t,16));e.style.background=u,e.style.opacity="1",e.style.transform="scaleX(".concat(Math.min(1,r()),")"),null==l&&(l=setInterval((function(){d+=.05*Math.random()+.01,r()<.9?t():clearInterval(l)}),800))}function n(){clearInterval(l),d=.05,l=null,clearTimeout(s),clearTimeout(i),clearTimeout(a);var e=o();e&&(f>=1&&(e.style.transform="scaleX(1)"),s=setTimeout((function(){try{var e=o();e&&(e.style.opacity="0")}catch(e){}}),150),a=setTimeout((function(){try{var e=o();e&&e.parentNode.removeChild(e)}catch(e){}}),1e3))}function r(){var e=f+d;return Math.max(0,Math.min(1,e))}function o(){return p.getElementById(c)}var i,a,s,l,d,c,A=e.window,p=A.document,u="#5851ff",m="#b70c19",f=0;n(),b(A,(function(e){(f=e.progress)>=0&&f<1?t():n()})),w(A,(function(e){if(e.hasError){var t=o();t&&(t.style.transform="scaleX(1)",t.style.background=m)}n()})),y(A,(function(e){"disabled"===e&&n()})),"tmpl-initial-load"===p.head.dataset.tmpl&&t(),c="dev-server-progress-bar"},ce=function(e){var t=e.window,n=t.document,r=ue(n);r.forEach((function(e){e.href&&(e.dataset.href=e.href,e.dataset.type=e.type)})),y(t,(function(e){Ae(n,e)}))},Ae=function(e,t){ue(e).forEach((function(e){pe(e,t)}))},pe=function(e,t){"pending"===t?(e.href=fe,e.type=ve,e.setAttribute("data-status",t)):"error"===t?(e.href=ge,e.type=ve,e.setAttribute("data-status",t)):"disabled"===t?(e.href=he,e.type=ve,e.setAttribute("data-status",t)):(e.removeAttribute("data-status"),e.dataset.href?(e.href=e.dataset.href,e.type=e.dataset.type):(e.href=me,e.type=ve))},ue=function(e){var t,n,r=[],o=e.querySelectorAll("link");for(t=0;t<o.length;t++)o[t].href&&o[t].rel&&(o[t].rel.indexOf("shortcut")>-1||o[t].rel.indexOf("icon")>-1)&&r.push(o[t]);return 0===r.length&&((n=e.createElement("link")).rel="shortcut icon",e.head.appendChild(n),r.push(n)),r},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAnFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD4jUzeAAAAM3RSTlMAsGDs4wML8QEbBvr2FMhAM7+ILCUPnNzXrX04otO6j3RiT0ggzLSTcmtWUUWoZlknghZc2mZzAAACrklEQVR42u3dWXLiUAyFYWEwg40x8wxhSIAwJtH+99ZVeeinfriXVpWk5Hyr+C2VrgkAAAAAAAAAAAw5sZQ7aUhYypw07FjKC2ko2yxk2SQFgwYLOWSkYFhlIZ06KWhNWMhqRApGKxYyaZGCeoeFVIekIDuwkEaXFDSXLKRdkoYjS9mRhjlLSUjDO0s5kYYzS+mThn3OQsYqAbQQC7hZSgoGYgHUy0jBa42FvKkEUDERC6CCFIzeWEjtlRRkPbGAG5CCtCIWQAtS0ByzkHxPGvos5UEaNizlnTRsWconhbM4wTpSFHMTrFtKCroNFrLGBOsJLbGAWxWkoFiJBRAmWE/I1r4nWOmNheTeJ1gX0vDJUrYUweAEa04aHs5XePvc9wpPboJ1SCmOsRVkr04aromUEQEAgB9lxaZ++ATFpNDv6Y8qm1QdBk9QTAr9ni6mbFK7DJ6g2LQLXoHZlFCQdMY2nYJXYDb1g1dgNo2boSswm2Zp6ArMptCFyIVtCl2IlDmbNC0QcPEQcD8l4HLvAXdxHnBb5wG3QcDFQ8D9mIDrIeCiIeDiA25oNeA+EHDREHDxAbdmmxBwT0HARQbciW0KDbiEbQoNuB3bFBxwbTYJAfcUBFxkwFG/YlNJAADgxzCRcqUY9m7KGgNSUEx9H3XXO76Puv/OY5wedX/flHk+6j46v2maO79purPvm6Yz+75puua+b5q6Dd/PEsrNMyZfFM5gAMW+ymPtWciYV3ksBpBOwKUH3wHXXLKUM2l4cR5wG+cBlzgPuJ3zgJNb6FRwlP4Ln1X8wrOKeFbxP6Qz3wEn+KzilWLYe5UnMuDwY5BvD+cBt899B9zC+49Bqr4DrlXzHXDF1HfA1Tu+Ay5b+w649OY74OjoO+Bo7jzg7s4DDgAAAAAAAAAA/u0POrfnVIaqz/QAAAAASUVORK5CYII=",fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAjVBMVEUAAAD8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjLn7xn3AAAALnRSTlMAsFBgAaDxfPpAdTMcD/fs47kDBhVXJQpvLNbInIiBRvSqIb+TZ2OOONxdzUxpgKSpAAAAA69JREFUeNrt3FtvskAQxvERFQXFioqnCkqth572+3+8947dN00TliF5ZpP53ZOAveg/OzCklFJKKaWUUkoppQTZm77cCGFo+jIhhG/TlwchJAvTk/GIAA6x6Um+JoDti+nJ644A5h+mJ8eMALKj6cnHnAB2r80NLJ4jf3Vz+cuWANZ5cwPTM/l7by6PZwQwGptGQf4q++dLCOHdNIbkb2IvjwjAvYEf8pe6j4/wYxopr/9SQih4BXa3l5eEcJ7a++c9/gkSQE8bcCWvXwcrAjjYADrxHv8KCbi3JasgD5fm8i9IAG1swMXzDv0X2wDaEED21dzA5UDeVoPm8uUbAayvvAI42YA7EIDzA5pv8lc6/UoAoxMv4CZuvyKUpnHn9VNBAG6B7XkBtCeEO6/AbvbyihAiXsB92svfCcA9wap4j19DAmgWs37AZCrnBKvu8vgX9AmWE3BZh/6L7QkWJIA2RxtwHQpml9sAQp9gXWbkbxz4CdYDfIK1qk1j3IV9fPgJFlNECJXhYfSfsBHkhBCKwEd452nYI7wncwQJP8GKTU+uO0I4D/uSkVJKqXAkA5nK9icoIi3nrU9QRHrZtj5BESmetT5BEantPCh7NTJFrUdgMg1bj8BkSv1HYJ8RmjMQKf1HYDdC+/R/IyQFzbD4AxH+CIyPPxCJoEdQ/IFIMgXNEPkDkd8jMLQs5wRcTXA1J+By/BGO+0ovYwQGU3kPRLJfIzCkCSfgpgmhpc5AxD/gIkLb8wKO0DTgoNyaGQQecNfQAy7TgGtHA04DLtyA24UecHngAVdrwIkJuAitU8DJ1Dbghkam9gEnU+uAWxiRjhsdoXagI1TPgKNyIBO+ZpRSSrW3HfblTAA9/juPDwTAfiMK9VG3PY/hwX7Ubc9j+AoCWNWGp+NSH4HflE2IgXUEGPI3TTfmN4ndv2kSsRUJvpUn4W1FShbYb5rc84ySAtzKs3W3IgW4lWfO24q0zsFbebIjaysSjbtt5RHzUf0DHHCrAW8gVYEDzl0LGYW4lefB24uYQgOOfwN7dMANeW/k3DkBJ2CrUNE54GRsFYIHnPNR+iPEgHPWKo5DDDhnrWKeBRhwzlrFeNtlq5CgtYqzAAPODaBzgAH331rFAAOOqsDXKjL3IqboN7ILJ4BCDDh3r3SIAfd0AijEgHP3So/8wQNuvjRBbxVij5A6Bpy8EZJnwIkbIfkFnLwRkm/ASRshXbwDTtYICRRwt7BHqEoppZRSSimllFLqD/8AOXJZHefotiIAAAAASUVORK5CYII=",ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAkFBMVEUAAAD5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0HYvLBZAAAAL3RSTlMAsGDjA/rsC/ElHRUBBssz9pFCvoh0UEcsD9ec3K19OLiiaNLEYlmoVeiCbmE+GuMl4I8AAAKQSURBVHja7d1njupQDIZhAymEUIZQQu9taN7/7q50pfl/TmTJtvQ9q3hzLDsEAAAAAAAAAACGzFjKiTS0WcqONMxZypg0fH5YyLFPChZdFnIYkILil4VcclLw3bCQ85IULM8sZPMlBfmFhfwWpGBwYCHdESnoH1nIz4c0jFnKnDTsWEqbNJxYyow03FjKlDTUKQtZqwTQXizgtgkpWGQsZKIScL0OCxmqBFC5EQugkhQshyyk0yMFgwkLyRakIGmJBdCeFPTXLCStScOUpdwogsEXrBdpuLKUJ4XDC9afKmUh94QUjLy/YGViAZRTOIMBtypJQXn2HUC5WMBleMFqILmzkLSicBZfsB6k4clSrqTh5XyEd3MeQHXqe4Qn94LVSiicwRHkJScNdVvKkgAAwI+qZdM0/AXFpE4v+AXFpKwIfkExKfR7ulyxSWkV/IJi0zx4BGbTm4IkW7ZpFjwCs2kaPAKzad0PHYHZtE1CR2A2TQahIzCbhnnwCMykVYmAi4aAQ8BZ4T3grgi4BhBwCDgbEHCNIOAQcCYg4BpCwCHgLEDAaYgPuDfbhIBrBAGHgDMhNOBo2rKpIgAA8KNoS6kplq2dsu6CFJQr30vd+dD3Uvf/nTLHS93J3flZwrHznaad852mE/veaXqw752mKvW90zTq+j5LWGS+r/J8xQKoU1AUa2chm1zlsXQWUifgkoPvgOsffQccjZ0H3Mx5wL2dB9zcecB9sJTePOBM3cU+46wiziq6C7hk6zvg3J9VfDK7vir0ch5wN+cBV6e+A27v/ccgme+AkxshTXKKYW6EFH0X29gIKTLgzI2QYgPO2ggpLuDsvaDEBZy9EVJcwBkcIT0IAAAAAAAAAADs+AdjeyF69/r87QAAAABJRU5ErkJggg==",he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAeFBMVEUAAAC4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7/uGGySAAAAJ3RSTlMAsGAE7OMcAQvxJRX69kHWyL8zq5GIdEcsD5zcfVg4uKLNa1JPZoK/xdPIAAACiklEQVR42u3dW5KqUAyF4QgCCggqIt7t9pb5z/Ccvjz2w95UqpJ0r28Uf2WTQAAAAAAAAAAAYMiWpTxJQ8JSTqThwVI2pKFZsJC3ghTs5izkmpKCcspCljNSkB9ZSLsnBfuWhRxzUjBbspBpSQrSKwuZr0lB8cZCFg1p2LCUB2k4sZSENNxYypY0nFlKTxqGmoUcClJwEQu4SUoKdmIBtEpJQZ6xkHeVAKqOYgFUkYL9OwvJclKQrsQCbkcK0olYAF1IQXFgIfVAGnqWcqZwFidYN4phb4L1onCYYMlPsLqUFKwxwRozwTIYcG1FCqrWdwBhgqU7wUo7FlJ7n2DdScPL+RPezfkT3tl5AA217yc89xMssYBbzUjDkEjZEwAA+NFMbOrDJygmZXnwBMWkaRk8QTFpvg6eoJi0aIInKDY9gp/AbEqCJyg2bYOfwGzqKUzPNh2K0Ccwm0IfRBK2KfSLkDvbFPog0tRsUlsh4EZAwP2SgKu9B9wdATcOAg4BZwACbgQEHALOCATcCAg4BJwVCLhREHB/LOAebFNwwC3YJATcKAi4yICjfmJTQwAA4EeZSBkojrWdsvmO4hjbKYtd6ra2Uxa71G1tp0xnqbvo+IPfpe4Nf3K703Ridr3T9OQPfnea7szseaepqX3vNH3NM/xe5fmeZ7i9yiMXQFlJEeydhYy4ymMygCICzmQAxQactbOQMQFnMoBiAs7iVaHIgDN3VSgq4AxeFYoOOGNXhbCUPkaJs4o4q/iXzyp2vgPO/VnFl/OAu/F/jq8KnZ0H3FD7DriL9x+DTH0HXJ75Driq9R1ws6XvgEuvvgOu6HwHHG18BxydnAfc03nAAQAAAAAAAADAz/4BoL2Us9XM2zMAAAAASUVORK5CYII=",ve="image/x-icon",be="/~dev-server",we="".concat(be,"-init"),ye="".concat(be,"-open-in-editor"),ke=function(e,t){w(e,(function(n){Ee(e,t,n)}))},Ee=function(e,t,n){var r,o;try{if(n.buildId===e["s-build-id"])return;if(e["s-build-id"]=n.buildId,d({window:e}),n.hasError)return r=Array.isArray(t.editors)&&t.editors.length>0?t.editors[0].id:null,(o=i({window:e,buildResults:n,openInEditor:r?function(t){var n={file:t.file,line:t.line,column:t.column,editor:r},o="".concat(ye,"?").concat(Object.keys(n).map((function(e){return"".concat(e,"=").concat(n[e])})).join("&"));e.fetch(o)}:null})).diagnostics.forEach(re),void v(e,o.status);if(e["s-initial-load"])return void Le(e,t,(function(){ee("Initial load"),e.location.reload()}));n.hmr&&Ce(e,n.hmr)}catch(e){console.error(e)}},Ce=function(e,t){var n,r=!1;"pageReload"===t.reloadStrategy&&(r=!0),t.indexHtmlUpdated&&(ee("Updated index.html"),r=!0),t.serviceWorkerUpdated&&(ee("Updated Service Worker: sw.js"),r=!0),t.scriptsAdded&&t.scriptsAdded.length>0&&(ee("Added scripts: ".concat(t.scriptsAdded.join(", "))),r=!0),t.scriptsDeleted&&t.scriptsDeleted.length>0&&(ee("Deleted scripts: ".concat(t.scriptsDeleted.join(", "))),r=!0),t.excludeHmr&&t.excludeHmr.length>0&&(ee("Excluded From Hmr: ".concat(t.excludeHmr.join(", "))),r=!0),r?e.location.reload():((n=_({window:e,hmr:t})).updatedComponents.length>0&&$("Updated component".concat(n.updatedComponents.length>1?"s":"",": ").concat(n.updatedComponents.join(", "))),n.updatedInlineStyles.length>0&&$("Updated styles: ".concat(n.updatedInlineStyles.join(", "))),n.updatedExternalStyles.length>0&&$("Updated stylesheets: ".concat(n.updatedExternalStyles.join(", "))),n.updatedImages.length>0&&$("Updated images: ".concat(n.updatedImages.join(", "))))},Le=function(e,t,n){e.history.replaceState({},"App",t.basePath),e.navigator.serviceWorker&&e.navigator.serviceWorker.getRegistration?e.navigator.serviceWorker.getRegistration().then((function(e){e?e.unregister().then((function(e){e&&$("unregistered service worker"),n()})):n()})).catch((function(e){te("Service Worker",e),n()})):n()},je=function(e,t){function n(){var t=this;A>0&&v(e,"pending"),p||(c=setInterval((function(){if(u++,!p&&t.readyState===WebSocket.OPEN&&u<500){t.send(JSON.stringify({requestBuildResults:!0}))}else clearInterval(c)}),He)),clearTimeout(d)}function r(){s()}function o(t){v(e,"disabled"),t.code>Qe?te("Dev Server","web socket closed: ".concat(t.code," ").concat(t.reason)):ne("Dev Server","Disconnected, attempting to reconnect..."),s()}function i(t){var n=JSON.parse(t.data);if(A>0){if(n.isActivelyBuilding)return;if(n.buildResults)return ee("Reconnected to dev server"),p=!0,u=0,clearInterval(c),e["s-build-id"]!==n.buildResults.buildId&&e.location.reload(),void(e["s-build-id"]=n.buildResults.buildId)}return n.buildLog?(n.buildLog.progress<1&&v(e,"pending"),void g(e,n.buildLog)):n.buildResults?(p=!0,u=0,clearInterval(c),v(e,"default"),void h(e,n.buildResults)):void 0}function a(){clearTimeout(d),(l=new e.WebSocket(t.socketUrl,["xmpp"])).addEventListener("open",n),l.addEventListener("error",r),l.addEventListener("close",o),l.addEventListener("message",i)}function s(){p=!1,l&&(l.readyState!==WebSocket.OPEN&&l.readyState!==WebSocket.CONNECTING||l.close(Qe),l.removeEventListener("open",n),l.removeEventListener("error",r),l.removeEventListener("close",o),l.removeEventListener("message",i),l=null),clearTimeout(d),A>=xe?te("Dev Server","Canceling reconnect attempts"):(A++,d=setTimeout(a,Ie),v(e,"disabled"))}var l,d,c,A=0,p=!1,u=0;a()},xe=1e3,Ie=2500,Qe=1e3,He=500,Se=function(e,t){try{if(e["s-dev-server"])return;e["s-dev-server"]=!0,ce({window:e}),de({window:e}),ke(e,t),Be(e,t)?(e["s-initial-load"]=!0,Le(e,t,(function(){je(e,t)}))):je(e,t)}catch(e){console.error(e)}},Be=function(e,t){var n=e.location.pathname;return(n="/"+n.substring(t.basePath.length))===we},Ue={basePath:t.location.pathname,editors:[],reloadStrategy:"hmr",socketUrl:"".concat("https:"===location.protocol?"wss:":"ws:","//").concat(location.hostname).concat(""!==location.port?":"+location.port:"","/")};Se(t,Object.assign({},Ue,t.devServerConfig,n))}(window,window.parent,window.__DEV_CLIENT_CONFIG__);
|
|
6
6
|
</script></body></html>
|
package/dev-server/index.js
CHANGED
package/dev-server/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Dev Server Process v4.27.
|
|
2
|
+
Stencil Dev Server Process v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -4153,7 +4153,7 @@ var DEV_SERVER_INIT_URL = `${DEV_SERVER_URL}-init`;
|
|
|
4153
4153
|
var OPEN_IN_EDITOR_URL = `${DEV_SERVER_URL}-open-in-editor`;
|
|
4154
4154
|
|
|
4155
4155
|
// build/version.js
|
|
4156
|
-
var version = "4.27.
|
|
4156
|
+
var version = "4.27.2-dev.1741064500.30fc9f5";
|
|
4157
4157
|
|
|
4158
4158
|
// build/dev-server/content-types-db.json
|
|
4159
4159
|
var content_types_db_default = { "123": "application/vnd.lotus-1-2-3", "1km": "application/vnd.1000minds.decision-model+xml", "3dml": "text/vnd.in3d.3dml", "3ds": "image/x-3ds", "3g2": "video/3gpp2", "3gp": "video/3gpp", "3gpp": "video/3gpp", "3mf": "model/3mf", "7z": "application/x-7z-compressed", "aab": "application/x-authorware-bin", "aac": "audio/x-aac", "aam": "application/x-authorware-map", "aas": "application/x-authorware-seg", "abw": "application/x-abiword", "ac": "application/vnd.nokia.n-gage.ac+xml", "acc": "application/vnd.americandynamics.acc", "ace": "application/x-ace-compressed", "acu": "application/vnd.acucobol", "acutc": "application/vnd.acucorp", "adp": "audio/adpcm", "adts": "audio/aac", "aep": "application/vnd.audiograph", "afm": "application/x-font-type1", "afp": "application/vnd.ibm.modcap", "age": "application/vnd.age", "ahead": "application/vnd.ahead.space", "ai": "application/postscript", "aif": "audio/x-aiff", "aifc": "audio/x-aiff", "aiff": "audio/x-aiff", "air": "application/vnd.adobe.air-application-installer-package+zip", "ait": "application/vnd.dvb.ait", "ami": "application/vnd.amiga.ami", "aml": "application/automationml-aml+xml", "amlx": "application/automationml-amlx+zip", "amr": "audio/amr", "apk": "application/vnd.android.package-archive", "apng": "image/apng", "appcache": "text/cache-manifest", "appinstaller": "application/appinstaller", "application": "application/x-ms-application", "appx": "application/appx", "appxbundle": "application/appxbundle", "apr": "application/vnd.lotus-approach", "arc": "application/x-freearc", "arj": "application/x-arj", "asc": "application/pgp-signature", "asf": "video/x-ms-asf", "asm": "text/x-asm", "aso": "application/vnd.accpac.simply.aso", "asx": "video/x-ms-asf", "atc": "application/vnd.acucorp", "atom": "application/atom+xml", "atomcat": "application/atomcat+xml", "atomdeleted": "application/atomdeleted+xml", "atomsvc": "application/atomsvc+xml", "atx": "application/vnd.antix.game-component", "au": "audio/basic", "avci": "image/avci", "avcs": "image/avcs", "avi": "video/x-msvideo", "avif": "image/avif", "aw": "application/applixware", "azf": "application/vnd.airzip.filesecure.azf", "azs": "application/vnd.airzip.filesecure.azs", "azv": "image/vnd.airzip.accelerator.azv", "azw": "application/vnd.amazon.ebook", "b16": "image/vnd.pco.b16", "bary": "model/vnd.bary", "bat": "application/x-msdownload", "bcpio": "application/x-bcpio", "bdf": "application/x-font-bdf", "bdm": "application/vnd.syncml.dm+wbxml", "bdo": "application/vnd.nato.bindingdataobject+xml", "bdoc": "application/x-bdoc", "bed": "application/vnd.realvnc.bed", "bh2": "application/vnd.fujitsu.oasysprs", "bin": "application/octet-stream", "blb": "application/x-blorb", "blorb": "application/x-blorb", "bmi": "application/vnd.bmi", "bmml": "application/vnd.balsamiq.bmml+xml", "bmp": "image/x-ms-bmp", "book": "application/vnd.framemaker", "box": "application/vnd.previewsystems.box", "boz": "application/x-bzip2", "bpk": "application/octet-stream", "bsp": "model/vnd.valve.source.compiled-map", "btf": "image/prs.btif", "btif": "image/prs.btif", "buffer": "application/octet-stream", "bz": "application/x-bzip", "bz2": "application/x-bzip2", "c": "text/x-c", "c11amc": "application/vnd.cluetrust.cartomobile-config", "c11amz": "application/vnd.cluetrust.cartomobile-config-pkg", "c4d": "application/vnd.clonk.c4group", "c4f": "application/vnd.clonk.c4group", "c4g": "application/vnd.clonk.c4group", "c4p": "application/vnd.clonk.c4group", "c4u": "application/vnd.clonk.c4group", "cab": "application/vnd.ms-cab-compressed", "caf": "audio/x-caf", "cap": "application/vnd.tcpdump.pcap", "car": "application/vnd.curl.car", "cat": "application/vnd.ms-pki.seccat", "cb7": "application/x-cbr", "cba": "application/x-cbr", "cbr": "application/x-cbr", "cbt": "application/x-cbr", "cbz": "application/x-cbr", "cc": "text/x-c", "cco": "application/x-cocoa", "cct": "application/x-director", "ccxml": "application/ccxml+xml", "cdbcmsg": "application/vnd.contact.cmsg", "cdf": "application/x-netcdf", "cdfx": "application/cdfx+xml", "cdkey": "application/vnd.mediastation.cdkey", "cdmia": "application/cdmi-capability", "cdmic": "application/cdmi-container", "cdmid": "application/cdmi-domain", "cdmio": "application/cdmi-object", "cdmiq": "application/cdmi-queue", "cdx": "chemical/x-cdx", "cdxml": "application/vnd.chemdraw+xml", "cdy": "application/vnd.cinderella", "cer": "application/pkix-cert", "cfs": "application/x-cfs-compressed", "cgm": "image/cgm", "chat": "application/x-chat", "chm": "application/vnd.ms-htmlhelp", "chrt": "application/vnd.kde.kchart", "cif": "chemical/x-cif", "cii": "application/vnd.anser-web-certificate-issue-initiation", "cil": "application/vnd.ms-artgalry", "cjs": "application/node", "cla": "application/vnd.claymore", "class": "application/java-vm", "cld": "model/vnd.cld", "clkk": "application/vnd.crick.clicker.keyboard", "clkp": "application/vnd.crick.clicker.palette", "clkt": "application/vnd.crick.clicker.template", "clkw": "application/vnd.crick.clicker.wordbank", "clkx": "application/vnd.crick.clicker", "clp": "application/x-msclip", "cmc": "application/vnd.cosmocaller", "cmdf": "chemical/x-cmdf", "cml": "chemical/x-cml", "cmp": "application/vnd.yellowriver-custom-menu", "cmx": "image/x-cmx", "cod": "application/vnd.rim.cod", "coffee": "text/coffeescript", "com": "application/x-msdownload", "conf": "text/plain", "cpio": "application/x-cpio", "cpl": "application/cpl+xml", "cpp": "text/x-c", "cpt": "application/mac-compactpro", "crd": "application/x-mscardfile", "crl": "application/pkix-crl", "crt": "application/x-x509-ca-cert", "crx": "application/x-chrome-extension", "cryptonote": "application/vnd.rig.cryptonote", "csh": "application/x-csh", "csl": "application/vnd.citationstyles.style+xml", "csml": "chemical/x-csml", "csp": "application/vnd.commonspace", "css": "text/css", "cst": "application/x-director", "csv": "text/csv", "cu": "application/cu-seeme", "curl": "text/vnd.curl", "cwl": "application/cwl", "cww": "application/prs.cww", "cxt": "application/x-director", "cxx": "text/x-c", "dae": "model/vnd.collada+xml", "daf": "application/vnd.mobius.daf", "dart": "application/vnd.dart", "dataless": "application/vnd.fdsn.seed", "davmount": "application/davmount+xml", "dbf": "application/vnd.dbf", "dbk": "application/docbook+xml", "dcr": "application/x-director", "dcurl": "text/vnd.curl.dcurl", "dd2": "application/vnd.oma.dd2+xml", "ddd": "application/vnd.fujixerox.ddd", "ddf": "application/vnd.syncml.dmddf+xml", "dds": "image/vnd.ms-dds", "deb": "application/x-debian-package", "def": "text/plain", "deploy": "application/octet-stream", "der": "application/x-x509-ca-cert", "dfac": "application/vnd.dreamfactory", "dgc": "application/x-dgc-compressed", "dib": "image/bmp", "dic": "text/x-c", "dir": "application/x-director", "dis": "application/vnd.mobius.dis", "disposition-notification": "message/disposition-notification", "dist": "application/octet-stream", "distz": "application/octet-stream", "djv": "image/vnd.djvu", "djvu": "image/vnd.djvu", "dll": "application/x-msdownload", "dmg": "application/x-apple-diskimage", "dmp": "application/vnd.tcpdump.pcap", "dms": "application/octet-stream", "dna": "application/vnd.dna", "doc": "application/msword", "docm": "application/vnd.ms-word.document.macroenabled.12", "docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "dot": "application/msword", "dotm": "application/vnd.ms-word.template.macroenabled.12", "dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "dp": "application/vnd.osgi.dp", "dpg": "application/vnd.dpgraph", "dpx": "image/dpx", "dra": "audio/vnd.dra", "drle": "image/dicom-rle", "dsc": "text/prs.lines.tag", "dssc": "application/dssc+der", "dtb": "application/x-dtbook+xml", "dtd": "application/xml-dtd", "dts": "audio/vnd.dts", "dtshd": "audio/vnd.dts.hd", "dump": "application/octet-stream", "dvb": "video/vnd.dvb.file", "dvi": "application/x-dvi", "dwd": "application/atsc-dwd+xml", "dwf": "model/vnd.dwf", "dwg": "image/vnd.dwg", "dxf": "image/vnd.dxf", "dxp": "application/vnd.spotfire.dxp", "dxr": "application/x-director", "ear": "application/java-archive", "ecelp4800": "audio/vnd.nuera.ecelp4800", "ecelp7470": "audio/vnd.nuera.ecelp7470", "ecelp9600": "audio/vnd.nuera.ecelp9600", "ecma": "application/ecmascript", "edm": "application/vnd.novadigm.edm", "edx": "application/vnd.novadigm.edx", "efif": "application/vnd.picsel", "ei6": "application/vnd.pg.osasli", "elc": "application/octet-stream", "emf": "image/emf", "eml": "message/rfc822", "emma": "application/emma+xml", "emotionml": "application/emotionml+xml", "emz": "application/x-msmetafile", "eol": "audio/vnd.digital-winds", "eot": "application/vnd.ms-fontobject", "eps": "application/postscript", "epub": "application/epub+zip", "es3": "application/vnd.eszigno3+xml", "esa": "application/vnd.osgi.subsystem", "esf": "application/vnd.epson.esf", "et3": "application/vnd.eszigno3+xml", "etx": "text/x-setext", "eva": "application/x-eva", "evy": "application/x-envoy", "exe": "application/x-msdownload", "exi": "application/exi", "exp": "application/express", "exr": "image/aces", "ext": "application/vnd.novadigm.ext", "ez": "application/andrew-inset", "ez2": "application/vnd.ezpix-album", "ez3": "application/vnd.ezpix-package", "f": "text/x-fortran", "f4v": "video/x-f4v", "f77": "text/x-fortran", "f90": "text/x-fortran", "fbs": "image/vnd.fastbidsheet", "fcdt": "application/vnd.adobe.formscentral.fcdt", "fcs": "application/vnd.isac.fcs", "fdf": "application/vnd.fdf", "fdt": "application/fdt+xml", "fe_launch": "application/vnd.denovo.fcselayout-link", "fg5": "application/vnd.fujitsu.oasysgp", "fgd": "application/x-director", "fh": "image/x-freehand", "fh4": "image/x-freehand", "fh5": "image/x-freehand", "fh7": "image/x-freehand", "fhc": "image/x-freehand", "fig": "application/x-xfig", "fits": "image/fits", "flac": "audio/x-flac", "fli": "video/x-fli", "flo": "application/vnd.micrografx.flo", "flv": "video/x-flv", "flw": "application/vnd.kde.kivio", "flx": "text/vnd.fmi.flexstor", "fly": "text/vnd.fly", "fm": "application/vnd.framemaker", "fnc": "application/vnd.frogans.fnc", "fo": "application/vnd.software602.filler.form+xml", "for": "text/x-fortran", "fpx": "image/vnd.fpx", "frame": "application/vnd.framemaker", "fsc": "application/vnd.fsc.weblaunch", "fst": "image/vnd.fst", "ftc": "application/vnd.fluxtime.clip", "fti": "application/vnd.anser-web-funds-transfer-initiation", "fvt": "video/vnd.fvt", "fxp": "application/vnd.adobe.fxp", "fxpl": "application/vnd.adobe.fxp", "fzs": "application/vnd.fuzzysheet", "g2w": "application/vnd.geoplan", "g3": "image/g3fax", "g3w": "application/vnd.geospace", "gac": "application/vnd.groove-account", "gam": "application/x-tads", "gbr": "application/rpki-ghostbusters", "gca": "application/x-gca-compressed", "gdl": "model/vnd.gdl", "gdoc": "application/vnd.google-apps.document", "ged": "text/vnd.familysearch.gedcom", "geo": "application/vnd.dynageo", "geojson": "application/geo+json", "gex": "application/vnd.geometry-explorer", "ggb": "application/vnd.geogebra.file", "ggs": "application/vnd.geogebra.slides", "ggt": "application/vnd.geogebra.tool", "ghf": "application/vnd.groove-help", "gif": "image/gif", "gim": "application/vnd.groove-identity-message", "glb": "model/gltf-binary", "gltf": "model/gltf+json", "gml": "application/gml+xml", "gmx": "application/vnd.gmx", "gnumeric": "application/x-gnumeric", "gph": "application/vnd.flographit", "gpx": "application/gpx+xml", "gqf": "application/vnd.grafeq", "gqs": "application/vnd.grafeq", "gram": "application/srgs", "gramps": "application/x-gramps-xml", "gre": "application/vnd.geometry-explorer", "grv": "application/vnd.groove-injector", "grxml": "application/srgs+xml", "gsf": "application/x-font-ghostscript", "gsheet": "application/vnd.google-apps.spreadsheet", "gslides": "application/vnd.google-apps.presentation", "gtar": "application/x-gtar", "gtm": "application/vnd.groove-tool-message", "gtw": "model/vnd.gtw", "gv": "text/vnd.graphviz", "gxf": "application/gxf", "gxt": "application/vnd.geonext", "gz": "application/gzip", "h": "text/x-c", "h261": "video/h261", "h263": "video/h263", "h264": "video/h264", "hal": "application/vnd.hal+xml", "hbci": "application/vnd.hbci", "hbs": "text/x-handlebars-template", "hdd": "application/x-virtualbox-hdd", "hdf": "application/x-hdf", "heic": "image/heic", "heics": "image/heic-sequence", "heif": "image/heif", "heifs": "image/heif-sequence", "hej2": "image/hej2k", "held": "application/atsc-held+xml", "hh": "text/x-c", "hjson": "application/hjson", "hlp": "application/winhlp", "hpgl": "application/vnd.hp-hpgl", "hpid": "application/vnd.hp-hpid", "hps": "application/vnd.hp-hps", "hqx": "application/mac-binhex40", "hsj2": "image/hsj2", "htc": "text/x-component", "htke": "application/vnd.kenameaapp", "htm": "text/html", "html": "text/html", "hvd": "application/vnd.yamaha.hv-dic", "hvp": "application/vnd.yamaha.hv-voice", "hvs": "application/vnd.yamaha.hv-script", "i2g": "application/vnd.intergeo", "icc": "application/vnd.iccprofile", "ice": "x-conference/x-cooltalk", "icm": "application/vnd.iccprofile", "ico": "image/x-icon", "ics": "text/calendar", "ief": "image/ief", "ifb": "text/calendar", "ifm": "application/vnd.shana.informed.formdata", "iges": "model/iges", "igl": "application/vnd.igloader", "igm": "application/vnd.insors.igm", "igs": "model/iges", "igx": "application/vnd.micrografx.igx", "iif": "application/vnd.shana.informed.interchange", "img": "application/octet-stream", "imp": "application/vnd.accpac.simply.imp", "ims": "application/vnd.ms-ims", "in": "text/plain", "ini": "text/plain", "ink": "application/inkml+xml", "inkml": "application/inkml+xml", "install": "application/x-install-instructions", "iota": "application/vnd.astraea-software.iota", "ipfix": "application/ipfix", "ipk": "application/vnd.shana.informed.package", "irm": "application/vnd.ibm.rights-management", "irp": "application/vnd.irepository.package+xml", "iso": "application/x-iso9660-image", "itp": "application/vnd.shana.informed.formtemplate", "its": "application/its+xml", "ivp": "application/vnd.immervision-ivp", "ivu": "application/vnd.immervision-ivu", "jad": "text/vnd.sun.j2me.app-descriptor", "jade": "text/jade", "jam": "application/vnd.jam", "jar": "application/java-archive", "jardiff": "application/x-java-archive-diff", "java": "text/x-java-source", "jhc": "image/jphc", "jisp": "application/vnd.jisp", "jls": "image/jls", "jlt": "application/vnd.hp-jlyt", "jng": "image/x-jng", "jnlp": "application/x-java-jnlp-file", "joda": "application/vnd.joost.joda-archive", "jp2": "image/jp2", "jpe": "image/jpeg", "jpeg": "image/jpeg", "jpf": "image/jpx", "jpg": "image/jpeg", "jpg2": "image/jp2", "jpgm": "video/jpm", "jpgv": "video/jpeg", "jph": "image/jph", "jpm": "video/jpm", "jpx": "image/jpx", "js": "text/javascript", "json": "application/json", "json5": "application/json5", "jsonld": "application/ld+json", "jsonml": "application/jsonml+json", "jsx": "text/jsx", "jt": "model/jt", "jxl": "image/jxl", "jxr": "image/jxr", "jxra": "image/jxra", "jxrs": "image/jxrs", "jxs": "image/jxs", "jxsc": "image/jxsc", "jxsi": "image/jxsi", "jxss": "image/jxss", "kar": "audio/midi", "karbon": "application/vnd.kde.karbon", "kdbx": "application/x-keepass2", "key": "application/x-iwork-keynote-sffkey", "kfo": "application/vnd.kde.kformula", "kia": "application/vnd.kidspiration", "kml": "application/vnd.google-earth.kml+xml", "kmz": "application/vnd.google-earth.kmz", "kne": "application/vnd.kinar", "knp": "application/vnd.kinar", "kon": "application/vnd.kde.kontour", "kpr": "application/vnd.kde.kpresenter", "kpt": "application/vnd.kde.kpresenter", "kpxx": "application/vnd.ds-keypoint", "ksp": "application/vnd.kde.kspread", "ktr": "application/vnd.kahootz", "ktx": "image/ktx", "ktx2": "image/ktx2", "ktz": "application/vnd.kahootz", "kwd": "application/vnd.kde.kword", "kwt": "application/vnd.kde.kword", "lasxml": "application/vnd.las.las+xml", "latex": "application/x-latex", "lbd": "application/vnd.llamagraphics.life-balance.desktop", "lbe": "application/vnd.llamagraphics.life-balance.exchange+xml", "les": "application/vnd.hhe.lesson-player", "less": "text/less", "lgr": "application/lgr+xml", "lha": "application/x-lzh-compressed", "link66": "application/vnd.route66.link66+xml", "list": "text/plain", "list3820": "application/vnd.ibm.modcap", "listafp": "application/vnd.ibm.modcap", "litcoffee": "text/coffeescript", "lnk": "application/x-ms-shortcut", "log": "text/plain", "lostxml": "application/lost+xml", "lrf": "application/octet-stream", "lrm": "application/vnd.ms-lrm", "ltf": "application/vnd.frogans.ltf", "lua": "text/x-lua", "luac": "application/x-lua-bytecode", "lvp": "audio/vnd.lucent.voice", "lwp": "application/vnd.lotus-wordpro", "lzh": "application/x-lzh-compressed", "m13": "application/x-msmediaview", "m14": "application/x-msmediaview", "m1v": "video/mpeg", "m21": "application/mp21", "m2a": "audio/mpeg", "m2t": "video/mp2t", "m2ts": "video/mp2t", "m2v": "video/mpeg", "m3a": "audio/mpeg", "m3u": "audio/x-mpegurl", "m3u8": "application/vnd.apple.mpegurl", "m4a": "audio/x-m4a", "m4p": "application/mp4", "m4s": "video/iso.segment", "m4u": "video/vnd.mpegurl", "m4v": "video/x-m4v", "ma": "application/mathematica", "mads": "application/mads+xml", "maei": "application/mmt-aei+xml", "mag": "application/vnd.ecowin.chart", "maker": "application/vnd.framemaker", "man": "text/troff", "manifest": "text/cache-manifest", "map": "application/json", "mar": "application/octet-stream", "markdown": "text/markdown", "mathml": "application/mathml+xml", "mb": "application/mathematica", "mbk": "application/vnd.mobius.mbk", "mbox": "application/mbox", "mc1": "application/vnd.medcalcdata", "mcd": "application/vnd.mcd", "mcurl": "text/vnd.curl.mcurl", "md": "text/markdown", "mdb": "application/x-msaccess", "mdi": "image/vnd.ms-modi", "mdx": "text/mdx", "me": "text/troff", "mesh": "model/mesh", "meta4": "application/metalink4+xml", "metalink": "application/metalink+xml", "mets": "application/mets+xml", "mfm": "application/vnd.mfmp", "mft": "application/rpki-manifest", "mgp": "application/vnd.osgeo.mapguide.package", "mgz": "application/vnd.proteus.magazine", "mid": "audio/midi", "midi": "audio/midi", "mie": "application/x-mie", "mif": "application/vnd.mif", "mime": "message/rfc822", "mj2": "video/mj2", "mjp2": "video/mj2", "mjs": "text/javascript", "mk3d": "video/x-matroska", "mka": "audio/x-matroska", "mkd": "text/x-markdown", "mks": "video/x-matroska", "mkv": "video/x-matroska", "mlp": "application/vnd.dolby.mlp", "mmd": "application/vnd.chipnuts.karaoke-mmd", "mmf": "application/vnd.smaf", "mml": "text/mathml", "mmr": "image/vnd.fujixerox.edmics-mmr", "mng": "video/x-mng", "mny": "application/x-msmoney", "mobi": "application/x-mobipocket-ebook", "mods": "application/mods+xml", "mov": "video/quicktime", "movie": "video/x-sgi-movie", "mp2": "audio/mpeg", "mp21": "application/mp21", "mp2a": "audio/mpeg", "mp3": "audio/mpeg", "mp4": "video/mp4", "mp4a": "audio/mp4", "mp4s": "application/mp4", "mp4v": "video/mp4", "mpc": "application/vnd.mophun.certificate", "mpd": "application/dash+xml", "mpe": "video/mpeg", "mpeg": "video/mpeg", "mpf": "application/media-policy-dataset+xml", "mpg": "video/mpeg", "mpg4": "video/mp4", "mpga": "audio/mpeg", "mpkg": "application/vnd.apple.installer+xml", "mpm": "application/vnd.blueice.multipass", "mpn": "application/vnd.mophun.application", "mpp": "application/vnd.ms-project", "mpt": "application/vnd.ms-project", "mpy": "application/vnd.ibm.minipay", "mqy": "application/vnd.mobius.mqy", "mrc": "application/marc", "mrcx": "application/marcxml+xml", "ms": "text/troff", "mscml": "application/mediaservercontrol+xml", "mseed": "application/vnd.fdsn.mseed", "mseq": "application/vnd.mseq", "msf": "application/vnd.epson.msf", "msg": "application/vnd.ms-outlook", "msh": "model/mesh", "msi": "application/x-msdownload", "msix": "application/msix", "msixbundle": "application/msixbundle", "msl": "application/vnd.mobius.msl", "msm": "application/octet-stream", "msp": "application/octet-stream", "msty": "application/vnd.muvee.style", "mtl": "model/mtl", "mts": "video/mp2t", "mus": "application/vnd.musician", "musd": "application/mmt-usd+xml", "musicxml": "application/vnd.recordare.musicxml+xml", "mvb": "application/x-msmediaview", "mvt": "application/vnd.mapbox-vector-tile", "mwf": "application/vnd.mfer", "mxf": "application/mxf", "mxl": "application/vnd.recordare.musicxml", "mxmf": "audio/mobile-xmf", "mxml": "application/xv+xml", "mxs": "application/vnd.triscape.mxs", "mxu": "video/vnd.mpegurl", "n-gage": "application/vnd.nokia.n-gage.symbian.install", "n3": "text/n3", "nb": "application/mathematica", "nbp": "application/vnd.wolfram.player", "nc": "application/x-netcdf", "ncx": "application/x-dtbncx+xml", "nfo": "text/x-nfo", "ngdat": "application/vnd.nokia.n-gage.data", "nitf": "application/vnd.nitf", "nlu": "application/vnd.neurolanguage.nlu", "nml": "application/vnd.enliven", "nnd": "application/vnd.noblenet-directory", "nns": "application/vnd.noblenet-sealer", "nnw": "application/vnd.noblenet-web", "npx": "image/vnd.net-fpx", "nq": "application/n-quads", "nsc": "application/x-conference", "nsf": "application/vnd.lotus-notes", "nt": "application/n-triples", "ntf": "application/vnd.nitf", "numbers": "application/x-iwork-numbers-sffnumbers", "nzb": "application/x-nzb", "oa2": "application/vnd.fujitsu.oasys2", "oa3": "application/vnd.fujitsu.oasys3", "oas": "application/vnd.fujitsu.oasys", "obd": "application/x-msbinder", "obgx": "application/vnd.openblox.game+xml", "obj": "model/obj", "oda": "application/oda", "odb": "application/vnd.oasis.opendocument.database", "odc": "application/vnd.oasis.opendocument.chart", "odf": "application/vnd.oasis.opendocument.formula", "odft": "application/vnd.oasis.opendocument.formula-template", "odg": "application/vnd.oasis.opendocument.graphics", "odi": "application/vnd.oasis.opendocument.image", "odm": "application/vnd.oasis.opendocument.text-master", "odp": "application/vnd.oasis.opendocument.presentation", "ods": "application/vnd.oasis.opendocument.spreadsheet", "odt": "application/vnd.oasis.opendocument.text", "oga": "audio/ogg", "ogex": "model/vnd.opengex", "ogg": "audio/ogg", "ogv": "video/ogg", "ogx": "application/ogg", "omdoc": "application/omdoc+xml", "onepkg": "application/onenote", "onetmp": "application/onenote", "onetoc": "application/onenote", "onetoc2": "application/onenote", "opf": "application/oebps-package+xml", "opml": "text/x-opml", "oprc": "application/vnd.palm", "opus": "audio/ogg", "org": "text/x-org", "osf": "application/vnd.yamaha.openscoreformat", "osfpvg": "application/vnd.yamaha.openscoreformat.osfpvg+xml", "osm": "application/vnd.openstreetmap.data+xml", "otc": "application/vnd.oasis.opendocument.chart-template", "otf": "font/otf", "otg": "application/vnd.oasis.opendocument.graphics-template", "oth": "application/vnd.oasis.opendocument.text-web", "oti": "application/vnd.oasis.opendocument.image-template", "otp": "application/vnd.oasis.opendocument.presentation-template", "ots": "application/vnd.oasis.opendocument.spreadsheet-template", "ott": "application/vnd.oasis.opendocument.text-template", "ova": "application/x-virtualbox-ova", "ovf": "application/x-virtualbox-ovf", "owl": "application/rdf+xml", "oxps": "application/oxps", "oxt": "application/vnd.openofficeorg.extension", "p": "text/x-pascal", "p10": "application/pkcs10", "p12": "application/x-pkcs12", "p7b": "application/x-pkcs7-certificates", "p7c": "application/pkcs7-mime", "p7m": "application/pkcs7-mime", "p7r": "application/x-pkcs7-certreqresp", "p7s": "application/pkcs7-signature", "p8": "application/pkcs8", "pac": "application/x-ns-proxy-autoconfig", "pages": "application/x-iwork-pages-sffpages", "pas": "text/x-pascal", "paw": "application/vnd.pawaafile", "pbd": "application/vnd.powerbuilder6", "pbm": "image/x-portable-bitmap", "pcap": "application/vnd.tcpdump.pcap", "pcf": "application/x-font-pcf", "pcl": "application/vnd.hp-pcl", "pclxl": "application/vnd.hp-pclxl", "pct": "image/x-pict", "pcurl": "application/vnd.curl.pcurl", "pcx": "image/x-pcx", "pdb": "application/x-pilot", "pde": "text/x-processing", "pdf": "application/pdf", "pem": "application/x-x509-ca-cert", "pfa": "application/x-font-type1", "pfb": "application/x-font-type1", "pfm": "application/x-font-type1", "pfr": "application/font-tdpfr", "pfx": "application/x-pkcs12", "pgm": "image/x-portable-graymap", "pgn": "application/x-chess-pgn", "pgp": "application/pgp-encrypted", "php": "application/x-httpd-php", "pic": "image/x-pict", "pkg": "application/octet-stream", "pki": "application/pkixcmp", "pkipath": "application/pkix-pkipath", "pkpass": "application/vnd.apple.pkpass", "pl": "application/x-perl", "plb": "application/vnd.3gpp.pic-bw-large", "plc": "application/vnd.mobius.plc", "plf": "application/vnd.pocketlearn", "pls": "application/pls+xml", "pm": "application/x-perl", "pml": "application/vnd.ctc-posml", "png": "image/png", "pnm": "image/x-portable-anymap", "portpkg": "application/vnd.macports.portpkg", "pot": "application/vnd.ms-powerpoint", "potm": "application/vnd.ms-powerpoint.template.macroenabled.12", "potx": "application/vnd.openxmlformats-officedocument.presentationml.template", "ppam": "application/vnd.ms-powerpoint.addin.macroenabled.12", "ppd": "application/vnd.cups-ppd", "ppm": "image/x-portable-pixmap", "pps": "application/vnd.ms-powerpoint", "ppsm": "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "ppsx": "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "ppt": "application/vnd.ms-powerpoint", "pptm": "application/vnd.ms-powerpoint.presentation.macroenabled.12", "pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "pqa": "application/vnd.palm", "prc": "model/prc", "pre": "application/vnd.lotus-freelance", "prf": "application/pics-rules", "provx": "application/provenance+xml", "ps": "application/postscript", "psb": "application/vnd.3gpp.pic-bw-small", "psd": "image/vnd.adobe.photoshop", "psf": "application/x-font-linux-psf", "pskcxml": "application/pskc+xml", "pti": "image/prs.pti", "ptid": "application/vnd.pvi.ptid1", "pub": "application/x-mspublisher", "pvb": "application/vnd.3gpp.pic-bw-var", "pwn": "application/vnd.3m.post-it-notes", "pya": "audio/vnd.ms-playready.media.pya", "pyo": "model/vnd.pytha.pyox", "pyox": "model/vnd.pytha.pyox", "pyv": "video/vnd.ms-playready.media.pyv", "qam": "application/vnd.epson.quickanime", "qbo": "application/vnd.intu.qbo", "qfx": "application/vnd.intu.qfx", "qps": "application/vnd.publishare-delta-tree", "qt": "video/quicktime", "qwd": "application/vnd.quark.quarkxpress", "qwt": "application/vnd.quark.quarkxpress", "qxb": "application/vnd.quark.quarkxpress", "qxd": "application/vnd.quark.quarkxpress", "qxl": "application/vnd.quark.quarkxpress", "qxt": "application/vnd.quark.quarkxpress", "ra": "audio/x-realaudio", "ram": "audio/x-pn-realaudio", "raml": "application/raml+yaml", "rapd": "application/route-apd+xml", "rar": "application/x-rar-compressed", "ras": "image/x-cmu-raster", "rcprofile": "application/vnd.ipunplugged.rcprofile", "rdf": "application/rdf+xml", "rdz": "application/vnd.data-vision.rdz", "relo": "application/p2p-overlay+xml", "rep": "application/vnd.businessobjects", "res": "application/x-dtbresource+xml", "rgb": "image/x-rgb", "rif": "application/reginfo+xml", "rip": "audio/vnd.rip", "ris": "application/x-research-info-systems", "rl": "application/resource-lists+xml", "rlc": "image/vnd.fujixerox.edmics-rlc", "rld": "application/resource-lists-diff+xml", "rm": "application/vnd.rn-realmedia", "rmi": "audio/midi", "rmp": "audio/x-pn-realaudio-plugin", "rms": "application/vnd.jcp.javame.midlet-rms", "rmvb": "application/vnd.rn-realmedia-vbr", "rnc": "application/relax-ng-compact-syntax", "rng": "application/xml", "roa": "application/rpki-roa", "roff": "text/troff", "rp9": "application/vnd.cloanto.rp9", "rpm": "application/x-redhat-package-manager", "rpss": "application/vnd.nokia.radio-presets", "rpst": "application/vnd.nokia.radio-preset", "rq": "application/sparql-query", "rs": "application/rls-services+xml", "rsat": "application/atsc-rsat+xml", "rsd": "application/rsd+xml", "rsheet": "application/urc-ressheet+xml", "rss": "application/rss+xml", "rtf": "text/rtf", "rtx": "text/richtext", "run": "application/x-makeself", "rusd": "application/route-usd+xml", "s": "text/x-asm", "s3m": "audio/s3m", "saf": "application/vnd.yamaha.smaf-audio", "sass": "text/x-sass", "sbml": "application/sbml+xml", "sc": "application/vnd.ibm.secure-container", "scd": "application/x-msschedule", "scm": "application/vnd.lotus-screencam", "scq": "application/scvp-cv-request", "scs": "application/scvp-cv-response", "scss": "text/x-scss", "scurl": "text/vnd.curl.scurl", "sda": "application/vnd.stardivision.draw", "sdc": "application/vnd.stardivision.calc", "sdd": "application/vnd.stardivision.impress", "sdkd": "application/vnd.solent.sdkm+xml", "sdkm": "application/vnd.solent.sdkm+xml", "sdp": "application/sdp", "sdw": "application/vnd.stardivision.writer", "sea": "application/x-sea", "see": "application/vnd.seemail", "seed": "application/vnd.fdsn.seed", "sema": "application/vnd.sema", "semd": "application/vnd.semd", "semf": "application/vnd.semf", "senmlx": "application/senml+xml", "sensmlx": "application/sensml+xml", "ser": "application/java-serialized-object", "setpay": "application/set-payment-initiation", "setreg": "application/set-registration-initiation", "sfd-hdstx": "application/vnd.hydrostatix.sof-data", "sfs": "application/vnd.spotfire.sfs", "sfv": "text/x-sfv", "sgi": "image/sgi", "sgl": "application/vnd.stardivision.writer-global", "sgm": "text/sgml", "sgml": "text/sgml", "sh": "application/x-sh", "shar": "application/x-shar", "shex": "text/shex", "shf": "application/shf+xml", "shtml": "text/html", "sid": "image/x-mrsid-image", "sieve": "application/sieve", "sig": "application/pgp-signature", "sil": "audio/silk", "silo": "model/mesh", "sis": "application/vnd.symbian.install", "sisx": "application/vnd.symbian.install", "sit": "application/x-stuffit", "sitx": "application/x-stuffitx", "siv": "application/sieve", "skd": "application/vnd.koan", "skm": "application/vnd.koan", "skp": "application/vnd.koan", "skt": "application/vnd.koan", "sldm": "application/vnd.ms-powerpoint.slide.macroenabled.12", "sldx": "application/vnd.openxmlformats-officedocument.presentationml.slide", "slim": "text/slim", "slm": "text/slim", "sls": "application/route-s-tsid+xml", "slt": "application/vnd.epson.salt", "sm": "application/vnd.stepmania.stepchart", "smf": "application/vnd.stardivision.math", "smi": "application/smil+xml", "smil": "application/smil+xml", "smv": "video/x-smv", "smzip": "application/vnd.stepmania.package", "snd": "audio/basic", "snf": "application/x-font-snf", "so": "application/octet-stream", "spc": "application/x-pkcs7-certificates", "spdx": "text/spdx", "spf": "application/vnd.yamaha.smaf-phrase", "spl": "application/x-futuresplash", "spot": "text/vnd.in3d.spot", "spp": "application/scvp-vp-response", "spq": "application/scvp-vp-request", "spx": "audio/ogg", "sql": "application/x-sql", "src": "application/x-wais-source", "srt": "application/x-subrip", "sru": "application/sru+xml", "srx": "application/sparql-results+xml", "ssdl": "application/ssdl+xml", "sse": "application/vnd.kodak-descriptor", "ssf": "application/vnd.epson.ssf", "ssml": "application/ssml+xml", "st": "application/vnd.sailingtracker.track", "stc": "application/vnd.sun.xml.calc.template", "std": "application/vnd.sun.xml.draw.template", "stf": "application/vnd.wt.stf", "sti": "application/vnd.sun.xml.impress.template", "stk": "application/hyperstudio", "stl": "model/stl", "stpx": "model/step+xml", "stpxz": "model/step-xml+zip", "stpz": "model/step+zip", "str": "application/vnd.pg.format", "stw": "application/vnd.sun.xml.writer.template", "styl": "text/stylus", "stylus": "text/stylus", "sub": "text/vnd.dvb.subtitle", "sus": "application/vnd.sus-calendar", "susp": "application/vnd.sus-calendar", "sv4cpio": "application/x-sv4cpio", "sv4crc": "application/x-sv4crc", "svc": "application/vnd.dvb.service", "svd": "application/vnd.svd", "svg": "image/svg+xml", "svgz": "image/svg+xml", "swa": "application/x-director", "swf": "application/x-shockwave-flash", "swi": "application/vnd.aristanetworks.swi", "swidtag": "application/swid+xml", "sxc": "application/vnd.sun.xml.calc", "sxd": "application/vnd.sun.xml.draw", "sxg": "application/vnd.sun.xml.writer.global", "sxi": "application/vnd.sun.xml.impress", "sxm": "application/vnd.sun.xml.math", "sxw": "application/vnd.sun.xml.writer", "t": "text/troff", "t3": "application/x-t3vm-image", "t38": "image/t38", "taglet": "application/vnd.mynfc", "tao": "application/vnd.tao.intent-module-archive", "tap": "image/vnd.tencent.tap", "tar": "application/x-tar", "tcap": "application/vnd.3gpp2.tcap", "tcl": "application/x-tcl", "td": "application/urc-targetdesc+xml", "teacher": "application/vnd.smart.teacher", "tei": "application/tei+xml", "teicorpus": "application/tei+xml", "tex": "application/x-tex", "texi": "application/x-texinfo", "texinfo": "application/x-texinfo", "text": "text/plain", "tfi": "application/thraud+xml", "tfm": "application/x-tex-tfm", "tfx": "image/tiff-fx", "tga": "image/x-tga", "thmx": "application/vnd.ms-officetheme", "tif": "image/tiff", "tiff": "image/tiff", "tk": "application/x-tcl", "tmo": "application/vnd.tmobile-livetv", "toml": "application/toml", "torrent": "application/x-bittorrent", "tpl": "application/vnd.groove-tool-template", "tpt": "application/vnd.trid.tpt", "tr": "text/troff", "tra": "application/vnd.trueapp", "trig": "application/trig", "trm": "application/x-msterminal", "ts": "video/mp2t", "tsd": "application/timestamped-data", "tsv": "text/tab-separated-values", "ttc": "font/collection", "ttf": "font/ttf", "ttl": "text/turtle", "ttml": "application/ttml+xml", "twd": "application/vnd.simtech-mindmapper", "twds": "application/vnd.simtech-mindmapper", "txd": "application/vnd.genomatix.tuxedo", "txf": "application/vnd.mobius.txf", "txt": "text/plain", "u32": "application/x-authorware-bin", "u3d": "model/u3d", "u8dsn": "message/global-delivery-status", "u8hdr": "message/global-headers", "u8mdn": "message/global-disposition-notification", "u8msg": "message/global", "ubj": "application/ubjson", "udeb": "application/x-debian-package", "ufd": "application/vnd.ufdl", "ufdl": "application/vnd.ufdl", "ulx": "application/x-glulx", "umj": "application/vnd.umajin", "unityweb": "application/vnd.unity", "uo": "application/vnd.uoml+xml", "uoml": "application/vnd.uoml+xml", "uri": "text/uri-list", "uris": "text/uri-list", "urls": "text/uri-list", "usda": "model/vnd.usda", "usdz": "model/vnd.usdz+zip", "ustar": "application/x-ustar", "utz": "application/vnd.uiq.theme", "uu": "text/x-uuencode", "uva": "audio/vnd.dece.audio", "uvd": "application/vnd.dece.data", "uvf": "application/vnd.dece.data", "uvg": "image/vnd.dece.graphic", "uvh": "video/vnd.dece.hd", "uvi": "image/vnd.dece.graphic", "uvm": "video/vnd.dece.mobile", "uvp": "video/vnd.dece.pd", "uvs": "video/vnd.dece.sd", "uvt": "application/vnd.dece.ttml+xml", "uvu": "video/vnd.uvvu.mp4", "uvv": "video/vnd.dece.video", "uvva": "audio/vnd.dece.audio", "uvvd": "application/vnd.dece.data", "uvvf": "application/vnd.dece.data", "uvvg": "image/vnd.dece.graphic", "uvvh": "video/vnd.dece.hd", "uvvi": "image/vnd.dece.graphic", "uvvm": "video/vnd.dece.mobile", "uvvp": "video/vnd.dece.pd", "uvvs": "video/vnd.dece.sd", "uvvt": "application/vnd.dece.ttml+xml", "uvvu": "video/vnd.uvvu.mp4", "uvvv": "video/vnd.dece.video", "uvvx": "application/vnd.dece.unspecified", "uvvz": "application/vnd.dece.zip", "uvx": "application/vnd.dece.unspecified", "uvz": "application/vnd.dece.zip", "vbox": "application/x-virtualbox-vbox", "vbox-extpack": "application/x-virtualbox-vbox-extpack", "vcard": "text/vcard", "vcd": "application/x-cdlink", "vcf": "text/x-vcard", "vcg": "application/vnd.groove-vcard", "vcs": "text/x-vcalendar", "vcx": "application/vnd.vcx", "vdi": "application/x-virtualbox-vdi", "vds": "model/vnd.sap.vds", "vhd": "application/x-virtualbox-vhd", "vis": "application/vnd.visionary", "viv": "video/vnd.vivo", "vmdk": "application/x-virtualbox-vmdk", "vob": "video/x-ms-vob", "vor": "application/vnd.stardivision.writer", "vox": "application/x-authorware-bin", "vrml": "model/vrml", "vsd": "application/vnd.visio", "vsf": "application/vnd.vsf", "vss": "application/vnd.visio", "vst": "application/vnd.visio", "vsw": "application/vnd.visio", "vtf": "image/vnd.valve.source.texture", "vtt": "text/vtt", "vtu": "model/vnd.vtu", "vxml": "application/voicexml+xml", "w3d": "application/x-director", "wad": "application/x-doom", "wadl": "application/vnd.sun.wadl+xml", "war": "application/java-archive", "wasm": "application/wasm", "wav": "audio/x-wav", "wax": "audio/x-ms-wax", "wbmp": "image/vnd.wap.wbmp", "wbs": "application/vnd.criticaltools.wbs+xml", "wbxml": "application/vnd.wap.wbxml", "wcm": "application/vnd.ms-works", "wdb": "application/vnd.ms-works", "wdp": "image/vnd.ms-photo", "weba": "audio/webm", "webapp": "application/x-web-app-manifest+json", "webm": "video/webm", "webmanifest": "application/manifest+json", "webp": "image/webp", "wg": "application/vnd.pmi.widget", "wgsl": "text/wgsl", "wgt": "application/widget", "wif": "application/watcherinfo+xml", "wks": "application/vnd.ms-works", "wm": "video/x-ms-wm", "wma": "audio/x-ms-wma", "wmd": "application/x-ms-wmd", "wmf": "image/wmf", "wml": "text/vnd.wap.wml", "wmlc": "application/vnd.wap.wmlc", "wmls": "text/vnd.wap.wmlscript", "wmlsc": "application/vnd.wap.wmlscriptc", "wmv": "video/x-ms-wmv", "wmx": "video/x-ms-wmx", "wmz": "application/x-msmetafile", "woff": "font/woff", "woff2": "font/woff2", "wpd": "application/vnd.wordperfect", "wpl": "application/vnd.ms-wpl", "wps": "application/vnd.ms-works", "wqd": "application/vnd.wqd", "wri": "application/x-mswrite", "wrl": "model/vrml", "wsc": "message/vnd.wfa.wsc", "wsdl": "application/wsdl+xml", "wspolicy": "application/wspolicy+xml", "wtb": "application/vnd.webturbo", "wvx": "video/x-ms-wvx", "x32": "application/x-authorware-bin", "x3d": "model/x3d+xml", "x3db": "model/x3d+fastinfoset", "x3dbz": "model/x3d+binary", "x3dv": "model/x3d-vrml", "x3dvz": "model/x3d+vrml", "x3dz": "model/x3d+xml", "x_b": "model/vnd.parasolid.transmit.binary", "x_t": "model/vnd.parasolid.transmit.text", "xaml": "application/xaml+xml", "xap": "application/x-silverlight-app", "xar": "application/vnd.xara", "xav": "application/xcap-att+xml", "xbap": "application/x-ms-xbap", "xbd": "application/vnd.fujixerox.docuworks.binder", "xbm": "image/x-xbitmap", "xca": "application/xcap-caps+xml", "xcs": "application/calendar+xml", "xdcf": "application/vnd.gov.sk.xmldatacontainer+xml", "xdf": "application/xcap-diff+xml", "xdm": "application/vnd.syncml.dm+xml", "xdp": "application/vnd.adobe.xdp+xml", "xdssc": "application/dssc+xml", "xdw": "application/vnd.fujixerox.docuworks", "xel": "application/xcap-el+xml", "xenc": "application/xenc+xml", "xer": "application/patch-ops-error+xml", "xfdf": "application/xfdf", "xfdl": "application/vnd.xfdl", "xht": "application/xhtml+xml", "xhtm": "application/vnd.pwg-xhtml-print+xml", "xhtml": "application/xhtml+xml", "xhvml": "application/xv+xml", "xif": "image/vnd.xiff", "xla": "application/vnd.ms-excel", "xlam": "application/vnd.ms-excel.addin.macroenabled.12", "xlc": "application/vnd.ms-excel", "xlf": "application/xliff+xml", "xlm": "application/vnd.ms-excel", "xls": "application/vnd.ms-excel", "xlsb": "application/vnd.ms-excel.sheet.binary.macroenabled.12", "xlsm": "application/vnd.ms-excel.sheet.macroenabled.12", "xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "xlt": "application/vnd.ms-excel", "xltm": "application/vnd.ms-excel.template.macroenabled.12", "xltx": "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "xlw": "application/vnd.ms-excel", "xm": "audio/xm", "xml": "text/xml", "xns": "application/xcap-ns+xml", "xo": "application/vnd.olpc-sugar", "xop": "application/xop+xml", "xpi": "application/x-xpinstall", "xpl": "application/xproc+xml", "xpm": "image/x-xpixmap", "xpr": "application/vnd.is-xpr", "xps": "application/vnd.ms-xpsdocument", "xpw": "application/vnd.intercon.formnet", "xpx": "application/vnd.intercon.formnet", "xsd": "application/xml", "xsf": "application/prs.xsf+xml", "xsl": "application/xslt+xml", "xslt": "application/xslt+xml", "xsm": "application/vnd.syncml+xml", "xspf": "application/xspf+xml", "xul": "application/vnd.mozilla.xul+xml", "xvm": "application/xv+xml", "xvml": "application/xv+xml", "xwd": "image/x-xwindowdump", "xyz": "chemical/x-xyz", "xz": "application/x-xz", "yaml": "text/yaml", "yang": "application/yang", "yin": "application/yin+xml", "yml": "text/yaml", "ymp": "text/x-suse-ymp", "z1": "application/x-zmachine", "z2": "application/x-zmachine", "z3": "application/x-zmachine", "z4": "application/x-zmachine", "z5": "application/x-zmachine", "z6": "application/x-zmachine", "z7": "application/x-zmachine", "z8": "application/x-zmachine", "zaz": "application/vnd.zzazz.deck+xml", "zip": "application/zip", "zir": "application/vnd.zul", "zirz": "application/vnd.zul", "zmm": "application/vnd.handheld-entertainment+xml" };
|
package/internal/client/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Client Platform v4.27.
|
|
2
|
+
Stencil Client Platform v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
@@ -3075,7 +3075,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3075
3075
|
const hostRef = getHostRef(ref);
|
|
3076
3076
|
if (BUILD21.lazyLoad && !hostRef) {
|
|
3077
3077
|
throw new Error(
|
|
3078
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" 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/
|
|
3078
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" 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).`
|
|
3079
3079
|
);
|
|
3080
3080
|
}
|
|
3081
3081
|
const elm = BUILD21.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/client",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2-dev.1741064500.30fc9f5",
|
|
4
4
|
"description": "Stencil internal client platform to be imported by the Stencil Compiler and internal runtime. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"exports": "./index.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Stencil Hydrate Platform v4.27.
|
|
2
|
+
Stencil Hydrate Platform v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
@@ -2846,7 +2846,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2846
2846
|
const hostRef = getHostRef(ref);
|
|
2847
2847
|
if (BUILD15.lazyLoad && !hostRef) {
|
|
2848
2848
|
throw new Error(
|
|
2849
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" 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/
|
|
2849
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" 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).`
|
|
2850
2850
|
);
|
|
2851
2851
|
}
|
|
2852
2852
|
const elm = BUILD15.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/hydrate",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2-dev.1741064500.30fc9f5",
|
|
4
4
|
"description": "Stencil internal hydrate platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/internal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2-dev.1741064500.30fc9f5",
|
|
4
4
|
"description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -1632,7 +1632,7 @@ export interface NodeResolveConfig {
|
|
|
1632
1632
|
* @see https://github.com/browserify/resolve#resolveid-opts-cb
|
|
1633
1633
|
* @deprecated the `customResolveOptions` field is no longer honored in future versions of
|
|
1634
1634
|
* `@rollup/plugin-node-resolve`. If you are currently using it, please open a new issue in the Stencil repo to
|
|
1635
|
-
* describe your use case & provide input (https://github.com/
|
|
1635
|
+
* describe your use case & provide input (https://github.com/stenciljs/core/issues/new/choose)
|
|
1636
1636
|
*/
|
|
1637
1637
|
customResolveOptions?: {
|
|
1638
1638
|
basedir?: string;
|
|
@@ -3180,7 +3180,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3180
3180
|
const hostRef = getHostRef(ref);
|
|
3181
3181
|
if (import_app_data14.BUILD.lazyLoad && !hostRef) {
|
|
3182
3182
|
throw new Error(
|
|
3183
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" 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/
|
|
3183
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" 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).`
|
|
3184
3184
|
);
|
|
3185
3185
|
}
|
|
3186
3186
|
const elm = import_app_data14.BUILD.lazyLoad ? hostRef.$hostElement$ : ref;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2-dev.1741064500.30fc9f5",
|
|
4
4
|
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.d.ts
CHANGED
|
@@ -890,7 +890,7 @@ declare const NON_ESCAPABLE_CONTENT: Set<string>;
|
|
|
890
890
|
declare const WHITESPACE_SENSITIVE: Set<string>;
|
|
891
891
|
declare const EMPTY_ELEMENTS: Set<string>;
|
|
892
892
|
/**
|
|
893
|
-
* Partially duplicate of https://github.com/
|
|
893
|
+
* Partially duplicate of https://github.com/stenciljs/core/blob/6017dad2cb6fe366242e2e0594f82c8e3a3b5d15/src/declarations/stencil-public-compiler.ts#L895
|
|
894
894
|
* Types can't be imported in this documented as Eslint will not embed the types
|
|
895
895
|
* in the d.ts file.
|
|
896
896
|
*/
|
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2-dev.1741064500.30fc9f5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./internal/stencil-core/index.cjs",
|
|
6
6
|
"module": "./internal/stencil-core/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
+
"types": "./internal/stencil-core/index.d.ts",
|
|
27
28
|
"import": "./internal/stencil-core/index.js",
|
|
28
|
-
"require": "./internal/stencil-core/index.cjs"
|
|
29
|
-
"types": "./internal/stencil-core/index.d.ts"
|
|
29
|
+
"require": "./internal/stencil-core/index.cjs"
|
|
30
30
|
},
|
|
31
31
|
"./cli": {
|
|
32
32
|
"import": "./cli/index.js",
|
|
@@ -48,40 +48,40 @@
|
|
|
48
48
|
"import": "./internal/testing/*"
|
|
49
49
|
},
|
|
50
50
|
"./internal/app-data": {
|
|
51
|
+
"types": "./internal/app-data/index.d.ts",
|
|
51
52
|
"import": "./internal/app-data/index.js",
|
|
52
|
-
"require": "./internal/app-data/index.cjs"
|
|
53
|
-
"types": "./internal/app-data/index.d.ts"
|
|
53
|
+
"require": "./internal/app-data/index.cjs"
|
|
54
54
|
},
|
|
55
55
|
"./mock-doc": {
|
|
56
|
+
"types": "./mock-doc/index.d.ts",
|
|
56
57
|
"import": "./mock-doc/index.js",
|
|
57
|
-
"require": "./mock-doc/index.cjs"
|
|
58
|
-
"types": "./mock-doc/index.d.ts"
|
|
58
|
+
"require": "./mock-doc/index.cjs"
|
|
59
59
|
},
|
|
60
60
|
"./compiler": {
|
|
61
|
+
"types": "./compiler/stencil.d.ts",
|
|
61
62
|
"import": "./compiler/stencil.js",
|
|
62
|
-
"require": "./compiler/stencil.js"
|
|
63
|
-
"types": "./compiler/stencil.d.ts"
|
|
63
|
+
"require": "./compiler/stencil.js"
|
|
64
64
|
},
|
|
65
65
|
"./compiler/*": {
|
|
66
|
-
"
|
|
67
|
-
"
|
|
66
|
+
"types": "./compiler/*",
|
|
67
|
+
"import": "./compiler/*"
|
|
68
68
|
},
|
|
69
69
|
"./screenshot": {
|
|
70
|
-
"
|
|
71
|
-
"
|
|
70
|
+
"types": "./screenshot/index.d.ts",
|
|
71
|
+
"require": "./screenshot/index.js"
|
|
72
72
|
},
|
|
73
73
|
"./sys/node": {
|
|
74
|
+
"types": "./sys/node/index.d.ts",
|
|
74
75
|
"import": "./sys/node/index.js",
|
|
75
|
-
"require": "./sys/node/index.js"
|
|
76
|
-
"types": "./sys/node/index.d.ts"
|
|
76
|
+
"require": "./sys/node/index.js"
|
|
77
77
|
},
|
|
78
78
|
"./sys/node/*": {
|
|
79
79
|
"import": "./sys/node/*",
|
|
80
80
|
"require": "./sys/node/*"
|
|
81
81
|
},
|
|
82
82
|
"./testing": {
|
|
83
|
-
"import": "./testing/index.js",
|
|
84
83
|
"types": "./testing/index.d.ts",
|
|
84
|
+
"import": "./testing/index.js",
|
|
85
85
|
"require": "./testing/index.js"
|
|
86
86
|
},
|
|
87
87
|
"./testing/jest-preset": {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
},
|
|
201
201
|
"repository": {
|
|
202
202
|
"type": "git",
|
|
203
|
-
"url": "git+https://github.com/
|
|
203
|
+
"url": "git+https://github.com/stenciljs/core.git"
|
|
204
204
|
},
|
|
205
205
|
"author": "Ionic Team",
|
|
206
206
|
"homepage": "https://stenciljs.com/",
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="#">
|
|
3
|
-
<img alt="stencil-logo" src="https://github.com/
|
|
3
|
+
<img alt="stencil-logo" src="https://github.com/stenciljs/core/blob/main/stencil-logo.png" width="60">
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<a href="https://www.npmjs.com/package/@stencil/core">
|
|
17
17
|
<img src="https://img.shields.io/npm/v/@stencil/core.svg" alt="StencilJS is released under the MIT license." /></a>
|
|
18
|
-
<a href="https://github.com/
|
|
18
|
+
<a href="https://github.com/stenciljs/core/blob/main/LICENSE.md">
|
|
19
19
|
<img src="https://img.shields.io/badge/license-MIT-yellow.svg" alt="StencilJS is released under the MIT license." />
|
|
20
20
|
</a>
|
|
21
|
-
<a href="https://github.com/
|
|
21
|
+
<a href="https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md">
|
|
22
22
|
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" />
|
|
23
23
|
</a>
|
|
24
24
|
<a href="https://twitter.com/stenciljs">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<span> · </span>
|
|
35
35
|
<a href="https://stenciljs.com/docs/introduction">Documentation</a>
|
|
36
36
|
<span> · </span>
|
|
37
|
-
<a href="https://github.com/
|
|
37
|
+
<a href="https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md">Contribute</a>
|
|
38
38
|
<span> · </span>
|
|
39
39
|
<a href="https://ionicframework.com/blog/tag/stencil/">Blog</a>
|
|
40
40
|
<br />
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
Start a new project by following our quick [Getting Started guide](https://stenciljs.com/docs/getting-started).
|
|
52
52
|
We would love to hear from you!
|
|
53
|
-
If you have any feedback or run into issues using Stencil, please file an [issue](https://github.com/
|
|
53
|
+
If you have any feedback or run into issues using Stencil, please file an [issue](https://github.com/stenciljs/core/issues/new) on this repository.
|
|
54
54
|
|
|
55
55
|
### Examples
|
|
56
56
|
A Stencil component looks a lot like a class-based React component, with the addition of TypeScript decorators:
|
|
@@ -90,5 +90,5 @@ In many cases, Stencil can be used as a drop in replacement for traditional fron
|
|
|
90
90
|
### Contributing
|
|
91
91
|
|
|
92
92
|
Thanks for your interest in contributing!
|
|
93
|
-
Please take a moment to read up on our guidelines for [contributing](https://github.com/
|
|
94
|
-
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/
|
|
93
|
+
Please take a moment to read up on our guidelines for [contributing](https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md).
|
|
94
|
+
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/stenciljs/core/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED
package/sys/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System v4.27.
|
|
2
|
+
Stencil Node System v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";var Fs=Object.create;var er=Object.defineProperty;var $s=Object.getOwnPropertyDescriptor;var Bs=Object.getOwnPropertyNames;var Hs=Object.getPrototypeOf,js=Object.prototype.hasOwnProperty;var dn=n=>{throw TypeError(n)};var Us=(n,e,t)=>e in n?er(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ge=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),hn=(n,e)=>{for(var t in e)er(n,t,{get:e[t],enumerable:!0})},pn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Bs(e))!js.call(n,i)&&i!==t&&er(n,i,{get:()=>e[i],enumerable:!(r=$s(e,i))||r.enumerable});return n};var ye=(n,e,t)=>(t=n!=null?Fs(Hs(n)):{},pn(e||!n||!n.__esModule?er(t,"default",{value:n,enumerable:!0}):t,n)),Xs=n=>pn(er({},"__esModule",{value:!0}),n);var Mr=(n,e,t)=>Us(n,typeof e!="symbol"?e+"":e,t),Ir=(n,e,t)=>e.has(n)||dn("Cannot "+t);var J=(n,e,t)=>(Ir(n,e,"read from private field"),t?t.call(n):e.get(n)),He=(n,e,t)=>e.has(n)?dn("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),Ee=(n,e,t,r)=>(Ir(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t),At=(n,e,t)=>(Ir(n,e,"access private method"),t);var yn=ge((jl,tr)=>{"use strict";var Js=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Ws=typeof process<"u"&&process.platform==="win32",gn=typeof process<"u"&&process.platform==="linux",Nr={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},mn=Object.assign({},Nr,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),vn=Object.assign({},Nr,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:gn?"\u25B8":"\u276F",pointerSmall:gn?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});tr.exports=Ws&&!Js?mn:vn;Reflect.defineProperty(tr.exports,"common",{enumerable:!1,value:Nr});Reflect.defineProperty(tr.exports,"windows",{enumerable:!1,value:mn});Reflect.defineProperty(tr.exports,"other",{enumerable:!1,value:vn})});var En=ge((Ul,Fr)=>{"use strict";var Vs=n=>n!==null&&typeof n=="object"&&!Array.isArray(n),Gs=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,zs=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,bn=()=>{let n={enabled:zs(),visible:!0,styles:{},keys:{}},e=s=>{let o=s.open=`\x1B[${s.codes[0]}m`,a=s.close=`\x1B[${s.codes[1]}m`,c=s.regex=new RegExp(`\\u001b\\[${s.codes[1]}m`,"g");return s.wrap=(u,h)=>{u.includes(a)&&(u=u.replace(c,a+o));let g=o+u+a;return h?g.replace(/\r*\n/g,`${a}$&${o}`):g},s},t=(s,o,a)=>typeof s=="function"?s(o):s.wrap(o,a),r=(s,o)=>{if(s===""||s==null)return"";if(n.enabled===!1)return s;if(n.visible===!1)return"";let a=""+s,c=a.includes(`
|
|
5
5
|
`),u=o.length;for(u>0&&o.includes("unstyle")&&(o=[...new Set(["unstyle",...o])].reverse());u-- >0;)a=t(n.styles[o[u]],a,c);return a},i=(s,o,a)=>{n.styles[s]=e({name:s,codes:o}),(n.keys[a]||(n.keys[a]=[])).push(s),Reflect.defineProperty(n,s,{configurable:!0,enumerable:!0,set(u){n.alias(s,u)},get(){let u=h=>r(h,u.stack);return Reflect.setPrototypeOf(u,n),u.stack=this.stack?this.stack.concat(s):[s],u}})};return i("reset",[0,0],"modifier"),i("bold",[1,22],"modifier"),i("dim",[2,22],"modifier"),i("italic",[3,23],"modifier"),i("underline",[4,24],"modifier"),i("inverse",[7,27],"modifier"),i("hidden",[8,28],"modifier"),i("strikethrough",[9,29],"modifier"),i("black",[30,39],"color"),i("red",[31,39],"color"),i("green",[32,39],"color"),i("yellow",[33,39],"color"),i("blue",[34,39],"color"),i("magenta",[35,39],"color"),i("cyan",[36,39],"color"),i("white",[37,39],"color"),i("gray",[90,39],"color"),i("grey",[90,39],"color"),i("bgBlack",[40,49],"bg"),i("bgRed",[41,49],"bg"),i("bgGreen",[42,49],"bg"),i("bgYellow",[43,49],"bg"),i("bgBlue",[44,49],"bg"),i("bgMagenta",[45,49],"bg"),i("bgCyan",[46,49],"bg"),i("bgWhite",[47,49],"bg"),i("blackBright",[90,39],"bright"),i("redBright",[91,39],"bright"),i("greenBright",[92,39],"bright"),i("yellowBright",[93,39],"bright"),i("blueBright",[94,39],"bright"),i("magentaBright",[95,39],"bright"),i("cyanBright",[96,39],"bright"),i("whiteBright",[97,39],"bright"),i("bgBlackBright",[100,49],"bgBright"),i("bgRedBright",[101,49],"bgBright"),i("bgGreenBright",[102,49],"bgBright"),i("bgYellowBright",[103,49],"bgBright"),i("bgBlueBright",[104,49],"bgBright"),i("bgMagentaBright",[105,49],"bgBright"),i("bgCyanBright",[106,49],"bgBright"),i("bgWhiteBright",[107,49],"bgBright"),n.ansiRegex=Gs,n.hasColor=n.hasAnsi=s=>(n.ansiRegex.lastIndex=0,typeof s=="string"&&s!==""&&n.ansiRegex.test(s)),n.alias=(s,o)=>{let a=typeof o=="string"?n[o]:o;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:s}),n.styles[s]=a,a.stack=[s]),Reflect.defineProperty(n,s,{configurable:!0,enumerable:!0,set(c){n.alias(s,c)},get(){let c=u=>r(u,c.stack);return Reflect.setPrototypeOf(c,n),c.stack=this.stack?this.stack.concat(a.stack):a.stack,c}})},n.theme=s=>{if(!Vs(s))throw new TypeError("Expected theme to be an object");for(let o of Object.keys(s))n.alias(o,s[o]);return n},n.alias("unstyle",s=>typeof s=="string"&&s!==""?(n.ansiRegex.lastIndex=0,s.replace(n.ansiRegex,"")):""),n.alias("noop",s=>s),n.none=n.clear=n.noop,n.stripColor=n.unstyle,n.symbols=yn(),n.define=i,n};Fr.exports=bn();Fr.exports.create=bn});var In=ge((kc,Mn)=>{Mn.exports=function(n){var e={};function t(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=e,t.i=function(r){return r},t.d=function(r,i,s){t.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:s})},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=14)}([function(n,e){n.exports=require("path")},function(n,e,t){"use strict";e.__esModule=!0;var r=t(173),i=s(r);function s(o){return o&&o.__esModule?o:{default:o}}e.default=function(o){return function(){var a=o.apply(this,arguments);return new i.default(function(c,u){function h(g,T){try{var S=a[g](T),p=S.value}catch(b){u(b);return}if(S.done)c(p);else return i.default.resolve(p).then(function(b){h("next",b)},function(b){h("throw",b)})}return h("next")})}}},function(n,e){n.exports=require("util")},function(n,e){n.exports=require("fs")},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class r extends Error{constructor(u,h){super(u),this.code=h}}e.MessageError=r;class i extends r{constructor(u,h,g){super(u,h),this.process=g}}e.ProcessSpawnError=i;class s extends r{}e.SecurityError=s;class o extends r{}e.ProcessTermError=o;class a extends Error{constructor(u,h){super(u),this.responseCode=h}}e.ResponseError=a},function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getFirstSuitableFolder=e.readFirstAvailableStream=e.makeTempDir=e.hardlinksWork=e.writeFilePreservingEol=e.getFileSizeOnDisk=e.walk=e.symlink=e.find=e.readJsonAndFile=e.readJson=e.readFileAny=e.hardlinkBulk=e.copyBulk=e.unlink=e.glob=e.link=e.chmod=e.lstat=e.exists=e.mkdirp=e.stat=e.access=e.rename=e.readdir=e.realpath=e.readlink=e.writeFile=e.open=e.readFileBuffer=e.lockQueue=e.constants=void 0;var r;function i(){return r=$(t(1))}let s=(()=>{var Y=(0,(r||i()).default)(function*(G,U,j,V){let re=(()=>{var oe=(0,(r||i()).default)(function*(Pe){let pe=Pe.src,ne=Pe.dest,_t=Pe.type,Ke=Pe.onFresh||_e,Te=Pe.onDone||_e;if(ae.has(ne.toLowerCase())?V.verbose(`The case-insensitive file ${ne} shouldn't be copied twice in one bulk copy`):ae.add(ne.toLowerCase()),_t==="symlink"){yield Se((l||f()).default.dirname(ne)),Ke(),Ie.symlink.push({dest:ne,linkname:pe}),Te();return}if(U.ignoreBasenames.indexOf((l||f()).default.basename(pe))>=0)return;let xe=yield Re(pe),gt;xe.isDirectory()&&(gt=yield De(pe));let We;try{We=yield Re(ne)}catch(Be){if(Be.code!=="ENOENT")throw Be}if(We){let Be=xe.isSymbolicLink()&&We.isSymbolicLink(),mt=xe.isDirectory()&&We.isDirectory(),ut=xe.isFile()&&We.isFile();if(ut&&he.has(ne)){Te(),V.verbose(V.lang("verboseFileSkipArtifact",pe));return}if(ut&&xe.size===We.size&&(0,(X||Z()).fileDatesEqual)(xe.mtime,We.mtime)){Te(),V.verbose(V.lang("verboseFileSkip",pe,ne,xe.size,+xe.mtime));return}if(Be){let ke=yield le(pe);if(ke===(yield le(ne))){Te(),V.verbose(V.lang("verboseFileSkipSymlink",pe,ne,ke));return}}if(mt){let ke=yield De(ne);Ut(gt,"src files not initialised");for(var ot=ke,Ct=Array.isArray(ot),Ye=0,ot=Ct?ot:ot[Symbol.iterator]();;){var Jt;if(Ct){if(Ye>=ot.length)break;Jt=ot[Ye++]}else{if(Ye=ot.next(),Ye.done)break;Jt=Ye.value}let Ot=Jt;if(gt.indexOf(Ot)<0){let vt=(l||f()).default.join(ne,Ot);if(j.add(vt),(yield Re(vt)).isDirectory())for(var at=yield De(vt),St=Array.isArray(at),Qe=0,at=St?at:at[Symbol.iterator]();;){var Wt;if(St){if(Qe>=at.length)break;Wt=at[Qe++]}else{if(Qe=at.next(),Qe.done)break;Wt=Qe.value}let kr=Wt;j.add((l||f()).default.join(vt,kr))}}}}}if(We&&We.isSymbolicLink()&&(yield(0,(X||Z()).unlink)(ne),We=null),xe.isSymbolicLink()){Ke();let Be=yield le(pe);Ie.symlink.push({dest:ne,linkname:Be}),Te()}else if(xe.isDirectory()){We||(V.verbose(V.lang("verboseFileFolder",ne)),yield Se(ne));let Be=ne.split((l||f()).default.sep);for(;Be.length;)ae.add(Be.join((l||f()).default.sep).toLowerCase()),Be.pop();Ut(gt,"src files not initialised");let mt=gt.length;mt||Te();for(var lt=gt,Lt=Array.isArray(lt),Ze=0,lt=Lt?lt:lt[Symbol.iterator]();;){var $e;if(Lt){if(Ze>=lt.length)break;$e=lt[Ze++]}else{if(Ze=lt.next(),Ze.done)break;$e=Ze.value}let ut=$e;G.push({dest:(l||f()).default.join(ne,ut),onFresh:Ke,onDone:function(ke){function Ot(){return ke.apply(this,arguments)}return Ot.toString=function(){return ke.toString()},Ot}(function(){--mt===0&&Te()}),src:(l||f()).default.join(pe,ut)})}}else if(xe.isFile())Ke(),Ie.file.push({src:pe,dest:ne,atime:xe.atime,mtime:xe.mtime,mode:xe.mode}),Te();else throw new Error(`unsure how to copy this: ${pe}`)});return function(pe){return oe.apply(this,arguments)}})(),he=new Set(U.artifactFiles||[]),ae=new Set;for(var se=G,ue=Array.isArray(se),ie=0,se=ue?se:se[Symbol.iterator]();;){var ze;if(ue){if(ie>=se.length)break;ze=se[ie++]}else{if(ie=se.next(),ie.done)break;ze=ie.value}let oe=ze,Pe=oe.onDone;oe.onDone=function(){U.onProgress(oe.dest),Pe&&Pe()}}U.onStart(G.length);let Ie={file:[],symlink:[],link:[]};for(;G.length;){let oe=G.splice(0,kt);yield Promise.all(oe.map(re))}for(var Ne=he,xt=Array.isArray(Ne),it=0,Ne=xt?Ne:Ne[Symbol.iterator]();;){var Mt;if(xt){if(it>=Ne.length)break;Mt=Ne[it++]}else{if(it=Ne.next(),it.done)break;Mt=it.value}let oe=Mt;j.has(oe)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",oe)),j.delete(oe))}for(var Fe=j,qt=Array.isArray(Fe),st=0,Fe=qt?Fe:Fe[Symbol.iterator]();;){var It;if(qt){if(st>=Fe.length)break;It=Fe[st++]}else{if(st=Fe.next(),st.done)break;It=st.value}let oe=It;ae.has(oe.toLowerCase())&&j.delete(oe)}return Ie});return function(U,j,V,re){return Y.apply(this,arguments)}})(),o=(()=>{var Y=(0,(r||i()).default)(function*(G,U,j,V){let re=(()=>{var oe=(0,(r||i()).default)(function*(Pe){let pe=Pe.src,ne=Pe.dest,_t=Pe.onFresh||_e,Ke=Pe.onDone||_e;if(ae.has(ne.toLowerCase())){Ke();return}if(ae.add(ne.toLowerCase()),U.ignoreBasenames.indexOf((l||f()).default.basename(pe))>=0)return;let Te=yield Re(pe),xe;Te.isDirectory()&&(xe=yield De(pe));let gt=yield nt(ne);if(gt){let $e=yield Re(ne),Be=Te.isSymbolicLink()&&$e.isSymbolicLink(),mt=Te.isDirectory()&&$e.isDirectory(),ut=Te.isFile()&&$e.isFile();if(Te.mode!==$e.mode)try{yield Oe(ne,Te.mode)}catch(ke){V.verbose(ke)}if(ut&&he.has(ne)){Ke(),V.verbose(V.lang("verboseFileSkipArtifact",pe));return}if(ut&&Te.ino!==null&&Te.ino===$e.ino){Ke(),V.verbose(V.lang("verboseFileSkip",pe,ne,Te.ino));return}if(Be){let ke=yield le(pe);if(ke===(yield le(ne))){Ke(),V.verbose(V.lang("verboseFileSkipSymlink",pe,ne,ke));return}}if(mt){let ke=yield De(ne);Ut(xe,"src files not initialised");for(var Ye=ke,We=Array.isArray(Ye),Ct=0,Ye=We?Ye:Ye[Symbol.iterator]();;){var ot;if(We){if(Ct>=Ye.length)break;ot=Ye[Ct++]}else{if(Ct=Ye.next(),Ct.done)break;ot=Ct.value}let Ot=ot;if(xe.indexOf(Ot)<0){let vt=(l||f()).default.join(ne,Ot);if(j.add(vt),(yield Re(vt)).isDirectory())for(var Qe=yield De(vt),Jt=Array.isArray(Qe),St=0,Qe=Jt?Qe:Qe[Symbol.iterator]();;){var at;if(Jt){if(St>=Qe.length)break;at=Qe[St++]}else{if(St=Qe.next(),St.done)break;at=St.value}let kr=at;j.add((l||f()).default.join(vt,kr))}}}}}if(Te.isSymbolicLink()){_t();let $e=yield le(pe);Ie.symlink.push({dest:ne,linkname:$e}),Ke()}else if(Te.isDirectory()){V.verbose(V.lang("verboseFileFolder",ne)),yield Se(ne);let $e=ne.split((l||f()).default.sep);for(;$e.length;)ae.add($e.join((l||f()).default.sep).toLowerCase()),$e.pop();Ut(xe,"src files not initialised");let Be=xe.length;Be||Ke();for(var Ze=xe,Wt=Array.isArray(Ze),Lt=0,Ze=Wt?Ze:Ze[Symbol.iterator]();;){var lt;if(Wt){if(Lt>=Ze.length)break;lt=Ze[Lt++]}else{if(Lt=Ze.next(),Lt.done)break;lt=Lt.value}let mt=lt;G.push({onFresh:_t,src:(l||f()).default.join(pe,mt),dest:(l||f()).default.join(ne,mt),onDone:function(ut){function ke(){return ut.apply(this,arguments)}return ke.toString=function(){return ut.toString()},ke}(function(){--Be===0&&Ke()})})}}else if(Te.isFile())_t(),Ie.link.push({src:pe,dest:ne,removeDest:gt}),Ke();else throw new Error(`unsure how to copy this: ${pe}`)});return function(pe){return oe.apply(this,arguments)}})(),he=new Set(U.artifactFiles||[]),ae=new Set;for(var se=G,ue=Array.isArray(se),ie=0,se=ue?se:se[Symbol.iterator]();;){var ze;if(ue){if(ie>=se.length)break;ze=se[ie++]}else{if(ie=se.next(),ie.done)break;ze=ie.value}let oe=ze,Pe=oe.onDone||_e;oe.onDone=function(){U.onProgress(oe.dest),Pe()}}U.onStart(G.length);let Ie={file:[],symlink:[],link:[]};for(;G.length;){let oe=G.splice(0,kt);yield Promise.all(oe.map(re))}for(var Ne=he,xt=Array.isArray(Ne),it=0,Ne=xt?Ne:Ne[Symbol.iterator]();;){var Mt;if(xt){if(it>=Ne.length)break;Mt=Ne[it++]}else{if(it=Ne.next(),it.done)break;Mt=it.value}let oe=Mt;j.has(oe)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",oe)),j.delete(oe))}for(var Fe=j,qt=Array.isArray(Fe),st=0,Fe=qt?Fe:Fe[Symbol.iterator]();;){var It;if(qt){if(st>=Fe.length)break;It=Fe[st++]}else{if(st=Fe.next(),st.done)break;It=st.value}let oe=It;ae.has(oe.toLowerCase())&&j.delete(oe)}return Ie});return function(U,j,V,re){return Y.apply(this,arguments)}})(),a=e.copyBulk=(()=>{var Y=(0,(r||i()).default)(function*(G,U,j){let V={onStart:j&&j.onStart||_e,onProgress:j&&j.onProgress||_e,possibleExtraneous:j?j.possibleExtraneous:new Set,ignoreBasenames:j&&j.ignoreBasenames||[],artifactFiles:j&&j.artifactFiles||[]},re=yield s(G,V,V.possibleExtraneous,U);V.onStart(re.file.length+re.symlink.length+re.link.length);let he=re.file,ae=new Map;yield(E||A()).queue(he,(()=>{var ie=(0,(r||i()).default)(function*(se){let ze;for(;ze=ae.get(se.dest);)yield ze;U.verbose(U.lang("verboseFileCopy",se.src,se.dest));let Ie=(0,(X||Z()).copyFile)(se,function(){return ae.delete(se.dest)});return ae.set(se.dest,Ie),V.onProgress(se.dest),Ie});return function(se){return ie.apply(this,arguments)}})(),kt);let ue=re.symlink;yield(E||A()).queue(ue,function(ie){let se=(l||f()).default.resolve((l||f()).default.dirname(ie.dest),ie.linkname);return U.verbose(U.lang("verboseFileSymlink",ie.dest,se)),S(se,ie.dest)})});return function(U,j,V){return Y.apply(this,arguments)}})(),c=e.hardlinkBulk=(()=>{var Y=(0,(r||i()).default)(function*(G,U,j){let V={onStart:j&&j.onStart||_e,onProgress:j&&j.onProgress||_e,possibleExtraneous:j?j.possibleExtraneous:new Set,artifactFiles:j&&j.artifactFiles||[],ignoreBasenames:[]},re=yield o(G,V,V.possibleExtraneous,U);V.onStart(re.file.length+re.symlink.length+re.link.length);let he=re.link;yield(E||A()).queue(he,(()=>{var ue=(0,(r||i()).default)(function*(ie){U.verbose(U.lang("verboseFileLink",ie.src,ie.dest)),ie.removeDest&&(yield(0,(X||Z()).unlink)(ie.dest)),yield cr(ie.src,ie.dest)});return function(ie){return ue.apply(this,arguments)}})(),kt);let ae=re.symlink;yield(E||A()).queue(ae,function(ue){let ie=(l||f()).default.resolve((l||f()).default.dirname(ue.dest),ue.linkname);return U.verbose(U.lang("verboseFileSymlink",ue.dest,ie)),S(ie,ue.dest)})});return function(U,j,V){return Y.apply(this,arguments)}})(),u=e.readFileAny=(()=>{var Y=(0,(r||i()).default)(function*(G){for(var V=G,U=Array.isArray(V),j=0,V=U?V:V[Symbol.iterator]();;){var re;if(U){if(j>=V.length)break;re=V[j++]}else{if(j=V.next(),j.done)break;re=j.value}let he=re;if(yield nt(he))return Pr(he)}return null});return function(U){return Y.apply(this,arguments)}})(),h=e.readJson=(()=>{var Y=(0,(r||i()).default)(function*(G){return(yield g(G)).object});return function(U){return Y.apply(this,arguments)}})(),g=e.readJsonAndFile=(()=>{var Y=(0,(r||i()).default)(function*(G){let U=yield Pr(G);try{return{object:(0,(F||H()).default)(JSON.parse(Zt(U))),content:U}}catch(j){throw j.message=`${G}: ${j.message}`,j}});return function(U){return Y.apply(this,arguments)}})(),T=e.find=(()=>{var Y=(0,(r||i()).default)(function*(G,U){let j=U.split((l||f()).default.sep);for(;j.length;){let V=j.concat(G).join((l||f()).default.sep);if(yield nt(V))return V;j.pop()}return!1});return function(U,j){return Y.apply(this,arguments)}})(),S=e.symlink=(()=>{var Y=(0,(r||i()).default)(function*(G,U){try{if((yield Re(U)).isSymbolicLink()&&(yield Me(U))===G)return}catch(j){if(j.code!=="ENOENT")throw j}if(yield(0,(X||Z()).unlink)(U),process.platform==="win32")yield dr(G,U,"junction");else{let j;try{j=(l||f()).default.relative((C||L()).default.realpathSync((l||f()).default.dirname(U)),(C||L()).default.realpathSync(G))}catch(V){if(V.code!=="ENOENT")throw V;j=(l||f()).default.relative((l||f()).default.dirname(U),G)}yield dr(j||".",U)}});return function(U,j){return Y.apply(this,arguments)}})(),p=e.walk=(()=>{var Y=(0,(r||i()).default)(function*(G,U,j=new Set){let V=[],re=yield De(G);j.size&&(re=re.filter(function(se){return!j.has(se)}));for(var ue=re,he=Array.isArray(ue),ae=0,ue=he?ue:ue[Symbol.iterator]();;){var ie;if(he){if(ae>=ue.length)break;ie=ue[ae++]}else{if(ae=ue.next(),ae.done)break;ie=ae.value}let se=ie,ze=U?(l||f()).default.join(U,se):se,Ie=(l||f()).default.join(G,se),xt=yield Re(Ie);V.push({relative:ze,basename:se,absolute:Ie,mtime:+xt.mtime}),xt.isDirectory()&&(V=V.concat(yield p(Ie,ze,j)))}return V});return function(U,j){return Y.apply(this,arguments)}})(),b=e.getFileSizeOnDisk=(()=>{var Y=(0,(r||i()).default)(function*(G){let U=yield Re(G),j=U.size,V=U.blksize;return Math.ceil(j/V)*V});return function(U){return Y.apply(this,arguments)}})(),x=(()=>{var Y=(0,(r||i()).default)(function*(G){if(!(yield nt(G)))return;let U=yield Q(G);for(let j=0;j<U.length;++j){if(U[j]===Is)return`\r
|
|
@@ -49,6 +49,6 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof k))re
|
|
|
49
49
|
`),l)}catch{}r.length=0},m=l=>{ee.default.enabled=l},C=(l,f)=>{if(!l||l.length===0)return;let d=[""];l.forEach(y=>{d=d.concat(L(y,f))}),console.log(d.join(`
|
|
50
50
|
`))},L=(l,f)=>{let d=dt([l.messageText],n.getColumns()),y="";l.header&&l.header!=="Build Error"&&(y+=l.header),typeof l.absFilePath=="string"&&typeof l.relFilePath!="string"&&(typeof f!="string"&&(f=n.cwd()),l.relFilePath=n.relativePath(f,l.absFilePath),l.relFilePath.includes("/")||(l.relFilePath="./"+l.relFilePath));let E=l.relFilePath;return typeof E!="string"&&(E=l.absFilePath),typeof E=="string"&&(y.length>0&&(y+=": "),y+=(0,ee.cyan)(E),typeof l.lineNumber=="number"&&l.lineNumber>-1&&(y+=(0,ee.dim)(":"),y+=(0,ee.yellow)(`${l.lineNumber}`),typeof l.columnNumber=="number"&&l.columnNumber>-1&&(y+=(0,ee.dim)(":"),y+=(0,ee.yellow)(`${l.columnNumber}`)))),y.length>0&&d.unshift(yt+y),d.push(""),l.lines&&l.lines.length&&(Ks(l.lines).forEach(P=>{if(!Qs(P.text))return;let M="";for(P.lineNumber>-1&&(M=`L${P.lineNumber}: `);M.length<yt.length;)M=" "+M;let F=P.text;P.errorCharStart>-1&&(F=w(F,P.errorCharStart,P.errorLength)),M=(0,ee.dim)(M),l.language==="typescript"||l.language==="javascript"?M+=I(F):l.language==="scss"||l.language==="css"?M+=O(F):M+=F,d.push(M)}),d.push("")),l.level==="error"?T(d):l.level==="warn"?h(d):l.level==="debug"?p(d):c(d),l.debugText!=null&&e==="debug"&&(d.push(l.debugText),p(dt([l.debugText],n.getColumns()))),d},w=(l,f,d=0)=>{let y=l.length-f+d-1;for(;l.length+yt.length>n.getColumns();)if(f>l.length-f+d&&f>5)l=l.slice(1),f--;else if(y>1)l=l.slice(0,-1),y--;else break;let E=[],A=Math.max(l.length,f+d);for(let P=0;P<A;P++){let M=l.charAt(P);P>=f&&P<f+d&&(M=(0,ee.bgRed)(M===""?" ":M)),E.push(M)}return E.join("")},I=l=>l.trim().startsWith("//")?(0,ee.dim)(l):l.split(" ").map(d=>Zs.indexOf(d)>-1?(0,ee.cyan)(d):d).join(" "),O=l=>{let f=!0,d="abcdefghijklmnopqrstuvwxyz-_",y=".#,:}@$[]/*",E=[];for(let A=0;A<l.length;A++){let P=l.charAt(A);if(P===";"||P==="{"?f=!0:y.indexOf(P)>-1&&(f=!1),f&&d.indexOf(P.toLowerCase())>-1){E.push((0,ee.cyan)(P));continue}E.push(P)}return E.join("")};return{createLineUpdater:n.createLineUpdater,createTimeSpan:R,debug:S,emoji:n.emoji,enableColors:m,error:g,getLevel:s,info:a,printDiagnostics:C,setLevel:i,setLogFilePath:o,warn:u,writeLogs:k,bgRed:ee.bgRed,blue:ee.blue,bold:ee.bold,cyan:ee.cyan,dim:ee.dim,gray:ee.gray,green:ee.green,magenta:ee.magenta,red:ee.red,yellow:ee.yellow}},Vt=(n,e)=>$r.indexOf(e)>=$r.indexOf(n),Tn=()=>{let n=new Date,e=xn(n.getMinutes()),t=xn(n.getSeconds()),r=Math.floor(n.getMilliseconds()/1e3*10);return`[${e}:${t}.${r}]`},xn=n=>("0"+n.toString()).slice(-2),dt=(n,e)=>{let t=[],r=[];n.forEach(s=>{s===null?r.push("null"):typeof s>"u"?r.push("undefined"):typeof s=="string"?s.replace(/\s/gm," ").split(" ").forEach(o=>{o.trim().length&&r.push(o.trim())}):typeof s=="number"||typeof s=="boolean"||typeof s=="function"?r.push(s.toString()):Array.isArray(s)?r.push(()=>s.toString()):Object(s)===s?r.push(()=>s.toString()):r.push(s.toString())});let i=yt;return r.forEach(s=>{t.length>25||(typeof s=="function"?(i.trim().length&&t.push(i),t.push(s()),i=yt):yt.length+s.length>e-1?(i.trim().length&&t.push(i),t.push(yt+s),i=yt):s.length+i.length>e-1?(t.push(i),i=yt+s+" "):i+=s+" ")}),i.trim().length&&t.push(i),t.map(s=>s.trimRight())},Ks=n=>{let t=JSON.parse(JSON.stringify(n));for(let r=0;r<100;r++){if(!Ys(t))return t;for(let i=0;i<t.length;i++)if(t[i].text=t[i].text.slice(1),t[i].errorCharStart--,!t[i].text.length)return t}return t},Ys=n=>{if(!n.length)return!1;for(let e=0;e<n.length;e++){if(!n[e].text||n[e].text.length<1)return!1;let t=n[e].text.charAt(0);if(t!==" "&&t!==" ")return!1}return!0},Qs=n=>n?(n=n.trim(),n.length>0):!1,Zs=["abstract","any","as","break","boolean","case","catch","class","console","const","continue","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","import","in","implements","Infinity","instanceof","let","module","namespace","NaN","new","number","null","public","private","protected","require","return","static","set","string","super","switch","this","throw","try","true","type","typeof","undefined","var","void","with","while","yield"],yt=" ";var Ln=()=>{let n=qs();return Cn(n)};function qs(){return{cwd:()=>process.cwd(),emoji:a=>process.platform!=="win32"?a:"",getColumns:()=>{var g,T;let h=(T=(g=process==null?void 0:process.stdout)==null?void 0:g.columns)!=null?T:80;return Math.max(Math.min(h,120),60)},memoryUsage:()=>process.memoryUsage().rss,relativePath:(a,c)=>Sn.default.relative(a,c),writeLogs:(a,c,u)=>{if(u)try{pr.default.accessSync(a)}catch{u=!1}u?pr.default.appendFileSync(a,c):pr.default.writeFileSync(a,c)},createLineUpdater:async()=>{let a=await import("readline"),c=Promise.resolve(),u=g=>(g=g.substring(0,process.stdout.columns-5)+"\x1B[0m",c=c.then(()=>new Promise(T=>{a.clearLine(process.stdout,0),a.cursorTo(process.stdout,0,void 0),process.stdout.write(g,T)}))),h=()=>u("\x1B[?25h");return process.stdout.write("\x1B[?25l"),{update:u,stop:h}}}}var On=()=>{};var Br=n=>n.flat?n.flat(1):n.reduce((e,t)=>(e.push(...t),e),[]);var An=n=>typeof n=="function";var Nt=n=>typeof n=="string";var Rn=n=>{let e={"{":"}","(":")","[":"]"},t=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/;if(n==="")return!1;let r;for(;r=t.exec(n);){if(r[2])return!0;let i=r.index+r[0].length,s=r[1],o=s?e[s]:null;if(s&&o){let a=n.indexOf(o,i);a!==-1&&(i=a+1)}n=n.slice(i)}return!1};var rr=n=>{let e={level:"error",type:"build",header:"Build Error",messageText:"build error",relFilePath:void 0,absFilePath:void 0,lines:[]};return n&&n.push(e),e};var Hr=(n,e,t)=>{let r={level:"error",type:"build",header:"Build Error",messageText:"build error",lines:[]};return Nt(t)?r.messageText=t.length?t:"UNKNOWN ERROR":e!=null&&(e.stack!=null?r.messageText=e.stack.toString():e.message!=null?r.messageText=e.message.length?e.message:"UNKNOWN ERROR":r.messageText=e.toString()),n!=null&&!jr(r.messageText)&&n.push(r),r};var jr=n=>n===Ft,Ft="task canceled";var me=(n,e=!0)=>{if(typeof n!="string")throw new Error("invalid path to normalize");n=eo(n.trim());let t=ao(n,io(n)),r=no(t),i=r[0],s=r[1],o=i+r.slice(1).join("/");return o===""?".":i===""&&s&&n.includes("/")&&!s.startsWith(".")&&!s.startsWith("@")&&e?"./"+o:o},eo=n=>n.replace(ro,"/"),to="\\",wn="://",ro=/\\/g,no=n=>{if(!Array.isArray(n)||n.length===0)return[];let e=[n[0]];for(let t=1;t<n.length;t++){let r=n[t];if(r&&r!=="."){if(r===".."){if(e.length>1){if(e[e.length-1]!==".."){e.pop();continue}}else if(e[0])continue}e.push(r)}}return e},io=n=>{let e=so(n);return e<0?~e:e},so=n=>{if(!n)return 0;let e=n.charCodeAt(0);if(e===47||e===92){if(n.charCodeAt(1)!==e)return 1;let r=n.indexOf(e===47?"/":to,2);return r<0?n.length:r+1}if(Dn(e)&&n.charCodeAt(1)===58){let r=n.charCodeAt(2);if(r===47||r===92)return 3;if(n.length===2)return 2}let t=n.indexOf(wn);if(t!==-1){let r=t+wn.length,i=n.indexOf("/",r);if(i!==-1){let s=n.slice(0,t),o=n.slice(r,i);if(s==="file"&&(o===""||o==="localhost")&&Dn(n.charCodeAt(i+1))){let a=oo(n,i+2);if(a!==-1){if(n.charCodeAt(a)===47)return~(a+1);if(a===n.length)return~a}}return~(i+1)}return~n.length}return 0},Dn=n=>n>=97&&n<=122||n>=65&&n<=90,oo=(n,e)=>{let t=n.charCodeAt(e);if(t===58)return e+1;if(t===37&&n.charCodeAt(e+1)===51){let r=n.charCodeAt(e+2);if(r===97||r===65)return e+3}return-1},ao=(n,e)=>{let t=n.substring(0,e),r=n.substring(e).split("/"),i=r.length;return i>0&&!r[i-1]&&r.pop(),[t,...r]};var Xr={};hn(Xr,{err:()=>Pn,map:()=>lo,ok:()=>Ur,unwrap:()=>uo,unwrapErr:()=>co});var Ur=n=>({isOk:!0,isErr:!1,value:n}),Pn=n=>({isOk:!1,isErr:!0,value:n});function lo(n,e){if(n.isOk){let t=e(n.value);return t instanceof Promise?t.then(r=>Ur(r)):Ur(t)}if(n.isErr){let t=n.value;return Pn(t)}throw"should never get here"}var uo=n=>{if(n.isOk)return n.value;throw n.value},co=n=>{if(n.isErr)return n.value;throw n.value};function kn(n){n.process.on("unhandledRejection",e=>{if(!jr(e)){let t="unhandledRejection";e!=null&&(typeof e=="string"?t+=": "+e:e.stack?t+=": "+e.stack:e.message&&(t+=": "+e.message)),n.logger.error(t)}})}var ws=ye(In()),cn=require("crypto"),Ds=ye(Fn()),ce=ye(require("./graceful-fs.js")),tt=require("os"),Ps=ye(require("os")),fe=ye(require("path"));var $n=()=>{let n=[],e=s=>{let o=n.findIndex(a=>a.callback===s);return o>-1?(n.splice(o,1),!0):!1};return{emit:(s,o)=>{let a=s.toLowerCase().trim(),c=n.slice();for(let u of c)if(u.eventName==null)try{u.callback(s,o)}catch(h){console.error(h)}else if(u.eventName===a)try{u.callback(o)}catch(h){console.error(h)}},on:(s,o)=>{if(typeof s=="function"){let c=s;return n.push({eventName:null,callback:c}),()=>e(c)}else if(typeof s=="string"&&typeof o=="function"){let a=s.toLowerCase().trim(),c=o;return n.push({eventName:a,callback:c}),()=>e(c)}return()=>!1},unsubscribeAll:()=>{n.length=0}}};var oi=ye(Qn(),1);var ir=n=>{if(typeof n!="string")throw new TypeError("invalid pattern");if(n.length>65536)throw new TypeError("pattern is too long")};var bo={"[: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]},sr=n=>n.replace(/[[\]\\-]/g,"\\$&"),Eo=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Zn=n=>n.join(""),qn=(n,e)=>{let t=e;if(n.charAt(t)!=="[")throw new Error("not in a brace expression");let r=[],i=[],s=t+1,o=!1,a=!1,c=!1,u=!1,h=t,g="";e:for(;s<n.length;){let b=n.charAt(s);if((b==="!"||b==="^")&&s===t+1){u=!0,s++;continue}if(b==="]"&&o&&!c){h=s+1;break}if(o=!0,b==="\\"&&!c){c=!0,s++;continue}if(b==="["&&!c){for(let[x,[D,R,N]]of Object.entries(bo))if(n.startsWith(x,s)){if(g)return["$.",!1,n.length-t,!0];s+=x.length,N?i.push(D):r.push(D),a=a||R;continue e}}if(c=!1,g){b>g?r.push(sr(g)+"-"+sr(b)):b===g&&r.push(sr(b)),g="",s++;continue}if(n.startsWith("-]",s+1)){r.push(sr(b+"-")),s+=2;continue}if(n.startsWith("-",s+1)){g=b,s+=2;continue}r.push(sr(b)),s++}if(h<s)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,n.length-t,!0];if(i.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!u){let b=r[0].length===2?r[0].slice(-1):r[0];return[Eo(b),!1,h-t,!1]}let T="["+(u?"^":"")+Zn(r)+"]",S="["+(u?"":"^")+Zn(i)+"]";return[r.length&&i.length?"("+T+"|"+S+")":r.length?T:S,a,h-t,!0]};var ct=(n,{windowsPathsNoEscape:e=!1}={})=>e?n.replace(/\[([^\/\\])\]/g,"$1"):n.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");var To=new Set(["!","?","+","*","@"]),_n=n=>To.has(n),xo="(?!(?:^|/)\\.\\.?(?:$|/))",gr="(?!\\.)",Co=new Set(["[","."]),So=new Set(["..","."]),Lo=new Set("().*{}+?[]^$\\!"),Oo=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Gr="[^/]",ei=Gr+"*?",ti=Gr+"+?",Le,we,bt,be,Ce,Rt,$t,wt,ht,Bt,or,Ht,ri,Dt,mr,Vr,ni,je=class je{constructor(e,t,r={}){He(this,Ht);Mr(this,"type");He(this,Le);He(this,we);He(this,bt,!1);He(this,be,[]);He(this,Ce);He(this,Rt);He(this,$t);He(this,wt,!1);He(this,ht);He(this,Bt);He(this,or,!1);this.type=e,e&&Ee(this,we,!0),Ee(this,Ce,t),Ee(this,Le,J(this,Ce)?J(J(this,Ce),Le):this),Ee(this,ht,J(this,Le)===this?r:J(J(this,Le),ht)),Ee(this,$t,J(this,Le)===this?[]:J(J(this,Le),$t)),e==="!"&&!J(J(this,Le),wt)&&J(this,$t).push(this),Ee(this,Rt,J(this,Ce)?J(J(this,Ce),be).length:0)}get hasMagic(){if(J(this,we)!==void 0)return J(this,we);for(let e of J(this,be))if(typeof e!="string"&&(e.type||e.hasMagic))return Ee(this,we,!0);return J(this,we)}toString(){return J(this,Bt)!==void 0?J(this,Bt):this.type?Ee(this,Bt,this.type+"("+J(this,be).map(e=>String(e)).join("|")+")"):Ee(this,Bt,J(this,be).map(e=>String(e)).join(""))}push(...e){for(let t of e)if(t!==""){if(typeof t!="string"&&!(t instanceof je&&J(t,Ce)===this))throw new Error("invalid part: "+t);J(this,be).push(t)}}toJSON(){var t;let e=this.type===null?J(this,be).slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...J(this,be).map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===J(this,Le)||J(J(this,Le),wt)&&((t=J(this,Ce))==null?void 0:t.type)==="!")&&e.push({}),e}isStart(){var t;if(J(this,Le)===this)return!0;if(!((t=J(this,Ce))!=null&&t.isStart()))return!1;if(J(this,Rt)===0)return!0;let e=J(this,Ce);for(let r=0;r<J(this,Rt);r++){let i=J(e,be)[r];if(!(i instanceof je&&i.type==="!"))return!1}return!0}isEnd(){var t,r,i;if(J(this,Le)===this||((t=J(this,Ce))==null?void 0:t.type)==="!")return!0;if(!((r=J(this,Ce))!=null&&r.isEnd()))return!1;if(!this.type)return(i=J(this,Ce))==null?void 0:i.isEnd();let e=J(this,Ce)?J(J(this,Ce),be).length:0;return J(this,Rt)===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let t=new je(this.type,e);for(let r of J(this,be))t.copyIn(r);return t}static fromGlob(e,t={}){var i;let r=new je(null,void 0,t);return At(i=je,Dt,mr).call(i,e,r,0,t),r}toMMPattern(){if(this!==J(this,Le))return J(this,Le).toMMPattern();let e=this.toString(),[t,r,i,s]=this.toRegExpSource();if(!(i||J(this,we)||J(this,ht).nocase&&!J(this,ht).nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return r;let a=(J(this,ht).nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${t}$`,a),{_src:t,_glob:e})}get options(){return J(this,ht)}toRegExpSource(e){var c;let t=e!=null?e:!!J(this,ht).dot;if(J(this,Le)===this&&At(this,Ht,ri).call(this),!this.type){let u=this.isStart()&&this.isEnd(),h=J(this,be).map(p=>{var N;let[b,x,D,R]=typeof p=="string"?At(N=je,Dt,ni).call(N,p,J(this,we),u):p.toRegExpSource(e);return Ee(this,we,J(this,we)||D),Ee(this,bt,J(this,bt)||R),b}).join(""),g="";if(this.isStart()&&typeof J(this,be)[0]=="string"&&!(J(this,be).length===1&&So.has(J(this,be)[0]))){let b=Co,x=t&&b.has(h.charAt(0))||h.startsWith("\\.")&&b.has(h.charAt(2))||h.startsWith("\\.\\.")&&b.has(h.charAt(4)),D=!t&&!e&&b.has(h.charAt(0));g=x?xo:D?gr:""}let T="";return this.isEnd()&&J(J(this,Le),wt)&&((c=J(this,Ce))==null?void 0:c.type)==="!"&&(T="(?:$|\\/)"),[g+h+T,ct(h),Ee(this,we,!!J(this,we)),J(this,bt)]}let r=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=At(this,Ht,Vr).call(this,t);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let u=this.toString();return Ee(this,be,[u]),this.type=null,Ee(this,we,void 0),[u,ct(this.toString()),!1,!1]}let o=!r||e||t||!gr?"":At(this,Ht,Vr).call(this,!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";if(this.type==="!"&&J(this,or))a=(this.isStart()&&!t?gr:"")+ti;else{let u=this.type==="!"?"))"+(this.isStart()&&!t&&!e?gr:"")+ei+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`;a=i+s+u}return[a,ct(s),Ee(this,we,!!J(this,we)),J(this,bt)]}};Le=new WeakMap,we=new WeakMap,bt=new WeakMap,be=new WeakMap,Ce=new WeakMap,Rt=new WeakMap,$t=new WeakMap,wt=new WeakMap,ht=new WeakMap,Bt=new WeakMap,or=new WeakMap,Ht=new WeakSet,ri=function(){if(this!==J(this,Le))throw new Error("should only call on root");if(J(this,wt))return this;this.toString(),Ee(this,wt,!0);let e;for(;e=J(this,$t).pop();){if(e.type!=="!")continue;let t=e,r=J(t,Ce);for(;r;){for(let i=J(t,Rt)+1;!r.type&&i<J(r,be).length;i++)for(let s of J(e,be)){if(typeof s=="string")throw new Error("string part in extglob AST??");s.copyIn(J(r,be)[i])}t=r,r=J(t,Ce)}}return this},Dt=new WeakSet,mr=function(e,t,r,i){var S,p;let s=!1,o=!1,a=-1,c=!1;if(t.type===null){let b=r,x="";for(;b<e.length;){let D=e.charAt(b++);if(s||D==="\\"){s=!s,x+=D;continue}if(o){b===a+1?(D==="^"||D==="!")&&(c=!0):D==="]"&&!(b===a+2&&c)&&(o=!1),x+=D;continue}else if(D==="["){o=!0,a=b,c=!1,x+=D;continue}if(!i.noext&&_n(D)&&e.charAt(b)==="("){t.push(x),x="";let R=new je(D,t);b=At(S=je,Dt,mr).call(S,e,R,b,i),t.push(R);continue}x+=D}return t.push(x),b}let u=r+1,h=new je(null,t),g=[],T="";for(;u<e.length;){let b=e.charAt(u++);if(s||b==="\\"){s=!s,T+=b;continue}if(o){u===a+1?(b==="^"||b==="!")&&(c=!0):b==="]"&&!(u===a+2&&c)&&(o=!1),T+=b;continue}else if(b==="["){o=!0,a=u,c=!1,T+=b;continue}if(_n(b)&&e.charAt(u)==="("){h.push(T),T="";let x=new je(b,h);h.push(x),u=At(p=je,Dt,mr).call(p,e,x,u,i);continue}if(b==="|"){h.push(T),T="",g.push(h),h=new je(null,t);continue}if(b===")")return T===""&&J(t,be).length===0&&Ee(t,or,!0),h.push(T),T="",t.push(...g,h),u;T+=b}return t.type=null,Ee(t,we,void 0),Ee(t,be,[e.substring(r-1)]),u},Vr=function(e){return J(this,be).map(t=>{if(typeof t=="string")throw new Error("string type in extglob ast??");let[r,i,s,o]=t.toRegExpSource(e);return Ee(this,bt,J(this,bt)||o),r}).filter(t=>!(this.isStart()&&this.isEnd())||!!t).join("|")},ni=function(e,t,r=!1){let i=!1,s="",o=!1;for(let a=0;a<e.length;a++){let c=e.charAt(a);if(i){i=!1,s+=(Lo.has(c)?"\\":"")+c;continue}if(c==="\\"){a===e.length-1?s+="\\\\":i=!0;continue}if(c==="["){let[u,h,g,T]=qn(e,a);if(g){s+=u,o=o||h,a+=g-1,t=t||T;continue}}if(c==="*"){r&&e==="*"?s+=ti:s+=ei,t=!0;continue}if(c==="?"){s+=Gr,t=!0;continue}s+=Oo(c)}return[s,ct(e),!!t,o]},He(je,Dt);var Gt=je;var zt=(n,{windowsPathsNoEscape:e=!1}={})=>e?n.replace(/[?*()[\]]/g,"[$&]"):n.replace(/[?*()[\]\\]/g,"\\$&");var Ue=(n,e,t={})=>(ir(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Et(e,t).match(n)),Ao=/^\*+([^+@!?\*\[\(]*)$/,Ro=n=>e=>!e.startsWith(".")&&e.endsWith(n),wo=n=>e=>e.endsWith(n),Do=n=>(n=n.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(n)),Po=n=>(n=n.toLowerCase(),e=>e.toLowerCase().endsWith(n)),ko=/^\*+\.\*+$/,Mo=n=>!n.startsWith(".")&&n.includes("."),Io=n=>n!=="."&&n!==".."&&n.includes("."),No=/^\.\*+$/,Fo=n=>n!=="."&&n!==".."&&n.startsWith("."),$o=/^\*+$/,Bo=n=>n.length!==0&&!n.startsWith("."),Ho=n=>n.length!==0&&n!=="."&&n!=="..",jo=/^\?+([^+@!?\*\[\(]*)?$/,Uo=([n,e=""])=>{let t=ai([n]);return e?(e=e.toLowerCase(),r=>t(r)&&r.toLowerCase().endsWith(e)):t},Xo=([n,e=""])=>{let t=li([n]);return e?(e=e.toLowerCase(),r=>t(r)&&r.toLowerCase().endsWith(e)):t},Jo=([n,e=""])=>{let t=li([n]);return e?r=>t(r)&&r.endsWith(e):t},Wo=([n,e=""])=>{let t=ai([n]);return e?r=>t(r)&&r.endsWith(e):t},ai=([n])=>{let e=n.length;return t=>t.length===e&&!t.startsWith(".")},li=([n])=>{let e=n.length;return t=>t.length===e&&t!=="."&&t!==".."},ui=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",ii={win32:{sep:"\\"},posix:{sep:"/"}},Vo=ui==="win32"?ii.win32.sep:ii.posix.sep;Ue.sep=Vo;var qe=Symbol("globstar **");Ue.GLOBSTAR=qe;var Go="[^/]",zo=Go+"*?",Ko="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Yo="(?:(?!(?:\\/|^)\\.).)*?",Qo=(n,e={})=>t=>Ue(t,n,e);Ue.filter=Qo;var et=(n,e={})=>Object.assign({},n,e),Zo=n=>{if(!n||typeof n!="object"||!Object.keys(n).length)return Ue;let e=Ue;return Object.assign((r,i,s={})=>e(r,i,et(n,s)),{Minimatch:class extends e.Minimatch{constructor(i,s={}){super(i,et(n,s))}static defaults(i){return e.defaults(et(n,i)).Minimatch}},AST:class extends e.AST{constructor(i,s,o={}){super(i,s,et(n,o))}static fromGlob(i,s={}){return e.AST.fromGlob(i,et(n,s))}},unescape:(r,i={})=>e.unescape(r,et(n,i)),escape:(r,i={})=>e.escape(r,et(n,i)),filter:(r,i={})=>e.filter(r,et(n,i)),defaults:r=>e.defaults(et(n,r)),makeRe:(r,i={})=>e.makeRe(r,et(n,i)),braceExpand:(r,i={})=>e.braceExpand(r,et(n,i)),match:(r,i,s={})=>e.match(r,i,et(n,s)),sep:e.sep,GLOBSTAR:qe})};Ue.defaults=Zo;var ci=(n,e={})=>(ir(n),e.nobrace||!/\{(?:(?!\{).)*\}/.test(n)?[n]:(0,oi.default)(n));Ue.braceExpand=ci;var qo=(n,e={})=>new Et(n,e).makeRe();Ue.makeRe=qo;var _o=(n,e,t={})=>{let r=new Et(e,t);return n=n.filter(i=>r.match(i)),r.options.nonull&&!n.length&&n.push(e),n};Ue.match=_o;var si=/[?*]|[+@!]\(.*?\)|\[|\]/,ea=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Et=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,t={}){ir(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||ui,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot!==void 0?t.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(let e of this.set)for(let t of e)if(typeof t!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let r=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){let c=s[0]===""&&s[1]===""&&(s[2]==="?"||!si.test(s[2]))&&!si.test(s[3]),u=/^[a-z]:/i.test(s[0]);if(c)return[...s.slice(0,4),...s.slice(4).map(h=>this.parse(h))];if(u)return[s[0],...s.slice(1).map(h=>this.parse(h))]}return s.map(c=>this.parse(c))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s<this.set.length;s++){let o=this.set[s];o[0]===""&&o[1]===""&&this.globParts[s][2]==="?"&&typeof o[3]=="string"&&/^[a-z]:$/i.test(o[3])&&(o[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let r=0;r<e.length;r++)for(let i=0;i<e[r].length;i++)e[r][i]==="**"&&(e[r][i]="*");let{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):t>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(t=>{let r=-1;for(;(r=t.indexOf("**",r+1))!==-1;){let i=r;for(;t[i+1]==="**";)i++;i!==r&&t.splice(r,i-r)}return t})}levelOneOptimize(e){return e.map(t=>(t=t.reduce((r,i)=>{let s=r[r.length-1];return i==="**"&&s==="**"?r:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(r.pop(),r):(r.push(i),r)},[]),t.length===0?[""]:t))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let i=1;i<e.length-1;i++){let s=e[i];i===1&&s===""&&e[0]===""||(s==="."||s==="")&&(t=!0,e.splice(i,1),i--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(t=!0,e.pop())}let r=0;for(;(r=e.indexOf("..",r+1))!==-1;){let i=e[r-1];i&&i!=="."&&i!==".."&&i!=="**"&&(t=!0,e.splice(r-1,2),r-=2)}}while(t);return e.length===0?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let r of e){let i=-1;for(;(i=r.indexOf("**",i+1))!==-1;){let o=i;for(;r[o+1]==="**";)o++;o>i&&r.splice(i+1,o-i);let a=r[i+1],c=r[i+2],u=r[i+3];if(a!==".."||!c||c==="."||c===".."||!u||u==="."||u==="..")continue;t=!0,r.splice(i,1);let h=r.slice(0);h[i]="**",e.push(h),i--}if(!this.preserveMultipleSlashes){for(let o=1;o<r.length-1;o++){let a=r[o];o===1&&a===""&&r[0]===""||(a==="."||a==="")&&(t=!0,r.splice(o,1),o--)}r[0]==="."&&r.length===2&&(r[1]==="."||r[1]==="")&&(t=!0,r.pop())}let s=0;for(;(s=r.indexOf("..",s+1))!==-1;){let o=r[s-1];if(o&&o!=="."&&o!==".."&&o!=="**"){t=!0;let c=s===1&&r[s+1]==="**"?["."]:[];r.splice(s-1,2,...c),r.length===0&&r.push(""),s-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let r=t+1;r<e.length;r++){let i=this.partsMatch(e[t],e[r],!this.preserveMultipleSlashes);i&&(e[t]=i,e[r]=[])}return e.filter(t=>t.length)}partsMatch(e,t,r=!1){let i=0,s=0,o=[],a="";for(;i<e.length&&s<t.length;)if(e[i]===t[s])o.push(a==="b"?t[s]:e[i]),i++,s++;else if(r&&e[i]==="**"&&t[s]===e[i+1])o.push(e[i]),i++;else if(r&&t[s]==="**"&&e[i]===t[s+1])o.push(t[s]),s++;else if(e[i]==="*"&&t[s]&&(this.options.dot||!t[s].startsWith("."))&&t[s]!=="**"){if(a==="b")return!1;a="a",o.push(e[i]),i++,s++}else if(t[s]==="*"&&e[i]&&(this.options.dot||!e[i].startsWith("."))&&e[i]!=="**"){if(a==="a")return!1;a="b",o.push(t[s]),i++,s++}else return!1;return e.length===t.length&&o}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r=!1){let i=this.options;if(this.isWindows){let b=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),x=!b&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),D=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),R=!D&&t[0]===""&&t[1]===""&&t[2]==="?"&&typeof t[3]=="string"&&/^[a-z]:$/i.test(t[3]),N=x?3:b?0:void 0,k=R?3:D?0:void 0;if(typeof N=="number"&&typeof k=="number"){let[m,C]=[e[N],t[k]];m.toLowerCase()===C.toLowerCase()&&(t[k]=m,k>N?t=t.slice(k):N>k&&(e=e.slice(N)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,a=0,c=e.length,u=t.length;o<c&&a<u;o++,a++){this.debug("matchOne loop");var h=t[a],g=e[o];if(this.debug(t,h,g),h===!1)return!1;if(h===qe){this.debug("GLOBSTAR",[t,h,g]);var T=o,S=a+1;if(S===u){for(this.debug("** at the end");o<c;o++)if(e[o]==="."||e[o]===".."||!i.dot&&e[o].charAt(0)===".")return!1;return!0}for(;T<c;){var p=e[T];if(this.debug(`
|
|
51
51
|
globstar while`,e,T,t,S,p),this.matchOne(e.slice(T),t.slice(S),r))return this.debug("globstar found match!",T,c,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,T,t,S);break}this.debug("globstar swallow a segment, and continue"),T++}return!!(r&&(this.debug(`
|
|
52
|
-
>>> no match, partial?`,e,T,t,S),T===c))}let b;if(typeof h=="string"?(b=g===h,this.debug("string match",h,g,b)):(b=h.test(g),this.debug("pattern match",h,g,b)),!b)return!1}if(o===c&&a===u)return!0;if(o===c)return r;if(a===u)return o===c-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return ci(this.pattern,this.options)}parse(e){ir(e);let t=this.options;if(e==="**")return qe;if(e==="")return"";let r,i=null;(r=e.match($o))?i=t.dot?Ho:Bo:(r=e.match(Ao))?i=(t.nocase?t.dot?Po:Do:t.dot?wo:Ro)(r[1]):(r=e.match(jo))?i=(t.nocase?t.dot?Xo:Uo:t.dot?Jo:Wo)(r):(r=e.match(ko))?i=t.dot?Io:Mo:(r=e.match(No))&&(i=Fo);let s=Gt.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?zo:t.dot?Ko:Yo,i=new Set(t.nocase?["i"]:[]),s=e.map(c=>{let u=c.map(h=>{if(h instanceof RegExp)for(let g of h.flags.split(""))i.add(g);return typeof h=="string"?ea(h):h===qe?qe:h._src});return u.forEach((h,g)=>{let T=u[g+1],S=u[g-1];h!==qe||S===qe||(S===void 0?T!==void 0&&T!==qe?u[g+1]="(?:\\/|"+r+"\\/)?"+T:u[g]=r:T===void 0?u[g-1]=S+"(?:\\/|"+r+")?":T!==qe&&(u[g-1]=S+"(?:\\/|\\/"+r+"\\/)"+T,u[g+1]=qe))}),u.filter(h=>h!==qe).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let r=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a<s.length;a++){let c=s[a],u=i;if(r.matchBase&&c.length===1&&(u=[o]),this.matchOne(u,c,t))return r.flipNegate?!0:!this.negate}return r.flipNegate?!1:this.negate}static defaults(e){return Ue.defaults(e).Minimatch}};Ue.AST=Gt;Ue.Minimatch=Et;Ue.escape=zt;Ue.unescape=ct;var Pt=require("./glob.js");var zr=(n,e={})=>{Array.isArray(n)||(n=[n]);for(let t of n)if(new Et(t,e).hasMagic())return!0;return!1};var oa=require("./glob.js");var cf=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux";function yr(n,e={}){return new Pt.Glob(n,e).streamSync()}function di(n,e={}){return new Pt.Glob(n,e).stream()}function hi(n,e={}){return new Pt.Glob(n,e).walkSync()}async function fi(n,e={}){return new Pt.Glob(n,e).walk()}function br(n,e={}){return new Pt.Glob(n,e).iterateSync()}function pi(n,e={}){return new Pt.Glob(n,e).iterate()}var ta=yr,ra=Object.assign(di,{sync:yr}),na=br,ia=Object.assign(pi,{sync:br}),sa=Object.assign(hi,{stream:yr,iterate:br}),vr=Object.assign(fi,{glob:fi,globSync:hi,sync:sa,globStream:di,stream:ra,globStreamSync:yr,streamSync:ta,globIterate:pi,iterate:ia,globIterateSync:br,iterateSync:na,Glob:Pt.Glob,hasMagic:zr,escape:zt,unescape:ct});vr.glob=vr;var ft=ye(require("path"));var Kt=ye(require("./graceful-fs.js")),Yt=require("util"),gi=(0,Yt.promisify)(Kt.default.copyFile),mi=(0,Yt.promisify)(Kt.default.mkdir),vi=(0,Yt.promisify)(Kt.default.readdir),bf=(0,Yt.promisify)(Kt.default.readFile),yi=(0,Yt.promisify)(Kt.default.stat);async function Ei(n,e){let t={diagnostics:[],dirPaths:[],filePaths:[]};try{n=Br(await Promise.all(n.map(s=>aa(s,e))));let r=[];for(;n.length>0;){let s=n.splice(0,100);await Promise.all(s.map(o=>Ti(t,r,o)))}let i=da(r);try{await Promise.all(i.map(s=>mi(s,{recursive:!0})))}catch{}for(;r.length>0;){let s=r.splice(0,100);await Promise.all(s.map(o=>gi(o.src,o.dest)))}}catch(r){Hr(t.diagnostics,r)}return t}async function aa(n,e){return Rn(n.src)?await ua(n,e):[{src:la(e,n.src),dest:n.keepDirStructure?ft.default.join(n.dest,n.src):n.dest,warn:n.warn,ignore:n.ignore,keepDirStructure:n.keepDirStructure}]}function la(n,e){return ft.default.isAbsolute(e)?e:ft.default.join(n,e)}async function ua(n,e){return(await Kr(n.src,{cwd:e,nodir:!0,ignore:n.ignore})).map(r=>ca(n,e,r))}function ca(n,e,t){let r=ft.default.join(n.dest,n.keepDirStructure?t:ft.default.basename(t));return{src:ft.default.join(e,t),dest:r,ignore:n.ignore,warn:n.warn,keepDirStructure:n.keepDirStructure}}async function Ti(n,e,t){try{t.src=me(t.src),t.dest=me(t.dest),(await yi(t.src)).isDirectory()?(n.dirPaths.includes(t.dest)||n.dirPaths.push(t.dest),await fa(n,e,t)):pa(t)||(n.filePaths.includes(t.dest)||n.filePaths.push(t.dest),e.push(t))}catch(r){if(t.warn!==!1){let i=rr(n.diagnostics);r instanceof Error&&(i.messageText=r.message)}}}async function fa(n,e,t){try{let r=await vi(t.src);await Promise.all(r.map(async i=>{let s={src:ft.default.join(t.src,i),dest:ft.default.join(t.dest,i),warn:t.warn};await Ti(n,e,s)}))}catch(r){Hr(n.diagnostics,r)}}function da(n){let e=[];return n.forEach(t=>{ha(e,ft.default.dirname(t.dest))}),e.sort((t,r)=>{let i=t.split("/").length,s=r.split("/").length;return i<s?-1:i>s?1:t<r?-1:t>r?1:0}),e}function ha(n,e){e=me(e),!(e===bi||e+"/"===bi||e==="")&&(n.includes(e)||n.push(e))}var bi=me(ft.default.resolve("/"));function pa({src:n,ignore:e=[]}){let t=n.trim().toLowerCase();return e.some(r=>t.endsWith(r))}function Kr(n,e){return vr(n,e)}var fs=ye(require("./graceful-fs.js")),ds=ye(require("path")),hs=ye(qr()),ps=ye(Bi()),gs=ye(cs()),Lr=class{constructor(e,t){this.nodeResolveModule=e;this.lazyDependencies=t;this.ensured=new Set}async ensure(e,t){let r=[],i=[];if(t.forEach(s=>{if(!this.ensured.has(s)){let{minVersion:o,recommendedVersion:a,maxVersion:c}=this.lazyDependencies[s];try{let u=this.nodeResolveModule.resolveModule(e,s),h=JSON.parse(fs.default.readFileSync(u,"utf8"));if(c?(0,gs.default)(h.version,`${o} - ${(0,ps.default)(c)}.x`):(0,hs.default)(o,h.version)){this.ensured.add(s);return}}catch{}i.push(`${s}@${a}`)}}),i.length>0){let s=rr(r);s.header="Please install supported versions of dev dependencies with either npm or yarn.",s.messageText=`npm install --save-dev ${i.join(" ")}`}return r}require(e,t){let r=this.getModulePath(e,t);return require(r)}getModulePath(e,t){let r=this.nodeResolveModule.resolveModule(e,t);return ds.default.dirname(r)}};var Or=ye(require("./graceful-fs.js")),Ge=ye(require("path")),Ar=class{constructor(){this.resolveModuleCache=new Map}resolveModule(e,t,r){let i=`${e}:${t}`,s=this.resolveModuleCache.get(i);if(s)return s;if(r&&r.manuallyResolve)return this.resolveModuleManually(e,t,i);if(t.startsWith("@types/"))return this.resolveTypesModule(e,t,i);let o=require("module");e=Ge.default.resolve(e);let a=Ge.default.join(e,"noop.js"),c=me(o._resolveFilename(t,{id:a,filename:a,paths:o._nodeModulePaths(e)})),u=me(Ge.default.parse(e).root),h;for(;c!==u;)if(c=me(Ge.default.dirname(c)),h=Ge.default.join(c,"package.json"),!!Or.default.existsSync(h))return this.resolveModuleCache.set(i,h),h;throw new Error(`error loading "${t}" from "${e}"`)}resolveTypesModule(e,t,r){let i=t.split("/"),s=me(Ge.default.parse(e).root),o=me(Ge.default.join(e,"noop.js")),a;for(;o!==s;)if(o=me(Ge.default.dirname(o)),a=Ge.default.join(o,"node_modules",i[0],i[1],"package.json"),!!Or.default.existsSync(a))return this.resolveModuleCache.set(r,a),a;throw new Error(`error loading "${t}" from "${e}"`)}resolveModuleManually(e,t,r){let i=me(Ge.default.parse(e).root),s=me(Ge.default.join(e,"noop.js")),o;for(;s!==i;)if(s=me(Ge.default.dirname(s)),o=Ge.default.join(s,"node_modules",t,"package.json"),!!Or.default.existsSync(o))return this.resolveModuleCache.set(r,o),o;throw new Error(`error loading "${t}" from "${e}"`)}};var un=ye(require("./graceful-fs.js")),Es=require("os"),Ts=ye(require("path")),xs=ye(en()),Ll="https://registry.npmjs.org/@stencil/core",Ol=1e3*60*60*24*7,ln="https://github.com/
|
|
52
|
+
>>> no match, partial?`,e,T,t,S),T===c))}let b;if(typeof h=="string"?(b=g===h,this.debug("string match",h,g,b)):(b=h.test(g),this.debug("pattern match",h,g,b)),!b)return!1}if(o===c&&a===u)return!0;if(o===c)return r;if(a===u)return o===c-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return ci(this.pattern,this.options)}parse(e){ir(e);let t=this.options;if(e==="**")return qe;if(e==="")return"";let r,i=null;(r=e.match($o))?i=t.dot?Ho:Bo:(r=e.match(Ao))?i=(t.nocase?t.dot?Po:Do:t.dot?wo:Ro)(r[1]):(r=e.match(jo))?i=(t.nocase?t.dot?Xo:Uo:t.dot?Jo:Wo)(r):(r=e.match(ko))?i=t.dot?Io:Mo:(r=e.match(No))&&(i=Fo);let s=Gt.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?zo:t.dot?Ko:Yo,i=new Set(t.nocase?["i"]:[]),s=e.map(c=>{let u=c.map(h=>{if(h instanceof RegExp)for(let g of h.flags.split(""))i.add(g);return typeof h=="string"?ea(h):h===qe?qe:h._src});return u.forEach((h,g)=>{let T=u[g+1],S=u[g-1];h!==qe||S===qe||(S===void 0?T!==void 0&&T!==qe?u[g+1]="(?:\\/|"+r+"\\/)?"+T:u[g]=r:T===void 0?u[g-1]=S+"(?:\\/|"+r+")?":T!==qe&&(u[g-1]=S+"(?:\\/|\\/"+r+"\\/)"+T,u[g+1]=qe))}),u.filter(h=>h!==qe).join("/")}).join("|"),[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let r=this.options;this.isWindows&&(e=e.split("\\").join("/"));let i=this.slashSplit(e);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a<s.length;a++){let c=s[a],u=i;if(r.matchBase&&c.length===1&&(u=[o]),this.matchOne(u,c,t))return r.flipNegate?!0:!this.negate}return r.flipNegate?!1:this.negate}static defaults(e){return Ue.defaults(e).Minimatch}};Ue.AST=Gt;Ue.Minimatch=Et;Ue.escape=zt;Ue.unescape=ct;var Pt=require("./glob.js");var zr=(n,e={})=>{Array.isArray(n)||(n=[n]);for(let t of n)if(new Et(t,e).hasMagic())return!0;return!1};var oa=require("./glob.js");var cf=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux";function yr(n,e={}){return new Pt.Glob(n,e).streamSync()}function di(n,e={}){return new Pt.Glob(n,e).stream()}function hi(n,e={}){return new Pt.Glob(n,e).walkSync()}async function fi(n,e={}){return new Pt.Glob(n,e).walk()}function br(n,e={}){return new Pt.Glob(n,e).iterateSync()}function pi(n,e={}){return new Pt.Glob(n,e).iterate()}var ta=yr,ra=Object.assign(di,{sync:yr}),na=br,ia=Object.assign(pi,{sync:br}),sa=Object.assign(hi,{stream:yr,iterate:br}),vr=Object.assign(fi,{glob:fi,globSync:hi,sync:sa,globStream:di,stream:ra,globStreamSync:yr,streamSync:ta,globIterate:pi,iterate:ia,globIterateSync:br,iterateSync:na,Glob:Pt.Glob,hasMagic:zr,escape:zt,unescape:ct});vr.glob=vr;var ft=ye(require("path"));var Kt=ye(require("./graceful-fs.js")),Yt=require("util"),gi=(0,Yt.promisify)(Kt.default.copyFile),mi=(0,Yt.promisify)(Kt.default.mkdir),vi=(0,Yt.promisify)(Kt.default.readdir),bf=(0,Yt.promisify)(Kt.default.readFile),yi=(0,Yt.promisify)(Kt.default.stat);async function Ei(n,e){let t={diagnostics:[],dirPaths:[],filePaths:[]};try{n=Br(await Promise.all(n.map(s=>aa(s,e))));let r=[];for(;n.length>0;){let s=n.splice(0,100);await Promise.all(s.map(o=>Ti(t,r,o)))}let i=da(r);try{await Promise.all(i.map(s=>mi(s,{recursive:!0})))}catch{}for(;r.length>0;){let s=r.splice(0,100);await Promise.all(s.map(o=>gi(o.src,o.dest)))}}catch(r){Hr(t.diagnostics,r)}return t}async function aa(n,e){return Rn(n.src)?await ua(n,e):[{src:la(e,n.src),dest:n.keepDirStructure?ft.default.join(n.dest,n.src):n.dest,warn:n.warn,ignore:n.ignore,keepDirStructure:n.keepDirStructure}]}function la(n,e){return ft.default.isAbsolute(e)?e:ft.default.join(n,e)}async function ua(n,e){return(await Kr(n.src,{cwd:e,nodir:!0,ignore:n.ignore})).map(r=>ca(n,e,r))}function ca(n,e,t){let r=ft.default.join(n.dest,n.keepDirStructure?t:ft.default.basename(t));return{src:ft.default.join(e,t),dest:r,ignore:n.ignore,warn:n.warn,keepDirStructure:n.keepDirStructure}}async function Ti(n,e,t){try{t.src=me(t.src),t.dest=me(t.dest),(await yi(t.src)).isDirectory()?(n.dirPaths.includes(t.dest)||n.dirPaths.push(t.dest),await fa(n,e,t)):pa(t)||(n.filePaths.includes(t.dest)||n.filePaths.push(t.dest),e.push(t))}catch(r){if(t.warn!==!1){let i=rr(n.diagnostics);r instanceof Error&&(i.messageText=r.message)}}}async function fa(n,e,t){try{let r=await vi(t.src);await Promise.all(r.map(async i=>{let s={src:ft.default.join(t.src,i),dest:ft.default.join(t.dest,i),warn:t.warn};await Ti(n,e,s)}))}catch(r){Hr(n.diagnostics,r)}}function da(n){let e=[];return n.forEach(t=>{ha(e,ft.default.dirname(t.dest))}),e.sort((t,r)=>{let i=t.split("/").length,s=r.split("/").length;return i<s?-1:i>s?1:t<r?-1:t>r?1:0}),e}function ha(n,e){e=me(e),!(e===bi||e+"/"===bi||e==="")&&(n.includes(e)||n.push(e))}var bi=me(ft.default.resolve("/"));function pa({src:n,ignore:e=[]}){let t=n.trim().toLowerCase();return e.some(r=>t.endsWith(r))}function Kr(n,e){return vr(n,e)}var fs=ye(require("./graceful-fs.js")),ds=ye(require("path")),hs=ye(qr()),ps=ye(Bi()),gs=ye(cs()),Lr=class{constructor(e,t){this.nodeResolveModule=e;this.lazyDependencies=t;this.ensured=new Set}async ensure(e,t){let r=[],i=[];if(t.forEach(s=>{if(!this.ensured.has(s)){let{minVersion:o,recommendedVersion:a,maxVersion:c}=this.lazyDependencies[s];try{let u=this.nodeResolveModule.resolveModule(e,s),h=JSON.parse(fs.default.readFileSync(u,"utf8"));if(c?(0,gs.default)(h.version,`${o} - ${(0,ps.default)(c)}.x`):(0,hs.default)(o,h.version)){this.ensured.add(s);return}}catch{}i.push(`${s}@${a}`)}}),i.length>0){let s=rr(r);s.header="Please install supported versions of dev dependencies with either npm or yarn.",s.messageText=`npm install --save-dev ${i.join(" ")}`}return r}require(e,t){let r=this.getModulePath(e,t);return require(r)}getModulePath(e,t){let r=this.nodeResolveModule.resolveModule(e,t);return ds.default.dirname(r)}};var Or=ye(require("./graceful-fs.js")),Ge=ye(require("path")),Ar=class{constructor(){this.resolveModuleCache=new Map}resolveModule(e,t,r){let i=`${e}:${t}`,s=this.resolveModuleCache.get(i);if(s)return s;if(r&&r.manuallyResolve)return this.resolveModuleManually(e,t,i);if(t.startsWith("@types/"))return this.resolveTypesModule(e,t,i);let o=require("module");e=Ge.default.resolve(e);let a=Ge.default.join(e,"noop.js"),c=me(o._resolveFilename(t,{id:a,filename:a,paths:o._nodeModulePaths(e)})),u=me(Ge.default.parse(e).root),h;for(;c!==u;)if(c=me(Ge.default.dirname(c)),h=Ge.default.join(c,"package.json"),!!Or.default.existsSync(h))return this.resolveModuleCache.set(i,h),h;throw new Error(`error loading "${t}" from "${e}"`)}resolveTypesModule(e,t,r){let i=t.split("/"),s=me(Ge.default.parse(e).root),o=me(Ge.default.join(e,"noop.js")),a;for(;o!==s;)if(o=me(Ge.default.dirname(o)),a=Ge.default.join(o,"node_modules",i[0],i[1],"package.json"),!!Or.default.existsSync(a))return this.resolveModuleCache.set(r,a),a;throw new Error(`error loading "${t}" from "${e}"`)}resolveModuleManually(e,t,r){let i=me(Ge.default.parse(e).root),s=me(Ge.default.join(e,"noop.js")),o;for(;s!==i;)if(s=me(Ge.default.dirname(s)),o=Ge.default.join(s,"node_modules",t,"package.json"),!!Or.default.existsSync(o))return this.resolveModuleCache.set(r,o),o;throw new Error(`error loading "${t}" from "${e}"`)}};var un=ye(require("./graceful-fs.js")),Es=require("os"),Ts=ye(require("path")),xs=ye(en()),Ll="https://registry.npmjs.org/@stencil/core",Ol=1e3*60*60*24*7,ln="https://github.com/stenciljs/core/blob/main/CHANGELOG.md";async function Cs(n,e){try{let t=await Al(n);if(t!=null)return()=>{(0,xs.default)(e,t)?Pl(n,e,t):console.debug(`${n.cyan("@stencil/core")} version ${n.green(e)} is the latest version`)}}catch(t){n.debug(`unable to load latest compiler version: ${t}`)}return On}async function Al(n){try{let e=await Dl();if(e==null)return ms(),null;if(!wl(Date.now(),e,Ol))return null;let t=ms(),r=await Rl(Ll),i=JSON.parse(r);return await t,i["dist-tags"].latest}catch(e){n.debug(`getLatestCompilerVersion error: ${e}`)}return null}async function Rl(n){let e=await import("https");return new Promise((t,r)=>{let i=e.request(n,s=>{if(s.statusCode>299){r(`url: ${n}, staus: ${s.statusCode}`);return}s.once("error",r);let o=[];s.once("end",()=>{t(o.join(""))}),s.on("data",a=>{o.push(a)})});i.once("error",r),i.end()})}function wl(n,e,t){return e+t<n}function Dl(){return new Promise(n=>{un.default.readFile(Ss(),"utf8",(e,t)=>{if(!e&&Nt(t))try{n(JSON.parse(t))}catch{}n(null)})})}function ms(){return new Promise(n=>{let e=JSON.stringify(Date.now());un.default.writeFile(Ss(),e,()=>{n()})})}function Ss(){return Ts.default.join((0,Es.tmpdir)(),"stencil_last_version_node.json")}function Pl(n,e,t){let r="npm install @stencil/core",i=[`Update available: ${e} ${kl} ${t}`,"To get the latest, please run:",r,ln],s=i.reduce((h,g)=>g.length>h?g.length:h,0),o=[],a=Ml;for(;a.length<=s+Rr*2;)a+=ys;a+=Il,o.push(a),i.forEach(h=>{let g=vs;for(let T=0;T<Rr;T++)g+=" ";for(g+=h;g.length<=s+Rr*2;)g+=" ";g+=vs,o.push(g)});let c=Nl;for(;c.length<=s+Rr*2;)c+=ys;c+=Fl,o.push(c);let u=`${bs}${o.join(`
|
|
53
53
|
${bs}`)}
|
|
54
54
|
`;u=u.replace(e,n.red(e)),u=u.replace(t,n.green(t)),u=u.replace(r,n.cyan(r)),u=u.replace(ln,n.dim(ln)),console.log(u)}var kl="\u2192",Ml="\u256D",Il="\u256E",Nl="\u2570",Fl="\u256F",vs="\u2502",ys="\u2500",Rr=2,bs=" ";var As=require("events"),Rs=require("os");var Ls=ye(require("child_process")),Os=require("events"),wr=class extends Os.EventEmitter{constructor(t,r){super();this.id=t;this.tasks=new Map;this.exitCode=null;this.processQueue=!0;this.sendQueue=[];this.stopped=!1;this.successfulMessage=!1;this.totalTasksAssigned=0;this.fork(r)}fork(t){let i={execArgv:process.execArgv.filter(s=>!/^--(debug|inspect)/.test(s)),env:process.env,cwd:process.cwd(),silent:!0};this.childProcess=Ls.fork(t,[],i),this.childProcess.stdout.setEncoding("utf8"),this.childProcess.stdout.on("data",s=>{console.log(s)}),this.childProcess.stderr.setEncoding("utf8"),this.childProcess.stderr.on("data",s=>{console.log(s)}),this.childProcess.on("message",this.receiveFromWorker.bind(this)),this.childProcess.on("error",s=>{this.emit("error",s)}),this.childProcess.once("exit",s=>{this.exitCode=s,this.emit("exit",s)})}run(t){this.totalTasksAssigned++,this.tasks.set(t.stencilId,t);let[r,...i]=t.inputArgs;this.sendToWorker({stencilId:t.stencilId,method:r,args:i})}sendToWorker(t){if(!this.processQueue){this.sendQueue.push(t);return}(!this.childProcess.send(t,i=>{if(!(i&&i instanceof Error)&&(this.processQueue=!0,this.sendQueue.length>0)){let s=this.sendQueue.slice();this.sendQueue=[],s.forEach(o=>this.sendToWorker(o))}})||/^win/.test(process.platform))&&(this.processQueue=!1)}receiveFromWorker(t){if(this.successfulMessage=!0,this.stopped)return;let r=this.tasks.get(t.stencilId);if(!r){t.stencilRtnError!=null&&this.emit("error",t.stencilRtnError);return}t.stencilRtnError!=null?r.reject(t.stencilRtnError):r.resolve(t.stencilRtnValue),this.tasks.delete(t.stencilId),this.emit("response",t)}stop(){this.stopped=!0,this.tasks.forEach(t=>t.reject(Ft)),this.tasks.clear(),this.successfulMessage?(this.childProcess.send({exit:!0}),setTimeout(()=>{this.exitCode===null&&this.childProcess.kill("SIGKILL")},100)):this.childProcess.kill("SIGKILL")}};var Dr=class extends As.EventEmitter{constructor(t,r){super();this.forkModulePath=t;this.workerIds=0;this.stencilId=0;this.isEnding=!1;this.taskQueue=[];this.workers=[];let i=(0,Rs.cpus)().length;this.useForkedWorkers=r>0,this.maxWorkers=Math.max(Math.min(r,i),2)-1,this.useForkedWorkers?this.startWorkers():this.mainThreadRunner=require(t)}onError(t,r){if(t.code==="ERR_IPC_CHANNEL_CLOSED")return this.stopWorker(r);t.code!=="EPIPE"&&console.error(t)}onExit(t){setTimeout(()=>{let r=!1,i=this.workers.find(s=>s.id===t);i&&(i.tasks.forEach(s=>{s.retries++,this.taskQueue.unshift(s),r=!0}),i.tasks.clear()),this.stopWorker(t),r&&this.processTaskQueue()},10)}startWorkers(){for(;this.workers.length<this.maxWorkers;)this.startWorker()}startWorker(){let t=this.workerIds++,r=new wr(t,this.forkModulePath);r.on("response",this.processTaskQueue.bind(this)),r.once("exit",()=>{this.onExit(t)}),r.on("error",i=>{this.onError(i,t)}),this.workers.push(r)}stopWorker(t){let r=this.workers.find(i=>i.id===t);if(r){r.stop();let i=this.workers.indexOf(r);i>-1&&this.workers.splice(i,1)}}processTaskQueue(){if(!this.isEnding)for(this.useForkedWorkers&&this.startWorkers();this.taskQueue.length>0;){let t=$l(this.workers);if(!t)break;t.run(this.taskQueue.shift())}}send(...t){return this.isEnding?Promise.reject(Ft):this.useForkedWorkers?new Promise((r,i)=>{let s={stencilId:this.stencilId++,inputArgs:t,retries:0,resolve:r,reject:i};this.taskQueue.push(s),this.processTaskQueue()}):this.mainThreadRunner[t[0]].apply(null,t.slice(1))}handler(t){return(...r)=>this.send(t,...r)}cancelTasks(){for(let t of this.workers)t.tasks.forEach(r=>r.reject(Ft)),t.tasks.clear();this.taskQueue.length=0}destroy(){if(!this.isEnding){this.isEnding=!0;for(let r of this.taskQueue)r.reject(Ft);this.taskQueue.length=0;let t=this.workers.map(r=>r.id);for(let r of t)this.stopWorker(r)}}};function $l(n){let e=n.filter(r=>!r.stopped);return e.length===0?null:e.sort((r,i)=>r.tasks.size<i.tasks.size?-1:r.tasks.size>i.tasks.size?1:r.totalTasksAssigned<i.totalTasksAssigned?-1:r.totalTasksAssigned>i.totalTasksAssigned?1:0)[0]}function ks(n={}){var S;let e=(S=n==null?void 0:n.process)!=null?S:global.process,t=n==null?void 0:n.logger,r=new Set,i=[],s=(0,tt.cpus)(),o=s.length,a=(0,tt.platform)(),c=fe.default.join(__dirname,"..","..","compiler","stencil.js"),u=fe.default.join(__dirname,"..","..","dev-server","index.js"),h=()=>{let p=[],b;for(;An(b=i.pop());)try{let x=b();p.push(x)}catch{}return Promise.all(p).then(()=>{})},g={name:"node",version:e.versions.node,access(p){return new Promise(b=>{ce.default.access(p,x=>b(!x))})},accessSync(p){let b=!1;try{ce.default.accessSync(p),b=!0}catch{}return b},addDestroy(p){r.add(p)},removeDestroy(p){r.delete(p)},applyPrerenderGlobalPatch(p){if(typeof global.fetch!="function"){let b=require(fe.default.join(__dirname,"node-fetch.js"));global.fetch=(x,D)=>{if(typeof x=="string"){let R=new URL(x,p.devServerHostUrl).href;return b.fetch(R,D)}else return x.url=new URL(x.url,p.devServerHostUrl).href,b.fetch(x,D)},global.Headers=b.Headers,global.Request=b.Request,global.Response=b.Response,global.FetchError=b.FetchError}p.window.fetch=global.fetch,p.window.Headers=global.Headers,p.window.Request=global.Request,p.window.Response=global.Response,p.window.FetchError=global.FetchError},fetch:(p,b)=>{let x=require(fe.default.join(__dirname,"node-fetch.js"));if(typeof p=="string"){let D=new URL(p).href;return x.fetch(D,b)}else return p.url=new URL(p.url).href,x.fetch(p,b)},checkVersion:Cs,copyFile(p,b){return new Promise(x=>{ce.default.copyFile(p,b,D=>{x(!D)})})},createDir(p,b){return new Promise(x=>{b?ce.default.mkdir(p,b,D=>{x({basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,newDirs:[],error:D})}):ce.default.mkdir(p,D=>{x({basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,newDirs:[],error:D})})})},createDirSync(p,b){let x={basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,newDirs:[],error:null};try{ce.default.mkdirSync(p,b)}catch(D){x.error=D}return x},createWorkerController(p){let b=fe.default.join(__dirname,"worker.js");return new Dr(b,p)},async destroy(){let p=[];r.forEach(b=>{try{let x=b();x&&typeof x.then=="function"&&p.push(x)}catch(x){console.error(`node sys destroy: ${x}`)}}),p.length>0&&await Promise.all(p),r.clear()},dynamicImport(p){return Promise.resolve(require(p))},encodeToBase64(p){return Buffer.from(p).toString("base64")},async ensureDependencies(){return console.warn("ensureDependencies will be removed in a future version of Stencil."),console.warn("To get the stencilPath, please use getCompilerExecutingPath()."),{stencilPath:g.getCompilerExecutingPath(),diagnostics:[]}},async ensureResources(){console.warn("ensureResources is a no-op, and will be removed in a future version of Stencil")},exit:async p=>{await h(),(0,Ds.default)(p)},getCurrentDirectory(){return me(e.cwd())},getCompilerExecutingPath(){return c},getDevServerExecutingPath(){return u},getEnvironmentVar(p){return process.env[p]},getLocalModulePath(){return null},getRemoteModuleUrl(){return null},glob:Kr,hardwareConcurrency:o,isSymbolicLink(p){return new Promise(b=>{try{ce.default.lstat(p,(x,D)=>{b(x?!1:D.isSymbolicLink())})}catch{b(!1)}})},nextTick:e.nextTick,normalizePath:me,onProcessInterrupt:p=>{i.includes(p)||i.push(p)},platformPath:fe.default,readDir(p){return new Promise(b=>{ce.default.readdir(p,(x,D)=>{b(x?[]:D.map(R=>me(fe.default.join(p,R))))})})},parseYarnLockFile(p){return(0,ws.parse)(p)},isTTY(){var p;return!!((p=process==null?void 0:process.stdout)!=null&&p.isTTY)},readDirSync(p){try{return ce.default.readdirSync(p).map(b=>me(fe.default.join(p,b)))}catch{}return[]},readFile(p,b){return b==="binary"?new Promise(x=>{ce.default.readFile(p,(D,R)=>{x(R)})}):new Promise(x=>{ce.default.readFile(p,"utf8",(D,R)=>{x(R)})})},readFileSync(p){try{return ce.default.readFileSync(p,"utf8")}catch{}},homeDir(){try{return Ps.homedir()}catch{}},realpath(p){return new Promise(b=>{ce.default.realpath(p,"utf8",(x,D)=>{b({path:D,error:x})})})},realpathSync(p){let b={path:void 0,error:null};try{b.path=ce.default.realpathSync(p,"utf8")}catch(x){b.error=x}return b},rename(p,b){return new Promise(x=>{ce.default.rename(p,b,D=>{x({oldPath:p,newPath:b,error:D,oldDirs:[],oldFiles:[],newDirs:[],newFiles:[],renamed:[],isFile:!1,isDirectory:!1})})})},resolvePath(p){return me(p)},removeDir(p,b){return new Promise(x=>{!!(b&&b.recursive)?ce.default.rm(p,{recursive:!0,force:!0},R=>{x({basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,removedDirs:[],removedFiles:[],error:R})}):ce.default.rmdir(p,R=>{x({basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,removedDirs:[],removedFiles:[],error:R})})})},removeDirSync(p,b){try{return!!(b&&b.recursive)?ce.default.rmSync(p,{recursive:!0,force:!0}):ce.default.rmdirSync(p),{basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,removedDirs:[],removedFiles:[],error:null}}catch(x){return{basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,removedDirs:[],removedFiles:[],error:x}}},removeFile(p){return new Promise(b=>{ce.default.unlink(p,x=>{b({basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,error:x})})})},removeFileSync(p){let b={basename:fe.default.basename(p),dirname:fe.default.dirname(p),path:p,error:null};try{ce.default.unlinkSync(p)}catch(x){b.error=x}return b},setupCompiler(p){let b=p.ts,x=b.sys.watchDirectory,D=b.sys.watchFile;g.watchTimeout=80,g.events=$n(),g.watchDirectory=(R,N,k)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir ${R}`);let m=x(R,L=>{t==null||t.debug(`NODE_SYS_DEBUG::watchDir:callback dir=${R} changedPath=${L}`),N(me(L),"fileUpdate")},k),C=()=>{m.close()};return g.addDestroy(C),{close(){g.removeDestroy(C),m.close()}}},g.watchFile=(R,N)=>{t==null||t.debug(`NODE_SYS_DEBUG::watchFile ${R}`);let k=D(R,(C,L)=>{C=me(C),L===b.FileWatcherEventKind.Created?(N(C,"fileAdd"),g.events.emit("fileAdd",C)):L===b.FileWatcherEventKind.Changed?(N(C,"fileUpdate"),g.events.emit("fileUpdate",C)):L===b.FileWatcherEventKind.Deleted&&(N(C,"fileDelete"),g.events.emit("fileDelete",C))},250,{watchFile:b.WatchFileKind.FixedPollingInterval,fallbackPolling:b.PollingWatchKind.FixedInterval}),m=()=>{k.close()};return g.addDestroy(m),{close(){g.removeDestroy(m),k.close()}}}},stat(p){return new Promise(b=>{ce.default.stat(p,(x,D)=>{b(x?{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:x}:{isDirectory:D.isDirectory(),isFile:D.isFile(),isSymbolicLink:D.isSymbolicLink(),size:D.size,mtimeMs:D.mtimeMs,error:null})})})},statSync(p){try{let b=ce.default.statSync(p);return{isDirectory:b.isDirectory(),isFile:b.isFile(),isSymbolicLink:b.isSymbolicLink(),size:b.size,mtimeMs:b.mtimeMs,error:null}}catch(b){return{isDirectory:!1,isFile:!1,isSymbolicLink:!1,size:0,mtimeMs:0,error:b}}},tmpDirSync(){return(0,tt.tmpdir)()},writeFile(p,b){return new Promise(x=>{ce.default.writeFile(p,b,D=>{x({path:p,error:D})})})},writeFileSync(p,b){let x={path:p,error:null};try{ce.default.writeFileSync(p,b)}catch(D){x.error=D}return x},generateContentHash(p,b){let x=(0,cn.createHash)("sha1").update(p).digest("hex").toLowerCase();return typeof b=="number"&&(x=x.slice(0,b)),Promise.resolve(x)},generateFileHash(p,b){return new Promise((x,D)=>{let R=(0,cn.createHash)("sha1");ce.default.createReadStream(p).on("error",N=>D(N)).on("data",N=>R.update(N)).on("end",()=>{let N=R.digest("hex").toLowerCase();typeof b=="number"&&(N=N.slice(0,b)),x(N)})})},copy:Ei,details:{cpuModel:(Array.isArray(s)&&s.length>0?s[0]&&s[0].model:"")||"",freemem(){return(0,tt.freemem)()},platform:a==="darwin"||a==="linux"?a:a==="win32"?"windows":"",release:(0,tt.release)(),totalmem:(0,tt.totalmem)()}},T=new Ar;return g.lazyRequire=new Lr(T,{"@types/jest":{minVersion:"24.9.1",recommendedVersion:"29",maxVersion:"29.0.0"},jest:{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},"jest-cli":{minVersion:"24.9.0",recommendedVersion:"29",maxVersion:"29.0.0"},puppeteer:{minVersion:"10.0.0",recommendedVersion:"20"},"puppeteer-core":{minVersion:"10.0.0",recommendedVersion:"20"},"workbox-build":{minVersion:"4.3.1",recommendedVersion:"4.3.1"}}),e.on("SIGINT",h),e.on("exit",h),g}0&&(module.exports={createNodeLogger,createNodeSys,setupNodeProcess});
|
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System Worker v4.27.
|
|
2
|
+
Stencil Node System Worker v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";var f=Object.create;var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var g=(n,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of E(t))!R.call(n,e)&&e!==r&&d(n,e,{get:()=>t[e],enumerable:!(s=p(t,e))||s.enumerable});return n};var c=(n,t,r)=>(r=n!=null?f(y(n)):{},g(t||!n||!n.__esModule?d(r,"default",{value:n,enumerable:!0}):r,n));var l=c(require("../../compiler/stencil.js")),m=c(require("../../sys/node/index.js"));var a=(n,t)=>{let r=e=>{e&&e.code==="ERR_IPC_CHANNEL_CLOSED"&&n.exit(0)},s=(e,o)=>{let i={stencilId:e,stencilRtnValue:null,stencilRtnError:"Error"};typeof o=="string"?i.stencilRtnError+=": "+o:o&&(o.stack?i.stencilRtnError+=": "+o.stack:o.message&&(i.stencilRtnError+=":"+o.message)),n.send(i,r)};n.on("message",async e=>{if(e&&typeof e.stencilId=="number")try{let o={stencilId:e.stencilId,stencilRtnValue:await t(e),stencilRtnError:null};n.send(o,r)}catch(o){s(e.stencilId,o)}}),n.on("unhandledRejection",e=>{s(-1,e)})};var k=m.createNodeSys({process}),M=l.createWorkerMessageHandler(k);a(process,M);
|
package/testing/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Testing v4.27.
|
|
2
|
+
Stencil Testing v4.27.2-dev.1741064500.30fc9f5 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
|
|
@@ -7229,7 +7229,7 @@ var validateConfig = (userConfig = {}, bootstrapConfig) => {
|
|
|
7229
7229
|
}, []);
|
|
7230
7230
|
if ((_k = validatedConfig.nodeResolve) == null ? void 0 : _k.customResolveOptions) {
|
|
7231
7231
|
const warn = buildWarn(diagnostics);
|
|
7232
|
-
warn.messageText = `nodeResolve.customResolveOptions is a deprecated option in a Stencil Configuration file. If you need this option, please open a new issue in the Stencil repository (https://github.com/
|
|
7232
|
+
warn.messageText = `nodeResolve.customResolveOptions is a deprecated option in a Stencil Configuration file. If you need this option, please open a new issue in the Stencil repository (https://github.com/stenciljs/core/issues/new/choose)`;
|
|
7233
7233
|
}
|
|
7234
7234
|
CACHED_VALIDATED_CONFIG = validatedConfig;
|
|
7235
7235
|
return {
|