{"version":3,"sources":["webpack:///./src/pages/scotland.js"],"names":["Scotland","inject","observer","regionStore","changeRegion","setTimeout","isBrowser","window","location","pathname","title","description","className","currentRegionData","label","alternateRegionData","forceRefresh","to","aria-label"],"mappings":"8FAAA,wGAUMA,EAAWC,YAAO,cAAPA,CACfC,aAAS,YAAqB,IAAlBC,EAAkB,EAAlBA,YAQV,OAPAA,EAAYC,aAAa,KACzBC,YAAW,WACLC,cACFC,OAAOC,SAASC,SAAW,OAE5B,KAGD,kBAAC,UAAD,KACE,kBAAC,MAAD,CAAKC,MAAM,WAAWC,YAAY,+BAElC,yBAAKC,UAAU,OACb,yBAAKA,UAAU,kBACb,wBAAIA,UAAU,QAAd,YAEA,gKAKA,2BACE,gCACGT,EAAYU,mBACX,yEAEGV,EAAYU,kBAAkBC,MAFjC,OAQN,6CAEE,gCAASX,EAAYY,oBAAoBD,OAF3C,wDAMA,kBAAC,eAAD,CAAcF,UAAU,OAAOI,cAAc,IAE7C,6CACiB,oDADjB,sBAGE,kBAAC,OAAD,CAAMC,GAAG,qBAAT,uCAKF,2BACE,gCACE,kBAAC,OAAD,CAAMA,GAAG,IAAIC,aAAW,YAAxB,cADF,uCAcClB","file":"component---src-pages-scotland-js-7844d8c12a3141778e5a.js","sourcesContent":["import React from \"react\"\n\nimport { Link } from \"gatsby\"\nimport { observer, inject } from \"mobx-react\"\n\nimport { Wrapper } from \"../components/base/wrapper/wrapper\"\nimport { SEO } from \"../components/base/seo/seo\"\nimport { RegionToggle } from \"../components/modules/region-toggle/region-toggle\"\nimport { isBrowser } from \"../helpers/helpers\"\n\nconst Scotland = inject(\"regionStore\")(\n observer(({ regionStore }) => {\n regionStore.changeRegion(\"S\")\n setTimeout(() => {\n if (isBrowser) {\n window.location.pathname = \"/\"\n }\n }, 250)\n\n return (\n \n \n\n
\n
\n

Scotland

\n\n

\n The law about debt is different depending on whether you live in\n England and Wales or Scotland. This page is for Scottish people.\n

\n\n

\n \n {regionStore.currentRegionData && (\n <>\n Your location is currently set to \n {regionStore.currentRegionData.label}.\n \n )}\n \n

\n\n

\n If you live in \n {regionStore.alternateRegionData.label}, please\n change your location with the toggle below.\n

\n\n \n\n

\n If you live in Northern Ireland, please visit\n our \n \n Northern Ireland information page.\n \n

\n\n

\n \n \n Click here\n \n  to return to the homepage.\n \n

\n
\n
\n
\n )\n })\n)\n\nexport default Scotland\n"],"sourceRoot":""}