@webreact/webreact-components
Advanced tools
Comparing version 0.4.7 to 0.4.9
@@ -5,4 +5,3 @@ 'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const appGlobals = require('./app-globals-3a1e7e63.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
@@ -13,16 +12,2 @@ /* | ||
const patchEsm = () => { | ||
// NOTE!! This fn cannot use async/await! | ||
// @ts-ignore | ||
if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) { | ||
// @ts-ignore | ||
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-403959ac.js'); }).then(() => { | ||
if ((index.plt.$cssShim$ = index.win.__cssshim)) { | ||
return index.plt.$cssShim$.i(); | ||
} | ||
else { | ||
// for better minification | ||
return 0; | ||
} | ||
}); | ||
} | ||
return index.promiseResolve(); | ||
@@ -34,4 +19,3 @@ }; | ||
return patchEsm().then(() => { | ||
appGlobals.globalScripts(); | ||
return index.bootstrapLazy([["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-block-meta.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-highlight.cjs",[[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}]]],["wr-highlight-grid.cjs",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon.cjs",[[1,"wr-logo-icon"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
return index.bootstrapLazy([["wr-accordion_8.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}],[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}],[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}],[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo-icon.cjs",[[1,"wr-logo-icon"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
}); | ||
@@ -38,0 +22,0 @@ }; |
'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const appGlobals = require('./app-globals-3a1e7e63.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
@@ -9,120 +8,13 @@ /* | ||
*/ | ||
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`; | ||
const patchBrowser = () => { | ||
// NOTE!! This fn cannot use async/await! | ||
if (index.BUILD.isDev && !index.BUILD.isTesting) { | ||
index.consoleDevInfo('Running in development mode.'); | ||
} | ||
if (index.BUILD.cssVarShim) { | ||
// shim css vars | ||
index.plt.$cssShim$ = index.win.__cssshim; | ||
} | ||
if (index.BUILD.cloneNodeFix) { | ||
// opted-in to polyfill cloneNode() for slot polyfilled components | ||
patchCloneNodeFix(index.H.prototype); | ||
} | ||
if (index.BUILD.profile && !performance.mark) { | ||
// not all browsers support performance.mark/measure (Safari 10) | ||
performance.mark = performance.measure = () => { | ||
/*noop*/ | ||
}; | ||
performance.getEntriesByName = () => []; | ||
} | ||
// @ts-ignore | ||
const scriptElm = index.BUILD.scriptDataOpts || index.BUILD.safari10 || index.BUILD.dynamicImportShim | ||
? Array.from(index.doc.querySelectorAll('script')).find((s) => new RegExp(`\/${index.NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || | ||
s.getAttribute('data-stencil-namespace') === index.NAMESPACE) | ||
: null; | ||
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('webreact.cjs.js', document.baseURI).href)); | ||
const opts = index.BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {}; | ||
if (index.BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) { | ||
// Safari < v11 support: This IF is true if it's Safari below v11. | ||
// This fn cannot use async/await since Safari didn't support it until v11, | ||
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule", | ||
// so both the ESM file and nomodule file would get downloaded. Only Safari | ||
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added | ||
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue. | ||
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds. | ||
return { | ||
then() { | ||
/* promise noop */ | ||
}, | ||
}; | ||
} | ||
if (!index.BUILD.safari10 && importMeta !== '') { | ||
const opts = {}; | ||
if (importMeta !== '') { | ||
opts.resourcesUrl = new URL('.', importMeta).href; | ||
} | ||
else if (index.BUILD.dynamicImportShim || index.BUILD.safari10) { | ||
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, index.win.location.href)).href; | ||
if (index.BUILD.dynamicImportShim) { | ||
patchDynamicImport(opts.resourcesUrl, scriptElm); | ||
} | ||
if (index.BUILD.dynamicImportShim && !index.win.customElements) { | ||
// module support, but no custom elements support (Old Edge) | ||
// @ts-ignore | ||
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-dom" */ './dom-500ce210.js'); }).then(() => opts); | ||
} | ||
} | ||
return index.promiseResolve(opts); | ||
}; | ||
const patchDynamicImport = (base, orgScriptElm) => { | ||
const importFunctionName = getDynamicImportFunction(index.NAMESPACE); | ||
try { | ||
// test if this browser supports dynamic imports | ||
// There is a caching issue in V8, that breaks using import() in Function | ||
// By generating a random string, we can workaround it | ||
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info | ||
index.win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`); | ||
} | ||
catch (e) { | ||
// this shim is specifically for browsers that do support "esm" imports | ||
// however, they do NOT support "dynamic" imports | ||
// basically this code is for old Edge, v18 and below | ||
const moduleMap = new Map(); | ||
index.win[importFunctionName] = (src) => { | ||
const url = new URL(src, base).href; | ||
let mod = moduleMap.get(url); | ||
if (!mod) { | ||
const script = index.doc.createElement('script'); | ||
script.type = 'module'; | ||
script.crossOrigin = orgScriptElm.crossOrigin; | ||
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], { | ||
type: 'application/javascript', | ||
})); | ||
mod = new Promise((resolve) => { | ||
script.onload = () => { | ||
resolve(index.win[importFunctionName].m); | ||
script.remove(); | ||
}; | ||
}); | ||
moduleMap.set(url, mod); | ||
index.doc.head.appendChild(script); | ||
} | ||
return mod; | ||
}; | ||
} | ||
}; | ||
const patchCloneNodeFix = (HTMLElementPrototype) => { | ||
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode; | ||
HTMLElementPrototype.cloneNode = function (deep) { | ||
if (this.nodeName === 'TEMPLATE') { | ||
return nativeCloneNodeFn.call(this, deep); | ||
} | ||
const clonedNode = nativeCloneNodeFn.call(this, false); | ||
const srcChildNodes = this.childNodes; | ||
if (deep) { | ||
for (let i = 0; i < srcChildNodes.length; i++) { | ||
// Node.ATTRIBUTE_NODE === 2, and checking because IE11 | ||
if (srcChildNodes[i].nodeType !== 2) { | ||
clonedNode.appendChild(srcChildNodes[i].cloneNode(true)); | ||
} | ||
} | ||
} | ||
return clonedNode; | ||
}; | ||
}; | ||
patchBrowser().then(options => { | ||
appGlobals.globalScripts(); | ||
return index.bootstrapLazy([["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-block-meta.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-highlight.cjs",[[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}]]],["wr-highlight-grid.cjs",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon.cjs",[[1,"wr-logo-icon"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
return index.bootstrapLazy([["wr-accordion_8.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}],[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}],[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}],[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo-icon.cjs",[[1,"wr-logo-icon"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
}); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
@@ -8,0 +8,0 @@ const wrFooterCss = ":host{display:block}"; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
@@ -8,0 +8,0 @@ const wrLogoIconCss = ":host{display:block}"; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
@@ -8,0 +8,0 @@ const wrMenuItemCss = ":host{display:block}.wr-menu-item{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);font-weight:700;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0.6;cursor:pointer;text-decoration:none;position:relative}.wr-menu-item .play-arrow{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0}.wr-menu-item:hover{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-bg-opacity:1;--tw-text-opacity:1}.wr-menu-item--large{font-size:2rem;line-height:2.75rem}@media (min-width: 1024px){.wr-menu-item--large{font-size:2.5rem;line-height:3.5rem}}.wr-menu-item--small{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.wr-menu-item--small{font-size:1.75rem;line-height:2.5rem}}.play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);fill:currentColor;margin-left:0.75rem;width:1em;height:1em;font-size:1.5rem}.badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-bg-opacity:0.6;border-radius:50%;--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));--tw-text-opacity:0.6;margin-left:0.25rem;height:1rem;width:1rem;vertical-align:top;font-size:.75rem;line-height:.75rem}"; |
@@ -5,4 +5,4 @@ 'use strict'; | ||
const index = require('./index-8cd6f58c.js'); | ||
const anime_es = require('./anime.es-c162324c.js'); | ||
const index = require('./index-d1efcaa6.js'); | ||
const anime_es = require('./anime.es-4238447e.js'); | ||
@@ -47,3 +47,3 @@ const wrNavigationCss = ":host{display:block}.navigation{height:100vh;width:100vw;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;top:0px;right:0px;bottom:0px;left:0px;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));position:fixed;z-index:40;opacity:0;width:0px;--tw-scale-x:0;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);overflow:hidden;overflow:hidden}.navigation-content{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-content{max-width:480px}}@media (min-width: 768px){.navigation-content{max-width:768px}}@media (min-width: 1024px){.navigation-content{max-width:1024px}}@media (min-width: 1280px){.navigation-content{max-width:1280px}}.navigation-content{margin-left:auto;margin-right:auto;margin-top:5rem}@media (min-width: 1024px){.navigation-content{margin-top:auto}}.navigation-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1024px){.navigation-content{-ms-flex-direction:row;flex-direction:row}}.navigation-content{overflow-x:hidden;overflow-y:scroll;width:calc(100vw - 2.5rem)}@media (min-width: 1024px){.navigation-sidebar{margin-left:auto}.navigation-sidebar{text-align:right}}.navigation-sidebar{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:3.5rem}@media (min-width: 1024px){.navigation-sidebar{margin-top:0px}.navigation-sidebar{-ms-flex-direction:column;flex-direction:column}}.navigation-sidebar{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.navigation-sidebar p{margin-top:0px;margin-bottom:0px}.navigation-footer{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-footer{max-width:480px}}@media (min-width: 768px){.navigation-footer{max-width:768px}}@media (min-width: 1024px){.navigation-footer{max-width:1024px}}@media (min-width: 1280px){.navigation-footer{max-width:1280px}}.navigation-footer{margin-left:auto;margin-right:auto;margin-top:auto;width:100%;margin-bottom:0.5rem}@media (min-width: 1024px){.navigation-footer{margin-bottom:1rem}}.navigation-footer{width:calc(100vw - 2.5rem)}.navigation-footer hr{border-top-width:1px;border-style:solid;border-color:rgba(255, 255, 255, 0.25);margin-top:0px;margin-bottom:0px;border-bottom-width:0px;border-left-width:0px;border-right-width:0px}.navigation-footer__container{padding-top:0.5rem}@media (min-width: 1024px){.navigation-footer__container{padding-top:1rem}}"; | ||
opacity: [0, 1], | ||
}, '-=300'); | ||
}); | ||
this.tl.add({ | ||
@@ -84,3 +84,3 @@ targets: this.footerElement, | ||
render() { | ||
return (index.h(index.Host, null, index.h("section", { class: 'navigation', ref: (el) => this.navigationElement = el }, index.h("div", { class: 'navigation-content' }, index.h("nav", { class: 'navigation-menu', ref: (el) => this.menuSlotElement = el }, index.h("slot", null)), index.h("aside", { class: 'navigation-sidebar', ref: (el) => this.sidebarSlotElement = el }, index.h("slot", { name: 'sidebar' }))), index.h("footer", { class: 'navigation-footer', ref: (el) => this.footerElement = el }, index.h("hr", null), index.h("div", { class: 'navigation-footer__container' }, index.h("slot", { name: 'footer' })))))); | ||
return (index.h(index.Host, null, index.h("section", { class: 'navigation', ref: (el) => this.navigationElement = el }, index.h("div", { class: 'navigation-content' }, index.h("nav", { class: 'navigation-menu', ref: (el) => this.menuSlotElement = el }, index.h("slot", { slot: 'navigation' })), index.h("aside", { class: 'navigation-sidebar', ref: (el) => this.sidebarSlotElement = el }, index.h("slot", null))), index.h("footer", { class: 'navigation-footer', ref: (el) => this.footerElement = el }, index.h("hr", null), index.h("div", { class: 'navigation-footer__container' }, index.h("slot", { name: 'footer' })))))); | ||
} | ||
@@ -87,0 +87,0 @@ }; |
@@ -37,3 +37,3 @@ import { Component, Event, h, Host, Listen, State } from '@stencil/core'; | ||
opacity: [0, 1], | ||
}, '-=300'); | ||
}); | ||
this.tl.add({ | ||
@@ -78,5 +78,5 @@ targets: this.footerElement, | ||
h("nav", { class: 'navigation-menu', ref: (el) => this.menuSlotElement = el }, | ||
h("slot", null)), | ||
h("slot", { slot: 'navigation' })), | ||
h("aside", { class: 'navigation-sidebar', ref: (el) => this.sidebarSlotElement = el }, | ||
h("slot", { name: 'sidebar' }))), | ||
h("slot", null))), | ||
h("footer", { class: 'navigation-footer', ref: (el) => this.footerElement = el }, | ||
@@ -83,0 +83,0 @@ h("hr", null), |
@@ -1,1 +0,1 @@ | ||
import{B as BUILD,C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-1f0f96df.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var patchEsm=function(){if(BUILD.cssVarShim&&!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-f0027935.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(o,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){globalScripts();return bootstrapLazy([["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1],open:[32],closeMe:[64],openMe:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-block-meta",[[1,"wr-block-meta",{items:[1],innerData:[32]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-highlight",[[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}]]],["wr-highlight-grid",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))};export{defineCustomElements}; | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,o){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["wr-accordion_8",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1],open:[32],closeMe:[64],openMe:[64]}],[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}],[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"]}],[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)}))};export{defineCustomElements}; |
@@ -1,1 +0,1 @@ | ||
import{B as BUILD,c as consoleDevInfo,p as plt,w as win,H,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-1f0f96df.js";import{g as globalScripts}from"./app-globals-0f993ce5.js";var getDynamicImportFunction=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var patchBrowser=function(){if(BUILD.isDev&&!BUILD.isTesting){consoleDevInfo("Running in development mode.")}if(BUILD.cssVarShim){plt.$cssShim$=win.__cssshim}if(BUILD.cloneNodeFix){patchCloneNodeFix(H.prototype)}if(BUILD.profile&&!performance.mark){performance.mark=performance.measure=function(){};performance.getEntriesByName=function(){return[]}}var e=BUILD.scriptDataOpts||BUILD.safari10||BUILD.dynamicImportShim?Array.from(doc.querySelectorAll("script")).find((function(e){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===NAMESPACE})):null;var r=import.meta.url;var o=BUILD.scriptDataOpts?e["data-opts"]||{}:{};if(BUILD.safari10&&"onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}if(!BUILD.safari10&&r!==""){o.resourcesUrl=new URL(".",r).href}else if(BUILD.dynamicImportShim||BUILD.safari10){o.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,win.location.href)).href;if(BUILD.dynamicImportShim){patchDynamicImport(o.resourcesUrl,e)}if(BUILD.dynamicImportShim&&!win.customElements){return import("./dom-db0073f0.js").then((function(){return o}))}}return promiseResolve(o)};var patchDynamicImport=function(e,r){var o=getDynamicImportFunction(NAMESPACE);try{win[o]=new Function("w","return import(w);//"+Math.random())}catch(i){var t=new Map;win[o]=function(i){var a=new URL(i,e).href;var n=t.get(a);if(!n){var c=doc.createElement("script");c.type="module";c.crossOrigin=r.crossOrigin;c.src=URL.createObjectURL(new Blob(["import * as m from '"+a+"'; window."+o+".m = m;"],{type:"application/javascript"}));n=new Promise((function(e){c.onload=function(){e(win[o].m);c.remove()}}));t.set(a,n);doc.head.appendChild(c)}return n}}};var patchCloneNodeFix=function(e){var r=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return r.call(this,e)}var o=r.call(this,false);var t=this.childNodes;if(e){for(var i=0;i<t.length;i++){if(t[i].nodeType!==2){o.appendChild(t[i].cloneNode(true))}}}return o}};patchBrowser().then((function(e){globalScripts();return bootstrapLazy([["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1],open:[32],closeMe:[64],openMe:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-block-meta",[[1,"wr-block-meta",{items:[1],innerData:[32]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-highlight",[[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}]]],["wr-highlight-grid",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)})); | ||
import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchBrowser=function(){var o=import.meta.url;var e={};if(o!==""){e.resourcesUrl=new URL(".",o).href}return promiseResolve(e)};patchBrowser().then((function(o){return bootstrapLazy([["wr-accordion_8",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1],open:[32],closeMe:[64],openMe:[64]}],[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}],[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"]}],[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)})); |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,h,g as Host}from"./index-1f0f96df.js";var wrFooterCss=":host{display:block}";var WrFooter=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null,h("slot",null))};return r}();WrFooter.style=wrFooterCss;export{WrFooter as wr_footer}; | ||
import{r as registerInstance,h,H as Host}from"./index-e41e20bc.js";var wrFooterCss=":host{display:block}";var WrFooter=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null,h("slot",null))};return r}();WrFooter.style=wrFooterCss;export{WrFooter as wr_footer}; |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,h,g as Host}from"./index-1f0f96df.js";var wrLogoIconCss=":host{display:block}";var WrLogoIcon=function(){function o(o){registerInstance(this,o)}o.prototype.render=function(){return h(Host,null,h("slot",null))};return o}();WrLogoIcon.style=wrLogoIconCss;export{WrLogoIcon as wr_logo_icon}; | ||
import{r as registerInstance,h,H as Host}from"./index-e41e20bc.js";var wrLogoIconCss=":host{display:block}";var WrLogoIcon=function(){function o(o){registerInstance(this,o)}o.prototype.render=function(){return h(Host,null,h("slot",null))};return o}();WrLogoIcon.style=wrLogoIconCss;export{WrLogoIcon as wr_logo_icon}; |
@@ -1,1 +0,1 @@ | ||
var __awaiter=this&&this.__awaiter||function(t,i,r,n){function e(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{s(n.next(t))}catch(t){o(t)}}function c(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?r(t.value):e(t.value).then(a,c)}s((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,e,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(i){return s([t,i])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,e&&(o=a[0]&2?e["return"]:a[0]?e["throw"]||((o=e["return"])&&o.call(e),0):e.next)&&!(o=o.call(e,a[1])).done)return o;if(e=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;e=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(a[0]===6&&r.label<o[1]){r.label=o[1];o=a;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(a);break}if(o[2])r.ops.pop();r.trys.pop();continue}a=i.call(t,r)}catch(t){a=[6,t];e=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h}from"./index-1f0f96df.js";var wrMenuItemCss=":host{display:block}.wr-menu-item{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);font-weight:700;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0.6;cursor:pointer;text-decoration:none;position:relative}.wr-menu-item .play-arrow{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0}.wr-menu-item:hover{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-bg-opacity:1;--tw-text-opacity:1}.wr-menu-item--large{font-size:2rem;line-height:2.75rem}@media (min-width: 1024px){.wr-menu-item--large{font-size:2.5rem;line-height:3.5rem}}.wr-menu-item--small{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.wr-menu-item--small{font-size:1.75rem;line-height:2.5rem}}.play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);fill:currentColor;margin-left:0.75rem;width:1em;height:1em;font-size:1.5rem}.badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-bg-opacity:0.6;border-radius:50%;--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));--tw-text-opacity:0.6;margin-left:0.25rem;height:1rem;width:1rem;vertical-align:top;font-size:.75rem;line-height:.75rem}";var WrMenuItem=function(){function t(t){registerInstance(this,t)}t.prototype.getClass=function(){var t=[];t.push("wr-menu-item");t.push("wr-menu-item--"+this.size);return t.join(" ")};t.prototype.render=function(){return h("a",{class:this.getClass(),href:this.href},h("slot",null),this.renderPlayIcon(),this.renderBadge())};t.prototype.renderPlayIcon=function(){if(!this._isLarge()){return}return h("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"play-arrow"},h("path",{d:"M0 1.49946C0.00724877 1.22427 0.0894759 0.955945 0.238208 0.722137C0.38694 0.48833 0.596797 0.297496 0.846152 0.169301C1.08606 0.0475163 1.35458 -0.0103541 1.62467 0.00151974C1.89476 0.0133936 2.15687 0.0945922 2.38461 0.236936L9.30768 4.74594C9.52148 4.88349 9.69677 5.07099 9.81766 5.29145C9.93855 5.51191 10.0012 5.75836 9.99998 6.00846C9.99911 6.25338 9.93697 6.49439 9.819 6.7105C9.70102 6.92661 9.53077 7.11128 9.32306 7.24843L2.32307 11.7574C2.0971 11.9047 1.83392 11.9882 1.5625 11.9988C1.29107 12.0095 1.02191 11.9467 0.784614 11.8176C0.548105 11.6877 0.350957 11.499 0.213162 11.2707C0.0753673 11.0424 0.00182731 10.7825 0 10.5175L0 1.49946Z"}))};t.prototype.renderBadge=function(){if(!this.badge){return}if(this.badge<=0){return}return h("span",{class:"badge"},this.badge)};t.prototype.isLarge=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this._isLarge()]}))}))};t.prototype._isLarge=function(){return this.size==="large"};return t}();WrMenuItem.style=wrMenuItemCss;export{WrMenuItem as wr_menu_item}; | ||
var __awaiter=this&&this.__awaiter||function(t,i,r,n){function e(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{s(n.next(t))}catch(t){o(t)}}function c(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?r(t.value):e(t.value).then(a,c)}s((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,e,o,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(t){return function(i){return s([t,i])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,e&&(o=a[0]&2?e["return"]:a[0]?e["throw"]||((o=e["return"])&&o.call(e),0):e.next)&&!(o=o.call(e,a[1])).done)return o;if(e=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;e=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){r.label=a[1];break}if(a[0]===6&&r.label<o[1]){r.label=o[1];o=a;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(a);break}if(o[2])r.ops.pop();r.trys.pop();continue}a=i.call(t,r)}catch(t){a=[6,t];e=0}finally{n=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,h}from"./index-e41e20bc.js";var wrMenuItemCss=":host{display:block}.wr-menu-item{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);font-weight:700;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0.6;cursor:pointer;text-decoration:none;position:relative}.wr-menu-item .play-arrow{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0}.wr-menu-item:hover{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-bg-opacity:1;--tw-text-opacity:1}.wr-menu-item--large{font-size:2rem;line-height:2.75rem}@media (min-width: 1024px){.wr-menu-item--large{font-size:2.5rem;line-height:3.5rem}}.wr-menu-item--small{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.wr-menu-item--small{font-size:1.75rem;line-height:2.5rem}}.play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);fill:currentColor;margin-left:0.75rem;width:1em;height:1em;font-size:1.5rem}.badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-bg-opacity:0.6;border-radius:50%;--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));--tw-text-opacity:0.6;margin-left:0.25rem;height:1rem;width:1rem;vertical-align:top;font-size:.75rem;line-height:.75rem}";var WrMenuItem=function(){function t(t){registerInstance(this,t)}t.prototype.getClass=function(){var t=[];t.push("wr-menu-item");t.push("wr-menu-item--"+this.size);return t.join(" ")};t.prototype.render=function(){return h("a",{class:this.getClass(),href:this.href},h("slot",null),this.renderPlayIcon(),this.renderBadge())};t.prototype.renderPlayIcon=function(){if(!this._isLarge()){return}return h("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"play-arrow"},h("path",{d:"M0 1.49946C0.00724877 1.22427 0.0894759 0.955945 0.238208 0.722137C0.38694 0.48833 0.596797 0.297496 0.846152 0.169301C1.08606 0.0475163 1.35458 -0.0103541 1.62467 0.00151974C1.89476 0.0133936 2.15687 0.0945922 2.38461 0.236936L9.30768 4.74594C9.52148 4.88349 9.69677 5.07099 9.81766 5.29145C9.93855 5.51191 10.0012 5.75836 9.99998 6.00846C9.99911 6.25338 9.93697 6.49439 9.819 6.7105C9.70102 6.92661 9.53077 7.11128 9.32306 7.24843L2.32307 11.7574C2.0971 11.9047 1.83392 11.9882 1.5625 11.9988C1.29107 12.0095 1.02191 11.9467 0.784614 11.8176C0.548105 11.6877 0.350957 11.499 0.213162 11.2707C0.0753673 11.0424 0.00182731 10.7825 0 10.5175L0 1.49946Z"}))};t.prototype.renderBadge=function(){if(!this.badge){return}if(this.badge<=0){return}return h("span",{class:"badge"},this.badge)};t.prototype.isLarge=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this._isLarge()]}))}))};t.prototype._isLarge=function(){return this.size==="large"};return t}();WrMenuItem.style=wrMenuItemCss;export{WrMenuItem as wr_menu_item}; |
@@ -1,1 +0,1 @@ | ||
import{r as registerInstance,e as createEvent,h,g as Host}from"./index-1f0f96df.js";import{a as anime}from"./anime.es-00546497.js";var wrNavigationCss=":host{display:block}.navigation{height:100vh;width:100vw;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;top:0px;right:0px;bottom:0px;left:0px;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));position:fixed;z-index:40;opacity:0;width:0px;--tw-scale-x:0;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);overflow:hidden;overflow:hidden}.navigation-content{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-content{max-width:480px}}@media (min-width: 768px){.navigation-content{max-width:768px}}@media (min-width: 1024px){.navigation-content{max-width:1024px}}@media (min-width: 1280px){.navigation-content{max-width:1280px}}.navigation-content{margin-left:auto;margin-right:auto;margin-top:5rem}@media (min-width: 1024px){.navigation-content{margin-top:auto}}.navigation-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1024px){.navigation-content{-ms-flex-direction:row;flex-direction:row}}.navigation-content{overflow-x:hidden;overflow-y:scroll;width:calc(100vw - 2.5rem)}@media (min-width: 1024px){.navigation-sidebar{margin-left:auto}.navigation-sidebar{text-align:right}}.navigation-sidebar{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:3.5rem}@media (min-width: 1024px){.navigation-sidebar{margin-top:0px}.navigation-sidebar{-ms-flex-direction:column;flex-direction:column}}.navigation-sidebar{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.navigation-sidebar p{margin-top:0px;margin-bottom:0px}.navigation-footer{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-footer{max-width:480px}}@media (min-width: 768px){.navigation-footer{max-width:768px}}@media (min-width: 1024px){.navigation-footer{max-width:1024px}}@media (min-width: 1280px){.navigation-footer{max-width:1280px}}.navigation-footer{margin-left:auto;margin-right:auto;margin-top:auto;width:100%;margin-bottom:0.5rem}@media (min-width: 1024px){.navigation-footer{margin-bottom:1rem}}.navigation-footer{width:calc(100vw - 2.5rem)}.navigation-footer hr{border-top-width:1px;border-style:solid;border-color:rgba(255, 255, 255, 0.25);margin-top:0px;margin-bottom:0px;border-bottom-width:0px;border-left-width:0px;border-right-width:0px}.navigation-footer__container{padding-top:0.5rem}@media (min-width: 1024px){.navigation-footer__container{padding-top:1rem}}";var WrNavigation=function(){function t(t){registerInstance(this,t);this.navigationToggled=createEvent(this,"navigationToggled",7);this.isOpen=true}t.prototype.componentDidLoad=function(){this.loadAnimation()};t.prototype.loadAnimation=function(){this.tl=anime.timeline({easing:"easeInCubic",duration:300,autoplay:false});this.tl.add({targets:this.navigationElement,opacity:1,duration:0});this.tl.add({targets:this.navigationElement,width:[0,"100vw"]});this.tl.add({targets:this.menuSlotElement.querySelector("slot").assignedElements(),delay:anime.stagger(100),translateX:["-2rem",0],opacity:[0,1]},"-=300");this.tl.add({targets:this.footerElement,translateY:["2rem",0],opacity:[0,1]},"-=300");this.tl.add({targets:this.sidebarSlotElement.querySelector("slot").assignedElements(),delay:anime.stagger(100),translateX:["2rem",0],opacity:[0,1]},"-=300")};t.prototype.openNavigationListener=function(){if(!this.isOpen){this.tl.reverse()}this.tl.restart();this.isOpen=true;this.navigationToggled.emit("opened")};t.prototype.closeNavigationListener=function(){if(this.isOpen){this.tl.reverse()}this.tl.play();this.isOpen=false;this.navigationToggled.emit("closed")};t.prototype.render=function(){var t=this;return h(Host,null,h("section",{class:"navigation",ref:function(i){return t.navigationElement=i}},h("div",{class:"navigation-content"},h("nav",{class:"navigation-menu",ref:function(i){return t.menuSlotElement=i}},h("slot",null)),h("aside",{class:"navigation-sidebar",ref:function(i){return t.sidebarSlotElement=i}},h("slot",{name:"sidebar"}))),h("footer",{class:"navigation-footer",ref:function(i){return t.footerElement=i}},h("hr",null),h("div",{class:"navigation-footer__container"},h("slot",{name:"footer"})))))};return t}();WrNavigation.style=wrNavigationCss;export{WrNavigation as wr_navigation}; | ||
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-e41e20bc.js";import{a as anime}from"./anime.es-d8ec8d88.js";var wrNavigationCss=":host{display:block}.navigation{height:100vh;width:100vw;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;top:0px;right:0px;bottom:0px;left:0px;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));position:fixed;z-index:40;opacity:0;width:0px;--tw-scale-x:0;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);overflow:hidden;overflow:hidden}.navigation-content{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-content{max-width:480px}}@media (min-width: 768px){.navigation-content{max-width:768px}}@media (min-width: 1024px){.navigation-content{max-width:1024px}}@media (min-width: 1280px){.navigation-content{max-width:1280px}}.navigation-content{margin-left:auto;margin-right:auto;margin-top:5rem}@media (min-width: 1024px){.navigation-content{margin-top:auto}}.navigation-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1024px){.navigation-content{-ms-flex-direction:row;flex-direction:row}}.navigation-content{overflow-x:hidden;overflow-y:scroll;width:calc(100vw - 2.5rem)}@media (min-width: 1024px){.navigation-sidebar{margin-left:auto}.navigation-sidebar{text-align:right}}.navigation-sidebar{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:3.5rem}@media (min-width: 1024px){.navigation-sidebar{margin-top:0px}.navigation-sidebar{-ms-flex-direction:column;flex-direction:column}}.navigation-sidebar{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.navigation-sidebar p{margin-top:0px;margin-bottom:0px}.navigation-footer{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-footer{max-width:480px}}@media (min-width: 768px){.navigation-footer{max-width:768px}}@media (min-width: 1024px){.navigation-footer{max-width:1024px}}@media (min-width: 1280px){.navigation-footer{max-width:1280px}}.navigation-footer{margin-left:auto;margin-right:auto;margin-top:auto;width:100%;margin-bottom:0.5rem}@media (min-width: 1024px){.navigation-footer{margin-bottom:1rem}}.navigation-footer{width:calc(100vw - 2.5rem)}.navigation-footer hr{border-top-width:1px;border-style:solid;border-color:rgba(255, 255, 255, 0.25);margin-top:0px;margin-bottom:0px;border-bottom-width:0px;border-left-width:0px;border-right-width:0px}.navigation-footer__container{padding-top:0.5rem}@media (min-width: 1024px){.navigation-footer__container{padding-top:1rem}}";var WrNavigation=function(){function t(t){registerInstance(this,t);this.navigationToggled=createEvent(this,"navigationToggled",7);this.isOpen=true}t.prototype.componentDidLoad=function(){this.loadAnimation()};t.prototype.loadAnimation=function(){this.tl=anime.timeline({easing:"easeInCubic",duration:300,autoplay:false});this.tl.add({targets:this.navigationElement,opacity:1,duration:0});this.tl.add({targets:this.navigationElement,width:[0,"100vw"]});this.tl.add({targets:this.menuSlotElement.querySelector("slot").assignedElements(),delay:anime.stagger(100),translateX:["-2rem",0],opacity:[0,1]});this.tl.add({targets:this.footerElement,translateY:["2rem",0],opacity:[0,1]},"-=300");this.tl.add({targets:this.sidebarSlotElement.querySelector("slot").assignedElements(),delay:anime.stagger(100),translateX:["2rem",0],opacity:[0,1]},"-=300")};t.prototype.openNavigationListener=function(){if(!this.isOpen){this.tl.reverse()}this.tl.restart();this.isOpen=true;this.navigationToggled.emit("opened")};t.prototype.closeNavigationListener=function(){if(this.isOpen){this.tl.reverse()}this.tl.play();this.isOpen=false;this.navigationToggled.emit("closed")};t.prototype.render=function(){var t=this;return h(Host,null,h("section",{class:"navigation",ref:function(i){return t.navigationElement=i}},h("div",{class:"navigation-content"},h("nav",{class:"navigation-menu",ref:function(i){return t.menuSlotElement=i}},h("slot",{slot:"navigation"})),h("aside",{class:"navigation-sidebar",ref:function(i){return t.sidebarSlotElement=i}},h("slot",null))),h("footer",{class:"navigation-footer",ref:function(i){return t.footerElement=i}},h("hr",null),h("div",{class:"navigation-footer__container"},h("slot",{name:"footer"})))))};return t}();WrNavigation.style=wrNavigationCss;export{WrNavigation as wr_navigation}; |
@@ -1,3 +0,2 @@ | ||
import { B as BUILD, C as CSS, p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-1f0f96df.js'; | ||
import { g as globalScripts } from './app-globals-0f993ce5.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-e41e20bc.js'; | ||
@@ -8,16 +7,2 @@ /* | ||
const patchEsm = () => { | ||
// NOTE!! This fn cannot use async/await! | ||
// @ts-ignore | ||
if (BUILD.cssVarShim && !(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) { | ||
// @ts-ignore | ||
return import(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-f0027935.js').then(() => { | ||
if ((plt.$cssShim$ = win.__cssshim)) { | ||
return plt.$cssShim$.i(); | ||
} | ||
else { | ||
// for better minification | ||
return 0; | ||
} | ||
}); | ||
} | ||
return promiseResolve(); | ||
@@ -29,4 +14,3 @@ }; | ||
return patchEsm().then(() => { | ||
globalScripts(); | ||
return bootstrapLazy([["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-block-meta",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-highlight",[[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}]]],["wr-highlight-grid",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
return bootstrapLazy([["wr-accordion_8",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}],[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}],[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}],[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
}); | ||
@@ -33,0 +17,0 @@ }; |
@@ -1,3 +0,2 @@ | ||
import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-1f0f96df.js'; | ||
import { g as globalScripts } from './app-globals-0f993ce5.js'; | ||
import { p as promiseResolve, b as bootstrapLazy } from './index-e41e20bc.js'; | ||
@@ -7,120 +6,13 @@ /* | ||
*/ | ||
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`; | ||
const patchBrowser = () => { | ||
// NOTE!! This fn cannot use async/await! | ||
if (BUILD.isDev && !BUILD.isTesting) { | ||
consoleDevInfo('Running in development mode.'); | ||
} | ||
if (BUILD.cssVarShim) { | ||
// shim css vars | ||
plt.$cssShim$ = win.__cssshim; | ||
} | ||
if (BUILD.cloneNodeFix) { | ||
// opted-in to polyfill cloneNode() for slot polyfilled components | ||
patchCloneNodeFix(H.prototype); | ||
} | ||
if (BUILD.profile && !performance.mark) { | ||
// not all browsers support performance.mark/measure (Safari 10) | ||
performance.mark = performance.measure = () => { | ||
/*noop*/ | ||
}; | ||
performance.getEntriesByName = () => []; | ||
} | ||
// @ts-ignore | ||
const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim | ||
? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || | ||
s.getAttribute('data-stencil-namespace') === NAMESPACE) | ||
: null; | ||
const importMeta = import.meta.url; | ||
const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {}; | ||
if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) { | ||
// Safari < v11 support: This IF is true if it's Safari below v11. | ||
// This fn cannot use async/await since Safari didn't support it until v11, | ||
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule", | ||
// so both the ESM file and nomodule file would get downloaded. Only Safari | ||
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added | ||
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue. | ||
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds. | ||
return { | ||
then() { | ||
/* promise noop */ | ||
}, | ||
}; | ||
} | ||
if (!BUILD.safari10 && importMeta !== '') { | ||
const opts = {}; | ||
if (importMeta !== '') { | ||
opts.resourcesUrl = new URL('.', importMeta).href; | ||
} | ||
else if (BUILD.dynamicImportShim || BUILD.safari10) { | ||
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href; | ||
if (BUILD.dynamicImportShim) { | ||
patchDynamicImport(opts.resourcesUrl, scriptElm); | ||
} | ||
if (BUILD.dynamicImportShim && !win.customElements) { | ||
// module support, but no custom elements support (Old Edge) | ||
// @ts-ignore | ||
return import(/* webpackChunkName: "polyfills-dom" */ './dom-db0073f0.js').then(() => opts); | ||
} | ||
} | ||
return promiseResolve(opts); | ||
}; | ||
const patchDynamicImport = (base, orgScriptElm) => { | ||
const importFunctionName = getDynamicImportFunction(NAMESPACE); | ||
try { | ||
// test if this browser supports dynamic imports | ||
// There is a caching issue in V8, that breaks using import() in Function | ||
// By generating a random string, we can workaround it | ||
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info | ||
win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`); | ||
} | ||
catch (e) { | ||
// this shim is specifically for browsers that do support "esm" imports | ||
// however, they do NOT support "dynamic" imports | ||
// basically this code is for old Edge, v18 and below | ||
const moduleMap = new Map(); | ||
win[importFunctionName] = (src) => { | ||
const url = new URL(src, base).href; | ||
let mod = moduleMap.get(url); | ||
if (!mod) { | ||
const script = doc.createElement('script'); | ||
script.type = 'module'; | ||
script.crossOrigin = orgScriptElm.crossOrigin; | ||
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], { | ||
type: 'application/javascript', | ||
})); | ||
mod = new Promise((resolve) => { | ||
script.onload = () => { | ||
resolve(win[importFunctionName].m); | ||
script.remove(); | ||
}; | ||
}); | ||
moduleMap.set(url, mod); | ||
doc.head.appendChild(script); | ||
} | ||
return mod; | ||
}; | ||
} | ||
}; | ||
const patchCloneNodeFix = (HTMLElementPrototype) => { | ||
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode; | ||
HTMLElementPrototype.cloneNode = function (deep) { | ||
if (this.nodeName === 'TEMPLATE') { | ||
return nativeCloneNodeFn.call(this, deep); | ||
} | ||
const clonedNode = nativeCloneNodeFn.call(this, false); | ||
const srcChildNodes = this.childNodes; | ||
if (deep) { | ||
for (let i = 0; i < srcChildNodes.length; i++) { | ||
// Node.ATTRIBUTE_NODE === 2, and checking because IE11 | ||
if (srcChildNodes[i].nodeType !== 2) { | ||
clonedNode.appendChild(srcChildNodes[i].cloneNode(true)); | ||
} | ||
} | ||
} | ||
return clonedNode; | ||
}; | ||
}; | ||
patchBrowser().then(options => { | ||
globalScripts(); | ||
return bootstrapLazy([["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-block-meta",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-highlight",[[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}]]],["wr-highlight-grid",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
return bootstrapLazy([["wr-accordion_8",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}],[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}],[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}],[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
}); |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, g as Host } from './index-1f0f96df.js'; | ||
import { r as registerInstance, h, H as Host } from './index-e41e20bc.js'; | ||
@@ -3,0 +3,0 @@ const wrFooterCss = ":host{display:block}"; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, g as Host } from './index-1f0f96df.js'; | ||
import { r as registerInstance, h, H as Host } from './index-e41e20bc.js'; | ||
@@ -3,0 +3,0 @@ const wrLogoIconCss = ":host{display:block}"; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h } from './index-1f0f96df.js'; | ||
import { r as registerInstance, h } from './index-e41e20bc.js'; | ||
@@ -3,0 +3,0 @@ const wrMenuItemCss = ":host{display:block}.wr-menu-item{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);font-weight:700;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0.6;cursor:pointer;text-decoration:none;position:relative}.wr-menu-item .play-arrow{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));--tw-text-opacity:0}.wr-menu-item:hover{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-text-opacity:1}.wr-menu-item:hover .badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);--tw-bg-opacity:1;--tw-text-opacity:1}.wr-menu-item--large{font-size:2rem;line-height:2.75rem}@media (min-width: 1024px){.wr-menu-item--large{font-size:2.5rem;line-height:3.5rem}}.wr-menu-item--small{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.wr-menu-item--small{font-size:1.75rem;line-height:2.5rem}}.play-arrow{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);fill:currentColor;margin-left:0.75rem;width:1em;height:1em;font-size:1.5rem}.badge{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-bg-opacity:0.6;border-radius:50%;--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));--tw-text-opacity:0.6;margin-left:0.25rem;height:1rem;width:1rem;vertical-align:top;font-size:.75rem;line-height:.75rem}"; |
@@ -1,3 +0,3 @@ | ||
import { r as registerInstance, e as createEvent, h, g as Host } from './index-1f0f96df.js'; | ||
import { a as anime } from './anime.es-00546497.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host } from './index-e41e20bc.js'; | ||
import { a as anime } from './anime.es-d8ec8d88.js'; | ||
@@ -42,3 +42,3 @@ const wrNavigationCss = ":host{display:block}.navigation{height:100vh;width:100vw;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:fixed;top:0px;right:0px;bottom:0px;left:0px;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));position:fixed;z-index:40;opacity:0;width:0px;--tw-scale-x:0;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);overflow:hidden;overflow:hidden}.navigation-content{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-content{max-width:480px}}@media (min-width: 768px){.navigation-content{max-width:768px}}@media (min-width: 1024px){.navigation-content{max-width:1024px}}@media (min-width: 1280px){.navigation-content{max-width:1280px}}.navigation-content{margin-left:auto;margin-right:auto;margin-top:5rem}@media (min-width: 1024px){.navigation-content{margin-top:auto}}.navigation-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media (min-width: 1024px){.navigation-content{-ms-flex-direction:row;flex-direction:row}}.navigation-content{overflow-x:hidden;overflow-y:scroll;width:calc(100vw - 2.5rem)}@media (min-width: 1024px){.navigation-sidebar{margin-left:auto}.navigation-sidebar{text-align:right}}.navigation-sidebar{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:3.5rem}@media (min-width: 1024px){.navigation-sidebar{margin-top:0px}.navigation-sidebar{-ms-flex-direction:column;flex-direction:column}}.navigation-sidebar{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.navigation-sidebar p{margin-top:0px;margin-bottom:0px}.navigation-footer{width:100%;margin-right:auto;margin-left:auto;padding-right:1.25rem;padding-left:1.25rem}@media (min-width: 480px){.navigation-footer{max-width:480px}}@media (min-width: 768px){.navigation-footer{max-width:768px}}@media (min-width: 1024px){.navigation-footer{max-width:1024px}}@media (min-width: 1280px){.navigation-footer{max-width:1280px}}.navigation-footer{margin-left:auto;margin-right:auto;margin-top:auto;width:100%;margin-bottom:0.5rem}@media (min-width: 1024px){.navigation-footer{margin-bottom:1rem}}.navigation-footer{width:calc(100vw - 2.5rem)}.navigation-footer hr{border-top-width:1px;border-style:solid;border-color:rgba(255, 255, 255, 0.25);margin-top:0px;margin-bottom:0px;border-bottom-width:0px;border-left-width:0px;border-right-width:0px}.navigation-footer__container{padding-top:0.5rem}@media (min-width: 1024px){.navigation-footer__container{padding-top:1rem}}"; | ||
opacity: [0, 1], | ||
}, '-=300'); | ||
}); | ||
this.tl.add({ | ||
@@ -79,3 +79,3 @@ targets: this.footerElement, | ||
render() { | ||
return (h(Host, null, h("section", { class: 'navigation', ref: (el) => this.navigationElement = el }, h("div", { class: 'navigation-content' }, h("nav", { class: 'navigation-menu', ref: (el) => this.menuSlotElement = el }, h("slot", null)), h("aside", { class: 'navigation-sidebar', ref: (el) => this.sidebarSlotElement = el }, h("slot", { name: 'sidebar' }))), h("footer", { class: 'navigation-footer', ref: (el) => this.footerElement = el }, h("hr", null), h("div", { class: 'navigation-footer__container' }, h("slot", { name: 'footer' })))))); | ||
return (h(Host, null, h("section", { class: 'navigation', ref: (el) => this.navigationElement = el }, h("div", { class: 'navigation-content' }, h("nav", { class: 'navigation-menu', ref: (el) => this.menuSlotElement = el }, h("slot", { slot: 'navigation' })), h("aside", { class: 'navigation-sidebar', ref: (el) => this.sidebarSlotElement = el }, h("slot", null))), h("footer", { class: 'navigation-footer', ref: (el) => this.footerElement = el }, h("hr", null), h("div", { class: 'navigation-footer__container' }, h("slot", { name: 'footer' })))))); | ||
} | ||
@@ -82,0 +82,0 @@ }; |
@@ -1,125 +0,1 @@ | ||
import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-1f0f96df.js'; | ||
import { g as globalScripts } from './app-globals-0f993ce5.js'; | ||
/* | ||
Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com | ||
*/ | ||
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`; | ||
const patchBrowser = () => { | ||
// NOTE!! This fn cannot use async/await! | ||
if (BUILD.isDev && !BUILD.isTesting) { | ||
consoleDevInfo('Running in development mode.'); | ||
} | ||
if (BUILD.cssVarShim) { | ||
// shim css vars | ||
plt.$cssShim$ = win.__cssshim; | ||
} | ||
if (BUILD.cloneNodeFix) { | ||
// opted-in to polyfill cloneNode() for slot polyfilled components | ||
patchCloneNodeFix(H.prototype); | ||
} | ||
if (BUILD.profile && !performance.mark) { | ||
// not all browsers support performance.mark/measure (Safari 10) | ||
performance.mark = performance.measure = () => { | ||
/*noop*/ | ||
}; | ||
performance.getEntriesByName = () => []; | ||
} | ||
// @ts-ignore | ||
const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim | ||
? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || | ||
s.getAttribute('data-stencil-namespace') === NAMESPACE) | ||
: null; | ||
const importMeta = import.meta.url; | ||
const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {}; | ||
if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) { | ||
// Safari < v11 support: This IF is true if it's Safari below v11. | ||
// This fn cannot use async/await since Safari didn't support it until v11, | ||
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule", | ||
// so both the ESM file and nomodule file would get downloaded. Only Safari | ||
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added | ||
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue. | ||
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds. | ||
return { | ||
then() { | ||
/* promise noop */ | ||
}, | ||
}; | ||
} | ||
if (!BUILD.safari10 && importMeta !== '') { | ||
opts.resourcesUrl = new URL('.', importMeta).href; | ||
} | ||
else if (BUILD.dynamicImportShim || BUILD.safari10) { | ||
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href; | ||
if (BUILD.dynamicImportShim) { | ||
patchDynamicImport(opts.resourcesUrl, scriptElm); | ||
} | ||
if (BUILD.dynamicImportShim && !win.customElements) { | ||
// module support, but no custom elements support (Old Edge) | ||
// @ts-ignore | ||
return import(/* webpackChunkName: "polyfills-dom" */ './dom-db0073f0.js').then(() => opts); | ||
} | ||
} | ||
return promiseResolve(opts); | ||
}; | ||
const patchDynamicImport = (base, orgScriptElm) => { | ||
const importFunctionName = getDynamicImportFunction(NAMESPACE); | ||
try { | ||
// test if this browser supports dynamic imports | ||
// There is a caching issue in V8, that breaks using import() in Function | ||
// By generating a random string, we can workaround it | ||
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info | ||
win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`); | ||
} | ||
catch (e) { | ||
// this shim is specifically for browsers that do support "esm" imports | ||
// however, they do NOT support "dynamic" imports | ||
// basically this code is for old Edge, v18 and below | ||
const moduleMap = new Map(); | ||
win[importFunctionName] = (src) => { | ||
const url = new URL(src, base).href; | ||
let mod = moduleMap.get(url); | ||
if (!mod) { | ||
const script = doc.createElement('script'); | ||
script.type = 'module'; | ||
script.crossOrigin = orgScriptElm.crossOrigin; | ||
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], { | ||
type: 'application/javascript', | ||
})); | ||
mod = new Promise((resolve) => { | ||
script.onload = () => { | ||
resolve(win[importFunctionName].m); | ||
script.remove(); | ||
}; | ||
}); | ||
moduleMap.set(url, mod); | ||
doc.head.appendChild(script); | ||
} | ||
return mod; | ||
}; | ||
} | ||
}; | ||
const patchCloneNodeFix = (HTMLElementPrototype) => { | ||
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode; | ||
HTMLElementPrototype.cloneNode = function (deep) { | ||
if (this.nodeName === 'TEMPLATE') { | ||
return nativeCloneNodeFn.call(this, deep); | ||
} | ||
const clonedNode = nativeCloneNodeFn.call(this, false); | ||
const srcChildNodes = this.childNodes; | ||
if (deep) { | ||
for (let i = 0; i < srcChildNodes.length; i++) { | ||
// Node.ATTRIBUTE_NODE === 2, and checking because IE11 | ||
if (srcChildNodes[i].nodeType !== 2) { | ||
clonedNode.appendChild(srcChildNodes[i].cloneNode(true)); | ||
} | ||
} | ||
} | ||
return clonedNode; | ||
}; | ||
}; | ||
patchBrowser().then(options => { | ||
globalScripts(); | ||
return bootstrapLazy([["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1],"open":[32],"closeMe":[64],"openMe":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-block-meta",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-highlight",[[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}]]],["wr-highlight-grid",[[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["wr-logo-icon",[[1,"wr-logo-icon"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options); | ||
}); | ||
import{p as o,b as e}from"./p-abaf52ff.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),o(a)})().then((o=>e([["p-d73b86f6",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1],open:[32],closeMe:[64],openMe:[64]}],[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]],[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}],[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"]}],[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]]]],["p-1e544dab",[[1,"wr-footer"]]],["p-d0d1a2b9",[[1,"wr-logo-icon"]]],["p-d44158b0",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-b8174c51",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o))); |
{ | ||
"name": "@webreact/webreact-components", | ||
"version": "0.4.7", | ||
"version": "0.4.9", | ||
"description": "Stencil Component Starter", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.cjs.js", | ||
"generate": "stencil generate", | ||
"prepublish": "npm run build" | ||
"prepublishOnly": "npm run build" | ||
}, | ||
@@ -26,0 +26,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
4
1247006
119
17622