{"version":3,"sources":["jsdelivr-header.js","/npm/momentum-ui-motion@1.8.0/src/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNO,YAAa,mBACb,gBAAiB,wBACjB,eAAgB,uBAChB,SAAU,gBACV,WAAY,kBACZ,aAAc,qBACd,YAAa,mBACb,oBAAqB,4BACrB,eAAgB,gBAEvB,MAAM,WAAa,CACf,QACA,YACA,WACA,OACA,SACA,gBACA,YACF,OAAO,MAAM,OAAO,SAEhB,SAAY,CACd,WAAY,WACZ,YAAY,EACZ,eAAiB,SAAU,EAAM,GACP,oBAAX,aAA2C,IAAjB,OAAO,KACxC,OAAO,GAAQ,EAEvB,EACA,YAAa,WACT,IAAI,KAAK,WAAY,CACjB,IAAI,IAAI,EAAI,EAAG,EAAI,KAAK,WAAW,OAAO,EAAE,EAAE,IAC1C,KAAK,WAAW,GAAG,WAEvB,KAAK,YAAa,CACtB,CACJ,GAGJ,SAAS,eAAe,qBAAsB,UAC9C,SAAS,eAAe,oBAAqB,UAE1C,UAAY,SAAS,iBACpB,SAAS,iBAAiB,oBAAmB,WACzC,SAAS,aACb,IAEA,SAAS,6BAGE","file":"/npm/momentum-ui-motion@1.8.0/src/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/momentum-ui-motion@1.8.0/src/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import Spinner from './spinner';\nimport LoadingDots from './loading-dots';\nimport InputLabel from './input-label';\nimport Tabs from './tabs';\nimport Toggle from './toggle';\nimport StateBar from './state-bar';\nimport Control from './control';\nimport LoadingBreakout from './loading-breakout';\nimport VoiceInput from './voice-input';\n\nconst Components = [\n    Spinner,\n    LoadingDots,\n    InputLabel,\n    Toggle,\n    StateBar,\n    LoadingBreakout,\n    VoiceInput\n].concat(Tabs).concat(Control);\n\nconst MotionUI  = {\n    Components: Components,\n    IfRegister: false,\n    registerWindow : function (name, func) {\n        if (typeof window !== 'undefined' && window[name] === undefined) {\n            window[name] = func;\n        }\n    },\n    registerAll: function() {\n        if(!this.IfRegister) {\n            for(let i = 0, l = this.Components.length;i<l;i++) {\n                this.Components[i].register();\n            }\n            this.IfRegister = true;\n        }\n    }\n}\n\nMotionUI.registerWindow('momentum_ui_motion', MotionUI);\nMotionUI.registerWindow('mframe-components', MotionUI);\n\nif(document && document.addEventListener) {\n    document.addEventListener('DOMContentLoaded',function(){\n        MotionUI.registerAll();\n    });\n} else {\n    MotionUI.registerAll();\n}\n\nexport default momentum_ui_motion;"]}