{"version":3,"sources":["webpack:///./app/javascript/controllers/landing sync nonrecursive _controller\\.js$","webpack:///./app/javascript/controllers/landing/disqus_controller.js","webpack:///./app/javascript/controllers/landing/index.js"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","_default","_Controller","_classCallCheck","_callSuper","arguments","_inherits","key","value","d","s","DISQUS","document","createElement","src","setAttribute","Date","head","body","appendChild","reset","reload","config","this","page","url","data","get","identifier","Controller","application","Application","start","context","require","load","definitionsFromContext"],"mappings":"8EAAA,IAAIA,EAAM,CACT,yBAA0B,KAI3B,SAASC,EAAeC,GACvB,IAAIC,EAAKC,EAAsBF,GAC/B,OAAOG,EAAoBF,EAC5B,CACA,SAASC,EAAsBF,GAC9B,IAAIG,EAAoBC,EAAEN,EAAKE,GAAM,CACpC,IAAIK,EAAI,IAAIC,MAAM,uBAAyBN,EAAM,KAEjD,MADAK,EAAEE,KAAO,mBACHF,CACP,CACA,OAAOP,EAAIE,EACZ,CACAD,EAAeS,KAAO,WACrB,OAAOC,OAAOD,KAAKV,EACpB,EACAC,EAAeW,QAAUR,EACzBS,EAAOC,QAAUb,EACjBA,EAAeE,GAAK,G,82CCrBqB,IAAAY,EAAA,SAAAC,GAAA,SAAAD,IAAA,O,4FAAAE,CAAA,KAAAF,GAAAG,EAAA,KAAAH,EAAAI,UAAA,Q,qRAAAC,CAAAL,EAAAC,G,EAAAD,G,EAAA,EAAAM,IAAA,aAAAC,MAIvC,WAUI,IACMC,EAAcC,EAVD,oBAAVC,QAUHF,EAAIG,UAAUF,EAAID,EAAEI,cAAc,WACpCC,IAAM,qCACRJ,EAAEK,aAAa,kBAAmB,IAAIC,OACrCP,EAAEQ,MAAQR,EAAES,MAAMC,YAAYT,IAGjCC,OAAOS,MAAM,CACXC,QAAQ,EACRC,OAAQ,WACNC,KAAKC,KAAKC,IAAM,qBAAuBF,KAAKG,KAAKC,IAAI,OACrDJ,KAAKC,KAAKI,WAAaL,KAAKG,KAAKC,IAAI,aACvC,GAGN,M,yFAAC,CA7BsC,CAEZE,I,yGCAvBC,EAAcC,IAAYC,QAE1BC,EAAUC,OAChBJ,EAAYK,KAAKC,YAAuBH,I","file":"js/landing-eb3fad884bd020769b57.chunk.js","sourcesContent":["var map = {\n\t\"./disqus_controller.js\": 346\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 345;","import { Controller } from '@hotwired/stimulus'\nimport '../../src/css/modules/disqus.css'\n\nexport default class extends Controller {\n\n  initialize() {\n    if (typeof DISQUS == 'undefined') {\n      // LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables\n      var disqus_config = function () {\n        // Replace PAGE_URL with your page's canonical URL variable\n        this.page.url = 'https://viedit.com' + this.data.get('url');\n        // Replace PAGE_IDENTIFIER with your page's unique identifier variable\n        this.page.identifier = this.data.get('identifier');\n      };\n\n      (function() { // DON'T EDIT BELOW THIS LINE\n        var d = document, s = d.createElement('script');\n        s.src = 'https://viedit.disqus.com/embed.js';\n        s.setAttribute('data-timestamp', +new Date());\n        (d.head || d.body).appendChild(s);\n      })();\n    } else {\n      DISQUS.reset({\n        reload: true,\n        config: function() {\n          this.page.url = 'https://viedit.com' + this.data.get('url')\n          this.page.identifier = this.data.get('identifier')\n        }\n      })\n    }\n  }\n\n}\n","import { Application } from \"@hotwired/stimulus\"\nimport { definitionsFromContext } from \"@hotwired/stimulus-webpack-helpers\"\n\nconst application = Application.start()\n// changed includeSubdirs to false to manually include folders in specific pack\nconst context = require.context(\"controllers/landing\", false, /_controller\\.js$/)\napplication.load(definitionsFromContext(context))\n"],"sourceRoot":""}