Files
lit-examples/assets/tslib.es6-h7HTSAm4.js
2026-07-05 02:38:01 +00:00

2 lines
1.3 KiB
JavaScript

var s=function(o,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&(n[c]=e[c])},s(o,t)};function y(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(o,t);function n(){this.constructor=o}o.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var l=function(){return l=Object.assign||function(t){for(var n,e=1,c=arguments.length;e<c;e++){n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l.apply(this,arguments)};function h(o,t,n,e){var c=arguments.length,r=c<3?t:e===null?e=Object.getOwnPropertyDescriptor(t,n):e,f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,t,n,e);else for(var i=o.length-1;i>=0;i--)(f=o[i])&&(r=(c<3?f(r):c>3?f(t,n,r):f(t,n))||r);return c>3&&r&&Object.defineProperty(t,n,r),r}function w(o,t,n,e){function c(r){return r instanceof n?r:new n(function(f){f(r)})}return new(n||(n=Promise))(function(r,f){function i(u){try{p(e.next(u))}catch(a){f(a)}}function _(u){try{p(e.throw(u))}catch(a){f(a)}}function p(u){u.done?r(u.value):c(u.value).then(i,_)}p((e=e.apply(o,t||[])).next())})}export{l as _,w as a,h as b,y as c};