{"version":3,"sources":["webpack:///./app/javascript/src/plugins.js","webpack:///./node_modules/jquery_lazyload/jquery.lazyload.js","webpack:///./node_modules/bootstrap-toggle/js/bootstrap-toggle.js"],"names":["$","window","document","undefined","$window","fn","lazyload","options","$container","elements","this","settings","threshold","failure_limit","event","effect","container","data_attribute","skip_invisible","appear","load","placeholder","update","counter","each","$this","is","abovethetop","leftofbegin","belowthefold","rightoffold","trigger","failurelimit","effectspeed","effect_speed","extend","indexOf","bind","self","$self","loaded","attr","one","elements_left","length","call","original","hide","css","temp","grep","element","test","navigator","appVersion","originalEvent","persisted","ready","innerHeight","height","scrollTop","offset","top","width","scrollLeft","left","inviewport","expr","a","jQuery","_typeof","Symbol","iterator","obj","constructor","prototype","Toggle","$element","defaults","render","VERSION","DEFAULTS","on","off","onstyle","offstyle","size","style","_onstyle","_offstyle","$toggleOn","html","addClass","$toggleOff","$toggleHandle","$toggleGroup","append","$toggle","prop","wrap","parent","Math","max","outerWidth","outerHeight","toggle","silent","removeClass","enable","removeAttr","disable","change","proxy","destroy","remove","removeData","unwrap","old","bootstrapToggle","option","data","Constructor","noConflict","e","find","preventDefault"],"mappings":";yFAAA,wBAIA,mDACA,iCACA,iCACA,6BACA,iCACA,mDACA,mC,oBCVA,aAcA,SAAWA,EAAGC,EAAQC,EAAUC,GAC9B,IAAIC,EAAUJ,EAAEC,GAEhBD,EAAEK,GAAGC,SAAW,SAAUC,GACxB,IACIC,EADAC,EAAWC,KAEXC,EAAW,CACbC,UAAW,EACXC,cAAe,EACfC,MAAO,SACPC,OAAQ,OACRC,UAAWf,EACXgB,eAAgB,WAChBC,gBAAgB,EAChBC,OAAQ,KACRC,KAAM,KACNC,YAAa,0LAGf,SAASC,IACP,IAAIC,EAAU,EACdd,EAASe,MAAK,WACZ,IAAIC,EAAQzB,EAAEU,MAEd,IAAIC,EAASO,gBAAmBO,EAAMC,GAAG,YAIzC,GAAI1B,EAAE2B,YAAYjB,KAAMC,IAAaX,EAAE4B,YAAYlB,KA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,GAAsBC,EAAKD,IAASC,EAAKD,SAMxDvH,EAAEK,GAAGiH,gBAAgBG,YAAc7C,EAGnC5E,EAAEK,GAAGoG,OAAOiB,WAAa,WAEvB,OADA1H,EAAEK,GAAGiH,gBAAkBD,EAChB3G,MAKTV,GAAE,WACAA,EAAE,6CAA6CsH,qBAEjDtH,EAAEE,UAAUgF,GAAG,kBAAmB,4BAA4B,SAAUyC,GACtD3H,EAAEU,MAAMkH,KAAK,wBACnBN,gBAAgB,UAC1BK,EAAEE,oBApJL,CAsJCxD,K","file":"js/2-3c32e92fa5b92955d0c7.chunk.js","sourcesContent":["import \"popper.js\";\nimport \"bootstrap\";\nimport \"jquery_lazyload/jquery.lazyload\";\nimport \"bootstrap-toggle/js/bootstrap-toggle\";\nimport(\"./carousel\");\nimport(\"./ror-lazyload\");\nimport(\"./show-password\");\nimport(\"./stripe\");\nimport(\"./pricing\");\nimport(\"./datatables\");\nimport(\"./tooltip\");\n","/*\n * Lazy Load - jQuery plugin for lazy loading images\n *\n * Copyright (c) 2007-2013 Mika Tuupola\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n * Project home:\n * http://www.appelsiini.net/projects/lazyload\n *\n * Version: 1.9.3\n *\n */\n(function ($, window, document, undefined) {\n var $window = $(window);\n\n $.fn.lazyload = function (options) {\n var elements = this;\n var $container;\n var settings = {\n threshold: 0,\n failure_limit: 0,\n event: \"scroll\",\n effect: \"show\",\n container: window,\n data_attribute: \"original\",\n skip_invisible: true,\n appear: null,\n load: null,\n placeholder: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC\"\n };\n\n function update() {\n var counter = 0;\n elements.each(function () {\n var $this = $(this);\n\n if (settings.skip_invisible && !$this.is(\":visible\")) {\n return;\n }\n\n if ($.abovethetop(this, settings) || $.leftofbegin(this, settings)) {\n /* Nothing. */\n } else if (!$.belowthefold(this, settings) && !$.rightoffold(this, settings)) {\n $this.trigger(\"appear\");\n /* if we found an image we'll load, reset the counter */\n\n counter = 0;\n } else {\n if (++counter > settings.failure_limit) {\n return false;\n }\n }\n });\n }\n\n if (options) {\n /* Maintain BC for a couple of versions. */\n if (undefined !== options.failurelimit) {\n options.failure_limit = options.failurelimit;\n delete options.failurelimit;\n }\n\n if (undefined !== options.effectspeed) {\n options.effect_speed = options.effectspeed;\n delete options.effectspeed;\n }\n\n $.extend(settings, options);\n }\n /* Cache container as jQuery as object. */\n\n\n $container = settings.container === undefined || settings.container === window ? $window : $(settings.container);\n /* Fire one scroll event per scroll. Not one scroll event per image. */\n\n if (0 === settings.event.indexOf(\"scroll\")) {\n $container.bind(settings.event, function () {\n return update();\n });\n }\n\n this.each(function () {\n var self = this;\n var $self = $(self);\n self.loaded = false;\n /* If no src attribute given use data:uri. */\n\n if ($self.attr(\"src\") === undefined || $self.attr(\"src\") === false) {\n if ($self.is(\"img\")) {\n $self.attr(\"src\", settings.placeholder);\n }\n }\n /* When appear is triggered load original image. */\n\n\n $self.one(\"appear\", function () {\n if (!this.loaded) {\n if (settings.appear) {\n var elements_left = elements.length;\n settings.appear.call(self, elements_left, settings);\n }\n\n $(\"\").bind(\"load\", function () {\n var original = $self.attr(\"data-\" + settings.data_attribute);\n $self.hide();\n\n if ($self.is(\"img\")) {\n $self.attr(\"src\", original);\n } else {\n $self.css(\"background-image\", \"url('\" + original + \"')\");\n }\n\n $self[settings.effect](settings.effect_speed);\n self.loaded = true;\n /* Remove image from array so it is not looped next time. */\n\n var temp = $.grep(elements, function (element) {\n return !element.loaded;\n });\n elements = $(temp);\n\n if (settings.load) {\n var elements_left = elements.length;\n settings.load.call(self, elements_left, settings);\n }\n }).attr(\"src\", $self.attr(\"data-\" + settings.data_attribute));\n }\n });\n /* When wanted event is triggered load original image */\n\n /* by triggering appear. */\n\n if (0 !== settings.event.indexOf(\"scroll\")) {\n $self.bind(settings.event, function () {\n if (!self.loaded) {\n $self.trigger(\"appear\");\n }\n });\n }\n });\n /* Check if something appears when window is resized. */\n\n $window.bind(\"resize\", function () {\n update();\n });\n /* With IOS5 force loading images when navigating with back button. */\n\n /* Non optimal workaround. */\n\n if (/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)) {\n $window.bind(\"pageshow\", function (event) {\n if (event.originalEvent && event.originalEvent.persisted) {\n elements.each(function () {\n $(this).trigger(\"appear\");\n });\n }\n });\n }\n /* Force initial check if images should appear. */\n\n\n $(document).ready(function () {\n update();\n });\n return this;\n };\n /* Convenience methods in jQuery namespace. */\n\n /* Use as $.belowthefold(element, {threshold : 100, container : window}) */\n\n\n $.belowthefold = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = (window.innerHeight ? window.innerHeight : $window.height()) + $window.scrollTop();\n } else {\n fold = $(settings.container).offset().top + $(settings.container).height();\n }\n\n return fold <= $(element).offset().top - settings.threshold;\n };\n\n $.rightoffold = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.width() + $window.scrollLeft();\n } else {\n fold = $(settings.container).offset().left + $(settings.container).width();\n }\n\n return fold <= $(element).offset().left - settings.threshold;\n };\n\n $.abovethetop = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.scrollTop();\n } else {\n fold = $(settings.container).offset().top;\n }\n\n return fold >= $(element).offset().top + settings.threshold + $(element).height();\n };\n\n $.leftofbegin = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.scrollLeft();\n } else {\n fold = $(settings.container).offset().left;\n }\n\n return fold >= $(element).offset().left + settings.threshold + $(element).width();\n };\n\n $.inviewport = function (element, settings) {\n return !$.rightoffold(element, settings) && !$.leftofbegin(element, settings) && !$.belowthefold(element, settings) && !$.abovethetop(element, settings);\n };\n /* Custom selectors for your convenience. */\n\n /* Use as $(\"img:below-the-fold\").something() or */\n\n /* $(\"img\").filter(\":below-the-fold\").something() which is faster */\n\n\n $.extend($.expr[\":\"], {\n \"below-the-fold\": function belowTheFold(a) {\n return $.belowthefold(a, {\n threshold: 0\n });\n },\n \"above-the-top\": function aboveTheTop(a) {\n return !$.belowthefold(a, {\n threshold: 0\n });\n },\n \"right-of-screen\": function rightOfScreen(a) {\n return $.rightoffold(a, {\n threshold: 0\n });\n },\n \"left-of-screen\": function leftOfScreen(a) {\n return !$.rightoffold(a, {\n threshold: 0\n });\n },\n \"in-viewport\": function inViewport(a) {\n return $.inviewport(a, {\n threshold: 0\n });\n },\n\n /* Maintain BC for couple of versions. */\n \"above-the-fold\": function aboveTheFold(a) {\n return !$.belowthefold(a, {\n threshold: 0\n });\n },\n \"right-of-fold\": function rightOfFold(a) {\n return $.rightoffold(a, {\n threshold: 0\n });\n },\n \"left-of-fold\": function leftOfFold(a) {\n return !$.rightoffold(a, {\n threshold: 0\n });\n }\n });\n})(jQuery, window, document);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*! ========================================================================\n * Bootstrap Toggle: bootstrap-toggle.js v2.2.0\n * http://www.bootstraptoggle.com\n * ========================================================================\n * Copyright 2014 Min Hur, The New York Times Company\n * Licensed under MIT\n * ======================================================================== */\n+function ($) {\n 'use strict'; // TOGGLE PUBLIC CLASS DEFINITION\n // ==============================\n\n var Toggle = function Toggle(element, options) {\n this.$element = $(element);\n this.options = $.extend({}, this.defaults(), options);\n this.render();\n };\n\n Toggle.VERSION = '2.2.0';\n Toggle.DEFAULTS = {\n on: 'On',\n off: 'Off',\n onstyle: 'primary',\n offstyle: 'default',\n size: 'normal',\n style: '',\n width: null,\n height: null\n };\n\n Toggle.prototype.defaults = function () {\n return {\n on: this.$element.attr('data-on') || Toggle.DEFAULTS.on,\n off: this.$element.attr('data-off') || Toggle.DEFAULTS.off,\n onstyle: this.$element.attr('data-onstyle') || Toggle.DEFAULTS.onstyle,\n offstyle: this.$element.attr('data-offstyle') || Toggle.DEFAULTS.offstyle,\n size: this.$element.attr('data-size') || Toggle.DEFAULTS.size,\n style: this.$element.attr('data-style') || Toggle.DEFAULTS.style,\n width: this.$element.attr('data-width') || Toggle.DEFAULTS.width,\n height: this.$element.attr('data-height') || Toggle.DEFAULTS.height\n };\n };\n\n Toggle.prototype.render = function () {\n this._onstyle = 'btn-' + this.options.onstyle;\n this._offstyle = 'btn-' + this.options.offstyle;\n var size = this.options.size === 'large' ? 'btn-lg' : this.options.size === 'small' ? 'btn-sm' : this.options.size === 'mini' ? 'btn-xs' : '';\n var $toggleOn = $('