@feedlog-ai/webcomponents 0.0.27 → 0.0.29

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 (50) hide show
  1. package/README.md +6 -5
  2. package/dist/cjs/feedlog-badge.cjs.entry.js +2 -2
  3. package/dist/cjs/feedlog-button_3.cjs.entry.js +30 -3
  4. package/dist/cjs/feedlog-card.cjs.entry.js +1 -1
  5. package/dist/cjs/feedlog-issues-client.cjs.entry.js +1 -1
  6. package/dist/cjs/feedlog-issues.cjs.entry.js +2 -2
  7. package/dist/cjs/feedlog-toolkit.cjs.js +1 -1
  8. package/dist/cjs/{index-Bk1-M_w_.js → index-CXKBwRlh.js} +663 -7
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/components/feedlog-badge/feedlog-badge.css +50 -50
  11. package/dist/collection/components/feedlog-issue/feedlog-issue.css +89 -64
  12. package/dist/collection/components/feedlog-issue/feedlog-issue.js +28 -1
  13. package/dist/collection/components/feedlog-issue/feedlog-issue.stories.js +3 -2
  14. package/dist/collection/components/feedlog-issues/feedlog-issues.css +0 -2
  15. package/dist/collection/components/feedlog-issues/feedlog-issues.stories.js +3 -2
  16. package/dist/components/feedlog-badge.js +1 -1
  17. package/dist/components/feedlog-issue.js +1 -1
  18. package/dist/components/feedlog-issues-client.js +1 -1
  19. package/dist/components/feedlog-issues-list.js +1 -1
  20. package/dist/components/feedlog-issues.js +1 -1
  21. package/dist/components/index.js +1 -1
  22. package/dist/components/{p-GzOCQT_k.js → p-BBbiSGNf.js} +1 -1
  23. package/dist/components/{p-BuX7UXwe.js → p-BRjVS8bz.js} +2 -2
  24. package/dist/components/{p-DMKFbFjj.js → p-CuFKEckF.js} +1 -1
  25. package/dist/components/p-DzATWlAC.js +1 -0
  26. package/dist/esm/feedlog-badge.entry.js +2 -2
  27. package/dist/esm/feedlog-button_3.entry.js +30 -3
  28. package/dist/esm/feedlog-card.entry.js +1 -1
  29. package/dist/esm/feedlog-issues-client.entry.js +1 -1
  30. package/dist/esm/feedlog-issues.entry.js +2 -2
  31. package/dist/esm/feedlog-toolkit.js +2 -2
  32. package/dist/esm/{index-CHawAwGP.js → index-CgNWSmzU.js} +663 -7
  33. package/dist/esm/loader.js +2 -2
  34. package/dist/feedlog-toolkit/feedlog-toolkit.esm.js +1 -1
  35. package/dist/feedlog-toolkit/{p-bc48ec0d.entry.js → p-32663f65.entry.js} +1 -1
  36. package/dist/feedlog-toolkit/p-891c349f.entry.js +3 -0
  37. package/dist/feedlog-toolkit/p-CgNWSmzU.js +2 -0
  38. package/dist/feedlog-toolkit/{p-c974a35e.entry.js → p-c3e9b94b.entry.js} +1 -1
  39. package/dist/feedlog-toolkit/p-da0268a8.entry.js +1 -0
  40. package/dist/feedlog-toolkit/{p-7f8133b3.entry.js → p-f22117ae.entry.js} +1 -1
  41. package/dist/types/components/feedlog-issue/feedlog-issue.d.ts +5 -0
  42. package/hydrate/index.d.ts +287 -0
  43. package/hydrate/index.js +25334 -0
  44. package/hydrate/index.mjs +25324 -0
  45. package/hydrate/package.json +12 -0
  46. package/package.json +10 -3
  47. package/dist/components/p-Chc3XZ5Y.js +0 -1
  48. package/dist/feedlog-toolkit/p-13089dc5.entry.js +0 -1
  49. package/dist/feedlog-toolkit/p-CHawAwGP.js +0 -2
  50. package/dist/feedlog-toolkit/p-f868da29.entry.js +0 -3
@@ -1 +1 @@
1
- const t=":root{--feedlog-font-size:16px;--feedlog-background:#ffffff;--feedlog-foreground:oklch(0.145 0 0);--feedlog-card:#ffffff;--feedlog-card-foreground:oklch(0.145 0 0);--feedlog-popover:oklch(1 0 0);--feedlog-popover-foreground:oklch(0.145 0 0);--feedlog-primary:#030213;--feedlog-primary-foreground:oklch(1 0 0);--feedlog-secondary:oklch(0.95 0.0058 264.53);--feedlog-secondary-foreground:#030213;--feedlog-muted:#ececf0;--feedlog-muted-foreground:#717182;--feedlog-accent:#e9ebef;--feedlog-accent-foreground:#030213;--feedlog-destructive:#d4183d;--feedlog-destructive-foreground:#ffffff;--feedlog-border:rgba(0, 0, 0, 0.1);--feedlog-input:transparent;--feedlog-input-background:#f3f3f5;--feedlog-switch-background:#cbced4;--feedlog-ring:oklch(0.708 0 0);--feedlog-radius:0.625rem;--feedlog-blue-100:oklch(0.932 0.032 255.585);--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-500:oklch(0.623 0.214 259.815);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-blue-700:oklch(0.488 0.243 264.376);--feedlog-blue-900:oklch(0.379 0.146 265.522);--feedlog-font-family:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace}.dark{--feedlog-background:oklch(0.145 0 0);--feedlog-foreground:oklch(0.985 0 0);--feedlog-card:oklch(0.145 0 0);--feedlog-card-foreground:oklch(0.985 0 0);--feedlog-popover:oklch(0.145 0 0);--feedlog-popover-foreground:oklch(0.985 0 0);--feedlog-primary:oklch(0.985 0 0);--feedlog-primary-foreground:oklch(0.205 0 0);--feedlog-secondary:oklch(0.269 0 0);--feedlog-secondary-foreground:oklch(0.985 0 0);--feedlog-muted:oklch(0.269 0 0);--feedlog-muted-foreground:oklch(0.708 0 0);--feedlog-accent:oklch(0.269 0 0);--feedlog-accent-foreground:oklch(0.985 0 0);--feedlog-destructive:oklch(0.396 0.141 25.723);--feedlog-destructive-foreground:oklch(0.637 0.237 25.331);--feedlog-border:oklch(0.269 0 0);--feedlog-input:oklch(0.269 0 0);--feedlog-ring:oklch(0.439 0 0)}";var e,n,i,s,r,o,l,f,c,h,u,a,d,p,g,v,b,m=Object.create,w=Object.defineProperty,y=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyNames,k=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=t=>{throw TypeError(t)},S=(t,e)=>function(){return e||(0,t[$(t)[0]])((e={exports:{}}).exports,e),e.exports},M=(t,e,n)=>e.has(t)||j("Cannot "+n),E=(t,e,n)=>(M(t,e,"read from private field"),n?n.call(t):e.get(t)),x=(t,e,n)=>e.has(t)?j("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),P=(t,e,n)=>(M(t,e,"write to private field"),e.set(t,n),n),W=(t,e,n)=>(M(t,e,"access private method"),n),R=S({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=i(t,n)),e instanceof RegExp&&(e=i(e,n));var r=s(t,e,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+t.length,r[1]),post:n.slice(r[1]+e.length)}}function i(t,e){var n=e.match(t);return n?n[0]:null}function s(t,e,n){var i,s,r,o,l,f=n.indexOf(t),c=n.indexOf(e,f+1),h=f;if(f>=0&&c>0){if(t===e)return[f,c];for(i=[],r=n.length;h>=0&&!l;)h==f?(i.push(h),f=n.indexOf(t,h+1)):1==i.length?l=[i.pop(),c]:((s=i.pop())<r&&(r=s,o=c),c=n.indexOf(e,h+1)),h=f<c&&f>=0?f:c;i.length&&(l=[r,o])}return l}e.exports=n,n.range=s}}),N=S({"node_modules/brace-expansion/index.js"(t,e){var n=R();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),g(function(t){return t.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(r).split("\\,").join(o).split("\\.").join(l)}(t),!0).map(c)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",r="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function f(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(i).join("\\").split(s).join("{").split(r).join("}").split(o).join(",").split(l).join(".")}function h(t){if(!t)return[""];var e=[],i=n("{","}",t);if(!i)return t.split(",");var s=i.body,r=i.post,o=i.pre.split(",");o[o.length-1]+="{"+s+"}";var l=h(r);return r.length&&(o[o.length-1]+=l.shift(),o.push.apply(o,l)),e.push.apply(e,o),e}function u(t){return"{"+t+"}"}function a(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function p(t,e){return t>=e}function g(t,e){var i=[],s=n("{","}",t);if(!s)return[t];var o=s.pre,l=s.post.length?g(s.post,!1):[""];if(/\$$/.test(s.pre))for(var c=0;c<l.length;c++)i.push(A=o+"{"+s.body+"}"+l[c]);else{var v,b,m=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),y=m||w,$=s.body.indexOf(",")>=0;if(!y&&!$)return s.post.match(/,(?!,).*\}/)?g(t=s.pre+"{"+s.body+r+s.post):[t];if(y)v=s.body.split(/\.\./);else if(1===(v=h(s.body)).length&&1===(v=g(v[0],!1).map(u)).length)return l.map((function(t){return s.pre+v[0]+t}));if(y){var k=f(v[0]),O=f(v[1]),j=Math.max(v[0].length,v[1].length),S=3==v.length?Math.abs(f(v[2])):1,M=d;O<k&&(S*=-1,M=p);var E=v.some(a);b=[];for(var x=k;M(x,O);x+=S){var P;if(w)"\\"===(P=String.fromCharCode(x))&&(P="");else if(P=x+"",E){var W=j-P.length;if(W>0){var R=Array(W+1).join("0");P=x<0?"-"+R+P.slice(1):R+P}}b.push(P)}}else{b=[];for(var N=0;N<v.length;N++)b.push.apply(b,g(v[N],!1))}for(N=0;N<b.length;N++)for(c=0;c<l.length;c++){var A=o+b[N]+l[c];(!e||y||A)&&i.push(A)}}return i}}}),A=(t,e)=>{var n;Object.entries(null!=(n=e.i.t)?n:{}).map((([n,[i]])=>{if(31&i||32&i){const i=t[n],s=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.o.has(n)?e.o.get(n):i}}))},C=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},z=(t,e)=>e in t,L=(t,e)=>(0,console.error)(t,e),_=new Map,T="undefined"!=typeof window?window:{},F=T.HTMLElement||class{},D={l:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,i)=>t.addEventListener(e,n,i),rel:(t,e,n,i)=>t.removeEventListener(e,n,i),ce:(t,e)=>new CustomEvent(t,e)},U=(()=>{try{return!!T.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),G=!!U&&(()=>!!T.document&&Object.getOwnPropertyDescriptor(T.document.adoptedStyleSheets,"length").writable)(),I=!1,Z=[],H=[],V=(t,e)=>n=>{t.push(n),I||(I=!0,e&&4&D.l?J(B):D.raf(B))},q=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){L(t)}t.length=0},B=()=>{q(Z),q(H),(I=Z.length>0)&&D.raf(B)},J=t=>Promise.resolve(void 0).then(t),Y=V(H,!0),K=t=>{const e=new URL(t,D.h);return e.origin!==T.location.origin?e.href:e.pathname},Q=t=>D.h=t,X=t=>"object"==(t=typeof t)||"function"===t,tt=((t,e,n)=>(n=null!=t?m(k(t)):{},((t,e,n,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of $(e))O.call(t,n)||undefined===n||w(t,n,{get:()=>e[n],enumerable:!(i=y(e,n))||i.enumerable});return t})(w(n,"default",{value:t,enumerable:!0}),t)))(N()),et=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},nt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},it=t=>t.replace(/[[\]\\-]/g,"\\$&"),st=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),rt=t=>t.join(""),ot=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const i=[],s=[];let r=n+1,o=!1,l=!1,f=!1,c=!1,h=n,u="";t:for(;r<t.length;){const e=t.charAt(r);if("!"!==e&&"^"!==e||r!==n+1){if("]"===e&&o&&!f){h=r+1;break}if(o=!0,"\\"!==e||f){if("["===e&&!f)for(const[e,[o,f,c]]of Object.entries(nt))if(t.startsWith(e,r)){if(u)return["$.",!1,t.length-n,!0];r+=e.length,c?s.push(o):i.push(o),l=l||f;continue t}f=!1,u?(e>u?i.push(it(u)+"-"+it(e)):e===u&&i.push(it(e)),u="",r++):t.startsWith("-]",r+1)?(i.push(it(e+"-")),r+=2):t.startsWith("-",r+1)?(u=e,r+=2):(i.push(it(e)),r++)}else f=!0,r++}else c=!0,r++}if(h<r)return["",!1,0,!1];if(!i.length&&!s.length)return["$.",!1,t.length-n,!0];if(0===s.length&&1===i.length&&/^\\?.$/.test(i[0])&&!c){const t=2===i[0].length?i[0].slice(-1):i[0];return[st(t),!1,h-n,!1]}const a="["+(c?"^":"")+rt(i)+"]",d="["+(c?"":"^")+rt(s)+"]";return[i.length&&s.length?"("+a+"|"+d+")":i.length?a:d,l,h-n,!0]},lt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ft=new Set(["!","?","+","*","@"]),ct=t=>ft.has(t),ht="(?!\\.)",ut=new Set(["[","."]),at=new Set(["..","."]),dt=new Set("().*{}+?[]^$\\!"),pt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),gt="[^/]",vt=gt+"*?",bt=gt+"+?",mt=class t{constructor(t,d,p={}){x(this,a),((t,e,n)=>{((t,e,n)=>{e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),x(this,e),x(this,n),x(this,i,!1),x(this,s,[]),x(this,r),x(this,o),x(this,l),x(this,f,!1),x(this,c),x(this,h),x(this,u,!1),this.type=t,t&&P(this,n,!0),P(this,r,d),P(this,e,E(this,r)?E(E(this,r),e):this),P(this,c,E(this,e)===this?p:E(E(this,e),c)),P(this,l,E(this,e)===this?[]:E(E(this,e),l)),"!"!==t||E(E(this,e),f)||E(this,l).push(this),P(this,o,E(this,r)?E(E(this,r),s).length:0)}get hasMagic(){if(void 0!==E(this,n))return E(this,n);for(const t of E(this,s))if("string"!=typeof t&&(t.type||t.hasMagic))return P(this,n,!0);return E(this,n)}toString(){return void 0!==E(this,h)?E(this,h):P(this,h,this.type?this.type+"("+E(this,s).map((t=>t+"")).join("|")+")":E(this,s).map((t=>t+"")).join(""))}push(...e){for(const n of e)if(""!==n){if("string"!=typeof n&&!(n instanceof t&&E(n,r)===this))throw Error("invalid part: "+n);E(this,s).push(n)}}toJSON(){var t;const n=null===this.type?E(this,s).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...E(this,s).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&n.unshift([]),this.isEnd()&&(this===E(this,e)||E(E(this,e),f)&&"!"===(null==(t=E(this,r))?void 0:t.type))&&n.push({}),n}isStart(){var n;if(E(this,e)===this)return!0;if(!(null==(n=E(this,r))?void 0:n.isStart()))return!1;if(0===E(this,o))return!0;const i=E(this,r);for(let e=0;e<E(this,o);e++){const n=E(i,s)[e];if(!(n instanceof t&&"!"===n.type))return!1}return!0}isEnd(){var t,n,i;if(E(this,e)===this)return!0;if("!"===(null==(t=E(this,r))?void 0:t.type))return!0;if(!(null==(n=E(this,r))?void 0:n.isEnd()))return!1;if(!this.type)return null==(i=E(this,r))?void 0:i.isEnd();const l=E(this,r)?E(E(this,r),s).length:0;return E(this,o)===l-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(e){const n=new t(this.type,e);for(const t of E(this,s))n.copyIn(t);return n}static fromGlob(e,n={}){var i;const s=new t(null,void 0,n);return W(i=t,p,g).call(i,e,s,0,n),s}toMMPattern(){if(this!==E(this,e))return E(this,e).toMMPattern();const t=""+this,[i,s,r,o]=this.toRegExpSource();if(!(r||E(this,n)||E(this,c).nocase&&!E(this,c).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return s;const l=(E(this,c).nocase?"i":"")+(o?"u":"");return Object.assign(RegExp(`^${i}$`,l),{_src:i,_glob:t})}get options(){return E(this,c)}toRegExpSource(o){var l;const h=null!=o?o:!!E(this,c).dot;if(E(this,e)===this&&W(this,a,d).call(this),!this.type){const c=this.isStart()&&this.isEnd(),u=E(this,s).map((e=>{var s;const[r,l,f,h]="string"==typeof e?W(s=t,p,b).call(s,e,E(this,n),c):e.toRegExpSource(o);return P(this,n,E(this,n)||f),P(this,i,E(this,i)||h),r})).join("");let a="";if(this.isStart()&&"string"==typeof E(this,s)[0]&&(1!==E(this,s).length||!at.has(E(this,s)[0]))){const t=ut,e=h&&t.has(u.charAt(0))||u.startsWith("\\.")&&t.has(u.charAt(2))||u.startsWith("\\.\\.")&&t.has(u.charAt(4)),n=!h&&!o&&t.has(u.charAt(0));a=e?"(?!(?:^|/)\\.\\.?(?:$|/))":n?ht:""}let d="";return this.isEnd()&&E(E(this,e),f)&&"!"===(null==(l=E(this,r))?void 0:l.type)&&(d="(?:$|\\/)"),[a+u+d,lt(u),P(this,n,!!E(this,n)),E(this,i)]}const g="*"===this.type||"+"===this.type,m="!"===this.type?"(?:(?!(?:":"(?:";let w=W(this,a,v).call(this,h);if(this.isStart()&&this.isEnd()&&!w&&"!"!==this.type){const t=""+this;return P(this,s,[t]),this.type=null,P(this,n,void 0),[t,lt(""+this),!1,!1]}let y=!g||o||h?"":W(this,a,v).call(this,!0);y===w&&(y=""),y&&(w=`(?:${w})(?:${y})*?`);let $="";return $="!"===this.type&&E(this,u)?(this.isStart()&&!h?ht:"")+bt:m+w+("!"===this.type?"))"+(!this.isStart()||h||o?"":ht)+vt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[$,lt(w),P(this,n,!!E(this,n)),E(this,i)]}};e=new WeakMap,n=new WeakMap,i=new WeakMap,s=new WeakMap,r=new WeakMap,o=new WeakMap,l=new WeakMap,f=new WeakMap,c=new WeakMap,h=new WeakMap,u=new WeakMap,a=new WeakSet,d=function(){if(this!==E(this,e))throw Error("should only call on root");if(E(this,f))return this;let t;for(P(this,f,!0);t=E(this,l).pop();){if("!"!==t.type)continue;let e=t,n=E(e,r);for(;n;){for(let i=E(e,o)+1;!n.type&&i<E(n,s).length;i++)for(const e of E(t,s)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(E(n,s)[i])}e=n,n=E(e,r)}}return this},p=new WeakSet,g=function(t,e,i,r){var o,l;let f=!1,c=!1,h=-1,a=!1;if(null===e.type){let n=i,s="";for(;n<t.length;){const i=t.charAt(n++);if(f||"\\"===i)f=!f,s+=i;else if(c)n===h+1?"^"!==i&&"!"!==i||(a=!0):"]"!==i||n===h+2&&a||(c=!1),s+=i;else if("["!==i)if(r.noext||!ct(i)||"("!==t.charAt(n))s+=i;else{e.push(s),s="";const l=new mt(i,e);n=W(o=mt,p,g).call(o,t,l,n,r),e.push(l)}else c=!0,h=n,a=!1,s+=i}return e.push(s),n}let d=i+1,v=new mt(null,e);const b=[];let m="";for(;d<t.length;){const n=t.charAt(d++);if(f||"\\"===n)f=!f,m+=n;else if(c)d===h+1?"^"!==n&&"!"!==n||(a=!0):"]"!==n||d===h+2&&a||(c=!1),m+=n;else if("["!==n)if(ct(n)&&"("===t.charAt(d)){v.push(m),m="";const e=new mt(n,v);v.push(e),d=W(l=mt,p,g).call(l,t,e,d,r)}else if("|"!==n){if(")"===n)return""===m&&0===E(e,s).length&&P(e,u,!0),v.push(m),m="",e.push(...b,v),d;m+=n}else v.push(m),m="",b.push(v),v=new mt(null,e);else c=!0,h=d,a=!1,m+=n}return e.type=null,P(e,n,void 0),P(e,s,[t.substring(i-1)]),d},v=function(t){return E(this,s).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,s,r,o]=e.toRegExpSource(t);return P(this,i,E(this,i)||o),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},b=function(t,e,n=!1){let i=!1,s="",r=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(i)i=!1,s+=(dt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,i,l,f]=ot(t,o);if(l){s+=n,r=r||i,o+=l-1,e=e||f;continue}}"*"!==l?"?"!==l?s+=pt(l):(s+=gt,e=!0):(s+=n&&"*"===t?bt:vt,e=!0)}else o===t.length-1?s+="\\\\":i=!0}return[s,lt(t),!!e,r]},x(mt,p);var wt=mt,yt=(t,e,n={})=>(et(e),!(!n.nocomment&&"#"===e.charAt(0))&&new Vt(e,n).match(t)),$t=/^\*+([^+@!?\*\[\(]*)$/,kt=t=>e=>!e.startsWith(".")&&e.endsWith(t),Ot=t=>e=>e.endsWith(t),jt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),St=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Mt=/^\*+\.\*+$/,Et=t=>!t.startsWith(".")&&t.includes("."),xt=t=>"."!==t&&".."!==t&&t.includes("."),Pt=/^\.\*+$/,Wt=t=>"."!==t&&".."!==t&&t.startsWith("."),Rt=/^\*+$/,Nt=t=>0!==t.length&&!t.startsWith("."),At=t=>0!==t.length&&"."!==t&&".."!==t,Ct=/^\?+([^+@!?\*\[\(]*)?$/,zt=([t,e=""])=>{const n=Ft([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Lt=([t,e=""])=>{const n=Dt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},_t=([t,e=""])=>{const n=Dt([t]);return e?t=>n(t)&&t.endsWith(e):n},Tt=([t,e=""])=>{const n=Ft([t]);return e?t=>n(t)&&t.endsWith(e):n},Ft=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},Dt=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Ut="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";yt.sep="win32"===Ut?"\\":"/";var Gt=Symbol("globstar **");yt.GLOBSTAR=Gt,yt.filter=(t,e={})=>n=>yt(n,t,e);var It=(t,e={})=>Object.assign({},t,e);yt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return yt;const e=yt;return Object.assign(((n,i,s={})=>e(n,i,It(t,s))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,It(t,n))}static defaults(n){return e.defaults(It(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,i={}){super(e,n,It(t,i))}static fromGlob(n,i={}){return e.AST.fromGlob(n,It(t,i))}},unescape:(n,i={})=>e.unescape(n,It(t,i)),escape:(n,i={})=>e.escape(n,It(t,i)),filter:(n,i={})=>e.filter(n,It(t,i)),defaults:n=>e.defaults(It(t,n)),makeRe:(n,i={})=>e.makeRe(n,It(t,i)),braceExpand:(n,i={})=>e.braceExpand(n,It(t,i)),match:(n,i,s={})=>e.match(n,i,It(t,s)),sep:e.sep,GLOBSTAR:Gt})};var Zt=(t,e={})=>(et(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,tt.default)(t));yt.braceExpand=Zt,yt.makeRe=(t,e={})=>new Vt(t,e).makeRe(),yt.match=(t,e,n={})=>{const i=new Vt(e,n);return t=t.filter((t=>i.match(t))),i.options.nonull&&!t.length&&t.push(e),t};var Ht=/[?*]|[+@!]\(.*?\)|\[|\]/,Vt=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){et(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||Ut,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Ht.test(t[2])||Ht.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,i),this.set=i.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const i=t[n];1===n&&""===i&&""===t[0]||"."!==i&&""!==i||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const i=t[n-1];i&&"."!==i&&".."!==i&&"**"!==i&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let i=-1;for(;-1!==(i=n.indexOf("**",i+1));){let s=i;for(;"**"===n[s+1];)s++;s>i&&n.splice(i+1,s-i);const r=n[i+2],o=n[i+3];if(".."!==n[i+1])continue;if(!r||"."===r||".."===r||!o||"."===o||".."===o)continue;e=!0,n.splice(i,1);const l=n.slice(0);l[i]="**",t.push(l),i--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const i=n[t];1===t&&""===i&&""===n[0]||"."!==i&&""!==i||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let s=0;for(;-1!==(s=n.indexOf("..",s+1));){const t=n[s-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(s-1,2,...1===s&&"**"===n[s+1]?["."]:[]),0===n.length&&n.push(""),s-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const i=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);i&&(t[e]=i,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let i=0,s=0,r=[],o="";for(;i<t.length&&s<e.length;)if(t[i]===e[s])r.push("b"===o?e[s]:t[i]),i++,s++;else if(n&&"**"===t[i]&&e[s]===t[i+1])r.push(t[i]),i++;else if(n&&"**"===e[s]&&t[i]===e[s+1])r.push(e[s]),s++;else if("*"!==t[i]||!e[s]||!this.options.dot&&e[s].startsWith(".")||"**"===e[s]){if("*"!==e[s]||!t[i]||!this.options.dot&&t[i].startsWith(".")||"**"===t[i])return!1;if("a"===o)return!1;o="b",r.push(e[s]),i++,s++}else{if("b"===o)return!1;o="a",r.push(t[i]),i++,s++}return t.length===e.length&&r}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let i=0;i<t.length&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const i=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),s="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=i?3:n?0:void 0,o=!s&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:s?0:void 0;if("number"==typeof r&&"number"==typeof o){const[n,i]=[t[r],e[o]];n.toLowerCase()===i.toLowerCase()&&(e[o]=n,o>r?e=e.slice(o):r>o&&(t=t.slice(r)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var r=0,o=0,l=t.length,f=e.length;r<l&&o<f;r++,o++){this.debug("matchOne loop");var c=e[o],h=t[r];if(this.debug(e,c,h),!1===c)return!1;if(c===Gt){this.debug("GLOBSTAR",[e,c,h]);var u=r,a=o+1;if(a===f){for(this.debug("** at the end");r<l;r++)if("."===t[r]||".."===t[r]||!i.dot&&"."===t[r].charAt(0))return!1;return!0}for(;u<l;){var d=t[u];if(this.debug("\nglobstar while",t,u,e,a,d),this.matchOne(t.slice(u),e.slice(a),n))return this.debug("globstar found match!",u,l,d),!0;if("."===d||".."===d||!i.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,u,e,a);break}this.debug("globstar swallow a segment, and continue"),u++}return!(!n||(this.debug("\n>>> no match, partial?",t,u,e,a),u!==l))}let s;if("string"==typeof c?(s=h===c,this.debug("string match",c,h,s)):(s=c.test(h),this.debug("pattern match",c,h,s)),!s)return!1}if(r===l&&o===f)return!0;if(r===l)return n;if(o===f)return r===l-1&&""===t[r];throw Error("wtf?")}braceExpand(){return Zt(this.pattern,this.options)}parse(t){et(t);const e=this.options;if("**"===t)return Gt;if(""===t)return"";let n,i=null;(n=t.match(Rt))?i=e.dot?At:Nt:(n=t.match($t))?i=(e.nocase?e.dot?St:jt:e.dot?Ot:kt)(n[1]):(n=t.match(Ct))?i=(e.nocase?e.dot?Lt:zt:e.dot?_t:Tt)(n):(n=t.match(Mt))?i=e.dot?xt:Et:(n=t.match(Pt))&&(i=Wt);const s=wt.fromGlob(t,this.options).toMMPattern();return i&&"object"==typeof s&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(e.nocase?["i"]:[]);let s=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))i.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Gt?Gt:t._src}));return e.forEach(((t,i)=>{const s=e[i+1],r=e[i-1];t===Gt&&r!==Gt&&(void 0===r?void 0!==s&&s!==Gt?e[i+1]="(?:\\/|"+n+"\\/)?"+s:e[i]=n:void 0===s?e[i-1]=r+"(?:\\/|"+n+")?":s!==Gt&&(e[i-1]=r+"(?:\\/|\\/"+n+"\\/)"+s,e[i+1]=Gt))})),e.filter((t=>t!==Gt)).join("/")})).join("|");const[r,o]=t.length>1?["(?:",")"]:["",""];s="^"+r+s+o+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=RegExp(s,[...i].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let r=i[i.length-1];if(!r)for(let t=i.length-2;!r&&t>=0;t--)r=i[t];for(let t=0;t<s.length;t++){const o=s[t];let l=i;if(n.matchBase&&1===o.length&&(l=[r]),this.matchOne(l,o,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return yt.defaults(t).Minimatch}};yt.AST=wt,yt.Minimatch=Vt,yt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),yt.unescape=lt,((t,e)=>{for(var n in e)w(t,n,{get:e[n],enumerable:!0})})({},{err:()=>Bt,map:()=>Jt,ok:()=>qt,unwrap:()=>Kt,unwrapErr:()=>Qt});var qt=t=>({isOk:!0,isErr:!1,value:t}),Bt=t=>({isOk:!1,isErr:!0,value:t});function Jt(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>qt(t))):qt(n)}if(t.isErr)return Bt(t.value);throw"should never get here"}var Yt,Kt=t=>{if(t.isOk)return t.value;throw t.value},Qt=t=>{if(t.isErr)return t.value;throw t.value};function Xt(){var e;const n=this.attachShadow({mode:"open"});if(void 0===Yt&&(Yt=null!=(e=function(t){if(!U)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),Yt)G?n.adoptedStyleSheets.push(Yt):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Yt];else if(!U){const e=document.createElement("style");e.innerHTML=t,n.prepend(e)}}var te=new WeakMap,ee=t=>"sc-"+t.u,ne=(t,e,...n)=>{let i=null,s=null,r=!1,o=!1;const l=[],f=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?f(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof t&&!X(i))&&(i+=""),r&&o?l[l.length-1].p+=i:l.push(r?ie(null,i):i),o=r)};if(f(n),e){e.key&&(s=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const c=ie(t,null);return c.v=e,l.length>0&&(c.m=l),c.$=s,c},ie=(t,e)=>({l:0,k:t,p:e,O:null,m:null,v:null,$:null}),se={},re=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};re("::slotted"),re(":host"),re(":host-context");var oe,le=(t,e)=>null==t||X(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,fe=(t,e)=>{const n=t;return{emit:t=>ce(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},ce=(t,e,n)=>{const i=D.ce(e,n);return t.dispatchEvent(i),i},he=(t,e,n,i,s,r)=>{if(n===i)return;let o=z(t,e),l=e.toLowerCase();if("class"===e){const e=t.classList,s=ae(n);let r=ae(i);e.remove(...s.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){const l=X(i);if((o||l&&null!==i)&&!s)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const s=null==i?"":i;"list"===e?o=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}null==i||!1===i?!1===i&&""!==t.getAttribute(e)||t.removeAttribute(e):(!o||4&r||s)&&!l&&1===t.nodeType&&t.setAttribute(e,i=!0===i?"":i)}else if(e="-"===e[2]?e.slice(3):z(T,l)?l.slice(2):l[2]+e.slice(3),n||i){const s=e.endsWith(de);e=e.replace(pe,""),n&&D.rel(t,e,n,s),i&&D.ael(t,e,i,s)}},ue=/\s/,ae=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(ue):[]),de="Capture",pe=RegExp(de+"$"),ge=(t,e,n)=>{const i=11===e.O.nodeType&&e.O.host?e.O.host:e.O,s=t&&t.v||{},r=e.v||{};for(const t of ve(Object.keys(s)))t in r||he(i,t,s[t],void 0,n,e.l);for(const t of ve(Object.keys(r)))he(i,t,s[t],r[t],n,e.l)};function ve(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var be=!1,me=(t,e,n)=>{const i=e.m[n];let s,r,o=0;if(null!==i.p)s=i.O=T.document.createTextNode(i.p);else{if(be||(be="svg"===i.k),!T.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=i.O=T.document.createElementNS(be?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.k),be&&"foreignObject"===i.k&&(be=!1),ge(null,i,be),i.m){const e="template"===i.k?s.content:s;for(o=0;o<i.m.length;++o)r=me(t,i,o),r&&e.appendChild(r)}"svg"===i.k?be=!1:"foreignObject"===s.tagName&&(be=!0)}return s["s-hn"]=oe,s},we=(t,e,n,i,s,r)=>{let o,l=t;for(l.shadowRoot&&l.tagName===oe&&(l=l.shadowRoot),"template"===n.k&&(l=l.content);s<=r;++s)i[s]&&(o=me(null,n,s),o&&(i[s].O=o,Oe(l,o,e)))},ye=(t,e,n)=>{for(let i=e;i<=n;++i){const e=t[i];if(e){const t=e.O;t&&t.remove()}}},$e=(t,e,n=!1)=>t.k===e.k&&(n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),ke=(t,e,n=!1)=>{const i=e.O=t.O,s=t.m,r=e.m,o=e.k,l=e.p;null===l?(ge(t,e,be="svg"===o||"foreignObject"!==o&&be),null!==s&&null!==r?((t,e,n,i,s=!1)=>{let r,o,l=0,f=0,c=0,h=0,u=e.length-1,a=e[0],d=e[u],p=i.length-1,g=i[0],v=i[p];const b="template"===n.k?t.content:t;for(;l<=u&&f<=p;)if(null==a)a=e[++l];else if(null==d)d=e[--u];else if(null==g)g=i[++f];else if(null==v)v=i[--p];else if($e(a,g,s))ke(a,g,s),a=e[++l],g=i[++f];else if($e(d,v,s))ke(d,v,s),d=e[--u],v=i[--p];else if($e(a,v,s))ke(a,v,s),Oe(b,a.O,d.O.nextSibling),a=e[++l],v=i[--p];else if($e(d,g,s))ke(d,g,s),Oe(b,d.O,a.O),d=e[--u],g=i[++f];else{for(c=-1,h=l;h<=u;++h)if(e[h]&&null!==e[h].$&&e[h].$===g.$){c=h;break}c>=0?(o=e[c],o.k!==g.k?r=me(e&&e[f],n,c):(ke(o,g,s),e[c]=void 0,r=o.O),g=i[++f]):(r=me(e&&e[f],n,f),g=i[++f]),r&&Oe(a.O.parentNode,r,a.O)}l>u?we(t,null==i[p+1]?null:i[p+1].O,n,i,f,p):f>p&&ye(e,l,u)})(i,s,e,r,n):null!==r?(null!==t.p&&(i.textContent=""),we(i,null,e,r,0,r.length-1)):!n&&null!==s&&ye(s,0,s.length-1),be&&"svg"===o&&(be=!1)):t.p!==l&&(i.data=l)},Oe=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),je=(t,e,n=!1)=>{const i=t.$hostElement$,s=t.j||ie(null,null),r=(t=>t&&t.k===se)(e)?e:ne(null,null,e);if(oe=i.tagName,n&&r.v)for(const t of Object.keys(r.v))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.v[t]=i[t]);r.k=null,r.l|=4,t.j=r,r.O=s.O=i.shadowRoot||i,ke(s,r,n)},Se=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((i=>t.S=()=>{e["s-p"].splice(n-1,1),i()})))}},Me=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Se(t,t.M);const n=()=>Ee(t,e);if(!e)return Y(n);queueMicrotask((()=>{n()}))},Ee=(t,e)=>{const n=t.$hostElement$,i=n;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Ce(i,e?"componentWillLoad":"componentWillUpdate",void 0,n),s=xe(s,(()=>Ce(i,"componentWillRender",void 0,n))),xe(s,(()=>We(t,i,e)))},xe=(t,e)=>Pe(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Pe=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,We=async(t,e,n)=>{var i;const s=t.$hostElement$,r=s["s-rc"];n&&(t=>{const e=t.i,n=t.$hostElement$,i=e.l,s=((t,e)=>{var n,i,s;const r=ee(e),o=_.get(r);if(!T.document)return r;if(t=11===t.nodeType?t:T.document,o)if("string"==typeof o){let s,l=te.get(t=t.head||t);if(l||te.set(t,l=new Set),!l.has(r)){s=T.document.createElement("style"),s.innerHTML=o;const f=null!=(n=D.P)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=T.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=f&&s.setAttribute("nonce",f),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(U){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(o),G?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null),4&e.l&&(s.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(r)}}else{let e=te.get(t);if(e||te.set(t,e=new Set),!e.has(r)){const n=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let i;if(o.constructor===n.CSSStyleSheet)i=o;else{i=new n.CSSStyleSheet;for(let t=0;t<o.cssRules.length;t++)i.insertRule(o.cssRules[t].cssText,t)}G?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(r)}}return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Re(t,e,s,n),r&&(r.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(i=s["s-p"])?i:[],n=()=>Ne(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Re=(t,e,n,i)=>{try{e=e.render(),t.l&=-17,t.l|=2,je(t,e,i)}catch(e){L(e,t.$hostElement$)}return null},Ne=t=>{const e=t.$hostElement$,n=e,i=t.M;Ce(n,"componentDidRender",void 0,e),64&t.l?Ce(n,"componentDidUpdate",void 0,e):(t.l|=64,ze(e),Ce(n,"componentDidLoad",void 0,e),t.W(e),i||Ae()),t.S&&(t.S(),t.S=void 0),512&t.l&&J((()=>Me(t,!1))),t.l&=-517},Ae=()=>{J((()=>ce(T,"appload",{detail:{namespace:"feedlog-toolkit"}})))},Ce=(t,e,n,i)=>{if(t&&t[e])try{return t[e](n)}catch(t){L(t,i)}},ze=t=>t.classList.add("hydrated"),Le=(t,e,n,i)=>{const s=C(t);if(!s)return;const r=t,o=s.o.get(e),l=s.l,f=r;if(!((n=le(n,i.t[e][0]))===o||Number.isNaN(o)&&Number.isNaN(n))){if(s.o.set(e,n),i.R){const t=i.R[e];t&&t.map((t=>{try{const[[i,r]]=Object.entries(t);(128&l||1&r)&&(f?f[i](n,o,e):s.N.push((()=>{s.A[i](n,o,e)})))}catch(t){L(t,r)}}))}if(2==(18&l)){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(n,o,e))return;Me(s,!1)}}},_e=(t,e)=>{var n,i;const s=t.prototype;{t.watchers&&!e.R&&(e.R=t.watchers),t.deserializers&&!e.C&&(e.C=t.deserializers),t.serializers&&!e.L&&(e.L=t.serializers);const r=Object.entries(null!=(n=e.t)?n:{});r.map((([t,[n]])=>{if(31&n||32&n){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),Object.defineProperty(s,t,{get(){return i?i.apply(this):((t,e)=>C(this).o.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=C(this);if(s){if(r)return void 0===(32&n?this[t]:s.$hostElement$[t])&&s.o.get(t)&&(i=s.o.get(t)),r.call(this,le(i,n)),void Le(this,t,i=32&n?this[t]:s.$hostElement$[t],e);Le(this,t,i,e)}}})}}));{const n=new Map;s.attributeChangedCallback=function(t,i,o){D.jmp((()=>{var l;const f=n.get(t),c=C(this);if(this.hasOwnProperty(f),s.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==o)return;if(null==f){const n=null==c?void 0:c.l;if(c&&n&&!(8&n)&&o!==i){const s=this,r=null==(l=e.R)?void 0:l[t];null==r||r.forEach((e=>{const[[r,l]]=Object.entries(e);null!=s[r]&&(128&n||1&l)&&s[r].call(s,o,i,t)}))}return}const h=r.find((([t])=>t===f));h&&4&h[1][0]&&(o=null!==o&&"false"!==o);const u=Object.getOwnPropertyDescriptor(s,f);o==this[f]||u.get&&!u.set||(this[f]=o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.R)?i:{}),...r.filter((([t,e])=>31&e[0])).map((([t,e])=>{const i=e[1]||t;return n.set(i,t),i}))]))}}return t},Te=(t,e)=>{const n={l:e[0],u:e[1]};n.t=e[2],n.R=t.R,n.C=t.C,n.L=t.L;const i=t.prototype.connectedCallback,s=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,i:e,o:new Map,_:new Map};n.T=new Promise((t=>n.W=t)),t["s-p"]=[],t["s-rc"]=[];const i=n;t.__stencil__getHostRef=()=>i,512&e.l&&A(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!C(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&D.l)){const e=C(t);if(!e)return;const n=e.i,i=()=>{};if(1&e.l)(null==e?void 0:e.A)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Se(e,e.M=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let i;if(!(32&e.l)&&(e.l|=32,i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),i&&i.style)){let t;"string"==typeof i.style&&(t=i.style);const e=ee(n);if(!_.has(e)){const i=()=>{};((t,e,n)=>{let i=_.get(t);U&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,_.set(t,i)})(e,t,!!(1&n.l)),i()}}const s=e.M,r=()=>Me(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(t,e,n)}i()}})(this),i&&i.call(this)},disconnectedCallback(){(async t=>{te.has(t)&&te.delete(t),t.shadowRoot&&te.has(t.shadowRoot)&&te.delete(t.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.u}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Xt.call(this,n)}}),t.is=n.u,_e(t,n)},Fe=t=>D.P=t,De=t=>Object.assign(D,t);function Ue(t,e){je({$hostElement$:e},t)}function Ge(t){return t}export{F as H,se as a,fe as c,K as getAssetPath,ne as h,Te as p,Ue as render,Q as setAssetPath,Fe as setNonce,De as setPlatformOptions,Ge as t}
1
+ const t=":root{--feedlog-font-size:16px;--feedlog-background:#ffffff;--feedlog-foreground:oklch(0.145 0 0);--feedlog-card:#ffffff;--feedlog-card-foreground:oklch(0.145 0 0);--feedlog-popover:oklch(1 0 0);--feedlog-popover-foreground:oklch(0.145 0 0);--feedlog-primary:#030213;--feedlog-primary-foreground:oklch(1 0 0);--feedlog-secondary:oklch(0.95 0.0058 264.53);--feedlog-secondary-foreground:#030213;--feedlog-muted:#ececf0;--feedlog-muted-foreground:#717182;--feedlog-accent:#e9ebef;--feedlog-accent-foreground:#030213;--feedlog-destructive:#d4183d;--feedlog-destructive-foreground:#ffffff;--feedlog-border:rgba(0, 0, 0, 0.1);--feedlog-input:transparent;--feedlog-input-background:#f3f3f5;--feedlog-switch-background:#cbced4;--feedlog-ring:oklch(0.708 0 0);--feedlog-radius:0.625rem;--feedlog-blue-100:oklch(0.932 0.032 255.585);--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-500:oklch(0.623 0.214 259.815);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-blue-700:oklch(0.488 0.243 264.376);--feedlog-blue-900:oklch(0.379 0.146 265.522);--feedlog-font-family:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace}.dark{--feedlog-background:oklch(0.145 0 0);--feedlog-foreground:oklch(0.985 0 0);--feedlog-card:oklch(0.145 0 0);--feedlog-card-foreground:oklch(0.985 0 0);--feedlog-popover:oklch(0.145 0 0);--feedlog-popover-foreground:oklch(0.985 0 0);--feedlog-primary:oklch(0.985 0 0);--feedlog-primary-foreground:oklch(0.205 0 0);--feedlog-secondary:oklch(0.269 0 0);--feedlog-secondary-foreground:oklch(0.985 0 0);--feedlog-muted:oklch(0.269 0 0);--feedlog-muted-foreground:oklch(0.708 0 0);--feedlog-accent:oklch(0.269 0 0);--feedlog-accent-foreground:oklch(0.985 0 0);--feedlog-destructive:oklch(0.396 0.141 25.723);--feedlog-destructive-foreground:oklch(0.637 0.237 25.331);--feedlog-border:oklch(0.269 0 0);--feedlog-input:oklch(0.269 0 0);--feedlog-ring:oklch(0.439 0 0)}";var e,n,s,o,i,r,l,f,c,u,h,a,d,p,g,v,$,b=Object.create,m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,k=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=t=>{throw TypeError(t)},S=(t,e)=>function(){return e||(0,t[y(t)[0]])((e={exports:{}}).exports,e),e.exports},M=(t,e,n)=>e.has(t)||j("Cannot "+n),x=(t,e,n)=>(M(t,e,"read from private field"),n?n.call(t):e.get(t)),E=(t,e,n)=>e.has(t)?j("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),N=(t,e,n)=>(M(t,e,"write to private field"),e.set(t,n),n),P=(t,e,n)=>(M(t,e,"access private method"),n),R=S({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=s(t,n)),e instanceof RegExp&&(e=s(e,n));var i=o(t,e,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+t.length,i[1]),post:n.slice(i[1]+e.length)}}function s(t,e){var n=e.match(t);return n?n[0]:null}function o(t,e,n){var s,o,i,r,l,f=n.indexOf(t),c=n.indexOf(e,f+1),u=f;if(f>=0&&c>0){if(t===e)return[f,c];for(s=[],i=n.length;u>=0&&!l;)u==f?(s.push(u),f=n.indexOf(t,u+1)):1==s.length?l=[s.pop(),c]:((o=s.pop())<i&&(i=o,r=c),c=n.indexOf(e,u+1)),u=f<c&&f>=0?f:c;s.length&&(l=[i,r])}return l}e.exports=n,n.range=o}}),W=S({"node_modules/brace-expansion/index.js"(t,e){var n=R();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),g(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(i).split("\\,").join(r).split("\\.").join(l)}(t),!0).map(c)):[]};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",r="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function f(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(s).join("\\").split(o).join("{").split(i).join("}").split(r).join(",").split(l).join(".")}function u(t){if(!t)return[""];var e=[],s=n("{","}",t);if(!s)return t.split(",");var o=s.body,i=s.post,r=s.pre.split(",");r[r.length-1]+="{"+o+"}";var l=u(i);return i.length&&(r[r.length-1]+=l.shift(),r.push.apply(r,l)),e.push.apply(e,r),e}function h(t){return"{"+t+"}"}function a(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function p(t,e){return t>=e}function g(t,e){var s=[],o=n("{","}",t);if(!o)return[t];var r=o.pre,l=o.post.length?g(o.post,!1):[""];if(/\$$/.test(o.pre))for(var c=0;c<l.length;c++)s.push(A=r+"{"+o.body+"}"+l[c]);else{var v,$,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),w=b||m,y=o.body.indexOf(",")>=0;if(!w&&!y)return o.post.match(/,(?!,).*\}/)?g(t=o.pre+"{"+o.body+i+o.post):[t];if(w)v=o.body.split(/\.\./);else if(1===(v=u(o.body)).length&&1===(v=g(v[0],!1).map(h)).length)return l.map((function(t){return o.pre+v[0]+t}));if(w){var k=f(v[0]),O=f(v[1]),j=Math.max(v[0].length,v[1].length),S=3==v.length?Math.abs(f(v[2])):1,M=d;O<k&&(S*=-1,M=p);var x=v.some(a);$=[];for(var E=k;M(E,O);E+=S){var N;if(m)"\\"===(N=String.fromCharCode(E))&&(N="");else if(N=E+"",x){var P=j-N.length;if(P>0){var R=Array(P+1).join("0");N=E<0?"-"+R+N.slice(1):R+N}}$.push(N)}}else{$=[];for(var W=0;W<v.length;W++)$.push.apply($,g(v[W],!1))}for(W=0;W<$.length;W++)for(c=0;c<l.length;c++){var A=r+$[W]+l[c];(!e||w||A)&&s.push(A)}}return s}}}),A=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(A||{}),L=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(L||{}),C="type",z="value",I="serialized:",_=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[s]])=>{if(31&s||32&s){const s=t[n],o=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);o&&Object.defineProperty(t,n,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.i.has(n)?e.i.get(n):s}}))},F=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},T=(t,e)=>e in t,D=(t,e)=>(0,console.error)(t,e),U=new Map,V="s-id",B="sty-id",G="c-id",Z="undefined"!=typeof window?window:{},H=Z.HTMLElement||class{},q={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},J=(()=>{try{return!!Z.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),Y=!!J&&(()=>!!Z.document&&Object.getOwnPropertyDescriptor(Z.document.adoptedStyleSheets,"length").writable)(),K=!1,Q=[],X=[],tt=(t,e)=>n=>{t.push(n),K||(K=!0,e&&4&q.l?st(nt):q.raf(nt))},et=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){D(t)}t.length=0},nt=()=>{et(Q),et(X),(K=Q.length>0)&&q.raf(nt)},st=t=>Promise.resolve(void 0).then(t),ot=tt(X,!0),it=t=>{const e=new URL(t,q.u);return e.origin!==Z.location.origin?e.href:e.pathname},rt=t=>q.u=t,lt=t=>"object"==(t=typeof t)||"function"===t,ft=((t,e,n)=>(n=null!=t?b(k(t)):{},((t,e,n,s)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of y(e))O.call(t,n)||undefined===n||m(t,n,{get:()=>e[n],enumerable:!(s=w(e,n))||s.enumerable});return t})(m(n,"default",{value:t,enumerable:!0}),t)))(W()),ct=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},ut={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ht=t=>t.replace(/[[\]\\-]/g,"\\$&"),at=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),dt=t=>t.join(""),pt=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const s=[],o=[];let i=n+1,r=!1,l=!1,f=!1,c=!1,u=n,h="";t:for(;i<t.length;){const e=t.charAt(i);if("!"!==e&&"^"!==e||i!==n+1){if("]"===e&&r&&!f){u=i+1;break}if(r=!0,"\\"!==e||f){if("["===e&&!f)for(const[e,[r,f,c]]of Object.entries(ut))if(t.startsWith(e,i)){if(h)return["$.",!1,t.length-n,!0];i+=e.length,c?o.push(r):s.push(r),l=l||f;continue t}f=!1,h?(e>h?s.push(ht(h)+"-"+ht(e)):e===h&&s.push(ht(e)),h="",i++):t.startsWith("-]",i+1)?(s.push(ht(e+"-")),i+=2):t.startsWith("-",i+1)?(h=e,i+=2):(s.push(ht(e)),i++)}else f=!0,i++}else c=!0,i++}if(u<i)return["",!1,0,!1];if(!s.length&&!o.length)return["$.",!1,t.length-n,!0];if(0===o.length&&1===s.length&&/^\\?.$/.test(s[0])&&!c){const t=2===s[0].length?s[0].slice(-1):s[0];return[at(t),!1,u-n,!1]}const a="["+(c?"^":"")+dt(s)+"]",d="["+(c?"":"^")+dt(o)+"]";return[s.length&&o.length?"("+a+"|"+d+")":s.length?a:d,l,u-n,!0]},gt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),vt=new Set(["!","?","+","*","@"]),$t=t=>vt.has(t),bt="(?!\\.)",mt=new Set(["[","."]),wt=new Set(["..","."]),yt=new Set("().*{}+?[]^$\\!"),kt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ot="[^/]",jt=Ot+"*?",St=Ot+"+?",Mt=class t{constructor(t,d,p={}){E(this,a),((t,e,n)=>{((t,e,n)=>{e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),E(this,e),E(this,n),E(this,s,!1),E(this,o,[]),E(this,i),E(this,r),E(this,l),E(this,f,!1),E(this,c),E(this,u),E(this,h,!1),this.type=t,t&&N(this,n,!0),N(this,i,d),N(this,e,x(this,i)?x(x(this,i),e):this),N(this,c,x(this,e)===this?p:x(x(this,e),c)),N(this,l,x(this,e)===this?[]:x(x(this,e),l)),"!"!==t||x(x(this,e),f)||x(this,l).push(this),N(this,r,x(this,i)?x(x(this,i),o).length:0)}get hasMagic(){if(void 0!==x(this,n))return x(this,n);for(const t of x(this,o))if("string"!=typeof t&&(t.type||t.hasMagic))return N(this,n,!0);return x(this,n)}toString(){return void 0!==x(this,u)?x(this,u):N(this,u,this.type?this.type+"("+x(this,o).map((t=>t+"")).join("|")+")":x(this,o).map((t=>t+"")).join(""))}push(...e){for(const n of e)if(""!==n){if("string"!=typeof n&&!(n instanceof t&&x(n,i)===this))throw Error("invalid part: "+n);x(this,o).push(n)}}toJSON(){var t;const n=null===this.type?x(this,o).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...x(this,o).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&n.unshift([]),this.isEnd()&&(this===x(this,e)||x(x(this,e),f)&&"!"===(null==(t=x(this,i))?void 0:t.type))&&n.push({}),n}isStart(){var n;if(x(this,e)===this)return!0;if(!(null==(n=x(this,i))?void 0:n.isStart()))return!1;if(0===x(this,r))return!0;const s=x(this,i);for(let e=0;e<x(this,r);e++){const n=x(s,o)[e];if(!(n instanceof t&&"!"===n.type))return!1}return!0}isEnd(){var t,n,s;if(x(this,e)===this)return!0;if("!"===(null==(t=x(this,i))?void 0:t.type))return!0;if(!(null==(n=x(this,i))?void 0:n.isEnd()))return!1;if(!this.type)return null==(s=x(this,i))?void 0:s.isEnd();const l=x(this,i)?x(x(this,i),o).length:0;return x(this,r)===l-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(e){const n=new t(this.type,e);for(const t of x(this,o))n.copyIn(t);return n}static fromGlob(e,n={}){var s;const o=new t(null,void 0,n);return P(s=t,p,g).call(s,e,o,0,n),o}toMMPattern(){if(this!==x(this,e))return x(this,e).toMMPattern();const t=""+this,[s,o,i,r]=this.toRegExpSource();if(!(i||x(this,n)||x(this,c).nocase&&!x(this,c).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return o;const l=(x(this,c).nocase?"i":"")+(r?"u":"");return Object.assign(RegExp(`^${s}$`,l),{_src:s,_glob:t})}get options(){return x(this,c)}toRegExpSource(r){var l;const u=null!=r?r:!!x(this,c).dot;if(x(this,e)===this&&P(this,a,d).call(this),!this.type){const c=this.isStart()&&this.isEnd(),h=x(this,o).map((e=>{var o;const[i,l,f,u]="string"==typeof e?P(o=t,p,$).call(o,e,x(this,n),c):e.toRegExpSource(r);return N(this,n,x(this,n)||f),N(this,s,x(this,s)||u),i})).join("");let a="";if(this.isStart()&&"string"==typeof x(this,o)[0]&&(1!==x(this,o).length||!wt.has(x(this,o)[0]))){const t=mt,e=u&&t.has(h.charAt(0))||h.startsWith("\\.")&&t.has(h.charAt(2))||h.startsWith("\\.\\.")&&t.has(h.charAt(4)),n=!u&&!r&&t.has(h.charAt(0));a=e?"(?!(?:^|/)\\.\\.?(?:$|/))":n?bt:""}let d="";return this.isEnd()&&x(x(this,e),f)&&"!"===(null==(l=x(this,i))?void 0:l.type)&&(d="(?:$|\\/)"),[a+h+d,gt(h),N(this,n,!!x(this,n)),x(this,s)]}const g="*"===this.type||"+"===this.type,b="!"===this.type?"(?:(?!(?:":"(?:";let m=P(this,a,v).call(this,u);if(this.isStart()&&this.isEnd()&&!m&&"!"!==this.type){const t=""+this;return N(this,o,[t]),this.type=null,N(this,n,void 0),[t,gt(""+this),!1,!1]}let w=!g||r||u?"":P(this,a,v).call(this,!0);w===m&&(w=""),w&&(m=`(?:${m})(?:${w})*?`);let y="";return y="!"===this.type&&x(this,h)?(this.isStart()&&!u?bt:"")+St:b+m+("!"===this.type?"))"+(!this.isStart()||u||r?"":bt)+jt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&w?")":"*"===this.type&&w?")?":")"+this.type),[y,gt(m),N(this,n,!!x(this,n)),x(this,s)]}};e=new WeakMap,n=new WeakMap,s=new WeakMap,o=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,f=new WeakMap,c=new WeakMap,u=new WeakMap,h=new WeakMap,a=new WeakSet,d=function(){if(this!==x(this,e))throw Error("should only call on root");if(x(this,f))return this;let t;for(N(this,f,!0);t=x(this,l).pop();){if("!"!==t.type)continue;let e=t,n=x(e,i);for(;n;){for(let s=x(e,r)+1;!n.type&&s<x(n,o).length;s++)for(const e of x(t,o)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(x(n,o)[s])}e=n,n=x(e,i)}}return this},p=new WeakSet,g=function(t,e,s,i){var r,l;let f=!1,c=!1,u=-1,a=!1;if(null===e.type){let n=s,o="";for(;n<t.length;){const s=t.charAt(n++);if(f||"\\"===s)f=!f,o+=s;else if(c)n===u+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||n===u+2&&a||(c=!1),o+=s;else if("["!==s)if(i.noext||!$t(s)||"("!==t.charAt(n))o+=s;else{e.push(o),o="";const l=new Mt(s,e);n=P(r=Mt,p,g).call(r,t,l,n,i),e.push(l)}else c=!0,u=n,a=!1,o+=s}return e.push(o),n}let d=s+1,v=new Mt(null,e);const $=[];let b="";for(;d<t.length;){const n=t.charAt(d++);if(f||"\\"===n)f=!f,b+=n;else if(c)d===u+1?"^"!==n&&"!"!==n||(a=!0):"]"!==n||d===u+2&&a||(c=!1),b+=n;else if("["!==n)if($t(n)&&"("===t.charAt(d)){v.push(b),b="";const e=new Mt(n,v);v.push(e),d=P(l=Mt,p,g).call(l,t,e,d,i)}else if("|"!==n){if(")"===n)return""===b&&0===x(e,o).length&&N(e,h,!0),v.push(b),b="",e.push(...$,v),d;b+=n}else v.push(b),b="",$.push(v),v=new Mt(null,e);else c=!0,u=d,a=!1,b+=n}return e.type=null,N(e,n,void 0),N(e,o,[t.substring(s-1)]),d},v=function(t){return x(this,o).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,o,i,r]=e.toRegExpSource(t);return N(this,s,x(this,s)||r),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},$=function(t,e,n=!1){let s=!1,o="",i=!1;for(let r=0;r<t.length;r++){const l=t.charAt(r);if(s)s=!1,o+=(yt.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,s,l,f]=pt(t,r);if(l){o+=n,i=i||s,r+=l-1,e=e||f;continue}}"*"!==l?"?"!==l?o+=kt(l):(o+=Ot,e=!0):(o+=n&&"*"===t?St:jt,e=!0)}else r===t.length-1?o+="\\\\":s=!0}return[o,gt(t),!!e,i]},E(Mt,p);var xt=Mt,Et=(t,e,n={})=>(ct(e),!(!n.nocomment&&"#"===e.charAt(0))&&new te(e,n).match(t)),Nt=/^\*+([^+@!?\*\[\(]*)$/,Pt=t=>e=>!e.startsWith(".")&&e.endsWith(t),Rt=t=>e=>e.endsWith(t),Wt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),At=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Lt=/^\*+\.\*+$/,Ct=t=>!t.startsWith(".")&&t.includes("."),zt=t=>"."!==t&&".."!==t&&t.includes("."),It=/^\.\*+$/,_t=t=>"."!==t&&".."!==t&&t.startsWith("."),Ft=/^\*+$/,Tt=t=>0!==t.length&&!t.startsWith("."),Dt=t=>0!==t.length&&"."!==t&&".."!==t,Ut=/^\?+([^+@!?\*\[\(]*)?$/,Vt=([t,e=""])=>{const n=Ht([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Bt=([t,e=""])=>{const n=qt([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},Gt=([t,e=""])=>{const n=qt([t]);return e?t=>n(t)&&t.endsWith(e):n},Zt=([t,e=""])=>{const n=Ht([t]);return e?t=>n(t)&&t.endsWith(e):n},Ht=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},qt=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},Jt="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";Et.sep="win32"===Jt?"\\":"/";var Yt=Symbol("globstar **");Et.GLOBSTAR=Yt,Et.filter=(t,e={})=>n=>Et(n,t,e);var Kt=(t,e={})=>Object.assign({},t,e);Et.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return Et;const e=Et;return Object.assign(((n,s,o={})=>e(n,s,Kt(t,o))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,Kt(t,n))}static defaults(n){return e.defaults(Kt(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,s={}){super(e,n,Kt(t,s))}static fromGlob(n,s={}){return e.AST.fromGlob(n,Kt(t,s))}},unescape:(n,s={})=>e.unescape(n,Kt(t,s)),escape:(n,s={})=>e.escape(n,Kt(t,s)),filter:(n,s={})=>e.filter(n,Kt(t,s)),defaults:n=>e.defaults(Kt(t,n)),makeRe:(n,s={})=>e.makeRe(n,Kt(t,s)),braceExpand:(n,s={})=>e.braceExpand(n,Kt(t,s)),match:(n,s,o={})=>e.match(n,s,Kt(t,o)),sep:e.sep,GLOBSTAR:Yt})};var Qt=(t,e={})=>(ct(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,ft.default)(t));Et.braceExpand=Qt,Et.makeRe=(t,e={})=>new te(t,e).makeRe(),Et.match=(t,e,n={})=>{const s=new te(e,n);return t=t.filter((t=>s.match(t))),s.options.nonull&&!t.length&&t.push(e),t};var Xt=/[?*]|[+@!]\(.*?\)|\[|\]/,te=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){ct(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||Jt,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let s=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&Xt.test(t[2])||Xt.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,s),this.set=s.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const s=t[n];1===n&&""===s&&""===t[0]||"."!==s&&""!==s||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const s=t[n-1];s&&"."!==s&&".."!==s&&"**"!==s&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let s=-1;for(;-1!==(s=n.indexOf("**",s+1));){let o=s;for(;"**"===n[o+1];)o++;o>s&&n.splice(s+1,o-s);const i=n[s+2],r=n[s+3];if(".."!==n[s+1])continue;if(!i||"."===i||".."===i||!r||"."===r||".."===r)continue;e=!0,n.splice(s,1);const l=n.slice(0);l[s]="**",t.push(l),s--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const s=n[t];1===t&&""===s&&""===n[0]||"."!==s&&""!==s||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let o=0;for(;-1!==(o=n.indexOf("..",o+1));){const t=n[o-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(o-1,2,...1===o&&"**"===n[o+1]?["."]:[]),0===n.length&&n.push(""),o-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const s=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);s&&(t[e]=s,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let s=0,o=0,i=[],r="";for(;s<t.length&&o<e.length;)if(t[s]===e[o])i.push("b"===r?e[o]:t[s]),s++,o++;else if(n&&"**"===t[s]&&e[o]===t[s+1])i.push(t[s]),s++;else if(n&&"**"===e[o]&&t[s]===e[o+1])i.push(e[o]),o++;else if("*"!==t[s]||!e[o]||!this.options.dot&&e[o].startsWith(".")||"**"===e[o]){if("*"!==e[o]||!t[s]||!this.options.dot&&t[s].startsWith(".")||"**"===t[s])return!1;if("a"===r)return!1;r="b",i.push(e[o]),s++,o++}else{if("b"===r)return!1;r="a",i.push(t[s]),s++,o++}return t.length===e.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let s=0;s<t.length&&"!"===t.charAt(s);s++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const s=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),s=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),i=s?3:n?0:void 0,r=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:o?0:void 0;if("number"==typeof i&&"number"==typeof r){const[n,s]=[t[i],e[r]];n.toLowerCase()===s.toLowerCase()&&(e[r]=n,r>i?e=e.slice(r):i>r&&(t=t.slice(i)))}}const{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,r=0,l=t.length,f=e.length;i<l&&r<f;i++,r++){this.debug("matchOne loop");var c=e[r],u=t[i];if(this.debug(e,c,u),!1===c)return!1;if(c===Yt){this.debug("GLOBSTAR",[e,c,u]);var h=i,a=r+1;if(a===f){for(this.debug("** at the end");i<l;i++)if("."===t[i]||".."===t[i]||!s.dot&&"."===t[i].charAt(0))return!1;return!0}for(;h<l;){var d=t[h];if(this.debug("\nglobstar while",t,h,e,a,d),this.matchOne(t.slice(h),e.slice(a),n))return this.debug("globstar found match!",h,l,d),!0;if("."===d||".."===d||!s.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,h,e,a);break}this.debug("globstar swallow a segment, and continue"),h++}return!(!n||(this.debug("\n>>> no match, partial?",t,h,e,a),h!==l))}let o;if("string"==typeof c?(o=u===c,this.debug("string match",c,u,o)):(o=c.test(u),this.debug("pattern match",c,u,o)),!o)return!1}if(i===l&&r===f)return!0;if(i===l)return n;if(r===f)return i===l-1&&""===t[i];throw Error("wtf?")}braceExpand(){return Qt(this.pattern,this.options)}parse(t){ct(t);const e=this.options;if("**"===t)return Yt;if(""===t)return"";let n,s=null;(n=t.match(Ft))?s=e.dot?Dt:Tt:(n=t.match(Nt))?s=(e.nocase?e.dot?At:Wt:e.dot?Rt:Pt)(n[1]):(n=t.match(Ut))?s=(e.nocase?e.dot?Bt:Vt:e.dot?Gt:Zt)(n):(n=t.match(Lt))?s=e.dot?zt:Ct:(n=t.match(It))&&(s=_t);const o=xt.fromGlob(t,this.options).toMMPattern();return s&&"object"==typeof o&&Reflect.defineProperty(o,"test",{value:s}),o}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",s=new Set(e.nocase?["i"]:[]);let o=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))s.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===Yt?Yt:t._src}));return e.forEach(((t,s)=>{const o=e[s+1],i=e[s-1];t===Yt&&i!==Yt&&(void 0===i?void 0!==o&&o!==Yt?e[s+1]="(?:\\/|"+n+"\\/)?"+o:e[s]=n:void 0===o?e[s-1]=i+"(?:\\/|"+n+")?":o!==Yt&&(e[s-1]=i+"(?:\\/|\\/"+n+"\\/)"+o,e[s+1]=Yt))})),e.filter((t=>t!==Yt)).join("/")})).join("|");const[i,r]=t.length>1?["(?:",")"]:["",""];o="^"+i+o+r+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=RegExp(o,[...s].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const s=this.slashSplit(t);this.debug(this.pattern,"split",s);const o=this.set;this.debug(this.pattern,"set",o);let i=s[s.length-1];if(!i)for(let t=s.length-2;!i&&t>=0;t--)i=s[t];for(let t=0;t<o.length;t++){const r=o[t];let l=s;if(n.matchBase&&1===r.length&&(l=[i]),this.matchOne(l,r,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return Et.defaults(t).Minimatch}};Et.AST=xt,Et.Minimatch=te,Et.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),Et.unescape=gt;var ee=class t{static fromLocalValue(e){const n=e[C],s=z in e?e[z]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[n,o]of s){const s="object"==typeof n&&null!==n?t.fromLocalValue(n):n,i=t.fromLocalValue(o);e.set(s,i)}return e;case"object":const o={};for(const[e,n]of s)o[e]=t.fromLocalValue(n);return o;case"regexp":const{pattern:i,flags:r}=s;return RegExp(i,r);case"set":const l=new Set;for(const e of s)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(s);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(C))return!1;const e=t[C];return!!Object.values({...A,...L}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(z))}};((t,e)=>{for(var n in e)m(t,n,{get:e[n],enumerable:!0})})({},{err:()=>se,map:()=>oe,ok:()=>ne,unwrap:()=>re,unwrapErr:()=>le});var ne=t=>({isOk:!0,isErr:!1,value:t}),se=t=>({isOk:!1,isErr:!0,value:t});function oe(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>ne(t))):ne(n)}if(t.isErr)return se(t.value);throw"should never get here"}var ie,re=t=>{if(t.isOk)return t.value;throw t.value},le=t=>{if(t.isErr)return t.value;throw t.value};function fe(){var e;const n=this.attachShadow({mode:"open"});if(void 0===ie&&(ie=null!=(e=function(t){if(!J)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),ie)Y?n.adoptedStyleSheets.push(ie):n.adoptedStyleSheets=[...n.adoptedStyleSheets,ie];else if(!J){const e=document.createElement("style");e.innerHTML=t,n.prepend(e)}}var ce=(t,e,n,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const i=e["s-cr"].parentNode,r=ue(i,"appendChild");if(void 0!==s){o["s-oo"]=s;const t=ue(i,"childNodes"),e=[o];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>r.call(i,t)))}else r.call(i,o);t["s-ol"]=o,t["s-sh"]=e["s-hn"]};function ue(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var he=new WeakMap,ae=(t,e,n)=>{let s=U.get(t);J&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,U.set(t,s)},de=(t,e)=>{var n,s,o;const i=pe(e),r=U.get(i);if(!Z.document)return i;if(t=11===t.nodeType?t:Z.document,r)if("string"==typeof r){let o,l=he.get(t=t.head||t);l||he.set(t,l=new Set);const f=t.querySelector(`[${B}="${i}"]`);if(f)f.innerHTML=r;else if(!l.has(i)){o=Z.document.createElement("style"),o.innerHTML=r;const f=null!=(n=q.h)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=Z.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=f&&o.setAttribute("nonce",f),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(J){const e=new(null!=(s=t.defaultView)?s:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(r),Y?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=r+e.innerHTML:t.prepend(o)}else t.append(o);1&e.l&&t.insertBefore(o,null),4&e.l&&(o.innerHTML+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(i)}}else{let e=he.get(t);if(e||he.set(t,e=new Set),!e.has(i)){const n=null!=(o=t.defaultView)?o:t.ownerDocument.defaultView;let s;if(r.constructor===n.CSSStyleSheet)s=r;else{s=new n.CSSStyleSheet;for(let t=0;t<r.cssRules.length;t++)s.insertRule(r.cssRules[t].cssText,t)}Y?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],e.add(i)}}return i},pe=t=>"sc-"+t.p,ge=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),ve=(t,e,...n)=>{let s=null,o=null,i=!1,r=!1;const l=[],f=e=>{for(let n=0;n<e.length;n++)s=e[n],Array.isArray(s)?f(s):null!=s&&"boolean"!=typeof s&&((i="function"!=typeof t&&!lt(s))&&(s+=""),i&&r?l[l.length-1].v+=s:l.push(i?$e(null,s):s),r=i)};if(f(n),e){e.key&&(o=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const c=$e(t,null);return c.$=e,l.length>0&&(c.m=l),c.k=o,c},$e=(t,e)=>({l:0,O:t,v:e,j:null,m:null,$:null,k:null}),be={},me=(t,e,n,s,o,i,r,l=[])=>{let f,c,u,h;if(1===i.nodeType){if(f=i.getAttribute(G),f&&(c=f.split("."),c[0]===r||"0"===c[0])){u=ye({l:0,S:c[0],M:c[1],N:c[2],P:c[3],O:i.tagName.toLowerCase(),j:i,$:{class:i.className||""}}),e.push(u),i.removeAttribute(G),t.m||(t.m=[]);const o=u.j.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===u.O&&ke(o,c[2],u,i,t,e,n,s,l),u.j["s-sn"]=o,u.j.removeAttribute("s-sn")),void 0!==u.P&&(t.m[u.P]=u),t=u,s&&"0"===u.N&&(s[u.P]=u.j)}if(i.shadowRoot)for(h=i.shadowRoot.childNodes.length-1;h>=0;h--)me(t,e,n,s,o,i.shadowRoot.childNodes[h],r,l);const a=i.__childNodes||i.childNodes;for(h=a.length-1;h>=0;h--)me(t,e,n,s,o,a[h],r,l)}else if(8===i.nodeType)c=i.nodeValue.split("."),(c[1]===r||"0"===c[1])&&(f=c[0],u=ye({S:c[1],M:c[2],N:c[3],P:c[4]||"0",j:i,$:null,m:null,k:null,R:null,O:null,v:null}),"t"===f?(u.j=je(i,3),u.j&&3===u.j.nodeType&&(u.v=u.j.textContent,e.push(u),i.remove(),r===u.S&&(t.m||(t.m=[]),t.m[u.P]=u),s&&"0"===u.N&&(s[u.P]=u.j))):"c"===f?(u.j=je(i,8),u.j&&8===u.j.nodeType&&(e.push(u),i.remove())):u.S===r&&("s"===f?ke(i["s-sn"]=c[5]||"",c[2],u,i,t,e,n,s,l):"r"===f&&s&&i.remove()));else if(t&&"style"===t.O){const e=$e(null,i.textContent);e.j=i,e.P="0",t.m=[e]}return t},we=(t,e)=>{if(1===t.nodeType){const n=t[V]||t.getAttribute(V);n&&e.set(n,t);let s=0;if(t.shadowRoot)for(;s<t.shadowRoot.childNodes.length;s++)we(t.shadowRoot.childNodes[s],e);const o=t.__childNodes||t.childNodes;for(s=0;s<o.length;s++)we(o[s],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},ye=t=>({l:0,S:null,M:null,N:null,P:"0",j:null,$:null,m:null,k:null,R:null,O:null,v:null,...t});function ke(t,e,n,s,o,i,r,l,f){s["s-sr"]=!0,n.R=t||null,n.O="slot";const c=(null==o?void 0:o.j)?o.j["s-id"]||o.j.getAttribute("s-id"):"";if(l&&Z.document){const i=n.j=Z.document.createElement(n.O);n.R&&n.j.setAttribute("name",t),o.j.shadowRoot&&c&&c!==n.S?ue(o.j,"insertBefore")(i,ue(o.j,"children")[0]):ue(ue(s,"parentNode"),"insertBefore")(i,s),Oe(f,e,t,s,n.S),s.remove(),"0"===n.N&&(l[n.P]=n.j)}else{const i=n.j,r=c&&c!==n.S&&o.j.shadowRoot;Oe(f,e,t,s,r?c:n.S),function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],s=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:(t=>{const e=[];for(let n=0;n<t.length;n++){const s=t[n]["s-nr"]||void 0;s&&s.isConnected&&e.push(s)}return e})(o.childNodes)).forEach((t=>{s===(t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0)(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(s),r&&o.j.insertBefore(i,o.j.children[0])}i.push(n),r.push(n),o.m||(o.m=[]),o.m[n.P]=n}var Oe=(t,e,n,s,o)=>{var i,r;let l=s.nextSibling;if(t[e]=t[e]||[],l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:s,node:l,hostId:o})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))},je=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Se=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};Se("::slotted"),Se(":host"),Se(":host-context");var Me,xe=(t,e)=>"string"==typeof t&&t.startsWith(I)?t=function(t){return"string"==typeof t&&t.startsWith(I)?ee.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||lt(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,Ee=(t,e)=>{const n=t;return{emit:t=>Ne(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},Ne=(t,e,n)=>{const s=q.ce(e,n);return t.dispatchEvent(s),s},Pe=(t,e,n,s,o,i,r)=>{if(n===s)return;let l=T(t,e),f=e.toLowerCase();if("class"===e){const e=t.classList,o=We(n);let i=We(s);if((t["s-si"]||t["s-sc"])&&r){const n=t["s-sc"]||t["s-si"];i.push(n),o.forEach((t=>{t.startsWith(n)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),e.add(...i)}else e.remove(...o.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)s&&null!=s[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in s)n&&s[e]===n[e]||(e.includes("-")?t.style.setProperty(e,s[e]):t.style[e]=s[e])}else if("key"===e);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){const r=lt(s);if((l||r&&null!==s)&&!o)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const o=null==s?"":s;"list"===e?l=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(e)||t.removeAttribute(e):(!l||4&i||o)&&!r&&1===t.nodeType&&t.setAttribute(e,s=!0===s?"":s)}else if(e="-"===e[2]?e.slice(3):T(Z,f)?f.slice(2):f[2]+e.slice(3),n||s){const o=e.endsWith(Ae);e=e.replace(Le,""),n&&q.rel(t,e,n,o),s&&q.ael(t,e,s,o)}},Re=/\s/,We=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Re):[]),Ae="Capture",Le=RegExp(Ae+"$"),Ce=(t,e,n,s)=>{const o=11===e.j.nodeType&&e.j.host?e.j.host:e.j,i=t&&t.$||{},r=e.$||{};for(const t of ze(Object.keys(i)))t in r||Pe(o,t,i[t],void 0,n,e.l,s);for(const t of ze(Object.keys(r)))Pe(o,t,i[t],r[t],n,e.l,s)};function ze(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ie=!1,_e=(t,e,n)=>{const s=e.m[n];let o,i,r=0;if(null!==s.v)o=s.j=Z.document.createTextNode(s.v);else{if(Ie||(Ie="svg"===s.O),!Z.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(o=s.j=Z.document.createElementNS(Ie?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.O),Ie&&"foreignObject"===s.O&&(Ie=!1),Ce(null,s,Ie),s.m){const e="template"===s.O?o.content:o;for(r=0;r<s.m.length;++r)i=_e(t,s,r),i&&e.appendChild(i)}"svg"===s.O?Ie=!1:"foreignObject"===o.tagName&&(Ie=!0)}return o["s-hn"]=Me,o},Fe=(t,e,n,s,o,i)=>{let r,l=t;for(l.shadowRoot&&l.tagName===Me&&(l=l.shadowRoot),"template"===n.O&&(l=l.content);o<=i;++o)s[o]&&(r=_e(null,n,o),r&&(s[o].j=r,Ve(l,r,e)))},Te=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.j;t&&t.remove()}}},De=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.k&&e.k&&(t.k=e.k),!0):t.k===e.k),Ue=(t,e,n=!1)=>{const s=e.j=t.j,o=t.m,i=e.m,r=e.O,l=e.v;null===l?(Ce(t,e,Ie="svg"===r||"foreignObject"!==r&&Ie,n),null!==o&&null!==i?((t,e,n,s,o=!1)=>{let i,r,l=0,f=0,c=0,u=0,h=e.length-1,a=e[0],d=e[h],p=s.length-1,g=s[0],v=s[p];const $="template"===n.O?t.content:t;for(;l<=h&&f<=p;)if(null==a)a=e[++l];else if(null==d)d=e[--h];else if(null==g)g=s[++f];else if(null==v)v=s[--p];else if(De(a,g,o))Ue(a,g,o),a=e[++l],g=s[++f];else if(De(d,v,o))Ue(d,v,o),d=e[--h],v=s[--p];else if(De(a,v,o))Ue(a,v,o),Ve($,a.j,d.j.nextSibling),a=e[++l],v=s[--p];else if(De(d,g,o))Ue(d,g,o),Ve($,d.j,a.j),d=e[--h],g=s[++f];else{for(c=-1,u=l;u<=h;++u)if(e[u]&&null!==e[u].k&&e[u].k===g.k){c=u;break}c>=0?(r=e[c],r.O!==g.O?i=_e(e&&e[f],n,c):(Ue(r,g,o),e[c]=void 0,i=r.j),g=s[++f]):(i=_e(e&&e[f],n,f),g=s[++f]),i&&Ve(a.j.parentNode,i,a.j)}l>h?Fe(t,null==s[p+1]?null:s[p+1].j,n,s,f,p):f>p&&Te(e,l,h)})(s,o,e,i,n):null!==i?(null!==t.v&&(s.textContent=""),Fe(s,null,e,i,0,i.length-1)):n||null===o?n&&null!==o&&null===i&&(e.m=o):Te(o,0,o.length-1),Ie&&"svg"===r&&(Ie=!1)):t.v!==l&&(s.data=l)},Ve=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Be=(t,e,n=!1)=>{const s=t.$hostElement$,o=t.W||$e(null,null),i=(t=>t&&t.O===be)(e)?e:ve(null,null,e);if(Me=s.tagName,n&&i.$)for(const t of Object.keys(i.$))s.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.$[t]=s[t]);i.O=null,i.l|=4,t.W=i,i.j=o.j=s.shadowRoot||s,Ue(o,i,n)},Ge=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((s=>t.A=()=>{e["s-p"].splice(n-1,1),s()})))}},Ze=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);Ge(t,t.L);const n=()=>He(t,e);if(!e)return ot(n);queueMicrotask((()=>{n()}))},He=(t,e)=>{const n=t.$hostElement$,s=n;if(!s)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=tn(s,e?"componentWillLoad":"componentWillUpdate",void 0,n),o=qe(o,(()=>tn(s,"componentWillRender",void 0,n))),qe(o,(()=>Ye(t,s,e)))},qe=(t,e)=>Je(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Je=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ye=async(t,e,n)=>{var s;const o=t.$hostElement$,i=o["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,s=e.l,o=de(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&s&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(t);Ke(t,e,o,n),i&&(i.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(s=o["s-p"])?s:[],n=()=>Qe(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},Ke=(t,e,n,s)=>{try{e=e.render(),t.l&=-17,t.l|=2,Be(t,e,s)}catch(e){D(e,t.$hostElement$)}return null},Qe=t=>{const e=t.$hostElement$,n=e,s=t.L;tn(n,"componentDidRender",void 0,e),64&t.l?tn(n,"componentDidUpdate",void 0,e):(t.l|=64,en(e),tn(n,"componentDidLoad",void 0,e),t.C(e),s||Xe()),t.A&&(t.A(),t.A=void 0),512&t.l&&st((()=>Ze(t,!1))),t.l&=-517},Xe=()=>{var t;st((()=>Ne(Z,"appload",{detail:{namespace:"feedlog-toolkit"}}))),(null==(t=q.I)?void 0:t.size)&&q.I.clear()},tn=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){D(t,s)}},en=t=>t.classList.add("hydrated"),nn=(t,e,n,s)=>{const o=F(t);if(!o)return;const i=t,r=o.i.get(e),l=o.l,f=i;if(!((n=xe(n,s.t[e][0]))===r||Number.isNaN(r)&&Number.isNaN(n))){if(o.i.set(e,n),s._){const t=s._[e];t&&t.map((t=>{try{const[[s,i]]=Object.entries(t);(128&l||1&i)&&(f?f[s](n,r,e):o.F.push((()=>{o.T[s](n,r,e)})))}catch(t){D(t,i)}}))}if(2==(18&l)){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(n,r,e))return;Ze(o,!1)}}},sn=(t,e)=>{var n,s;const o=t.prototype;{t.watchers&&!e._&&(e._=t.watchers),t.deserializers&&!e.D&&(e.D=t.deserializers),t.serializers&&!e.U&&(e.U=t.serializers);const i=Object.entries(null!=(n=e.t)?n:{});i.map((([t,[n]])=>{if(31&n||32&n){const{get:s,set:i}=Object.getOwnPropertyDescriptor(o,t)||{};s&&(e.t[t][0]|=2048),i&&(e.t[t][0]|=4096),Object.defineProperty(o,t,{get(){return s?s.apply(this):((t,e)=>F(this).i.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(o,t,{set(s){const o=F(this);if(o){if(i)return void 0===(32&n?this[t]:o.$hostElement$[t])&&o.i.get(t)&&(s=o.i.get(t)),i.call(this,xe(s,n)),void nn(this,t,s=32&n?this[t]:o.$hostElement$[t],e);nn(this,t,s,e)}}})}}));{const n=new Map;o.attributeChangedCallback=function(t,s,r){q.jmp((()=>{var l;const f=n.get(t),c=F(this);if(this.hasOwnProperty(f),o.hasOwnProperty(f)&&"number"==typeof this[f]&&this[f]==r)return;if(null==f){const n=null==c?void 0:c.l;if(c&&n&&!(8&n)&&r!==s){const o=this,i=null==(l=e._)?void 0:l[t];null==i||i.forEach((e=>{const[[i,l]]=Object.entries(e);null!=o[i]&&(128&n||1&l)&&o[i].call(o,r,s,t)}))}return}const u=i.find((([t])=>t===f));u&&4&u[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(o,f);r==this[f]||h.get&&!h.set||(this[f]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e._)?s:{}),...i.filter((([t,e])=>31&e[0])).map((([t,e])=>{const s=e[1]||t;return n.set(s,t),s}))]))}}return t},on=(t,e)=>{const n={l:e[0],p:e[1]};n.t=e[2],n._=t._,n.D=t.D,n.U=t.U,(()=>{if(!Z.document)return;const t=Z.document.querySelectorAll(`[${B}]`);let e=0;for(;e<t.length;e++)ae(t[e].getAttribute(B),ge(t[e].innerHTML),!0)})();const s=t.prototype.connectedCallback,o=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,o:e,i:new Map,V:new Map};n.B=new Promise((t=>n.C=t)),t["s-p"]=[],t["s-rc"]=[];const s=n;t.__stencil__getHostRef=()=>s,512&e.l&&_(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!F(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&q.l)){const e=F(t);if(!e)return;const n=e.o,s=()=>{};if(1&e.l)(null==e?void 0:e.T)||(null==e?void 0:e.B)&&e.B.then((()=>{}));else{let s;if(e.l|=1,s=t.getAttribute(V),s){if(1&n.l){const e=de(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}((t,e,n,s)=>{var o,i,r,l;const f=t.shadowRoot,c=[],u=[],h=f?[]:null,a=$e(e,null);a.j=t,!Z.document||q.I&&q.I.size||we(Z.document.body,q.I=new Map),t[V]=n,t.removeAttribute(V),s.W=me(a,c,[],h,t,t,n,u);let d=0;const p=c.length;let g;for(;d<p;d++){g=c[d];const n=g.S+"."+g.M,s=q.I.get(n),i=g.j;if(f){if((null==(o=g.O)?void 0:(""+o).includes("-"))&&"slot-fb"!==g.O&&!g.j.shadowRoot){const e=F(g.j);if(e){const n=pe(e.o),s=Z.document.querySelector(`style[sty-id="${n}"]`);s&&t.shadowRoot.append(s.cloneNode(!0))}}}else i["s-hn"]=e.toUpperCase(),"slot"===g.O&&(i["s-cr"]=t["s-cr"]);"slot"===g.O&&(g.R=g.j["s-sn"]||g.j.name||null,g.m?(g.l|=2,g.j.childNodes.length||g.m.forEach((t=>{g.j.appendChild(t.j)}))):g.l|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),f||(i["s-oo"]=parseInt(g.M))),s&&!s["s-id"]&&q.I.delete(n)}const v=[],$=u.length;let b,m,w,y,k=0,O=0;for(;k<$;k++)if(b=u[k],b&&b.length)for(w=b.length,m=0;m<w;m++){if(y=b[m],v[y.hostId]||(v[y.hostId]=q.I.get(y.hostId)),!v[y.hostId])continue;const t=v[y.hostId];t.shadowRoot&&y.node.parentElement!==t&&t.insertBefore(y.node,null==(r=null==(i=b[m-1])?void 0:i.node)?void 0:r.nextSibling),t.shadowRoot&&f||(y.slot["s-cr"]||(y.slot["s-cr"]=t["s-cr"],y.slot["s-cr"]=!y.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),ce(y.node,y.slot,0,y.node["s-oo"]||O),(null==(l=y.node.parentElement)?void 0:l.shadowRoot)&&y.node.getAttribute&&y.node.getAttribute("slot")&&y.node.removeAttribute("slot")),O=(y.node["s-oo"]||O)+1}if(f){let e=0;const n=h.length;if(n){for(;e<n;e++){const t=h[e];t&&f.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t})(t,n.p,s,e)}{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Ge(e,e.L=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.l)&&(e.l|=32,s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),s&&s.style)){let t;"string"==typeof s.style&&(t=s.style);const e=pe(n);if(!U.has(e)){const s=()=>{};ae(e,t,!!(1&n.l)),s()}}const o=e.L,i=()=>Ze(e,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(t,e,n)}s()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{he.has(t)&&he.delete(t),t.shadowRoot&&he.has(t.shadowRoot)&&he.delete(t.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else fe.call(this,n)}}),t.is=n.p,sn(t,n)},rn=t=>q.h=t,ln=t=>Object.assign(q,t);function fn(t,e){Be({$hostElement$:e},t)}function cn(t){return t}export{H,be as a,Ee as c,it as getAssetPath,ve as h,on as p,fn as render,rt as setAssetPath,rn as setNonce,ln as setPlatformOptions,cn as t}
@@ -1 +1 @@
1
- import{t as e,p as o,H as t,c as s,h as i,a as d}from"./index.js";import{d as r}from"./p-Chc3XZ5Y.js";import{d as l}from"./p-DMdb-G26.js";import{d as a}from"./p-BuX7UXwe.js";import{d as n}from"./p-DMKFbFjj.js";const c=o(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.feedlogUpvote=s(this,"feedlogUpvote"),this.feedlogLoadMore=s(this,"feedlogLoadMore"),this.issues=[],this.maxWidth="42rem",this.theme="light",this.loading=!1,this.error=null,this.hasMore=!1,this.isLoadingMore=!1,this.currentTheme="light",this.handleUpvote=e=>{e.stopPropagation(),this.feedlogUpvote.emit(e.detail)},this.handleLoadMore=()=>{this.feedlogLoadMore.emit()}}componentWillLoad(){this.currentTheme=this.theme}renderErrorIcon(){return i("svg",{class:"error-icon",xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},i("circle",{cx:"12",cy:"12",r:"10"}),i("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),i("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"}))}renderIssuesList(){var e,o;return i("feedlog-issues-list",{issues:this.issues,limit:this.limit,theme:this.currentTheme,getIssueUrl:this.getIssueUrl,emptyStateTitle:null!==(e=this.emptyStateTitle)&&void 0!==e?e:"No updates yet",emptyStateMessage:null!==(o=this.emptyStateMessage)&&void 0!==o?o:"Check back later for new updates.",onFeedlogUpvote:e=>this.handleUpvote(e)})}render(){return i(d,{key:"96686863c5eb831e64993c681c7780e035c0e2b2",class:"dark"===this.currentTheme?"dark":""},i("div",{key:"54d01678053f4fe58eb547f9954f497402495a83",class:"issues-container",style:{maxWidth:this.maxWidth}},(this.heading||this.subtitle)&&i("header",{key:"889aa47cb4ceea60ca4a5615f512793d726059d9",class:"issues-header"},i("div",{key:"8b4ac6a9ed0c6120ec838a1329416f3471cd2751",class:"header-content"},this.heading&&i("h1",{key:"cfc52f28bc5131715a5c7a0b9231e440b4c0b67c",class:"issues-title"},this.heading),this.subtitle&&i("p",{key:"8b4488546ceb6e807d689b8fca2b2fd85722f824",class:"issues-subtitle"},this.subtitle))),this.loading&&i("div",{key:"35c382f4417893c17951b73dedb12452e805668c",class:"loading-state",role:"status","aria-label":"Loading issues"},i("div",{key:"2d83dd9d40bf7b2a14744ee4a715108a9cdebd60",class:"loading-skeletons"},[1,2,3].map((e=>i("div",{key:e,class:"skeleton-card"},i("div",{class:"skeleton-content"},i("div",{class:"skeleton-header"},i("div",{class:"skeleton-badge"}),i("div",{class:"skeleton-timestamp"})),i("div",{class:"skeleton-main"},i("div",{class:"skeleton-title"}),i("div",{class:"skeleton-body"},i("div",{class:"skeleton-line"}),i("div",{class:"skeleton-line short"})),i("div",{class:"skeleton-repo"})),i("div",{class:"skeleton-footer"},i("div",{class:"skeleton-upvote"})))))))),this.error&&i("div",{key:"43efd42ce0d213131ba97d42d1f98c52515ea9fd",class:"error-state",role:"alert"},i("div",{key:"ad22b0378e290556c896c628dadabf6091bbf972",class:"error-state-content"},this.renderErrorIcon(),i("h2",{key:"9a9779f52de12aa2241ba9ddda6cf8297a4af84d",class:"error-state-title"},"Something went wrong"),i("p",{key:"c697040d37909d882730e5d9ab3a3b147061fc51",class:"error-state-message"},this.error))),!this.loading&&!this.error&&i("div",{key:"afc12552ff7ccc808c7191c1dd1e26d3b95bf2fd"},this.renderIssuesList(),this.hasMore&&i("div",{key:"0f6c84bdeda386e4eec439fb80f4ee1606b9b559",class:"load-more-container"},i("feedlog-button",{key:"e6983bd889a6cdfd4a4b8a06f3a6a97c2d276243",onFeedlogClick:this.handleLoadMore,disabled:this.isLoadingMore,variant:"outline"},this.isLoadingMore?"Loading...":"Load More Issues")))))}static get style(){return":host{display:block;font-family:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;--feedlog-theme-bg:#ffffff;--feedlog-foreground:oklch(0.145 0 0);--feedlog-card:#ffffff;--feedlog-card-foreground:oklch(0.145 0 0);--feedlog-muted:#ececf0;--feedlog-muted-foreground:#717182;--feedlog-border:rgba(0, 0, 0, 0.1);--feedlog-accent-color:#2563eb;--feedlog-destructive:#d4183d;--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-blue-100:oklch(0.932 0.032 255.585);--feedlog-red-100:#fce7f3;--feedlog-red-400:#f472b6;--feedlog-red-600:#db2777;--feedlog-radius:0.625rem;--feedlog-gap:0.5rem;--feedlog-padding:2rem;--feedlog-min-height:100%;--feedlog-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08)}:host(.dark){--feedlog-theme-bg:oklch(0.18 0.01 260);--feedlog-foreground:oklch(0.985 0 0);--feedlog-card:oklch(0.24 0.01 260);--feedlog-card-foreground:oklch(0.985 0 0);--feedlog-muted:oklch(0.32 0.01 260);--feedlog-muted-foreground:oklch(0.72 0.02 260);--feedlog-border:oklch(0.34 0.01 260);--feedlog-accent-color:#3b82f6;--feedlog-destructive:oklch(0.396 0.141 25.723);--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-blue-900-30:color-mix(in oklab, oklch(0.379 0.146 265.522) 30%, transparent);--feedlog-red-900-30:color-mix(in oklab, oklch(0.396 0.141 25.723) 30%, transparent);--feedlog-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.3)}.issues-container{min-height:var(--feedlog-min-height);background-color:var(--feedlog-background, var(--feedlog-theme-bg, #ffffff));padding:var(--feedlog-padding);margin:0 auto;border-radius:var(--feedlog-radius)}.issues-header{margin-bottom:1.5rem;display:flex;align-items:flex-start;justify-content:space-between}.header-content{flex:1}.issues-title{color:var(--feedlog-foreground);margin:0 0 0.25rem 0;font-size:1.5rem;font-weight:500;line-height:1.5}.issues-subtitle{color:var(--feedlog-muted-foreground);font-size:0.875rem;margin:0}.loading-state{padding:0}.loading-skeletons{display:flex;flex-direction:column;gap:var(--feedlog-gap)}.skeleton-card{background-color:var(--feedlog-card);border:1px solid var(--feedlog-border);border-radius:var(--feedlog-radius);box-shadow:var(--feedlog-shadow);position:relative;overflow:hidden}.skeleton-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--feedlog-muted)}.skeleton-content{padding:1.25rem;padding-left:calc(1.25rem + 3px);display:flex;flex-direction:column;gap:0.875rem}.skeleton-header{display:flex;align-items:center;justify-content:space-between;gap:0.75rem}.skeleton-badge{width:4.5rem;height:1.25rem;border-radius:0.375rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite}.skeleton-timestamp{width:3rem;height:0.75rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.2s}.skeleton-main{display:flex;flex-direction:column;gap:0.5rem}.skeleton-title{height:0.9375rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.1s;width:85%}.skeleton-body{display:flex;flex-direction:column;gap:0.375rem}.skeleton-line{height:0.8125rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.15s;width:100%}.skeleton-line.short{width:70%}.skeleton-repo{width:6rem;height:0.75rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.25s}.skeleton-footer{display:flex;justify-content:flex-end}.skeleton-upvote{width:2.5rem;height:2rem;border-radius:0.5rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.3s}@keyframes skeleton-pulse{0%,100%{opacity:1}50%{opacity:0.5}}.error-state{display:flex;align-items:center;justify-content:center;padding:3rem 2rem;min-height:12rem}.error-state-content{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:20rem;padding:2rem}.error-icon{color:var(--feedlog-muted-foreground);opacity:0.8;margin-bottom:1rem}.error-state-title{margin:0 0 0.5rem 0;font-size:1.125rem;font-weight:600;color:var(--feedlog-foreground);line-height:1.4}.error-state-message{margin:0 0 1.25rem 0;font-size:0.875rem;color:var(--feedlog-muted-foreground);line-height:1.5}.load-more-container{display:flex;justify-content:center;padding:2rem 0;gap:1rem}"}},[1,"feedlog-issues",{issues:[16],maxWidth:[1,"max-width"],limit:[2],theme:[1025],heading:[1],subtitle:[1],emptyStateTitle:[1,"empty-state-title"],emptyStateMessage:[1,"empty-state-message"],loading:[4],error:[1],hasMore:[4,"has-more"],isLoadingMore:[4,"is-loading-more"],getIssueUrl:[16],currentTheme:[32]}]);function f(){"undefined"!=typeof customElements&&["feedlog-issues","feedlog-badge","feedlog-button","feedlog-issue","feedlog-issues-list"].forEach((o=>{switch(o){case"feedlog-issues":customElements.get(e(o))||customElements.define(e(o),c);break;case"feedlog-badge":customElements.get(e(o))||r();break;case"feedlog-button":customElements.get(e(o))||l();break;case"feedlog-issue":customElements.get(e(o))||a();break;case"feedlog-issues-list":customElements.get(e(o))||n()}}))}f();export{c as F,f as d}
1
+ import{t as e,p as o,H as t,c as s,h as i,a as d}from"./index.js";import{d as r}from"./p-DzATWlAC.js";import{d as a}from"./p-DMdb-G26.js";import{d as l}from"./p-BRjVS8bz.js";import{d as n}from"./p-CuFKEckF.js";const c=o(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.feedlogUpvote=s(this,"feedlogUpvote"),this.feedlogLoadMore=s(this,"feedlogLoadMore"),this.issues=[],this.maxWidth="42rem",this.theme="light",this.loading=!1,this.error=null,this.hasMore=!1,this.isLoadingMore=!1,this.currentTheme="light",this.handleUpvote=e=>{e.stopPropagation(),this.feedlogUpvote.emit(e.detail)},this.handleLoadMore=()=>{this.feedlogLoadMore.emit()}}componentWillLoad(){this.currentTheme=this.theme}renderErrorIcon(){return i("svg",{class:"error-icon",xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},i("circle",{cx:"12",cy:"12",r:"10"}),i("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),i("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"}))}renderIssuesList(){var e,o;return i("feedlog-issues-list",{issues:this.issues,limit:this.limit,theme:this.currentTheme,getIssueUrl:this.getIssueUrl,emptyStateTitle:null!==(e=this.emptyStateTitle)&&void 0!==e?e:"No updates yet",emptyStateMessage:null!==(o=this.emptyStateMessage)&&void 0!==o?o:"Check back later for new updates.",onFeedlogUpvote:e=>this.handleUpvote(e)})}render(){return i(d,{key:"96686863c5eb831e64993c681c7780e035c0e2b2",class:"dark"===this.currentTheme?"dark":""},i("div",{key:"54d01678053f4fe58eb547f9954f497402495a83",class:"issues-container",style:{maxWidth:this.maxWidth}},(this.heading||this.subtitle)&&i("header",{key:"889aa47cb4ceea60ca4a5615f512793d726059d9",class:"issues-header"},i("div",{key:"8b4ac6a9ed0c6120ec838a1329416f3471cd2751",class:"header-content"},this.heading&&i("h1",{key:"cfc52f28bc5131715a5c7a0b9231e440b4c0b67c",class:"issues-title"},this.heading),this.subtitle&&i("p",{key:"8b4488546ceb6e807d689b8fca2b2fd85722f824",class:"issues-subtitle"},this.subtitle))),this.loading&&i("div",{key:"35c382f4417893c17951b73dedb12452e805668c",class:"loading-state",role:"status","aria-label":"Loading issues"},i("div",{key:"2d83dd9d40bf7b2a14744ee4a715108a9cdebd60",class:"loading-skeletons"},[1,2,3].map((e=>i("div",{key:e,class:"skeleton-card"},i("div",{class:"skeleton-content"},i("div",{class:"skeleton-header"},i("div",{class:"skeleton-badge"}),i("div",{class:"skeleton-timestamp"})),i("div",{class:"skeleton-main"},i("div",{class:"skeleton-title"}),i("div",{class:"skeleton-body"},i("div",{class:"skeleton-line"}),i("div",{class:"skeleton-line short"})),i("div",{class:"skeleton-repo"})),i("div",{class:"skeleton-footer"},i("div",{class:"skeleton-upvote"})))))))),this.error&&i("div",{key:"43efd42ce0d213131ba97d42d1f98c52515ea9fd",class:"error-state",role:"alert"},i("div",{key:"ad22b0378e290556c896c628dadabf6091bbf972",class:"error-state-content"},this.renderErrorIcon(),i("h2",{key:"9a9779f52de12aa2241ba9ddda6cf8297a4af84d",class:"error-state-title"},"Something went wrong"),i("p",{key:"c697040d37909d882730e5d9ab3a3b147061fc51",class:"error-state-message"},this.error))),!this.loading&&!this.error&&i("div",{key:"afc12552ff7ccc808c7191c1dd1e26d3b95bf2fd"},this.renderIssuesList(),this.hasMore&&i("div",{key:"0f6c84bdeda386e4eec439fb80f4ee1606b9b559",class:"load-more-container"},i("feedlog-button",{key:"e6983bd889a6cdfd4a4b8a06f3a6a97c2d276243",onFeedlogClick:this.handleLoadMore,disabled:this.isLoadingMore,variant:"outline"},this.isLoadingMore?"Loading...":"Load More Issues")))))}static get style(){return":host{display:block;font-family:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;--feedlog-theme-bg:#ffffff;--feedlog-foreground:oklch(0.145 0 0);--feedlog-card:#ffffff;--feedlog-card-foreground:oklch(0.145 0 0);--feedlog-muted:#ececf0;--feedlog-muted-foreground:#717182;--feedlog-border:rgba(0, 0, 0, 0.1);--feedlog-accent-color:#2563eb;--feedlog-destructive:#d4183d;--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-blue-100:oklch(0.932 0.032 255.585);--feedlog-red-100:#fce7f3;--feedlog-red-400:#f472b6;--feedlog-red-600:#db2777;--feedlog-radius:0.625rem;--feedlog-gap:0.5rem;--feedlog-padding:2rem;--feedlog-min-height:100%;--feedlog-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08)}:host(.dark){--feedlog-theme-bg:oklch(0.18 0.01 260);--feedlog-foreground:oklch(0.985 0 0);--feedlog-card:oklch(0.24 0.01 260);--feedlog-card-foreground:oklch(0.985 0 0);--feedlog-muted:oklch(0.32 0.01 260);--feedlog-muted-foreground:oklch(0.72 0.02 260);--feedlog-border:oklch(0.34 0.01 260);--feedlog-accent-color:#3b82f6;--feedlog-destructive:oklch(0.396 0.141 25.723);--feedlog-blue-400:oklch(0.707 0.165 254.624);--feedlog-blue-600:oklch(0.546 0.245 262.881);--feedlog-shadow:0 1px 3px 0 rgba(0, 0, 0, 0.3)}.issues-container{min-height:var(--feedlog-min-height);background-color:var(--feedlog-background, var(--feedlog-theme-bg, #ffffff));padding:var(--feedlog-padding);margin:0 auto;border-radius:var(--feedlog-radius)}.issues-header{margin-bottom:1.5rem;display:flex;align-items:flex-start;justify-content:space-between}.header-content{flex:1}.issues-title{color:var(--feedlog-foreground);margin:0 0 0.25rem 0;font-size:1.5rem;font-weight:500;line-height:1.5}.issues-subtitle{color:var(--feedlog-muted-foreground);font-size:0.875rem;margin:0}.loading-state{padding:0}.loading-skeletons{display:flex;flex-direction:column;gap:var(--feedlog-gap)}.skeleton-card{background-color:var(--feedlog-card);border:1px solid var(--feedlog-border);border-radius:var(--feedlog-radius);box-shadow:var(--feedlog-shadow);position:relative;overflow:hidden}.skeleton-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--feedlog-muted)}.skeleton-content{padding:1.25rem;padding-left:calc(1.25rem + 3px);display:flex;flex-direction:column;gap:0.875rem}.skeleton-header{display:flex;align-items:center;justify-content:space-between;gap:0.75rem}.skeleton-badge{width:4.5rem;height:1.25rem;border-radius:0.375rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite}.skeleton-timestamp{width:3rem;height:0.75rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.2s}.skeleton-main{display:flex;flex-direction:column;gap:0.5rem}.skeleton-title{height:0.9375rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.1s;width:85%}.skeleton-body{display:flex;flex-direction:column;gap:0.375rem}.skeleton-line{height:0.8125rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.15s;width:100%}.skeleton-line.short{width:70%}.skeleton-repo{width:6rem;height:0.75rem;border-radius:0.25rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.25s}.skeleton-footer{display:flex;justify-content:flex-end}.skeleton-upvote{width:2.5rem;height:2rem;border-radius:0.5rem;background-color:var(--feedlog-muted);animation:skeleton-pulse 1.5s ease-in-out infinite 0.3s}@keyframes skeleton-pulse{0%,100%{opacity:1}50%{opacity:0.5}}.error-state{display:flex;align-items:center;justify-content:center;padding:3rem 2rem;min-height:12rem}.error-state-content{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:20rem;padding:2rem}.error-icon{color:var(--feedlog-muted-foreground);opacity:0.8;margin-bottom:1rem}.error-state-title{margin:0 0 0.5rem 0;font-size:1.125rem;font-weight:600;color:var(--feedlog-foreground);line-height:1.4}.error-state-message{margin:0 0 1.25rem 0;font-size:0.875rem;color:var(--feedlog-muted-foreground);line-height:1.5}.load-more-container{display:flex;justify-content:center;padding:2rem 0;gap:1rem}"}},[1,"feedlog-issues",{issues:[16],maxWidth:[1,"max-width"],limit:[2],theme:[1025],heading:[1],subtitle:[1],emptyStateTitle:[1,"empty-state-title"],emptyStateMessage:[1,"empty-state-message"],loading:[4],error:[1],hasMore:[4,"has-more"],isLoadingMore:[4,"is-loading-more"],getIssueUrl:[16],currentTheme:[32]}]);function f(){"undefined"!=typeof customElements&&["feedlog-issues","feedlog-badge","feedlog-button","feedlog-issue","feedlog-issues-list"].forEach((o=>{switch(o){case"feedlog-issues":customElements.get(e(o))||customElements.define(e(o),c);break;case"feedlog-badge":customElements.get(e(o))||r();break;case"feedlog-button":customElements.get(e(o))||a();break;case"feedlog-issue":customElements.get(e(o))||l();break;case"feedlog-issues-list":customElements.get(e(o))||n()}}))}f();export{c as F,f as d}