skeleton-webcomponent-loader 2.0.0 → 2.1.4

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/cjs/{css-shim-285ec151.js → css-shim-b3e497ca.js} +1 -1
  3. package/dist/cjs/{index-1386590f.js → index-b5d2dca0.js} +172 -116
  4. package/dist/cjs/loader.cjs.js +4 -4
  5. package/dist/cjs/nb-skeleton.cjs.entry.js +2 -2
  6. package/dist/cjs/skeleton-webcomponent.cjs.js +4 -4
  7. package/dist/collection/collection-manifest.json +2 -2
  8. package/dist/collection/components/skeleton/skeleton.js +28 -28
  9. package/dist/custom-elements/index.js +3 -3
  10. package/dist/esm/{css-shim-934c915f.js → css-shim-2f04a37a.js} +1 -1
  11. package/dist/esm/{index-6dfb91e6.js → index-63fd3905.js} +172 -116
  12. package/dist/esm/loader.js +4 -4
  13. package/dist/esm/nb-skeleton.entry.js +2 -2
  14. package/dist/esm/skeleton-webcomponent.js +4 -4
  15. package/dist/esm-es5/{css-shim-934c915f.js → css-shim-2f04a37a.js} +0 -0
  16. package/dist/esm-es5/index-63fd3905.js +1 -0
  17. package/dist/esm-es5/loader.js +1 -1
  18. package/dist/esm-es5/nb-skeleton.entry.js +1 -1
  19. package/dist/esm-es5/skeleton-webcomponent.js +1 -1
  20. package/dist/skeleton-webcomponent/{p-07aa1738.js → p-12077897.js} +0 -0
  21. package/dist/skeleton-webcomponent/{p-6f883149.system.js → p-16aec442.system.js} +0 -0
  22. package/dist/skeleton-webcomponent/p-63ed3b45.entry.js +1 -0
  23. package/dist/skeleton-webcomponent/p-7e96e5d4.js +1 -0
  24. package/dist/skeleton-webcomponent/{p-94c5d705.system.js → p-8bef7229.system.js} +1 -1
  25. package/dist/skeleton-webcomponent/{p-0af0d538.system.entry.js → p-dc1bf577.system.entry.js} +1 -1
  26. package/dist/skeleton-webcomponent/p-f59432d4.system.js +1 -0
  27. package/dist/skeleton-webcomponent/skeleton-webcomponent.esm.js +1 -1
  28. package/dist/skeleton-webcomponent/skeleton-webcomponent.js +1 -1
  29. package/dist/types/stencil-public-runtime.d.ts +196 -186
  30. package/loader/index.d.ts +0 -1
  31. package/package.json +3 -4
  32. package/readme.md +3 -1
  33. package/dist/esm-es5/index-6dfb91e6.js +0 -1
  34. package/dist/skeleton-webcomponent/p-13a85a5d.js +0 -1
  35. package/dist/skeleton-webcomponent/p-437abd94.system.js +0 -1
  36. package/dist/skeleton-webcomponent/p-b1ce4c03.entry.js +0 -1
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, h } from './index-6dfb91e6.js';
1
+ import { r as registerInstance, h } from './index-63fd3905.js';
2
2
 
3
3
  const ALLOWED_ANIMATIONS = ['progress', 'progress-dark', 'pulse', 'false'];
4
4
 
5
5
  const skeletonCss = ".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";
6
6
 
7
- const Skeleton = class {
7
+ let Skeleton = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  /**
@@ -1,7 +1,7 @@
1
- import { p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-6dfb91e6.js';
1
+ import { p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-63fd3905.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  {
@@ -9,8 +9,8 @@ const patchBrowser = () => {
9
9
  plt.$cssShim$ = win.__cssshim;
10
10
  }
11
11
  const importMeta = import.meta.url;
12
- const opts = {};
13
- if ( importMeta !== '') {
12
+ const opts = {};
13
+ if (importMeta !== '') {
14
14
  opts.resourcesUrl = new URL('.', importMeta).href;
15
15
  }
16
16
  return promiseResolve(opts);
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};var NAMESPACE="skeleton-webcomponent";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var CSS=win.CSS;var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{if(plt.$cssShim$){i=plt.$cssShim$.createHostStyle(n,a,o,!!(t.$flags$&10));var l=i["s-sc"];if(l){a=l;s=null}}else{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.$modeName$,r);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=null;var s=false;var i=false;var l=[];var u=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(s&&i){l[l.length-1].$text$+=a}else{l.push(s?newVNode(null,a):a)}i=s}}};u(r);if(t){if(t.key){o=t.key}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}var f=newVNode(e,null);f.$attrs$=t;if(l.length>0){f.$children$=l}{f.$key$=o}return f};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);t.toLowerCase();if(t==="class"){var i=e.classList;var l=parseClassList(r);var u=parseClassList(n);i.remove.apply(i,l.filter((function(e){return e&&!u.includes(e)})));i.add.apply(i,u.filter((function(e){return e&&!l.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else{var f=isComplexType(n);if((s||f&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!f){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,r,n,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a);if(i){n[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var u=t[0];var c=t[l];var f=n.length-1;var $=n[0];var d=n[f];var p;var v;while(a<=l&&o<=f){if(u==null){u=t[++a]}else if(c==null){c=t[--l]}else if($==null){$=n[++o]}else if(d==null){d=n[--f]}else if(isSameVnode(u,$)){patch(u,$);u=t[++a];$=n[++o]}else if(isSameVnode(c,d)){patch(c,d);c=t[--l];d=n[--f]}else if(isSameVnode(u,d)){patch(u,d);e.insertBefore(u.$elm$,c.$elm$.nextSibling);u=t[++a];d=n[--f]}else if(isSameVnode(c,$)){patch(c,$);e.insertBefore(c.$elm$,u.$elm$);c=t[--l];$=n[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){s=i;break}}}if(s>=0){v=t[s];if(v.$tag$!==$.$tag$){p=createElm(t&&t[o],r,s)}else{patch(v,$);t[s]=undefined;p=v.$elm$}$=n[++o]}else{p=createElm(t&&t[o],r,o);$=n[++o]}if(p){{u.$elm$.parentNode.insertBefore(p,u.$elm$)}}}}if(a>l){addVnodes(e,n[f+1]==null?null:n[f+1].$elm$,r,n,o,f)}else if(o>f){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;{{{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=n.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}patch(n,a)};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{a=safeCall(n,"componentWillLoad")}}else{{a=safeCall(n,"componentWillUpdate")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(u){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(plt.$cssShim$){plt.$cssShim$.updateHost(n)}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}n();{e.$onReadyResolve$(r);if(!a){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(s&8)||o===undefined)&&r!==o){a.$instanceValues$.set(t,r);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var t=e[0],r=e[1];var n=r[1]||t;o.set(n,t);return n}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}n();if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}n()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){getHostRef(e);if(plt.$cssShim$){plt.$cssShim$.removeHost(e)}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}r()};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{CSS as C,promiseResolve as a,bootstrapLazy as b,h,plt as p,registerInstance as r,win as w};
@@ -1 +1 @@
1
- import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-6dfb91e6.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-934c915f.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(s,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)}))};export{defineCustomElements};
1
+ import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-63fd3905.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-2f04a37a.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(s,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h}from"./index-6dfb91e6.js";var ALLOWED_ANIMATIONS=["progress","progress-dark","pulse","false"];var skeletonCss=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";var Skeleton=function(){function e(e){registerInstance(this,e);this.count=1;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);if(!ALLOWED_ANIMATIONS.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: "+ALLOWED_ANIMATIONS.join(", ")+'. Forcing default to "progress".')}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{this.customStyles=JSON.parse(this.customStyles)}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=typeof this.customStyles==="object"?this.customStyles:{};return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return this.items.map((function(t,i){return h("span",{key:i,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:e.style})}))};return e}();Skeleton.style=skeletonCss;export{Skeleton as nb_skeleton};
1
+ import{r as registerInstance,h}from"./index-63fd3905.js";var ALLOWED_ANIMATIONS=["progress","progress-dark","pulse","false"];var skeletonCss=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";var Skeleton=function(){function e(e){registerInstance(this,e);this.count=1;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);if(!ALLOWED_ANIMATIONS.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: "+ALLOWED_ANIMATIONS.join(", ")+'. Forcing default to "progress".')}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{this.customStyles=JSON.parse(this.customStyles)}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=typeof this.customStyles==="object"?this.customStyles:{};return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return this.items.map((function(t,i){return h("span",{key:i,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:e.style})}))};return e}();Skeleton.style=skeletonCss;export{Skeleton as nb_skeleton};
@@ -1 +1 @@
1
- import{p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-6dfb91e6.js";var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var s=import.meta.url;var t={};if(s!==""){t.resourcesUrl=new URL(".",s).href}return promiseResolve(t)};patchBrowser().then((function(s){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],s)}));
1
+ import{p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-63fd3905.js";var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var s=import.meta.url;var t={};if(s!==""){t.resourcesUrl=new URL(".",s).href}return promiseResolve(t)};patchBrowser().then((function(s){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],s)}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t}from"./p-7e96e5d4.js";const r=["progress","progress-dark","pulse","false"];let i=class{constructor(t){e(this,t),this.count=1,this.variant="text",this.width=null,this.height=null,this.marginBottom=null,this.animation="progress",this.customStyles={},this.showWarnings=!0,this.items=[]}componentWillLoad(){this.init()}componentWillUpdate(){this.init()}init(){if(this.items.length=this.count,this.items.fill(1),r.includes(this.animation)||(this.showWarnings&&console.warn(`\`Skeleton\` need to receive 'animation' as: ${r.join(", ")}. Forcing default to "progress".`),this.animation="progress"),this.customStyles&&"string"==typeof this.customStyles)try{this.customStyles=JSON.parse(this.customStyles)}catch(e){this.showWarnings&&console.warn("can't parse styles",this.customStyles)}}get style(){let e={width:null,height:null,marginBottom:null};this.width&&(e.width=this.width),this.height&&(e.height=this.height),this.marginBottom&&(e.marginBottom=this.marginBottom);const t="object"==typeof this.customStyles?this.customStyles:{};return Object.assign(Object.assign({},e),t)}render(){return this.items.map(((e,r)=>t("span",{key:r,class:{circle:"circle"===this.variant,rect:"rect"===this.variant,progress:"progress"===this.animation,"progress-dark":"progress-dark"===this.animation,pulse:"pulse"===this.animation,skeleton:!0},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:this.style})))}};i.style=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";export{i as nb_skeleton}
@@ -0,0 +1 @@
1
+ let e,t,n=!1;const l="undefined"!=typeof window?window:{},s=l.CSS,o=l.document||{head:{}},i={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),c=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),a=new WeakMap,u=e=>"sc-"+e.o,f={},$=e=>"object"==(e=typeof e)||"function"===e,y=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1,r=[];const c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!$(l))&&(l+=""),o&&i?r[r.length-1].i+=l:r.push(o?p(null,l):l),i=o)};if(c(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=p(e,null);return a.u=t,r.length>0&&(a.$=r),a.p=s,a},p=(e,t)=>({t:0,h:e,i:t,m:null,$:null,u:null,p:null}),h={},d=(e,t,n,l,s,o)=>{if(n!==l){let i=V(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,s=w(n),o=w(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else{const r=$(l);if((i||r&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&o||s)&&!r&&e.setAttribute(t,l=!0===l?"":l)}}},m=/\s/,w=e=>e?e.split(m):[],b=(e,t,n,l)=>{const s=11===t.m.nodeType&&t.m.host?t.m.host:t.m,o=e&&e.u||f,i=t.u||f;for(l in o)l in i||d(s,l,o[l],void 0,n,t.t);for(l in i)d(s,l,o[l],i[l],n,t.t)},S=(t,n,l)=>{let s,i,r=n.$[l],c=0;if(s=r.m=o.createElement(r.h),b(null,r,!1),null!=e&&s["s-si"]!==e&&s.classList.add(s["s-si"]=e),r.$)for(c=0;c<r.$.length;++c)i=S(t,r,c),i&&s.appendChild(i);return s},g=(e,n,l,s,o,i)=>{let r,c=e;for(c.shadowRoot&&c.tagName===t&&(c=c.shadowRoot);o<=i;++o)s[o]&&(r=S(null,l,o),r&&(s[o].m=r,c.insertBefore(r,n)))},k=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.m.remove()},j=(e,t)=>e.h===t.h&&e.p===t.p,v=(e,t)=>{const n=t.m=e.m,l=e.$,s=t.$;b(e,t,!1),null!==l&&null!==s?((e,t,n,l)=>{let s,o,i=0,r=0,c=0,a=0,u=t.length-1,f=t[0],$=t[u],y=l.length-1,p=l[0],h=l[y];for(;i<=u&&r<=y;)if(null==f)f=t[++i];else if(null==$)$=t[--u];else if(null==p)p=l[++r];else if(null==h)h=l[--y];else if(j(f,p))v(f,p),f=t[++i],p=l[++r];else if(j($,h))v($,h),$=t[--u],h=l[--y];else if(j(f,h))v(f,h),e.insertBefore(f.m,$.m.nextSibling),f=t[++i],h=l[--y];else if(j($,p))v($,p),e.insertBefore($.m,f.m),$=t[--u],p=l[++r];else{for(c=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].p&&t[a].p===p.p){c=a;break}c>=0?(o=t[c],o.h!==p.h?s=S(t&&t[r],n,c):(v(o,p),t[c]=void 0,s=o.m),p=l[++r]):(s=S(t&&t[r],n,r),p=l[++r]),s&&f.m.parentNode.insertBefore(s,f.m)}i>u?g(e,null==l[y+1]?null:l[y+1].m,n,l,r,y):r>y&&k(t,i,u)})(n,l,t,s):null!==s?g(n,null,t,s,0,s.length-1):null!==l&&k(l,0,l.length-1)},M=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},C=(e,t)=>{if(e.t|=16,!(4&e.t))return M(e,e.g),Y((()=>O(e,t)));e.t|=512},O=(e,t)=>{const n=e.k;let l;return l=L(n,t?"componentWillLoad":"componentWillUpdate"),T(l,(()=>P(e,n,t)))},P=async(e,t,n)=>{const l=e.j,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.j,l=t.t,s=((e,t)=>{let n=u(t),l=D.get(n);if(e=11===e.nodeType?e:o,l)if("string"==typeof l){let t,s=a.get(e=e.head||e);s||a.set(e,s=new Set),s.has(n)||(t=o.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);W(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>x(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},W=(n,l)=>{try{l=l.render(),n.t&=-17,n.t|=2,((n,l)=>{const s=n.j,o=n.M||p(null,null),i=(e=>e&&e.h===h)(l)?l:y(null,null,l);t=s.tagName,i.h=null,i.t|=4,n.M=i,i.m=o.m=s.shadowRoot||s,e=s["s-sc"],v(o,i)})(n,l)}catch(e){_(e,n.j)}return null},x=e=>{const t=e.j,n=e.g;64&e.t||(e.t|=64,U(t),e.C(t),n||E()),e.S&&(e.S(),e.S=void 0),512&e.t&&X((()=>C(e,!1))),e.t&=-517},E=()=>{U(o.documentElement),X((()=>(e=>{const t=i.ce("appload",{detail:{namespace:"skeleton-webcomponent"}});return e.dispatchEvent(t),t})(l)))},L=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){_(e)}},T=(e,t)=>e&&e.then?e.then(t):t(),U=e=>e.classList.add("hydrated"),A=(e,t,n)=>{if(t.O){const l=Object.entries(t.O),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>q(this).P.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=q(e),o=s.P.get(t),i=s.t,r=s.k;n=((e,t)=>null==e||$(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.O[t][0]),8&i&&void 0!==o||n===o||(s.P.set(t,n),r&&2==(18&i)&&C(s,!1))})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){i.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(s.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},F=(e,t={})=>{const n=[],s=t.exclude||[],r=l.customElements,a=o.head,f=a.querySelector("meta[charset]"),$=o.createElement("style"),y=[];let p,h=!0;Object.assign(i,t),i.l=new URL(t.resourcesUrl||"./",o.baseURI).href,e.map((e=>{e[1].map((t=>{const l={t:t[0],o:t[1],O:t[2],W:t[3]};l.O=t[2];const o=l.o,a=class extends HTMLElement{constructor(e){super(e),N(e=this,l),1&l.t&&e.attachShadow({mode:"open"})}connectedCallback(){p&&(clearTimeout(p),p=null),h?y.push(this):i.jmp((()=>(e=>{if(0==(1&i.t)){const t=q(e),n=t.v,l=()=>{};if(!(1&t.t)){t.t|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){M(t,t.g=n);break}}n.O&&Object.entries(n.O).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=B(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(A(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){_(e)}t.t&=-9,e()}if(s.style){let e=s.style;const t=u(n);if(!D.has(t)){const l=()=>{};((e,t,n)=>{let l=D.get(e);c&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,D.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.g,i=()=>C(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}})(this)))}disconnectedCallback(){i.jmp((()=>{}))}componentOnReady(){return q(this).L}};l.T=e[0],s.includes(o)||r.get(o)||(n.push(o),r.define(o,A(a,l,1)))}))})),$.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",$.setAttribute("data-styles",""),a.insertBefore($,f?f.nextSibling:a.firstChild),h=!1,y.length?y.map((e=>e.connectedCallback())):i.jmp((()=>p=setTimeout(E,30)))},R=new WeakMap,q=e=>R.get(e),H=(e,t)=>R.set(t.k=e,t),N=(e,t)=>{const n={t:0,j:e,v:t,P:new Map};return n.L=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],R.set(e,n)},V=(e,t)=>t in e,_=(e,t)=>(0,console.error)(e,t),z=new Map,B=e=>{const t=e.o.replace(/-/g,"_"),n=e.T,l=z.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(z.set(n,e),e[t])),_)},D=new Map,G=[],I=[],J=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&i.t?X(Q):i.raf(Q))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){_(e)}e.length=0},Q=()=>{K(G),K(I),(n=G.length>0)&&i.raf(Q)},X=e=>r().then(e),Y=J(I,!0);export{s as C,r as a,F as b,y as h,i as p,H as r,l as w}
@@ -1 +1 @@
1
- System.register(["./p-437abd94.system.js"],(function(t,s){"use strict";var n,e,r,i;return{setters:[function(t){n=t.p;e=t.w;r=t.a;i=t.b}],execute:function(){var t=function(){{n.$cssShim$=e.__cssshim}var t=s.meta.url;var i={};if(t!==""){i.resourcesUrl=new URL(".",t).href}return r(i)};t().then((function(t){return i([["p-0af0d538.system",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)}))}}}));
1
+ System.register(["./p-f59432d4.system.js"],(function(t,s){"use strict";var n,e,r,i;return{setters:[function(t){n=t.p;e=t.w;r=t.a;i=t.b}],execute:function(){var t=function(){{n.$cssShim$=e.__cssshim}var t=s.meta.url;var i={};if(t!==""){i.resourcesUrl=new URL(".",t).href}return r(i)};t().then((function(t){return i([["p-dc1bf577.system",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)}))}}}));
@@ -1 +1 @@
1
- System.register(["./p-437abd94.system.js"],(function(e){"use strict";var t,i;return{setters:[function(e){t=e.r;i=e.h}],execute:function(){var r=["progress","progress-dark","pulse","false"];var o=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";var s=e("nb_skeleton",function(){function e(e){t(this,e);this.count=1;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);if(!r.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: "+r.join(", ")+'. Forcing default to "progress".')}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{this.customStyles=JSON.parse(this.customStyles)}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=typeof this.customStyles==="object"?this.customStyles:{};return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return this.items.map((function(t,r){return i("span",{key:r,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:e.style})}))};return e}());s.style=o}}}));
1
+ System.register(["./p-f59432d4.system.js"],(function(e){"use strict";var t,i;return{setters:[function(e){t=e.r;i=e.h}],execute:function(){var r=["progress","progress-dark","pulse","false"];var o=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";var s=e("nb_skeleton",function(){function e(e){t(this,e);this.count=1;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);if(!r.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: "+r.join(", ")+'. Forcing default to "progress".')}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{this.customStyles=JSON.parse(this.customStyles)}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=typeof this.customStyles==="object"?this.customStyles:{};return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return this.items.map((function(t,r){return i("span",{key:r,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:e.style})}))};return e}());s.style=o}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function a(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{s(t.next(e))}catch(e){i(e)}}function o(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):a(e.value).then(l,o)}s((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(r){return s([e,r])}}function s(l){if(t)throw new TypeError("Generator is already executing.");while(n)try{if(t=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=r.call(e,n)}catch(e){l=[6,e];a=0}finally{t=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var n=0,t=r.length,a=e.length;n<t;n++,a++)e[a]=r[n];return e};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="skeleton-webcomponent";var a;var i;var l=false;var o=false;var s=e("w",typeof window!=="undefined"?window:{});var f=e("C",s.CSS);var u=s.document||{head:{}};var $=e("p",{$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}});var c=e("a",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d="{visibility:hidden}.hydrated{visibility:inherit}";var h=function(e,r){if(r===void 0){r=""}{return function(){return}}};var p=function(e,r){{return function(){return}}};var m=new WeakMap;var y=function(e,r,n){var t=ve.get(e);if(v&&n){t=t||new CSSStyleSheet;t.replace(r)}else{t=r}ve.set(e,t)};var g=function(e,r,n,t){var a=w(r);var i=ve.get(a);e=e.nodeType===11?e:u;if(i){if(typeof i==="string"){e=e.head||e;var l=m.get(e);var o=void 0;if(!l){m.set(e,l=new Set)}if(!l.has(a)){{if($.$cssShim$){o=$.$cssShim$.createHostStyle(t,a,i,!!(r.$flags$&10));var s=o["s-sc"];if(s){a=s;l=null}}else{o=u.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var b=function(e){var r=e.$cmpMeta$;var n=e.$hostElement$;var t=r.$flags$;var a=h("attachStyles",r.$tagName$);var i=g(n.shadowRoot?n.shadowRoot:n.getRootNode(),r,e.$modeName$,n);if(t&10){n["s-sc"]=i;n.classList.add(i+"-h")}a()};var w=function(e,r){return"sc-"+e.$tagName$};var S={};var _=function(e){return e!=null};var k=function(e){e=typeof e;return e==="object"||e==="function"};var R=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var a=null;var i=null;var l=false;var o=false;var s=[];var f=function(r){for(var n=0;n<r.length;n++){a=r[n];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!k(a)){a=String(a)}if(l&&o){s[s.length-1].$text$+=a}else{s.push(l?C(null,a):a)}o=l}}};f(n);if(r){if(r.key){i=r.key}{var u=r.className||r.class;if(u){r.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var $=C(e,null);$.$attrs$=r;if(s.length>0){$.$children$=s}{$.$key$=i}return $}));var C=function(e,r){var n={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}return n};var N={};var E=function(e){return e&&e.$tag$===N};var j=function(e,r,n,t,a,i){if(n!==t){var l=fe(e,r);r.toLowerCase();if(r==="class"){var o=e.classList;var s=P(n);var f=P(t);o.remove.apply(o,s.filter((function(e){return e&&!f.includes(e)})));o.add.apply(o,f.filter((function(e){return e&&!s.includes(e)})))}else if(r==="style"){{for(var u in n){if(!t||t[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in t){if(!n||t[u]!==n[u]){if(u.includes("-")){e.style.setProperty(u,t[u])}else{e.style[u]=t[u]}}}}else if(r==="key");else{var $=k(t);if((l||$&&t!==null)&&!a){try{if(!e.tagName.includes("-")){var c=t==null?"":t;if(r==="list"){l=false}else if(n==null||e[r]!=c){e[r]=c}}else{e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!l||i&4||a)&&!$){t=t===true?"":t;{e.setAttribute(r,t)}}}}};var x=/\s/;var P=function(e){return!e?[]:e.split(x)};var M=function(e,r,n,t){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||S;var l=r.$attrs$||S;{for(t in i){if(!(t in l)){j(a,t,i[t],undefined,n,r.$flags$)}}}for(t in l){j(a,t,i[t],l[t],n,r.$flags$)}};var O=function(e,r,n,t){var i=r.$children$[n];var o=0;var s;var f;{s=i.$elm$=u.createElement(i.$tag$);{M(null,i,l)}if(_(a)&&s["s-si"]!==a){s.classList.add(s["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){f=O(e,i,o);if(f){s.appendChild(f)}}}}return s};var A=function(e,r,n,t,a,l){var o=e;var s;if(o.shadowRoot&&o.tagName===i){o=o.shadowRoot}for(;a<=l;++a){if(t[a]){s=O(null,n,a);if(s){t[a].$elm$=s;o.insertBefore(s,r)}}}};var L=function(e,r,n,t,a){for(;r<=n;++r){if(t=e[r]){a=t.$elm$;a.remove()}}};var T=function(e,r,n,t){var a=0;var i=0;var l=0;var o=0;var s=r.length-1;var f=r[0];var u=r[s];var $=t.length-1;var c=t[0];var v=t[$];var d;var h;while(a<=s&&i<=$){if(f==null){f=r[++a]}else if(u==null){u=r[--s]}else if(c==null){c=t[++i]}else if(v==null){v=t[--$]}else if(B(f,c)){U(f,c);f=r[++a];c=t[++i]}else if(B(u,v)){U(u,v);u=r[--s];v=t[--$]}else if(B(f,v)){U(f,v);e.insertBefore(f.$elm$,u.$elm$.nextSibling);f=r[++a];v=t[--$]}else if(B(u,c)){U(u,c);e.insertBefore(u.$elm$,f.$elm$);u=r[--s];c=t[++i]}else{l=-1;{for(o=a;o<=s;++o){if(r[o]&&r[o].$key$!==null&&r[o].$key$===c.$key$){l=o;break}}}if(l>=0){h=r[l];if(h.$tag$!==c.$tag$){d=O(r&&r[i],n,l)}else{U(h,c);r[l]=undefined;d=h.$elm$}c=t[++i]}else{d=O(r&&r[i],n,i);c=t[++i]}if(d){{f.$elm$.parentNode.insertBefore(d,f.$elm$)}}}}if(a>s){A(e,t[$+1]==null?null:t[$+1].$elm$,n,t,i,$)}else if(i>$){L(r,a,s)}};var B=function(e,r){if(e.$tag$===r.$tag$){{return e.$key$===r.$key$}}return false};var U=function(e,r){var n=r.$elm$=e.$elm$;var t=e.$children$;var a=r.$children$;{{{M(e,r,l)}}if(t!==null&&a!==null){T(n,t,r,a)}else if(a!==null){A(n,null,r,a,0,a.length-1)}else if(t!==null){L(t,0,t.length-1)}}};var I=function(e,r){var n=e.$hostElement$;var t=e.$vnode$||C(null,null);var l=E(r)?r:R(null,null,r);i=n.tagName;l.$tag$=null;l.$flags$|=4;e.$vnode$=l;l.$elm$=t.$elm$=n.shadowRoot||n;{a=n["s-sc"]}U(t,l)};var H=function(e,r,n){var t=$.ce(r,n);e.dispatchEvent(t);return t};var z=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var V=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}z(e,e.$ancestorComponent$);var n=function(){return W(e,r)};return be(n)};var W=function(e,r){var n=h("scheduleUpdate",e.$cmpMeta$.$tagName$);var t=e.$lazyInstance$;var a;if(r){{a=J(t,"componentWillLoad")}}else{{a=J(t,"componentWillUpdate")}}n();return K(a,(function(){return q(e,t,r)}))};var q=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,o,s;return __generator(this,(function(f){n=e.$hostElement$;a=h("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(t){b(e)}l=h("render",e.$cmpMeta$.$tagName$);{F(e,r)}if($.$cssShim$){$.$cssShim$.updateHost(n)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{o=n["s-p"];s=function(){return G(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var F=function(e,r,n){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{I(e,r)}}}}catch(r){ue(r,e.$hostElement$)}return null};var G=function(e){var r=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var t=h("postUpdate",r);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{Q(n)}t();{e.$onReadyResolve$(n);if(!a){D()}}}else{t()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){ge((function(){return V(e,false)}))}e.$flags$&=~(4|512)}};var D=function(e){{Q(u.documentElement)}ge((function(){return H(s,"appload",{detail:{namespace:t}})}))};var J=function(e,r,n){if(e&&e[r]){try{return e[r](n)}catch(e){ue(e)}}return undefined};var K=function(e,r){return e&&e.then?e.then(r):r()};var Q=function(e){return e.classList.add("hydrated")};var X=function(e,r){if(e!=null&&!k(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var Y=function(e,r){return le(e).$instanceValues$.get(r)};var Z=function(e,r,n,t){var a=le(e);var i=a.$instanceValues$.get(r);var l=a.$flags$;var o=a.$lazyInstance$;n=X(n,t.$members$[r][0]);if((!(l&8)||i===undefined)&&n!==i){a.$instanceValues$.set(r,n);if(o){if((l&(2|16))===2){V(a,false)}}}};var ee=function(e,r,n){if(r.$members$){var t=Object.entries(r.$members$);var a=e.prototype;t.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return Y(this,t)},set:function(e){Z(this,t,e,r)},configurable:true,enumerable:true})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,r,n){var t=this;$.jmp((function(){var r=i.get(e);if(t.hasOwnProperty(r)){n=t[r];delete t[r]}else if(a.hasOwnProperty(r)&&typeof t[r]==="number"&&t[r]==n){return}t[r]=n===null&&typeof t[r]==="boolean"?false:n}))};e.observedAttributes=t.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var r=e[0],n=e[1];var t=n[1]||r;i.set(t,r);return t}))}}return e};var re=function(e,r,t,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,o,s,f;return __generator(this,(function(u){switch(u.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=ce(t);if(!i.then)return[3,2];e=p();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){ee(i,t,2);i.isProxied=true}n=h("createInstance",t.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){ue(e)}{r.$flags$&=~8}n();if(i.style){a=i.style;l=w(t);if(!ve.has(l)){o=h("registerStyles",t.$tagName$);y(l,a,!!(t.$flags$&1));o()}}u.label=3;case 3:s=r.$ancestorComponent$;f=function(){return V(r,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var ne=function(e){if(($.$flags$&1)===0){var r=le(e);var n=r.$cmpMeta$;var t=h("connectedCallback",n.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){z(r,r.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{re(e,r,n)}}t()}};var te=function(e){if(($.$flags$&1)===0){le(e);if($.$cssShim$){$.$cssShim$.removeHost(e)}}};var ae=e("b",(function(e,r){if(r===void 0){r={}}var n=h();var t=[];var a=r.exclude||[];var i=s.customElements;var l=u.head;var o=l.querySelector("meta[charset]");var f=u.createElement("style");var c=[];var v;var p=true;Object.assign($,r);$.$resourcesUrl$=new URL(r.resourcesUrl||"./",u.baseURI).href;e.map((function(e){e[1].map((function(r){var n={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{n.$members$=r[2]}var l=n.$tagName$;var o=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;se(r,n);if(n.$flags$&1){{{r.attachShadow({mode:"open"})}}}return t}r.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(p){c.push(this)}else{$.jmp((function(){return ne(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;$.jmp((function(){return te(e)}))};r.prototype.componentOnReady=function(){return le(this).$onReadyPromise$};return r}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){t.push(l);i.define(l,ee(o,n,1))}}))}));{f.innerHTML=t+d;f.setAttribute("data-styles","");l.insertBefore(f,o?o.nextSibling:l.firstChild)}p=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{$.jmp((function(){return v=setTimeout(D,30)}))}}n()}));var ie=new WeakMap;var le=function(e){return ie.get(e)};var oe=e("r",(function(e,r){return ie.set(r.$lazyInstance$=e,r)}));var se=function(e,r){var n={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}return ie.set(e,n)};var fe=function(e,r){return r in e};var ue=function(e,r){return(0,console.error)(e,r)};var $e=new Map;var ce=function(e,n,t){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=$e.get(i);if(l){return l[a]}return r.import("./"+i+".entry.js"+"").then((function(e){{$e.set(i,e)}return e[a]}),ue)};var ve=new Map;var de=[];var he=[];var pe=function(e,r){return function(n){e.push(n);if(!o){o=true;if(r&&$.$flags$&4){ge(ye)}else{$.raf(ye)}}}};var me=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){ue(e)}}e.length=0};var ye=function(){me(de);{me(he);if(o=de.length>0){$.raf(ye)}}};var ge=function(e){return c().then(e)};var be=pe(he,true)}}}));
@@ -1 +1 @@
1
- import{p as t,w as s,a,b as n}from"./p-13a85a5d.js";(()=>{t.t=s.__cssshim;const n=import.meta.url,o={};return""!==n&&(o.resourcesUrl=new URL(".",n).href),a(o)})().then((t=>n([["p-b1ce4c03",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)));
1
+ import{p as t,w as s,a as n,b as o}from"./p-7e96e5d4.js";(()=>{t.t=s.__cssshim;const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),n(a)})().then((t=>o([["p-63ed3b45",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)));
@@ -116,7 +116,7 @@ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||func
116
116
 
117
117
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
118
118
  var start = function() {
119
- var url = new URL('./p-94c5d705.system.js', new URL(resourcesUrl, window.location.origin));
119
+ var url = new URL('./p-8bef7229.system.js', new URL(resourcesUrl, window.location.origin));
120
120
  System.import(url.href);
121
121
  };
122
122