{"version":3,"file":"Diagram.Tabcordions.977c8111.js","sources":["../src/current/js/modules/Diagram.Tabcordions.js"],"sourcesContent":["import '@wearediagram/wsol.accordion';\r\nimport '@wearediagram/wsol.tabs';\r\n\r\nexport async function DiagramTabcordions() {\r\n    // tabcordion init\r\n    $(document).on('breakpoint-match-bravo', function () {\r\n        $('.js-tabs.tabcordions').each(function () {\r\n            if ($(this).find('.js-tab-container').data('wsol.accordion') !== undefined) {\r\n                $(this).find('.js-tab-container').data('wsol.accordion').destroy();\r\n            }\r\n            $(this).wsol_tabs();\r\n        });\r\n    });\r\n\r\n    $(document).on('breakpoint-unmatch-bravo', function () {\r\n        $('.js-tabs.tabcordions').each(function () {\r\n            if ($(this).data('wsol.tabs') !== undefined) {\r\n                $(this).data('wsol.tabs').destroy();\r\n            }\r\n            $(this).find('.js-tab-container').wsol_accordion({\r\n                headerSelector: '.js-tab-header',\r\n                bodySelector: '.tab-content',\r\n                itemSelector: '.tab-pane',\r\n                spriteContainer: '.js-tab-header',\r\n                customSprite: function (item) {\r\n                    return '<i class=\"fa fa-solid fa-chevron-down\"></i>';\r\n                },\r\n                startFirstOpen: true\r\n            });\r\n        });\r\n    });\r\n};"],"names":["DiagramTabcordions","item"],"mappings":"gGAGO,eAAeA,GAAqB,CAEvC,EAAE,QAAQ,EAAE,GAAG,yBAA0B,UAAY,CACjD,EAAE,sBAAsB,EAAE,KAAK,UAAY,CACnC,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,KAAK,gBAAgB,IAAM,QAC7D,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,KAAK,gBAAgB,EAAE,UAE7D,EAAE,IAAI,EAAE,WACpB,CAAS,CACT,CAAK,EAED,EAAE,QAAQ,EAAE,GAAG,2BAA4B,UAAY,CACnD,EAAE,sBAAsB,EAAE,KAAK,UAAY,CACnC,EAAE,IAAI,EAAE,KAAK,WAAW,IAAM,QAC9B,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,QAAO,EAErC,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,eAAe,CAC7C,eAAgB,iBAChB,aAAc,eACd,aAAc,YACd,gBAAiB,iBACjB,aAAc,SAAUC,EAAM,CAC1B,MAAO,6CACV,EACD,eAAgB,EAChC,CAAa,CACb,CAAS,CACT,CAAK,CACL"}