import{__exports as r}from"../../../_virtual/esnext.array.last-item.mjs";import{__require as e}from"../internals/descriptors.mjs";import{__require as t}from"../internals/add-to-unscopables.mjs";import{__require as i}from"../internals/to-object.mjs";import{__require as s}from"../internals/length-of-array-like.mjs";import{__require as a}from"../internals/define-built-in-accessor.mjs";var o;function n(){if(o)return r;o=1;var n=e(),m=t(),u=i(),_=s(),l=a();return n&&(l(Array.prototype,"lastItem",{configurable:!0,get:function(){var r=u(this),e=_(r);return 0===e?void 0:r[e-1]},set:function(r){var e=u(this),t=_(e);return e[0===t?0:t-1]=r}}),m("lastItem")),r}export{n as __require};