{"version":3,"file":"Diagram.Tabcordions.3e903ecb.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 var timeout = false,\r\n delay = 250,\r\n matches = false;\r\n\r\n var breakpointCheck = function() {\r\n if (window.innerWidth < 896) {\r\n if (matches) {\r\n document.dispatchEvent(new CustomEvent('breakpointBravoUnmatch'));\r\n matches = false;\r\n }\r\n } else {\r\n if (!matches) {\r\n document.dispatchEvent(new CustomEvent('breakpointBravoMatch'));\r\n matches = true;\r\n }\r\n }\r\n };\r\n\r\n // window.resize event listener\r\n window.addEventListener('resize', function () {\r\n clearTimeout(timeout);\r\n timeout = setTimeout(breakpointCheck, delay);\r\n });\r\n\r\n // tabcordion init\r\n $(document).on('breakpointBravoMatch', function () {\r\n $('.js-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('breakpointBravoUnmatch', function () {\r\n $('.js-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 });\r\n });\r\n });\r\n\r\n if (window.innerWidth < 896) {\r\n document.dispatchEvent(new CustomEvent('breakpointBravoUnmatch'));\r\n matches = false;\r\n } else {\r\n document.dispatchEvent(new CustomEvent('breakpointBravoMatch'));\r\n matches = true;\r\n }\r\n\r\n};"],"names":["DiagramTabcordions","timeout","delay","matches","breakpointCheck"],"mappings":"mGAGO,eAAeA,GAAqB,CACvC,IAAIC,EAAU,GACVC,EAAQ,IACRC,EAAU,GAEVC,EAAkB,UAAW,CACzB,OAAO,WAAa,IAChBD,IACA,SAAS,cAAc,IAAI,YAAY,wBAAwB,CAAC,EAChEA,EAAU,IAGTA,IACD,SAAS,cAAc,IAAI,YAAY,sBAAsB,CAAC,EAC9DA,EAAU,GAG1B,EAGI,OAAO,iBAAiB,SAAU,UAAY,CAC1C,aAAaF,CAAO,EACpBA,EAAU,WAAWG,EAAiBF,CAAK,CACnD,CAAK,EAGD,EAAE,QAAQ,EAAE,GAAG,uBAAwB,UAAY,CAC/C,EAAE,iBAAiB,EAAE,KAAK,UAAY,CAC9B,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,yBAA0B,UAAY,CACjD,EAAE,iBAAiB,EAAE,KAAK,UAAY,CAC9B,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,WAC9B,CAAa,CACb,CAAS,CACT,CAAK,EAEG,OAAO,WAAa,KACpB,SAAS,cAAc,IAAI,YAAY,wBAAwB,CAAC,EAChEC,EAAU,KAEV,SAAS,cAAc,IAAI,YAAY,sBAAsB,CAAC,EAC9DA,EAAU,GAGlB"}
皇冠体育
广州医药集团有限公司
心海e站
体育博彩
江苏历史教研网
皇冠体育官网
大连工业大学艺术与信息工程学院
艺龙酒店团购
Online-gambling-platform-media@ehulk.net" class="hidden">大庆违章查询网
澳门新葡京博彩
太阳城
Online-gambling-platform-media@ehulk.net
Sun-City-Entertainment-help@braelyngenerator.net
新葡京
娱乐沸点
中国服饰加工网
澳客网足彩
买球平台
腾升装饰
Sun-City-support@yifucn.com
爱调查
重庆当代整形美容医院
太平洋电脑网DIY硬件频道
金日制药
江苏食品药品职业技术学院
红网新闻中心
光线CMS
哈尔滨工业大学(威海)
电玩巴士御龙在天
汇智光华
站点地图
上海姚氏仪器设备厂
温州全城热恋婚纱摄影概念馆
铁血图鉴