{"version":3,"file":"index-CXJX83EU.js","sources":["../../../app/assets/javascripts/app/multi_device/index.ts"],"sourcesContent":["\nimport u from \"umbrellajs\"\nimport _once from \"lodash/once\"\nimport _mapValues from \"lodash/mapValues\"\n\nconst $html = u(\"html\")\n\nconst Page = _mapValues({\n isForMobile: () => $html.hasClass(\"page-mobile\") ,\n isForDesktop: () => $html.hasClass(\"page-desktop\"),\n isForTablet: () => $html.hasClass(\"page-desktop\"),\n}, (func) => _once(func))\n\nconst Device = _mapValues({\n isForMobile: () => $html.hasClass(\"with-mobile-device\") ,\n isForTablet: () => $html.hasClass(\"with-tablet-device\") ,\n isForDesktop: () => $html.hasClass(\"with-desktop-device\"),\n}, (func) => _once(func))\n\nexport {Page, Device}\nexport default {Page, Device}\n"],"names":["$html","u","Page","_mapValues","func","_once","Device","MultiDevice"],"mappings":"oIAKA,MAAMA,EAAQC,EAAE,MAAM,EAEhBC,EAAOC,EAAW,CACtB,YAAc,IAAMH,EAAM,SAAS,aAAa,EAChD,aAAc,IAAMA,EAAM,SAAS,cAAc,EACjD,YAAc,IAAMA,EAAM,SAAS,cAAc,CACnD,EAAII,GAASC,EAAMD,CAAI,CAAC,EAElBE,EAASH,EAAW,CACxB,YAAc,IAAMH,EAAM,SAAS,oBAAoB,EACvD,YAAc,IAAMA,EAAM,SAAS,oBAAoB,EACvD,aAAc,IAAMA,EAAM,SAAS,qBAAqB,CAC1D,EAAII,GAASC,EAAMD,CAAI,CAAC,EAGxBG,EAAe,CAAC,KAAAL,EAAM,OAAAI,CAAM"}