{"version":3,"sources":["webpack://@verndale/toolkit/./src/js/modules/PageTransition/PageTabs.js","webpack://@verndale/toolkit/./src/js/modules/PageTransition/index.js"],"names":[],"mappings":"wLAEA,eAAuB,KAAU,CAC/B,YAAY,EAAI,EAAS,CACvB,MAAM,EAAI,GAEV,KAAK,WAGP,eAAgB,CACd,KAAK,IAAM,CACT,WAAY,SAAS,cAAc,YACnC,IAAK,KAAK,GAAG,cAAc,8BAC3B,SAAU,CAAC,GAAG,KAAK,GAAG,iBAAiB,kBACvC,UAAW,CAAC,GAAG,KAAK,GAAG,iBAAiB,gBACxC,gBAAiB,KAAK,GAAG,cAAc,mBAEzC,KAAK,WAAa,OAAO,WAAW,sBACpC,KAAK,aAAe,GACpB,KAAK,cAAgB,KAErB,KAAK,uBAGP,cAAe,CACb,KAAK,IAAI,SAAS,QAAQ,GACxB,EAAI,iBAAiB,QAAS,KAAK,eAAe,KAAK,QAEzD,KAAK,IAAI,eAAe,iBACtB,QACA,KAAK,eAAe,KAAK,OAE3B,KAAK,IAAI,YAAY,QAAQ,GAC3B,EAAK,iBAAiB,QAAS,KAAK,qBAAqB,KAAK,QAEhE,KAAK,WAAW,iBACd,SACA,KAAK,kBAAkB,KAAK,OAI9B,KAAK,IAAI,WAAW,iBAAiB,SAAU,KAAK,SAAS,KAAK,OAGpE,UAAW,CACT,KAAK,UAAU,KAAK,IAAI,SAAS,IACjC,KAAK,gBAAgB,KAAK,IAAI,YAAY,IAG5C,sBAAuB,CACrB,GAAI,CAAC,KAAK,IAAI,gBAAiB,OAE/B,KAAM,GAAmB;AAAA;AAAA;AAAA;AAAA,YAIjB,CAAC,GAAG,KAAK,IAAI,UACZ,IACC,GACE;AAAA,2BACW,EAAI,aAAa,YAAY,EAAI;AAAA,wBAG/C,KAAK;AAAA;AAAA;AAAA,QAId,KAAK,IAAI,gBAAgB,UAAY,EACrC,KAAK,IAAI,aAAe,KAAK,IAAI,gBAAgB,cAAc,YAC/D,KAAK,IAAI,eAAiB,KAAK,I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AK,aAC1B,KAAS,aACP,KAAK,IAAI,aAAa,gBAAgB,UAEtC,KAAK,IAAI,aAAa,aAAa,SAAU,IAIjD,UAAW,CACT,KAAM,GAAS,IACT,EAAW,CACf,GAAG,KAAK,cAAc,iBAAiB,sBAEzC,EAAa,SAAW,GAExB,EAAS,QAAQ,GAAQ,CACvB,EAAS,wBAAwB,IAAM,OAAO,YAAc,GAC1D,EAAK,UAAU,IAAI,iCAM3B,MAAe,ECzLf,eAA6B,KAAU,CACrC,eAAgB,CACd,KAAK,IAAM,CACT,IAAK,KAAK,GAAG,cAAc,8BAC3B,oBAAqB,KAAK,GAAG,iBAAiB,iBAC9C,SAAU,KAAK,GAAG,cAAc,eAGlC,GAAI,GAAS,KAAK,IAGpB,cAAe,CACb,KAAK,IAAI,oBAAoB,QAAQ,GACnC,EAAO,iBAAiB,QAAS,KAAK,WAAW,KAAK,QAExD,KAAK,IAAI,SAAS,iBAAiB,QAAS,KAAK,MAAM,KAAK,OAC5D,KAAK,GAAG,iBAAiB,YAAa,KAAK,KAAK,KAAK,OACrD,KAAK,GAAG,iBAAiB,aAAc,KAAK,MAAM,KAAK,OAGzD,MAAO,CACL,OAAO,SAAS,EAAG,GACnB,KAAK,IAAI,IAAI,UAAU,IAAI,iBAC3B,KAAK,IAAI,oBAAoB,QAAQ,GACnC,EAAO,UAAU,IAAI,uBAIzB,OAAQ,CACN,KAAS,IAAI,IAAI,UAAU,SAAS,kBAClC,QAAO,SAAS,EAAG,GACnB,KAAK,IAAI,IAAI,UAAU,OAAO,iBAC9B,KAAK,IAAI,oBAAoB,QAAQ,GACnC,EAAO,UAAU,OAAO,wBAK9B,WAAW,EAAG,CACZ,EAAE,kBACF,KAAS,IAAI,IAAI,UAAU,SAAS,iBAClC,KAAK,QAEL,KAAK,QAKX,MAAe","file":"scripts/988.bundle.js","sourcesContent":["import { Component } from '@verndale/core';\n\nclass PageTabs extends Component {\n constructor(el, options) {\n super(el, options);\n\n this.initTabs();\n }\n\n setupDefaults() {\n this.dom = {\n scrollbody: document.querySelector('#content'),\n box: this.el.querySelector('.transtion-left-right-wrap'),\n tabLinks: [...this.el.querySelectorAll('.tabs-title a')],\n tabPanels: [...this.el.querySelectorAll('.tabs-panel')],\n mobileContainer: this.el.querySelector('.mobile-subnav')\n };\n this.breakpoint = window.matchMedia('(max-width: 639px)');\n this.isMobileOpen = false;\n this.selectedPanel = null;\n\n this.createMobileDropdown();\n }\n\n addListeners() {\n this.dom.tabLinks.forEach(tab =>\n tab.addEventListener('click', this.handleTabClick.bind(this))\n );\n this.dom.dropdownButton.addEventListener(\n 'click',\n this.toggleDropdown.bind(this)\n );\n this.dom.mobileLinks.forEach(item =>\n item.addEventListener('click', this.handleDropdownChange.bind(this))\n );\n this.breakpoint.addEventListener(\n 'change',\n this.handleMobilePanel.bind(this)\n );\n\n \n this.dom.scrollbody.addEventListener('scroll', this.lazyload.bind(this));\n }\n\n initTabs() {\n this.selectTab(this.dom.tabLinks[0]);\n this.selectMobileTab(this.dom.mobileLinks[0]);\n }\n\n createMobileDropdown() {\n if (!this.dom.mobileContainer) return;\n\n const dropdownTemplate = `\n