{"version":3,"sources":["jsdelivr-header.js","/npm/@gersak/ty@0.1.917/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCJS,aAAgB,gCAChB,OAAQ,iBAAoB,8BAC5B,UAAa,6BACb,aAAgB,gCAChB,YAAe,+BACf,eAAkB,kCAClB,WAAc,8BACd,eAAkB,kCAClB,cAAiB,iCACjB,YAAe,+BACf,YAAe,+BACf,eAAkB,kCAClB,kBAAqB,qCACrB,WAAc,8BACd,UAAa,6BACb,oBAAuB,wCACvB,yBAA4B,6CAC5B,eAAkB,kCAClB,iBAAoB,qCACpB,qBAAwB,yCAExB,QAAS,SAAU,gBAAmB,oCAEtC,wBAAyB,kBAAmB,sBAAuB,8BAAiC,qCAEpG,WAAY,aAAc,eAAgB,SAAU,WAAY,eAAgB,aAAc,qCAAsC,2CAA8C,gCAKlL,YAAe,sBAGf,cAAe,QAAS,QAAS,aAAc,aAAc,WAAY,kBAAqB,kCAE9F,cAAe,QAAS,QAAS,aAAc,aAAc,WAAY,iCAE9D,0BAA2B,gBAAiB,gBAAmB,6BAC7D,oBAAX,SACP,OAAO,UAAY,QACnB,OAAO,QAAU,CACb,SAAW,IACP,MAAM,EAAQ,OAAO,KAAK,GAAO,OACjC,cAAc,GAEd,YAAW,KACP,QAAQ,IAAI,gBAAgB,sCAA0C,GACvE,EAAE,EAET,IAAM,GAAS,QAAQ,GACvB,IAAM,GAAS,QAAQ,GACvB,KAAM,IAAM,eACZ,UAAW,IAAM,eACjB,WAAY,IAAM,cAGtB,OAAO,iBAAmB,CACtB,QAAU,GAAO,cAAc,GAC/B,SAAU,CAAC,EAAI,IAAa,gBAAgB,EAAI,GAChD,SAAI,GAAU,OAAO,aAAe","file":"/npm/@gersak/ty@0.1.917/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@gersak/ty@0.1.917/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","// Ty TypeScript Components\n// Modern, zero-dependency web components\nexport { TyButton } from './components/button.js';\nexport { TyIcon, IconRegistry } from './components/icon.js';\nexport { TyTag } from './components/tag.js';\nexport { TyOption } from './components/option.js';\nexport { TyInput } from './components/input.js';\nexport { TyCheckbox } from './components/checkbox.js';\nexport { TyCopy } from './components/copy.js';\nexport { TyTextarea } from './components/textarea.js';\nexport { TyTooltip } from './components/tooltip.js';\nexport { TyPopup } from './components/popup.js';\nexport { TyModal } from './components/modal.js';\nexport { TyDropdown } from './components/dropdown.js';\nexport { TyMultiselect } from './components/multiselect.js';\nexport { TyTabs } from './components/tabs.js';\nexport { TyTab } from './components/tab.js';\nexport { TyCalendarMonth } from './components/calendar-month.js';\nexport { TyCalendarNavigation } from './components/calendar-navigation.js';\nexport { TyCalendar } from './components/calendar.js';\nexport { TyDatePicker } from './components/date-picker.js';\nexport { TyResizeObserver } from './components/resize-observer.js';\n// Resize Observer\nexport { getSize, onResize, getAllSizes } from './utils/resize-observer.js';\n// Property capture utilities for React/Reagent compatibility\nexport { capturePreSetProperties, getCapturedValues, applyPreSetProperties, captureAndApplyProperties } from './utils/property-capture.js';\n// Utilities\nexport { lockScroll, unlockScroll, forceUnlockAll, isLocked, isLockedBy, getActiveLocks, getLockState, enableDebug as enableScrollLockDebug, disableDebug as disableScrollLockDebug } from './utils/scroll-lock.js';\n// Icons\n// Note: Icon libraries moved to separate @gersak/ty-icons package\n// Icon registry utility remains in core for registering custom icons\n// Version (auto-generated from package.json)\nimport { VERSION } from './version.js';\n// Global API\n// Expose window.tyIcons for script tag usage\nimport { registerIcons, getIcon, hasIcon, getIconNames, getCacheInfo, clearIcons, getCachedIcon } from './utils/icon-registry.js';\n// Export icon registry functions for advanced use\nexport { registerIcons, getIcon, hasIcon, getIconNames, getCacheInfo, clearIcons, getCachedIcon };\n// Import resize observer utilities for window API\nimport { getSize as getResizeSize, onResize as subscribeResize, getAllSizes } from './utils/resize-observer.js';\nif (typeof window !== 'undefined') {\n    window.tyVersion = VERSION;\n    window.tyIcons = {\n        register: (icons) => {\n            const count = Object.keys(icons).length;\n            registerIcons(icons);\n            // Defer logging to not block registration\n            setTimeout(() => {\n                console.log(`✅ Registered ${count} icons (cached for instant reload)`);\n            }, 0);\n        },\n        get: (name) => getIcon(name),\n        has: (name) => hasIcon(name),\n        list: () => getIconNames(),\n        cacheInfo: () => getCacheInfo(),\n        clearCache: () => clearIcons()\n    };\n    // Resize Observer API\n    window.tyResizeObserver = {\n        getSize: (id) => getResizeSize(id),\n        onResize: (id, callback) => subscribeResize(id, callback),\n        get sizes() { return getAllSizes(); }\n    };\n}\n"]}