"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let a={};const u=[],g=e=>{u.push(e)};function d(e,r){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){const n=u.reduce((o,i)=>i(o??"","warning"),r);n&&console.error(`Warning: ${n}`)}}function f(e,r){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){const n=u.reduce((o,i)=>i(o??"","note"),r);n&&console.warn(`Note: ${n}`)}}function l(){a={}}function p(e,r,n){!r&&!a[n]&&(e(!1,n),a[n]=!0)}function c(e,r){p(d,e,r)}function W(e,r){p(f,e,r)}c.preMessage=g;c.resetWarned=l;c.noteOnce=W;function w(){}let t=null;function O(){l(),t=null}function $(e){const r=(n,o,i)=>{if(!n)if(o==="deprecated"){const s=t;t||(t={}),t[e]=t[e]||[],t[e].includes(i||"")||t[e].push(i||""),s||console.warn("[aplus-ui] There exists deprecated usage in your code:",t)}else c(n,`[aplus-ui: ${e}] ${i}`)};return r.deprecated=(n,o,i,s)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${i}\` instead.${s?` ${s}`:""}`)},process.env.NODE_ENV!=="production"?r:(()=>{const n=()=>{};return n.deprecated=w,n})()}exports.note=f;exports.resetWarning=O;exports.useDevWarning=$;exports.warning=d;exports.warningOnce=c;
