import{b as y,a as f}from"./index-22eb3e7f.js";import{cX as p}from"./index-952e178b.js";function O(r){if(Array.isArray(r))return r}function m(r,n){var t=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var e,o,a,l,c=[],i=!0,u=!1;try{if(a=(t=t.call(r)).next,n===0){if(Object(t)!==t)return;i=!1}else for(;!(i=(e=a.call(t)).done)&&(c.push(e.value),c.length!==n);i=!0);}catch(b){u=!0,o=b}finally{try{if(!i&&t.return!=null&&(l=t.return(),Object(l)!==l))return}finally{if(u)throw o}}return c}}function j(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g(r,n){return O(r)||m(r,n)||y(r,n)||j()}function P(r,n){if(r==null)return{};var t,e,o=p(r,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(e=0;e<a.length;e++)t=a[e],n.indexOf(t)===-1&&{}.propertyIsEnumerable.call(r,t)&&(o[t]=r[t])}return o}function s(r,n){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);n&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),t.push.apply(t,e)}return t}function w(r){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?s(Object(t),!0).forEach(function(e){f(r,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))})}return r}export{P as _,w as a,g as b};
