"use strict";var e=require("@babel/runtime/helpers/defineProperty"),n=require("@babel/runtime/helpers/toConsumableArray"),r=require("node:module"),o=require("@rollup/plugin-json"),t=require("node:url"),i=require("@rollup/plugin-alias"),l=require("@rollup/plugin-node-resolve"),u=require("@rollup/plugin-commonjs"),a=require("@rollup/plugin-babel"),s=require("@rollup/plugin-terser"),c=require("rollup-plugin-analyzer"),p=require("rollup-plugin-visualizer");function d(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return f(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,n):void 0}}(e))||n){r&&(e=r);var o=0,t=function(){};return{s:t,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(u)throw i}}}}function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,o=Array(n);r=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(u)throw i}}}}function O(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,o=Array(n);r2&&void 0!==arguments[2]?arguments[2]:{},l=null!==(r=i.formats)&&void 0!==r?r:["cjs","esm"],u=[],a=null!==(o=i.input)&&void 0!==o?o:"src/index.js",s=y(l);try{for(s.s();!(t=s.n()).done;){var c=t.value,p=h({},i),d={input:a,output:v(c,e,p),external:g(n,p),plugins:m(0,n,p),onwarn:function(e,n){"INVALID_ANNOTATION"===e.code&&e.message.includes("#__PURE__")&&e.message.includes("terser")||"CIRCULAR_DEPENDENCY"===e.code&&e.message.includes("node_modules")||n(e)}};u.push(d),!0===i.debug&&(console.debug("[DEBUG] The options for the format ".concat(c," is:")),console.dir(p,{depth:null}))}}catch(e){s.e(e)}finally{s.f()}return!0===i.debug&&(console.debug("[DEBUG] The generated rollup configurations are:"),console.dir(u,{depth:null})),u};//# sourceMappingURL=rollup-builder.min.cjs.map