UNPKG

@shopify/cli

Version:

A CLI tool to build for the Shopify platform

3 lines (2 loc) 1.01 kB
import{g as i}from"./chunk-VPRTJUIN.js";i();var a=(t,e,n,o)=>{if(n==="length"||n==="prototype"||n==="arguments"||n==="caller")return;let r=Object.getOwnPropertyDescriptor(t,n),c=Object.getOwnPropertyDescriptor(e,n);!u(r,c)&&o||Object.defineProperty(t,n,c)},u=function(t,e){return t===void 0||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},g=(t,e)=>{let n=Object.getPrototypeOf(e);n!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,n)},b=(t,e)=>`/* Wrapped ${t}*/ ${e}`,l=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),f=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),O=(t,e,n)=>{let o=n===""?"":`with ${n.trim()}() `,r=b.bind(null,o,e.toString());Object.defineProperty(r,"name",f),Object.defineProperty(t,"toString",{...l,value:r})};function s(t,e,{ignoreNonConfigurable:n=!1}={}){let{name:o}=t;for(let r of Reflect.ownKeys(e))a(t,e,r,n);return g(t,e),O(t,e,o),t}export{s as a};